{"id":"935e25fcea58ab83d051fc7b99d0e197","_format":"hh-sol-build-info-1","solcVersion":"0.8.20","solcLongVersion":"0.8.20+commit.a1b79de6","input":{"language":"Solidity","sources":{"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity ^0.8.20;\r\n\r\nimport '@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol';\r\n\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol';\r\n\r\nimport './interfaces/IAbstractPlugin.sol';\r\n\r\n/// @title Algebra Integral 1.2.1 plugin base\r\n/// @notice This contract simplifies development process of plugins by providing base functionality\r\nabstract contract AbstractPlugin is IAbstractPlugin, Timestamp {\r\n  using Plugins for uint8;\r\n\r\n  /// @dev The role can be granted in AlgebraFactory\r\n  bytes32 public constant ALGEBRA_BASE_PLUGIN_MANAGER = keccak256('ALGEBRA_BASE_PLUGIN_MANAGER');\r\n\r\n  uint8 public defaultPluginConfig = 0;\r\n  string[] public activeModules;\r\n\r\n  address public immutable pool;\r\n  address internal immutable pluginFactory;\r\n\r\n  modifier onlyPool() {\r\n    _checkIfFromPool();\r\n    _;\r\n  }\r\n\r\n  constructor(address _pool, address _pluginFactory) {\r\n    (pool, pluginFactory) = (_pool, _pluginFactory);\r\n  }\r\n\r\n  function _checkIfFromPool() internal view {\r\n    require(msg.sender == pool, 'Only pool can call this');\r\n  }\r\n\r\n  function _authorize() internal view virtual;\r\n\r\n  function getActiveModuleNames() external view override returns (string[] memory moduleNames) {\r\n    moduleNames = new string[](activeModules.length);\r\n    for (uint256 i = 0; i < activeModules.length; i++) {\r\n      moduleNames[i] = activeModules[i];\r\n    }\r\n  }\r\n\r\n  function _getPoolState() internal view returns (uint160 price, int24 tick, uint16 fee, uint8 pluginConfig) {\r\n    (price, tick, fee, pluginConfig, , ) = IAlgebraPoolState(pool).globalState();\r\n  }\r\n\r\n  function _getPluginInPool() internal view returns (address plugin) {\r\n    return IAlgebraPool(pool).plugin();\r\n  }\r\n\r\n  /// @inheritdoc IAbstractPlugin\r\n  function collectPluginFee(address token, uint256 amount, address recipient) external virtual override {\r\n    _authorize();\r\n    SafeTransfer.safeTransfer(token, recipient, amount);\r\n  }\r\n\r\n  /// @inheritdoc IAlgebraPlugin\r\n  function handlePluginFee(uint256, uint256) external virtual view override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.handlePluginFee.selector;\r\n  }\r\n\r\n  // ###### HOOKS ######\r\n\r\n  function beforeInitialize(address, uint160) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.beforeInitialize.selector;\r\n  }\r\n\r\n  function afterInitialize(address, uint160, int24) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterInitialize.selector;\r\n  }\r\n\r\n  function beforeModifyPosition(address, address, int24, int24, int128, bytes calldata) external virtual override onlyPool returns (bytes4, uint24) {\r\n    return (IAlgebraPlugin.beforeModifyPosition.selector, 0);\r\n  }\r\n\r\n  function afterModifyPosition(\r\n    address,\r\n    address,\r\n    int24,\r\n    int24,\r\n    int128,\r\n    uint256,\r\n    uint256,\r\n    bytes calldata\r\n  ) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterModifyPosition.selector;\r\n  }\r\n\r\n  function beforeSwap(\r\n    address,\r\n    address,\r\n    bool,\r\n    int256,\r\n    uint160,\r\n    bool,\r\n    bytes calldata\r\n  ) external virtual override onlyPool returns (bytes4, uint24, uint24) {\r\n    return (IAlgebraPlugin.beforeSwap.selector, 0, 0);\r\n  }\r\n\r\n  function afterSwap(address, address, bool, int256, uint160, int256, int256, bytes calldata) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterSwap.selector;\r\n  }\r\n\r\n  function beforeFlash(address, address, uint256, uint256, bytes calldata) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.beforeFlash.selector;\r\n  }\r\n\r\n  function afterFlash(address, address, uint256, uint256, uint256, uint256, bytes calldata) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterFlash.selector;\r\n  }\r\n\r\n  function _updatePluginConfigInPool(uint8 newPluginConfig) internal {\r\n    (, , , uint8 currentPluginConfig) = _getPoolState();\r\n    if (currentPluginConfig != newPluginConfig) {\r\n      IAlgebraPool(pool).setPluginConfig(newPluginConfig);\r\n    }\r\n  }\r\n\r\n  function _disablePluginFlags(uint8 config) internal {\r\n    (, , , uint8 currentPluginConfig) = _getPoolState();\r\n    uint8 newPluginConfig = currentPluginConfig & ~config;\r\n    if (currentPluginConfig != newPluginConfig) {\r\n      IAlgebraPool(pool).setPluginConfig(newPluginConfig);\r\n    }\r\n  }\r\n\r\n  function _enablePluginFlags(uint8 config) internal {\r\n    (, , , uint8 currentPluginConfig) = _getPoolState();\r\n    uint8 newPluginConfig = currentPluginConfig | config;\r\n    if (currentPluginConfig != newPluginConfig) {\r\n      IAlgebraPool(pool).setPluginConfig(newPluginConfig);\r\n    }\r\n  }\r\n}\r\n"},"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.20;\n\nimport './AbstractPlugin.sol';\n\n/// @title Algebra's internal Integral 1.2.1 abstract plugin for `Base` plugins\n/// @notice This contract inherits AbstractPlugin\nabstract contract BaseAbstractPlugin is AbstractPlugin {\n  address internal immutable factory;\n\n  constructor(address _pool, address _factory, address _pluginFactory) AbstractPlugin(_pool, _pluginFactory) {\n    factory = _factory;\n  }\n\n  function _authorize() internal view virtual override {\n    require(IAlgebraFactory(factory).hasRoleOrOwner(ALGEBRA_BASE_PLUGIN_MANAGER, msg.sender));\n  }\n}\n"},"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity >=0.5.0;\r\npragma abicoder v2;\r\n\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol';\r\n\r\n/// @title The interface for the BasePlugin\r\ninterface IAbstractPlugin is IAlgebraPlugin {\r\n  /// @notice Claim plugin fee\r\n  /// @param token The token address\r\n  /// @param amount Amount of tokens\r\n  /// @param recipient Recipient address\r\n  function collectPluginFee(address token, uint256 amount, address recipient) external;\r\n\r\n  /// @notice Get all active module names\r\n  /// @return moduleNames Array of active module names\r\n  function getActiveModuleNames() external view returns (string[] memory moduleNames);\r\n}\r\n"},"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity ^0.8.20;\r\n\r\nimport '@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol';\r\n\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol';\r\n\r\nimport '@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol';\r\n\r\nimport './interfaces/IAbstractPlugin.sol';\r\n\r\n/// @title Algebra Integral 1.2.2 Upgradeable Abstract Plugin\r\n/// @notice Base contract for upgradeable plugins using Beacon Proxy pattern\r\n/// @dev Uses storage for per-proxy data (pool) and immutables for shared data (factory, pluginFactory)\r\nabstract contract UpgradeableAbstractPlugin is Initializable, IAbstractPlugin, Timestamp {\r\n  using Plugins for uint8;\r\n\r\n  /// @dev The role can be granted in AlgebraFactory\r\n  bytes32 public constant ALGEBRA_BASE_PLUGIN_MANAGER = keccak256('ALGEBRA_BASE_PLUGIN_MANAGER');\r\n\r\n  /// @dev Immutable: shared across all proxies (stored in implementation bytecode)\r\n  address public immutable factory;\r\n  \r\n  /// @dev Immutable: shared across all proxies (stored in implementation bytecode)\r\n  address public immutable pluginFactory;\r\n\r\n  /// @dev Storage: unique per proxy (stored in proxy's storage)\r\n  address public pool;\r\n\r\n  /// @dev Storage: plugin configuration flags\r\n  uint8 public defaultPluginConfig;\r\n\r\n  /// @dev Storage: active module names\r\n  string[] public activeModules;\r\n\r\n  modifier onlyPool() {\r\n    _checkIfFromPool();\r\n    _;\r\n  }\r\n\r\n  modifier onlyPluginFactory() {\r\n    require(msg.sender == pluginFactory, 'Only plugin factory');\r\n    _;\r\n  }\r\n\r\n  /// @notice Constructor sets immutable values that are shared across ALL proxies\r\n  /// @param _factory The Algebra factory address\r\n  /// @param _pluginFactory The plugin factory address\r\n  constructor(address _factory, address _pluginFactory) {\r\n    factory = _factory;\r\n    pluginFactory = _pluginFactory;\r\n    _disableInitializers();\r\n  }\r\n\r\n  /// @notice Initialize proxy-specific storage\r\n  /// @param _pool The pool address for this proxy\r\n  function __UpgradeableAbstractPlugin_init(address _pool) internal onlyInitializing {\r\n    pool = _pool;\r\n  }\r\n\r\n  function _checkIfFromPool() internal view {\r\n    require(msg.sender == pool, 'Only pool can call this');\r\n  }\r\n\r\n  function _authorize() internal view virtual {\r\n    require(IAlgebraFactory(factory).hasRoleOrOwner(ALGEBRA_BASE_PLUGIN_MANAGER, msg.sender), 'Only administrator');\r\n  }\r\n\r\n  function getActiveModuleNames() external view override returns (string[] memory moduleNames) {\r\n    moduleNames = new string[](activeModules.length);\r\n    for (uint256 i = 0; i < activeModules.length; i++) {\r\n      moduleNames[i] = activeModules[i];\r\n    }\r\n  }\r\n\r\n  function _getPoolState() internal view returns (uint160 price, int24 tick, uint16 fee, uint8 pluginConfig) {\r\n    (price, tick, fee, pluginConfig, , ) = IAlgebraPoolState(pool).globalState();\r\n  }\r\n\r\n  function _getPluginInPool() internal view returns (address plugin) {\r\n    return IAlgebraPool(pool).plugin();\r\n  }\r\n\r\n  /// @inheritdoc IAbstractPlugin\r\n  function collectPluginFee(address token, uint256 amount, address recipient) external virtual override {\r\n    _authorize();\r\n    SafeTransfer.safeTransfer(token, recipient, amount);\r\n  }\r\n\r\n  /// @inheritdoc IAlgebraPlugin\r\n  function handlePluginFee(uint256, uint256) external virtual view override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.handlePluginFee.selector;\r\n  }\r\n\r\n  // ###### HOOKS ######\r\n\r\n  function beforeInitialize(address, uint160) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.beforeInitialize.selector;\r\n  }\r\n\r\n  function afterInitialize(address, uint160, int24) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterInitialize.selector;\r\n  }\r\n\r\n  function beforeModifyPosition(address, address, int24, int24, int128, bytes calldata) external virtual override onlyPool returns (bytes4, uint24) {\r\n    return (IAlgebraPlugin.beforeModifyPosition.selector, 0);\r\n  }\r\n\r\n  function afterModifyPosition(\r\n    address,\r\n    address,\r\n    int24,\r\n    int24,\r\n    int128,\r\n    uint256,\r\n    uint256,\r\n    bytes calldata\r\n  ) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterModifyPosition.selector;\r\n  }\r\n\r\n  function beforeSwap(\r\n    address,\r\n    address,\r\n    bool,\r\n    int256,\r\n    uint160,\r\n    bool,\r\n    bytes calldata\r\n  ) external virtual override onlyPool returns (bytes4, uint24, uint24) {\r\n    return (IAlgebraPlugin.beforeSwap.selector, 0, 0);\r\n  }\r\n\r\n  function afterSwap(address, address, bool, int256, uint160, int256, int256, bytes calldata) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterSwap.selector;\r\n  }\r\n\r\n  function beforeFlash(address, address, uint256, uint256, bytes calldata) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.beforeFlash.selector;\r\n  }\r\n\r\n  function afterFlash(address, address, uint256, uint256, uint256, uint256, bytes calldata) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterFlash.selector;\r\n  }\r\n\r\n  function _updatePluginConfigInPool(uint8 newPluginConfig) internal {\r\n    (, , , uint8 currentPluginConfig) = _getPoolState();\r\n    if (currentPluginConfig != newPluginConfig) {\r\n      IAlgebraPool(pool).setPluginConfig(newPluginConfig);\r\n    }\r\n  }\r\n\r\n  function _disablePluginFlags(uint8 config) internal {\r\n    (, , , uint8 currentPluginConfig) = _getPoolState();\r\n    uint8 newPluginConfig = currentPluginConfig & ~config;\r\n    if (currentPluginConfig != newPluginConfig) {\r\n      IAlgebraPool(pool).setPluginConfig(newPluginConfig);\r\n    }\r\n  }\r\n\r\n  function _enablePluginFlags(uint8 config) internal {\r\n    (, , , uint8 currentPluginConfig) = _getPoolState();\r\n    uint8 newPluginConfig = currentPluginConfig | config;\r\n    if (currentPluginConfig != newPluginConfig) {\r\n      IAlgebraPool(pool).setPluginConfig(newPluginConfig);\r\n    }\r\n  }\r\n}\r\n"},"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.8.0 <0.9.0;\n\n/// @title Abstract contract with modified blockTimestamp functionality\n/// @notice Allows the pool and other contracts to get a timestamp truncated to 32 bits\n/// @dev Can be overridden in tests to make testing easier\nabstract contract Timestamp {\n  /// @dev This function is created for testing by overriding it.\n  /// @return A timestamp converted to uint32\n  function _blockTimestamp() internal view virtual returns (uint32) {\n    return uint32(block.timestamp); // truncation is desired\n  }\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\npragma abicoder v2;\n\nimport './plugin/IAlgebraPluginFactory.sol';\nimport './vault/IAlgebraVaultFactory.sol';\n\n/// @title The interface for the Algebra Factory\n/// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\ninterface IAlgebraFactory {\n  /// @notice Emitted when a process of ownership renounce is started\n  /// @param timestamp The timestamp of event\n  /// @param finishTimestamp The timestamp when ownership renounce will be possible to finish\n  event RenounceOwnershipStart(uint256 timestamp, uint256 finishTimestamp);\n\n  /// @notice Emitted when a process of ownership renounce cancelled\n  /// @param timestamp The timestamp of event\n  event RenounceOwnershipStop(uint256 timestamp);\n\n  /// @notice Emitted when a process of ownership renounce finished\n  /// @param timestamp The timestamp of ownership renouncement\n  event RenounceOwnershipFinish(uint256 timestamp);\n\n  /// @notice Emitted when a pool is created\n  /// @param token0 The first token of the pool by address sort order\n  /// @param token1 The second token of the pool by address sort order\n  /// @param pool The address of the created pool\n  event Pool(address indexed token0, address indexed token1, address pool);\n\n  /// @notice Emitted when a pool is created\n  /// @param deployer The corresponding custom deployer contract\n  /// @param token0 The first token of the pool by address sort order\n  /// @param token1 The second token of the pool by address sort order\n  /// @param pool The address of the created pool\n  event CustomPool(address indexed deployer, address indexed token0, address indexed token1, address pool);\n\n  /// @notice Emitted when the default community fee is changed\n  /// @param newDefaultCommunityFee The new default community fee value\n  event DefaultCommunityFee(uint16 newDefaultCommunityFee);\n\n  /// @notice Emitted when the default tickspacing is changed\n  /// @param newDefaultTickspacing The new default tickspacing value\n  event DefaultTickspacing(int24 newDefaultTickspacing);\n\n  /// @notice Emitted when the default fee is changed\n  /// @param newDefaultFee The new default fee value\n  event DefaultFee(uint16 newDefaultFee);\n\n  /// @notice Emitted when the defaultPluginFactory address is changed\n  /// @param defaultPluginFactoryAddress The new defaultPluginFactory address\n  event DefaultPluginFactory(address defaultPluginFactoryAddress);\n\n  /// @notice Emitted when the vaultFactory address is changed\n  /// @param newVaultFactory The new vaultFactory address\n  event VaultFactory(address newVaultFactory);\n\n  /// @notice role that can change communityFee and tickspacing in pools\n  /// @return The hash corresponding to this role\n  function POOLS_ADMINISTRATOR_ROLE() external view returns (bytes32);\n\n  /// @notice role that can call `createCustomPool` function\n  /// @return The hash corresponding to this role\n  function CUSTOM_POOL_DEPLOYER() external view returns (bytes32);\n\n  /// @notice Returns `true` if `account` has been granted `role` or `account` is owner.\n  /// @param role The hash corresponding to the role\n  /// @param account The address for which the role is checked\n  /// @return bool Whether the address has this role or the owner role or not\n  function hasRoleOrOwner(bytes32 role, address account) external view returns (bool);\n\n  /// @notice Returns the current owner of the factory\n  /// @dev Can be changed by the current owner via transferOwnership(address newOwner)\n  /// @return The address of the factory owner\n  function owner() external view returns (address);\n\n  /// @notice Returns the current poolDeployerAddress\n  /// @return The address of the poolDeployer\n  function poolDeployer() external view returns (address);\n\n  /// @notice Returns the default community fee\n  /// @return Fee which will be set at the creation of the pool\n  function defaultCommunityFee() external view returns (uint16);\n\n  /// @notice Returns the default fee\n  /// @return Fee which will be set at the creation of the pool\n  function defaultFee() external view returns (uint16);\n\n  /// @notice Returns the default tickspacing\n  /// @return Tickspacing which will be set at the creation of the pool\n  function defaultTickspacing() external view returns (int24);\n\n  /// @notice Return the current pluginFactory address\n  /// @dev This contract is used to automatically set a plugin address in new liquidity pools\n  /// @return Algebra plugin factory\n  function defaultPluginFactory() external view returns (IAlgebraPluginFactory);\n\n  /// @notice Return the current vaultFactory address\n  /// @dev This contract is used to automatically set a vault address in new liquidity pools\n  /// @return Algebra vault factory\n  function vaultFactory() external view returns (IAlgebraVaultFactory);\n\n  /// @notice Returns the default communityFee, tickspacing, fee and communityFeeVault for pool\n  /// @return communityFee which will be set at the creation of the pool\n  /// @return tickSpacing which will be set at the creation of the pool\n  /// @return fee which will be set at the creation of the pool\n  function defaultConfigurationForPool() external view returns (uint16 communityFee, int24 tickSpacing, uint16 fee);\n\n  /// @notice Deterministically computes the pool address given the token0 and token1\n  /// @dev The method does not check if such a pool has been created\n  /// @param token0 first token\n  /// @param token1 second token\n  /// @return pool The contract address of the Algebra pool\n  function computePoolAddress(address token0, address token1) external view returns (address pool);\n\n  /// @notice Deterministically computes the custom pool address given the customDeployer, token0 and token1\n  /// @dev The method does not check if such a pool has been created\n  /// @param customDeployer the address of custom plugin deployer\n  /// @param token0 first token\n  /// @param token1 second token\n  /// @return customPool The contract address of the Algebra pool\n  function computeCustomPoolAddress(address customDeployer, address token0, address token1) external view returns (address customPool);\n\n  /// @notice Returns the pool address for a given pair of tokens, or address 0 if it does not exist\n  /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\n  /// @param tokenA The contract address of either token0 or token1\n  /// @param tokenB The contract address of the other token\n  /// @return pool The pool address\n  function poolByPair(address tokenA, address tokenB) external view returns (address pool);\n\n  /// @notice Returns the custom pool address for a customDeployer and a given pair of tokens, or address 0 if it does not exist\n  /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\n  /// @param customDeployer The address of custom plugin deployer\n  /// @param tokenA The contract address of either token0 or token1\n  /// @param tokenB The contract address of the other token\n  /// @return customPool The pool address\n  function customPoolByPair(address customDeployer, address tokenA, address tokenB) external view returns (address customPool);\n\n  /// @notice returns keccak256 of AlgebraPool init bytecode.\n  /// @dev the hash value changes with any change in the pool bytecode\n  /// @return Keccak256 hash of AlgebraPool contract init bytecode\n  function POOL_INIT_CODE_HASH() external view returns (bytes32);\n\n  /// @return timestamp The timestamp of the beginning of the renounceOwnership process\n  function renounceOwnershipStartTimestamp() external view returns (uint256 timestamp);\n\n  /// @notice Creates a pool for the given two tokens\n  /// @param tokenA One of the two tokens in the desired pool\n  /// @param tokenB The other of the two tokens in the desired pool\n  /// @param data Data for plugin creation\n  /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0.\n  /// The call will revert if the pool already exists or the token arguments are invalid.\n  /// @return pool The address of the newly created pool\n  function createPool(address tokenA, address tokenB, bytes calldata data) external returns (address pool);\n\n  /// @notice Creates a custom pool for the given two tokens using `deployer` contract\n  /// @param deployer The address of plugin deployer, also used for custom pool address calculation\n  /// @param creator The initiator of custom pool creation\n  /// @param tokenA One of the two tokens in the desired pool\n  /// @param tokenB The other of the two tokens in the desired pool\n  /// @param data The additional data bytes\n  /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0.\n  /// The call will revert if the pool already exists or the token arguments are invalid.\n  /// @return customPool The address of the newly created custom pool\n  function createCustomPool(\n    address deployer,\n    address creator,\n    address tokenA,\n    address tokenB,\n    bytes calldata data\n  ) external returns (address customPool);\n\n  /// @dev updates default community fee for new pools\n  /// @param newDefaultCommunityFee The new community fee, _must_ be <= MAX_COMMUNITY_FEE\n  function setDefaultCommunityFee(uint16 newDefaultCommunityFee) external;\n\n  /// @dev updates default fee for new pools\n  /// @param newDefaultFee The new  fee, _must_ be <= MAX_DEFAULT_FEE\n  function setDefaultFee(uint16 newDefaultFee) external;\n\n  /// @dev updates default tickspacing for new pools\n  /// @param newDefaultTickspacing The new tickspacing, _must_ be <= MAX_TICK_SPACING and >= MIN_TICK_SPACING\n  function setDefaultTickspacing(int24 newDefaultTickspacing) external;\n\n  /// @dev updates pluginFactory address\n  /// @param newDefaultPluginFactory address of new plugin factory\n  function setDefaultPluginFactory(address newDefaultPluginFactory) external;\n\n  /// @dev updates vaultFactory address\n  /// @param newVaultFactory address of new vault factory\n  function setVaultFactory(address newVaultFactory) external;\n\n  /// @notice Starts process of renounceOwnership. After that, a certain period\n  /// of time must pass before the ownership renounce can be completed.\n  function startRenounceOwnership() external;\n\n  /// @notice Stops process of renounceOwnership and removes timer.\n  function stopRenounceOwnership() external;\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.8.4;\n\nimport './pool/IAlgebraPoolImmutables.sol';\nimport './pool/IAlgebraPoolState.sol';\nimport './pool/IAlgebraPoolActions.sol';\nimport './pool/IAlgebraPoolPermissionedActions.sol';\nimport './pool/IAlgebraPoolEvents.sol';\nimport './pool/IAlgebraPoolErrors.sol';\n\n/// @title The interface for a Algebra Pool\n/// @dev The pool interface is broken up into many smaller pieces.\n/// This interface includes custom error definitions and cannot be used in older versions of Solidity.\n/// For older versions of Solidity use #IAlgebraPoolLegacy\n/// Credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\ninterface IAlgebraPool is\n  IAlgebraPoolImmutables,\n  IAlgebraPoolState,\n  IAlgebraPoolActions,\n  IAlgebraPoolPermissionedActions,\n  IAlgebraPoolEvents,\n  IAlgebraPoolErrors\n{\n  // used only for combining interfaces\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title The Algebra plugin interface\n/// @dev The plugin will be called by the pool using hook methods depending on the current pool settings\ninterface IAlgebraPlugin {\n  /// @notice Returns plugin config\n  /// @return config Each bit of the config is responsible for enabling/disabling the hooks.\n  /// The last bit indicates whether the plugin contains dynamic fees logic\n  function defaultPluginConfig() external view returns (uint8);\n\n  /// @notice Handle plugin fee transfer on plugin contract\n  /// @param pluginFee0 Fee0 amount transferred to plugin\n  /// @param pluginFee1 Fee1 amount transferred to plugin\n  /// @return bytes4 The function selector\n  function handlePluginFee(uint256 pluginFee0, uint256 pluginFee1) external returns (bytes4);\n\n  /// @notice The hook called before the state of a pool is initialized\n  /// @param sender The initial msg.sender for the initialize call\n  /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n  /// @return bytes4 The function selector for the hook\n  function beforeInitialize(address sender, uint160 sqrtPriceX96) external returns (bytes4);\n\n  /// @notice The hook called after the state of a pool is initialized\n  /// @param sender The initial msg.sender for the initialize call\n  /// @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n  /// @param tick The current tick after the state of a pool is initialized\n  /// @return bytes4 The function selector for the hook\n  function afterInitialize(address sender, uint160 sqrtPriceX96, int24 tick) external returns (bytes4);\n\n  /// @notice The hook called before a position is modified\n  /// @param sender The initial msg.sender for the modify position call\n  /// @param recipient Address to which the liquidity will be assigned in case of a mint or\n  /// to which tokens will be sent in case of a burn\n  /// @param bottomTick The lower tick of the position\n  /// @param topTick The upper tick of the position\n  /// @param desiredLiquidityDelta The desired amount of liquidity to mint/burn\n  /// @param data Data that passed through the callback\n  /// @return selector The function selector for the hook\n  function beforeModifyPosition(\n    address sender,\n    address recipient,\n    int24 bottomTick,\n    int24 topTick,\n    int128 desiredLiquidityDelta,\n    bytes calldata data\n  ) external returns (bytes4 selector, uint24 pluginFee);\n\n  /// @notice The hook called after a position is modified\n  /// @param sender The initial msg.sender for the modify position call\n  /// @param recipient Address to which the liquidity will be assigned in case of a mint or\n  /// to which tokens will be sent in case of a burn\n  /// @param bottomTick The lower tick of the position\n  /// @param topTick The upper tick of the position\n  /// @param desiredLiquidityDelta The desired amount of liquidity to mint/burn\n  /// @param amount0 The amount of token0 sent to the recipient or was paid to mint\n  /// @param amount1 The amount of token0 sent to the recipient or was paid to mint\n  /// @param data Data that passed through the callback\n  /// @return bytes4 The function selector for the hook\n  function afterModifyPosition(\n    address sender,\n    address recipient,\n    int24 bottomTick,\n    int24 topTick,\n    int128 desiredLiquidityDelta,\n    uint256 amount0,\n    uint256 amount1,\n    bytes calldata data\n  ) external returns (bytes4);\n\n  /// @notice The hook called before a swap\n  /// @param sender The initial msg.sender for the swap call\n  /// @param recipient The address to receive the output of the swap\n  /// @param zeroToOne The direction of the swap, true for token0 to token1, false for token1 to token0\n  /// @param amountRequired The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n  /// @param limitSqrtPrice The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n  /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\n  /// @param withPaymentInAdvance The flag indicating whether the `swapWithPaymentInAdvance` method was called\n  /// @param data Data that passed through the callback\n  /// @return selector The function selector for the hook\n  function beforeSwap(\n    address sender,\n    address recipient,\n    bool zeroToOne,\n    int256 amountRequired,\n    uint160 limitSqrtPrice,\n    bool withPaymentInAdvance,\n    bytes calldata data\n  ) external returns (bytes4 selector, uint24 feeOverride, uint24 pluginFee);\n\n  /// @notice The hook called after a swap\n  /// @param sender The initial msg.sender for the swap call\n  /// @param recipient The address to receive the output of the swap\n  /// @param zeroToOne The direction of the swap, true for token0 to token1, false for token1 to token0\n  /// @param amountRequired The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n  /// @param limitSqrtPrice The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n  /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\n  /// @param amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\n  /// @param amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\n  /// @param data Data that passed through the callback\n  /// @return bytes4 The function selector for the hook\n  function afterSwap(\n    address sender,\n    address recipient,\n    bool zeroToOne,\n    int256 amountRequired,\n    uint160 limitSqrtPrice,\n    int256 amount0,\n    int256 amount1,\n    bytes calldata data\n  ) external returns (bytes4);\n\n  /// @notice The hook called before flash\n  /// @param sender The initial msg.sender for the flash call\n  /// @param recipient The address which will receive the token0 and token1 amounts\n  /// @param amount0 The amount of token0 being requested for flash\n  /// @param amount1 The amount of token1 being requested for flash\n  /// @param data Data that passed through the callback\n  /// @return bytes4 The function selector for the hook\n  function beforeFlash(address sender, address recipient, uint256 amount0, uint256 amount1, bytes calldata data) external returns (bytes4);\n\n  /// @notice The hook called after flash\n  /// @param sender The initial msg.sender for the flash call\n  /// @param recipient The address which will receive the token0 and token1 amounts\n  /// @param amount0 The amount of token0 being requested for flash\n  /// @param amount1 The amount of token1 being requested for flash\n  /// @param paid0 The amount of token0 being paid for flash\n  /// @param paid1 The amount of token1 being paid for flash\n  /// @param data Data that passed through the callback\n  /// @return bytes4 The function selector for the hook\n  function afterFlash(\n    address sender,\n    address recipient,\n    uint256 amount0,\n    uint256 amount1,\n    uint256 paid0,\n    uint256 paid1,\n    bytes calldata data\n  ) external returns (bytes4);\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title An interface for a contract that is capable of deploying Algebra plugins\n/// @dev Such a factory can be used for automatic plugin creation for new pools.\n/// Also a factory be used as an entry point for custom (additional) pools creation\ninterface IAlgebraPluginFactory {\n  /// @notice Deploys new plugin contract for pool\n  /// @param pool The address of the new pool\n  /// @param creator The address that initiated the pool creation\n  /// @param deployer The address of new plugin deployer contract (0 if not used)\n  /// @param token0 First token of the pool\n  /// @param token1 Second token of the pool\n  /// @return New plugin address\n  function beforeCreatePoolHook(\n    address pool,\n    address creator,\n    address deployer,\n    address token0,\n    address token1,\n    bytes calldata data\n  ) external returns (address);\n\n  /// @notice Called after the pool is created\n  /// @param plugin The plugin address\n  /// @param pool The address of the new pool\n  /// @param deployer The address of new plugin deployer contract (0 if not used)\n  function afterCreatePoolHook(address plugin, address pool, address deployer) external;\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Permissionless pool actions\n/// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\ninterface IAlgebraPoolActions {\n  /// @notice Sets the initial price for the pool\n  /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\n  /// @dev Initialization should be done in one transaction with pool creation to avoid front-running\n  /// @param initialPrice The initial sqrt price of the pool as a Q64.96\n  function initialize(uint160 initialPrice) external;\n\n  /// @notice Adds liquidity for the given recipient/bottomTick/topTick position\n  /// @dev The caller of this method receives a callback in the form of IAlgebraMintCallback#algebraMintCallback\n  /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\n  /// on bottomTick, topTick, the amount of liquidity, and the current price.\n  /// @param leftoversRecipient The address which will receive potential surplus of paid tokens\n  /// @param recipient The address for which the liquidity will be created\n  /// @param bottomTick The lower tick of the position in which to add liquidity\n  /// @param topTick The upper tick of the position in which to add liquidity\n  /// @param liquidityDesired The desired amount of liquidity to mint\n  /// @param data Any data that should be passed through to the callback\n  /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\n  /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\n  /// @return liquidityActual The actual minted amount of liquidity\n  function mint(\n    address leftoversRecipient,\n    address recipient,\n    int24 bottomTick,\n    int24 topTick,\n    uint128 liquidityDesired,\n    bytes calldata data\n  ) external returns (uint256 amount0, uint256 amount1, uint128 liquidityActual);\n\n  /// @notice Collects tokens owed to a position\n  /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.\n  /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or\n  /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the\n  /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\n  /// @param recipient The address which should receive the fees collected\n  /// @param bottomTick The lower tick of the position for which to collect fees\n  /// @param topTick The upper tick of the position for which to collect fees\n  /// @param amount0Requested How much token0 should be withdrawn from the fees owed\n  /// @param amount1Requested How much token1 should be withdrawn from the fees owed\n  /// @return amount0 The amount of fees collected in token0\n  /// @return amount1 The amount of fees collected in token1\n  function collect(\n    address recipient,\n    int24 bottomTick,\n    int24 topTick,\n    uint128 amount0Requested,\n    uint128 amount1Requested\n  ) external returns (uint128 amount0, uint128 amount1);\n\n  /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position\n  /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0\n  /// @dev Fees must be collected separately via a call to #collect\n  /// @param bottomTick The lower tick of the position for which to burn liquidity\n  /// @param topTick The upper tick of the position for which to burn liquidity\n  /// @param amount How much liquidity to burn\n  /// @param data Any data that should be passed through to the plugin\n  /// @return amount0 The amount of token0 sent to the recipient\n  /// @return amount1 The amount of token1 sent to the recipient\n  function burn(int24 bottomTick, int24 topTick, uint128 amount, bytes calldata data) external returns (uint256 amount0, uint256 amount1);\n\n  /// @notice Swap token0 for token1, or token1 for token0\n  /// @dev The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback\n  /// @param recipient The address to receive the output of the swap\n  /// @param zeroToOne The direction of the swap, true for token0 to token1, false for token1 to token0\n  /// @param amountRequired The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n  /// @param limitSqrtPrice The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n  /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\n  /// @param data Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\n  /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\n  /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\n  function swap(\n    address recipient,\n    bool zeroToOne,\n    int256 amountRequired,\n    uint160 limitSqrtPrice,\n    bytes calldata data\n  ) external returns (int256 amount0, int256 amount1);\n\n  /// @notice Swap token0 for token1, or token1 for token0 with prepayment\n  /// @dev The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback\n  /// caller must send tokens in callback before swap calculation\n  /// the actually sent amount of tokens is used for further calculations\n  /// @param leftoversRecipient The address which will receive potential surplus of paid tokens\n  /// @param recipient The address to receive the output of the swap\n  /// @param zeroToOne The direction of the swap, true for token0 to token1, false for token1 to token0\n  /// @param amountToSell The amount of the swap, only positive (exact input) amount allowed\n  /// @param limitSqrtPrice The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n  /// value after the swap. If one for zero, the price cannot be greater than this value after the swap\n  /// @param data Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\n  /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\n  /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\n  function swapWithPaymentInAdvance(\n    address leftoversRecipient,\n    address recipient,\n    bool zeroToOne,\n    int256 amountToSell,\n    uint160 limitSqrtPrice,\n    bytes calldata data\n  ) external returns (int256 amount0, int256 amount1);\n\n  /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback\n  /// @dev The caller of this method receives a callback in the form of IAlgebraFlashCallback#algebraFlashCallback\n  /// @dev All excess tokens paid in the callback are distributed to currently in-range liquidity providers as an additional fee.\n  /// If there are no in-range liquidity providers, the fee will be transferred to the first active provider in the future\n  /// @param recipient The address which will receive the token0 and token1 amounts\n  /// @param amount0 The amount of token0 to send\n  /// @param amount1 The amount of token1 to send\n  /// @param data Any data to be passed through to the callback\n  function flash(address recipient, uint256 amount0, uint256 amount1, bytes calldata data) external;\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.8.4;\n\n/// @title Errors emitted by a pool\n/// @notice Contains custom errors emitted by the pool\n/// @dev Custom errors are separated from the common pool interface for compatibility with older versions of Solidity\ninterface IAlgebraPoolErrors {\n  // ####  pool errors  ####\n\n  /// @notice Emitted by the reentrancy guard\n  error locked();\n\n  /// @notice Emitted if arithmetic error occurred\n  error arithmeticError();\n\n  /// @notice Emitted if an attempt is made to initialize the pool twice\n  error alreadyInitialized();\n\n  /// @notice Emitted if an attempt is made to mint or swap in uninitialized pool\n  error notInitialized();\n\n  /// @notice Emitted if 0 is passed as amountRequired to swap function\n  error zeroAmountRequired();\n\n  /// @notice Emitted if invalid amount is passed as amountRequired to swap function\n  error invalidAmountRequired();\n\n  /// @notice Emitted if plugin fee param greater than fee/override fee\n  error incorrectPluginFee();\n\n  /// @notice Emitted if the pool received fewer tokens than it should have\n  error insufficientInputAmount();\n\n  /// @notice Emitted if there was an attempt to mint zero liquidity\n  error zeroLiquidityDesired();\n  /// @notice Emitted if actual amount of liquidity is zero (due to insufficient amount of tokens received)\n  error zeroLiquidityActual();\n\n  /// @notice Emitted if the pool received fewer tokens0 after flash than it should have\n  error flashInsufficientPaid0();\n  /// @notice Emitted if the pool received fewer tokens1 after flash than it should have\n  error flashInsufficientPaid1();\n\n  /// @notice Emitted if limitSqrtPrice param is incorrect\n  error invalidLimitSqrtPrice();\n\n  /// @notice Tick must be divisible by tickspacing\n  error tickIsNotSpaced();\n\n  /// @notice Emitted if a method is called that is accessible only to the factory owner or dedicated role\n  error notAllowed();\n\n  /// @notice Emitted if new tick spacing exceeds max allowed value\n  error invalidNewTickSpacing();\n  /// @notice Emitted if new community fee exceeds max allowed value\n  error invalidNewCommunityFee();\n\n  /// @notice Emitted if an attempt is made to manually change the fee value, but dynamic fee is enabled\n  error dynamicFeeActive();\n  /// @notice Emitted if an attempt is made by plugin to change the fee value, but dynamic fee is disabled\n  error dynamicFeeDisabled();\n  /// @notice Emitted if an attempt is made to change the plugin configuration, but the plugin is not connected\n  error pluginIsNotConnected();\n  /// @notice Emitted if a plugin returns invalid selector after hook call\n  /// @param expectedSelector The expected selector\n  error invalidHookResponse(bytes4 expectedSelector);\n\n  // ####  LiquidityMath errors  ####\n\n  /// @notice Emitted if liquidity underflows\n  error liquiditySub();\n  /// @notice Emitted if liquidity overflows\n  error liquidityAdd();\n\n  // ####  TickManagement errors  ####\n\n  /// @notice Emitted if the topTick param not greater then the bottomTick param\n  error topTickLowerOrEqBottomTick();\n  /// @notice Emitted if the bottomTick param is lower than min allowed value\n  error bottomTickLowerThanMIN();\n  /// @notice Emitted if the topTick param is greater than max allowed value\n  error topTickAboveMAX();\n  /// @notice Emitted if the liquidity value associated with the tick exceeds MAX_LIQUIDITY_PER_TICK\n  error liquidityOverflow();\n  /// @notice Emitted if an attempt is made to interact with an uninitialized tick\n  error tickIsNotInitialized();\n  /// @notice Emitted if there is an attempt to insert a new tick into the list of ticks with incorrect indexes of the previous and next ticks\n  error tickInvalidLinks();\n\n  // ####  SafeTransfer errors  ####\n\n  /// @notice Emitted if token transfer failed internally\n  error transferFailed();\n\n  // ####  TickMath errors  ####\n\n  /// @notice Emitted if tick is greater than the maximum or less than the minimum allowed value\n  error tickOutOfRange();\n  /// @notice Emitted if price is greater than the maximum or less than the minimum allowed value\n  error priceOutOfRange();\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Events emitted by a pool\n/// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\ninterface IAlgebraPoolEvents {\n  /// @notice Emitted exactly once by a pool when #initialize is first called on the pool\n  /// @dev Mint/Burn/Swaps cannot be emitted by the pool before Initialize\n  /// @param price The initial sqrt price of the pool, as a Q64.96\n  /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool\n  event Initialize(uint160 price, int24 tick);\n\n  /// @notice Emitted when liquidity is minted for a given position\n  /// @param sender The address that minted the liquidity\n  /// @param owner The owner of the position and recipient of any minted liquidity\n  /// @param bottomTick The lower tick of the position\n  /// @param topTick The upper tick of the position\n  /// @param liquidityAmount The amount of liquidity minted to the position range\n  /// @param amount0 How much token0 was required for the minted liquidity\n  /// @param amount1 How much token1 was required for the minted liquidity\n  event Mint(\n    address sender,\n    address indexed owner,\n    int24 indexed bottomTick,\n    int24 indexed topTick,\n    uint128 liquidityAmount,\n    uint256 amount0,\n    uint256 amount1\n  );\n\n  /// @notice Emitted when fees are collected by the owner of a position\n  /// @param owner The owner of the position for which fees are collected\n  /// @param recipient The address that received fees\n  /// @param bottomTick The lower tick of the position\n  /// @param topTick The upper tick of the position\n  /// @param amount0 The amount of token0 fees collected\n  /// @param amount1 The amount of token1 fees collected\n  event Collect(address indexed owner, address recipient, int24 indexed bottomTick, int24 indexed topTick, uint128 amount0, uint128 amount1);\n\n  /// @notice Emitted when a position's liquidity is removed\n  /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\n  /// @param owner The owner of the position for which liquidity is removed\n  /// @param bottomTick The lower tick of the position\n  /// @param topTick The upper tick of the position\n  /// @param liquidityAmount The amount of liquidity to remove\n  /// @param amount0 The amount of token0 withdrawn\n  /// @param amount1 The amount of token1 withdrawn\n  event Burn(\n    address indexed owner,\n    int24 indexed bottomTick,\n    int24 indexed topTick,\n    uint128 liquidityAmount,\n    uint256 amount0,\n    uint256 amount1\n  );\n\n  /// @notice Emitted when a plugin fee is applied during a burn\n  /// @param owner The owner of the position\n  /// @param pluginFee The fee to be sent to the plugin\n  event BurnFee(address indexed owner, uint24 pluginFee); \n\n  /// @notice Emitted by the pool for any swaps between token0 and token1\n  /// @param sender The address that initiated the swap call, and that received the callback\n  /// @param recipient The address that received the output of the swap\n  /// @param amount0 The delta of the token0 balance of the pool\n  /// @param amount1 The delta of the token1 balance of the pool\n  /// @param price The sqrt(price) of the pool after the swap, as a Q64.96\n  /// @param liquidity The liquidity of the pool after the swap\n  /// @param tick The log base 1.0001 of price of the pool after the swap\n\n  event Swap(\n    address indexed sender,\n    address indexed recipient,\n    int256 amount0,\n    int256 amount1,\n    uint160 price,\n    uint128 liquidity,\n    int24 tick\n  );\n\n  /// @notice Emitted by the pool after any swaps \n  /// @param sender The address that initiated the swap \n  /// @param overrideFee The fee to be applied to the trade\n  /// @param pluginFee The fee to be sent to the plugin\n  event SwapFee(address indexed sender, uint24 overrideFee, uint24 pluginFee);\n\n  /// @notice Emitted by the pool for any flashes of token0/token1\n  /// @param sender The address that initiated the swap call, and that received the callback\n  /// @param recipient The address that received the tokens from flash\n  /// @param amount0 The amount of token0 that was flashed\n  /// @param amount1 The amount of token1 that was flashed\n  /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\n  /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee\n  event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1);\n\n  /// @notice Emitted when the pool has higher balances than expected.\n  /// Any excess of tokens will be distributed between liquidity providers as fee.\n  /// @dev Fees after flash also will trigger this event due to mechanics of flash.\n  /// @param amount0 The excess of token0\n  /// @param amount1 The excess of token1\n  event ExcessTokens(uint256 amount0, uint256 amount1);\n\n  /// @notice Emitted when the community fee is changed by the pool\n  /// @param communityFeeNew The updated value of the community fee in thousandths (1e-3)\n  event CommunityFee(uint16 communityFeeNew);\n\n  /// @notice Emitted when the tick spacing changes\n  /// @param newTickSpacing The updated value of the new tick spacing\n  event TickSpacing(int24 newTickSpacing);\n\n  /// @notice Emitted when the plugin address changes\n  /// @param newPluginAddress New plugin address\n  event Plugin(address newPluginAddress);\n\n  /// @notice Emitted when the plugin config changes\n  /// @param newPluginConfig New plugin config\n  event PluginConfig(uint8 newPluginConfig);\n\n  /// @notice Emitted when the fee changes inside the pool\n  /// @param fee The current fee in hundredths of a bip, i.e. 1e-6\n  event Fee(uint16 fee);\n\n  /// @notice Emitted when the community vault address changes\n  /// @param newCommunityVault New community vault\n  event CommunityVault(address newCommunityVault);\n\n  /// @notice Emitted when the plugin does skim the excess of tokens\n  /// @param to THe receiver of tokens (plugin)\n  /// @param amount0 The amount of token0\n  /// @param amount1 The amount of token1\n  event Skim(address indexed to, uint256 amount0, uint256 amount1);\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that never changes\n/// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\ninterface IAlgebraPoolImmutables {\n  /// @notice The Algebra factory contract, which must adhere to the IAlgebraFactory interface\n  /// @return The contract address\n  function factory() external view returns (address);\n\n  /// @notice The first of the two tokens of the pool, sorted by address\n  /// @return The token contract address\n  function token0() external view returns (address);\n\n  /// @notice The second of the two tokens of the pool, sorted by address\n  /// @return The token contract address\n  function token1() external view returns (address);\n\n  /// @notice The maximum amount of position liquidity that can use any tick in the range\n  /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\n  /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\n  /// @return The max amount of liquidity per tick\n  function maxLiquidityPerTick() external view returns (uint128);\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Permissioned pool actions\n/// @notice Contains pool methods that may only be called by permissioned addresses\n/// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\ninterface IAlgebraPoolPermissionedActions {\n  /// @notice Set the community's % share of the fees. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n  /// @param newCommunityFee The new community fee percent in thousandths (1e-3)\n  function setCommunityFee(uint16 newCommunityFee) external;\n\n  /// @notice Set the new tick spacing values. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n  /// @param newTickSpacing The new tick spacing value\n  function setTickSpacing(int24 newTickSpacing) external;\n\n  /// @notice Set the new plugin address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n  /// @param newPluginAddress The new plugin address\n  function setPlugin(address newPluginAddress) external;\n\n  /// @notice Set new plugin config. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n  /// @param newConfig In the new configuration of the plugin,\n  /// each bit of which is responsible for a particular hook.\n  function setPluginConfig(uint8 newConfig) external;\n\n  /// @notice Set new community fee vault address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n  /// @dev Community fee vault receives collected community fees.\n  /// **accumulated but not yet sent to the vault community fees once will be sent to the `newCommunityVault` address**\n  /// @param newCommunityVault The address of new community fee vault\n  function setCommunityVault(address newCommunityVault) external;\n\n  /// @notice Set new pool fee. Can be called by owner if dynamic fee is disabled.\n  /// Called by the plugin if dynamic fee is enabled\n  /// @param newFee The new fee value\n  function setFee(uint16 newFee) external;\n\n  /// @notice Forces balances to match reserves. Excessive tokens will be distributed between active LPs\n  /// @dev Only plugin can call this function\n  function sync() external;\n\n  /// @notice Forces balances to match reserves. Excessive tokens will be sent to msg.sender\n  /// @dev Only plugin can call this function\n  function skim() external;\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title Pool state that can change\n/// @dev Important security note: when using this data by external contracts, it is necessary to take into account the possibility\n/// of manipulation (including read-only reentrancy).\n/// This interface is based on the UniswapV3 interface, credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\ninterface IAlgebraPoolState {\n  /// @notice Safely get most important state values of Algebra Integral AMM\n  /// @dev Several values exposed as a single method to save gas when accessed externally.\n  /// **Important security note: this method checks reentrancy lock and should be preferred in most cases**.\n  /// @return sqrtPrice The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\n  /// @return tick The current global tick of the pool. May not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\n  /// @return lastFee The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\n  /// @return pluginConfig The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\n  /// @return activeLiquidity  The currently in-range liquidity available to the pool\n  /// @return nextTick The next initialized tick after current global tick\n  /// @return previousTick The previous initialized tick before (or at) current global tick\n  function safelyGetStateOfAMM()\n    external\n    view\n    returns (uint160 sqrtPrice, int24 tick, uint16 lastFee, uint8 pluginConfig, uint128 activeLiquidity, int24 nextTick, int24 previousTick);\n\n  /// @notice Allows to easily get current reentrancy lock status\n  /// @dev can be used to prevent read-only reentrancy.\n  /// This method just returns `globalState.unlocked` value\n  /// @return unlocked Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false\n  function isUnlocked() external view returns (bool unlocked);\n\n  // ! IMPORTANT security note: the pool state can be manipulated.\n  // ! The following methods do not check reentrancy lock themselves.\n\n  /// @notice The globalState structure in the pool stores many values but requires only one slot\n  /// and is exposed as a single method to save gas when accessed externally.\n  /// @dev **important security note: caller should check `unlocked` flag to prevent read-only reentrancy**\n  /// @return price The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\n  /// @return tick The current tick of the pool, i.e. according to the last tick transition that was run\n  /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\n  /// @return lastFee The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\n  /// @return pluginConfig The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\n  /// @return communityFee The community fee represented as a percent of all collected fee in thousandths, i.e. 1e-3 (so 100 is 10%)\n  /// @return unlocked Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false\n  function globalState() external view returns (uint160 price, int24 tick, uint16 lastFee, uint8 pluginConfig, uint16 communityFee, bool unlocked);\n\n  /// @notice Look up information about a specific tick in the pool\n  /// @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n  /// @param tick The tick to look up\n  /// @return liquidityTotal The total amount of position liquidity that uses the pool either as tick lower or tick upper\n  /// @return liquidityDelta How much liquidity changes when the pool price crosses the tick\n  /// @return prevTick The previous tick in tick list\n  /// @return nextTick The next tick in tick list\n  /// @return outerFeeGrowth0Token The fee growth on the other side of the tick from the current tick in token0\n  /// @return outerFeeGrowth1Token The fee growth on the other side of the tick from the current tick in token1\n  /// In addition, these values are only relative and must be used only in comparison to previous snapshots for\n  /// a specific position.\n  function ticks(\n    int24 tick\n  )\n    external\n    view\n    returns (\n      uint256 liquidityTotal,\n      int128 liquidityDelta,\n      int24 prevTick,\n      int24 nextTick,\n      uint256 outerFeeGrowth0Token,\n      uint256 outerFeeGrowth1Token\n    );\n\n  /// @notice The timestamp of the last sending of tokens to vault/plugin\n  /// @return The timestamp truncated to 32 bits\n  function lastFeeTransferTimestamp() external view returns (uint32);\n\n  /// @notice The amounts of token0 and token1 that will be sent to the vault\n  /// @dev Will be sent FEE_TRANSFER_FREQUENCY after communityFeeLastTimestamp\n  /// @return communityFeePending0 The amount of token0 that will be sent to the vault\n  /// @return communityFeePending1 The amount of token1 that will be sent to the vault\n  function getCommunityFeePending() external view returns (uint128 communityFeePending0, uint128 communityFeePending1);\n\n  /// @notice The amounts of token0 and token1 that will be sent to the plugin\n  /// @dev Will be sent FEE_TRANSFER_FREQUENCY after feeLastTransferTimestamp\n  /// @return pluginFeePending0 The amount of token0 that will be sent to the plugin\n  /// @return pluginFeePending1 The amount of token1 that will be sent to the plugin\n  function getPluginFeePending() external view returns (uint128 pluginFeePending0, uint128 pluginFeePending1);\n\n  /// @notice Returns the address of currently used plugin\n  /// @dev The plugin is subject to change\n  /// @return pluginAddress The address of currently used plugin\n  function plugin() external view returns (address pluginAddress);\n\n  /// @notice The contract to which community fees are transferred\n  /// @return communityVaultAddress The communityVault address\n  function communityVault() external view returns (address communityVaultAddress);\n\n  /// @notice Returns 256 packed tick initialized boolean values. See TickTree for more information\n  /// @param wordPosition Index of 256-bits word with ticks\n  /// @return The 256-bits word with packed ticks info\n  function tickTable(int16 wordPosition) external view returns (uint256);\n\n  /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\n  /// @dev This value can overflow the uint256\n  /// @return The fee growth accumulator for token0\n  function totalFeeGrowth0Token() external view returns (uint256);\n\n  /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\n  /// @dev This value can overflow the uint256\n  /// @return The fee growth accumulator for token1\n  function totalFeeGrowth1Token() external view returns (uint256);\n\n  /// @notice The current pool fee value\n  /// @dev In case dynamic fee is enabled in the pool, this method will call the plugin to get the current fee.\n  /// If the plugin implements complex fee logic, this method may return an incorrect value or revert.\n  /// In this case, see the plugin implementation and related documentation.\n  /// @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n  /// @return currentFee The current pool fee value in hundredths of a bip, i.e. 1e-6\n  function fee() external view returns (uint16 currentFee);\n\n  /// @notice The tracked token0 and token1 reserves of pool\n  /// @dev If at any time the real balance is larger, the excess will be transferred to liquidity providers as additional fee.\n  /// If the balance exceeds uint128, the excess will be sent to the communityVault.\n  /// @return reserve0 The last known reserve of token0\n  /// @return reserve1 The last known reserve of token1\n  function getReserves() external view returns (uint128 reserve0, uint128 reserve1);\n\n  /// @notice Returns the information about a position by the position's key\n  /// @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n  /// @param key The position's key is a packed concatenation of the owner address, bottomTick and topTick indexes\n  /// @return liquidity The amount of liquidity in the position\n  /// @return innerFeeGrowth0Token Fee growth of token0 inside the tick range as of the last mint/burn/poke\n  /// @return innerFeeGrowth1Token Fee growth of token1 inside the tick range as of the last mint/burn/poke\n  /// @return fees0 The computed amount of token0 owed to the position as of the last mint/burn/poke\n  /// @return fees1 The computed amount of token1 owed to the position as of the last mint/burn/poke\n  function positions(\n    bytes32 key\n  ) external view returns (uint256 liquidity, uint256 innerFeeGrowth0Token, uint256 innerFeeGrowth1Token, uint128 fees0, uint128 fees1);\n\n  /// @notice The currently in range liquidity available to the pool\n  /// @dev This value has no relationship to the total liquidity across all ticks.\n  /// Returned value cannot exceed type(uint128).max\n  /// @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n  /// @return The current in range liquidity\n  function liquidity() external view returns (uint128);\n\n  /// @notice The current tick spacing\n  /// @dev Ticks can only be initialized by new mints at multiples of this value\n  /// e.g.: a tickSpacing of 60 means ticks can be initialized every 60th tick, i.e., ..., -120, -60, 0, 60, 120, ...\n  /// However, tickspacing can be changed after the ticks have been initialized.\n  /// This value is an int24 to avoid casting even though it is always positive.\n  /// @return The current tick spacing\n  function tickSpacing() external view returns (int24);\n\n  /// @notice The previous initialized tick before (or at) current global tick\n  /// @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n  /// @return The previous initialized tick\n  function prevTickGlobal() external view returns (int24);\n\n  /// @notice The next initialized tick after current global tick\n  /// @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n  /// @return The next initialized tick\n  function nextTickGlobal() external view returns (int24);\n\n  /// @notice The root of tick search tree\n  /// @dev Each bit corresponds to one node in the second layer of tick tree: '1' if node has at least one active bit.\n  /// **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n  /// @return The root of tick search tree as bitmap\n  function tickTreeRoot() external view returns (uint32);\n\n  /// @notice The second layer of tick search tree\n  /// @dev Each bit in node corresponds to one node in the leafs layer (`tickTable`) of tick tree: '1' if leaf has at least one active bit.\n  /// **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n  /// @return The node of tick search tree second layer\n  function tickTreeSecondLayer(int16) external view returns (uint256);\n}\n"},"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\n/// @title The interface for the Algebra Vault Factory\n/// @notice This contract can be used for automatic vaults creation\n/// @dev Version: Algebra Integral\ninterface IAlgebraVaultFactory {\n  /// @notice returns address of the community fee vault for the pool\n  /// @param pool the address of Algebra Integral pool\n  /// @return communityFeeVault the address of community fee vault\n  function getVaultForPool(address pool) external view returns (address communityFeeVault);\n\n  /// @notice creates the community fee vault for the pool if needed\n  /// @param pool the address of Algebra Integral pool\n  /// @return communityFeeVault the address of community fee vault\n  function createVaultForPool(\n    address pool,\n    address creator,\n    address deployer,\n    address token0,\n    address token1\n  ) external returns (address communityFeeVault);\n}\n"},"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0 <0.9.0;\n\n/// @title Contains common constants for Algebra contracts\n/// @dev Constants moved to the library, not the base contract, to further emphasize their constant nature\nlibrary Constants {\n  uint8 internal constant RESOLUTION = 96;\n  uint256 internal constant Q96 = 1 << 96;\n  uint256 internal constant Q128 = 1 << 128;\n\n  uint24 internal constant FEE_DENOMINATOR = 1e6;\n  uint16 internal constant FLASH_FEE = 0.01e4; // fee for flash loan in hundredths of a bip (0.01%)\n  uint16 internal constant INIT_DEFAULT_FEE = 0.05e4; // init default fee value in hundredths of a bip (0.05%)\n  uint16 internal constant MAX_DEFAULT_FEE = 5e4; // max default fee value in hundredths of a bip (5%)\n\n  int24 internal constant INIT_DEFAULT_TICK_SPACING = 60;\n  int24 internal constant MAX_TICK_SPACING = 500;\n  int24 internal constant MIN_TICK_SPACING = 1;\n\n  // the frequency with which the accumulated community fees are sent to the vault\n  uint32 internal constant FEE_TRANSFER_FREQUENCY = 8 hours;\n\n  // max(uint128) / (MAX_TICK - MIN_TICK)\n  uint128 internal constant MAX_LIQUIDITY_PER_TICK = 191757638537527648490752896198553;\n\n  uint16 internal constant MAX_COMMUNITY_FEE = 1e3; // 100%\n  uint256 internal constant COMMUNITY_FEE_DENOMINATOR = 1e3;\n  // role that can change settings in pools\n  bytes32 internal constant POOLS_ADMINISTRATOR_ROLE = keccak256('POOLS_ADMINISTRATOR');\n}\n"},"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/// @title Contains 512-bit math functions\n/// @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\n/// @dev Handles \"phantom overflow\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\nlibrary FullMath {\n  /// @notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n  /// @param a The multiplicand\n  /// @param b The multiplier\n  /// @param denominator The divisor\n  /// @return result The 256-bit result\n  /// @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv\n  function mulDiv(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n    unchecked {\n      // 512-bit multiply [prod1 prod0] = a * b\n      // Compute the product mod 2**256 and mod 2**256 - 1\n      // then use the Chinese Remainder Theorem to reconstruct\n      // the 512 bit result. The result is stored in two 256\n      // variables such that product = prod1 * 2**256 + prod0\n      uint256 prod0 = a * b; // Least significant 256 bits of the product\n      uint256 prod1; // Most significant 256 bits of the product\n      assembly {\n        let mm := mulmod(a, b, not(0))\n        prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n      }\n\n      // Make sure the result is less than 2**256.\n      // Also prevents denominator == 0\n      require(denominator > prod1);\n\n      // Handle non-overflow cases, 256 by 256 division\n      if (prod1 == 0) {\n        assembly {\n          result := div(prod0, denominator)\n        }\n        return result;\n      }\n\n      ///////////////////////////////////////////////\n      // 512 by 256 division.\n      ///////////////////////////////////////////////\n\n      // Make division exact by subtracting the remainder from [prod1 prod0]\n      // Compute remainder using mulmod\n      // Subtract 256 bit remainder from 512 bit number\n      assembly {\n        let remainder := mulmod(a, b, denominator)\n        prod1 := sub(prod1, gt(remainder, prod0))\n        prod0 := sub(prod0, remainder)\n      }\n\n      // Factor powers of two out of denominator\n      // Compute largest power of two divisor of denominator.\n      // Always >= 1.\n      uint256 twos = (0 - denominator) & denominator;\n      // Divide denominator by power of two\n      assembly {\n        denominator := div(denominator, twos)\n      }\n\n      // Divide [prod1 prod0] by the factors of two\n      assembly {\n        prod0 := div(prod0, twos)\n      }\n      // Shift in bits from prod1 into prod0. For this we need\n      // to flip `twos` such that it is 2**256 / twos.\n      // If twos is zero, then it becomes one\n      assembly {\n        twos := add(div(sub(0, twos), twos), 1)\n      }\n      prod0 |= prod1 * twos;\n\n      // Invert denominator mod 2**256\n      // Now that denominator is an odd number, it has an inverse\n      // modulo 2**256 such that denominator * inv = 1 mod 2**256.\n      // Compute the inverse by starting with a seed that is correct\n      // correct for four bits. That is, denominator * inv = 1 mod 2**4\n      uint256 inv = (3 * denominator) ^ 2;\n      // Now use Newton-Raphson iteration to improve the precision.\n      // Thanks to Hensel's lifting lemma, this also works in modular\n      // arithmetic, doubling the correct bits in each step.\n      inv *= 2 - denominator * inv; // inverse mod 2**8\n      inv *= 2 - denominator * inv; // inverse mod 2**16\n      inv *= 2 - denominator * inv; // inverse mod 2**32\n      inv *= 2 - denominator * inv; // inverse mod 2**64\n      inv *= 2 - denominator * inv; // inverse mod 2**128\n      inv *= 2 - denominator * inv; // inverse mod 2**256\n\n      // Because the division is now exact we can divide by multiplying\n      // with the modular inverse of denominator. This will give us the\n      // correct result modulo 2**256. Since the preconditions guarantee\n      // that the outcome is less than 2**256, this is the final result.\n      // We don't need to compute the high bits of the result and prod1\n      // is no longer required.\n      result = prod0 * inv;\n      return result;\n    }\n  }\n\n  /// @notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n  /// @param a The multiplicand\n  /// @param b The multiplier\n  /// @param denominator The divisor\n  /// @return result The 256-bit result\n  function mulDivRoundingUp(uint256 a, uint256 b, uint256 denominator) internal pure returns (uint256 result) {\n    unchecked {\n      if (a == 0 || ((result = a * b) / a == b)) {\n        require(denominator > 0);\n        assembly {\n          result := add(div(result, denominator), gt(mod(result, denominator), 0))\n        }\n      } else {\n        result = mulDiv(a, b, denominator);\n        if (mulmod(a, b, denominator) > 0) {\n          require(result < type(uint256).max);\n          result++;\n        }\n      }\n    }\n  }\n\n  /// @notice Returns ceil(x / y)\n  /// @dev division by 0 has unspecified behavior, and must be checked externally\n  /// @param x The dividend\n  /// @param y The divisor\n  /// @return z The quotient, ceil(x / y)\n  function unsafeDivRoundingUp(uint256 x, uint256 y) internal pure returns (uint256 z) {\n    assembly {\n      z := add(div(x, y), gt(mod(x, y), 0))\n    }\n  }\n}\n"},"@cryptoalgebra/integral-core/contracts/libraries/LiquidityMath.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.8.4 <0.9.0;\n\nimport '../interfaces/pool/IAlgebraPoolErrors.sol';\nimport './TickMath.sol';\nimport './TokenDeltaMath.sol';\n\n/// @title Math library for liquidity\n/// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/blob/main/contracts/libraries\nlibrary LiquidityMath {\n  /// @notice Add a signed liquidity delta to liquidity and revert if it overflows or underflows\n  /// @param x The liquidity before change\n  /// @param y The delta by which liquidity should be changed\n  /// @return z The liquidity delta\n  function addDelta(uint128 x, int128 y) internal pure returns (uint128 z) {\n    unchecked {\n      if (y < 0) {\n        if ((z = x - uint128(-y)) >= x) revert IAlgebraPoolErrors.liquiditySub();\n      } else {\n        if ((z = x + uint128(y)) < x) revert IAlgebraPoolErrors.liquidityAdd();\n      }\n    }\n  }\n\n  function getAmountsForLiquidity(\n    int24 bottomTick,\n    int24 topTick,\n    int128 liquidityDelta,\n    int24 currentTick,\n    uint160 currentPrice\n  ) internal pure returns (uint256 amount0, uint256 amount1, int128 globalLiquidityDelta) {\n    uint160 priceAtBottomTick = TickMath.getSqrtRatioAtTick(bottomTick);\n    uint160 priceAtTopTick = TickMath.getSqrtRatioAtTick(topTick);\n\n    int256 amount0Int;\n    int256 amount1Int;\n    if (currentTick < bottomTick) {\n      // If current tick is less than the provided bottom one then only the token0 has to be provided\n      amount0Int = TokenDeltaMath.getToken0Delta(priceAtBottomTick, priceAtTopTick, liquidityDelta);\n    } else if (currentTick < topTick) {\n      amount0Int = TokenDeltaMath.getToken0Delta(currentPrice, priceAtTopTick, liquidityDelta);\n      amount1Int = TokenDeltaMath.getToken1Delta(priceAtBottomTick, currentPrice, liquidityDelta);\n      globalLiquidityDelta = liquidityDelta;\n    } else {\n      // If current tick is greater than the provided top one then only the token1 has to be provided\n      amount1Int = TokenDeltaMath.getToken1Delta(priceAtBottomTick, priceAtTopTick, liquidityDelta);\n    }\n\n    unchecked {\n      (amount0, amount1) = liquidityDelta < 0 ? (uint256(-amount0Int), uint256(-amount1Int)) : (uint256(amount0Int), uint256(amount1Int));\n    }\n  }\n}\n"},"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.8.4 <0.9.0;\n\nimport '../interfaces/pool/IAlgebraPoolErrors.sol';\n\n/// @title Contains logic and constants for interacting with the plugin through hooks\n/// @dev Allows pool to check which hooks are enabled, as well as control the return selector\nlibrary Plugins {\n  function hasFlag(uint8 pluginConfig, uint256 flag) internal pure returns (bool res) {\n    assembly {\n      res := gt(and(pluginConfig, flag), 0)\n    }\n  }\n\n  function shouldReturn(bytes4 selector, bytes4 expectedSelector) internal pure {\n    if (selector != expectedSelector) revert IAlgebraPoolErrors.invalidHookResponse(expectedSelector);\n  }\n\n  uint256 internal constant BEFORE_SWAP_FLAG = 1;\n  uint256 internal constant AFTER_SWAP_FLAG = 1 << 1;\n  uint256 internal constant BEFORE_POSITION_MODIFY_FLAG = 1 << 2;\n  uint256 internal constant AFTER_POSITION_MODIFY_FLAG = 1 << 3;\n  uint256 internal constant BEFORE_FLASH_FLAG = 1 << 4;\n  uint256 internal constant AFTER_FLASH_FLAG = 1 << 5;\n  uint256 internal constant AFTER_INIT_FLAG = 1 << 6;\n  uint256 internal constant DYNAMIC_FEE = 1 << 7;\n}\n"},"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0 <0.9.0;\n\n/// @title Safe casting methods\n/// @notice Contains methods for safely casting between types\n/// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/blob/main/contracts/libraries\nlibrary SafeCast {\n  /// @notice Cast a uint256 to a uint160, revert on overflow\n  /// @param y The uint256 to be downcasted\n  /// @return z The downcasted integer, now type uint160\n  function toUint160(uint256 y) internal pure returns (uint160 z) {\n    require((z = uint160(y)) == y);\n  }\n\n  /// @notice Cast a uint256 to a uint128, revert on overflow\n  /// @param y The uint256 to be downcasted\n  /// @return z The downcasted integer, now type uint128\n  function toUint128(uint256 y) internal pure returns (uint128 z) {\n    require((z = uint128(y)) == y);\n  }\n\n  /// @notice Cast a int256 to a int128, revert on overflow or underflow\n  /// @param y The int256 to be downcasted\n  /// @return z The downcasted integer, now type int128\n  function toInt128(int256 y) internal pure returns (int128 z) {\n    require((z = int128(y)) == y);\n  }\n\n  /// @notice Cast a uint128 to a int128, revert on overflow\n  /// @param y The uint128 to be downcasted\n  /// @return z The downcasted integer, now type int128\n  function toInt128(uint128 y) internal pure returns (int128 z) {\n    require((z = int128(y)) >= 0);\n  }\n\n  /// @notice Cast a uint256 to a int256, revert on overflow\n  /// @param y The uint256 to be casted\n  /// @return z The casted integer, now type int256\n  function toInt256(uint256 y) internal pure returns (int256 z) {\n    require((z = int256(y)) >= 0);\n  }\n}\n"},"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.8.4 <0.9.0;\n\nimport '../interfaces/pool/IAlgebraPoolErrors.sol';\n\n/// @title SafeTransfer\n/// @notice Safe ERC20 transfer library that gracefully handles missing return values.\n/// @dev Credit to Solmate under MIT license: https://github.com/transmissions11/solmate/blob/ed67feda67b24fdeff8ad1032360f0ee6047ba0a/src/utils/SafeTransferLib.sol\n/// @dev Please note that this library does not check if the token has a code! That responsibility is delegated to the caller.\nlibrary SafeTransfer {\n  /// @notice Transfers tokens to a recipient\n  /// @dev Calls transfer on token contract, errors with transferFailed() if transfer fails\n  /// @param token The contract address of the token which will be transferred\n  /// @param to The recipient of the transfer\n  /// @param amount The amount of the token to transfer\n  function safeTransfer(address token, address to, uint256 amount) internal {\n    bool success;\n    assembly {\n      let freeMemoryPointer := mload(0x40) // we will need to restore 0x40 slot\n      mstore(0x00, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // \"transfer(address,uint256)\" selector\n      mstore(0x04, and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // append cleaned \"to\" address\n      mstore(0x24, amount)\n      // now we use 0x00 - 0x44 bytes (68), freeMemoryPointer is dirty\n      success := call(gas(), token, 0, 0, 0x44, 0, 0x20)\n      success := and(\n        // set success to true if call isn't reverted and returned exactly 1 (can't just be non-zero data) or nothing\n        or(and(eq(mload(0), 1), eq(returndatasize(), 32)), iszero(returndatasize())),\n        success\n      )\n      mstore(0x40, freeMemoryPointer) // restore the freeMemoryPointer\n    }\n\n    if (!success) revert IAlgebraPoolErrors.transferFailed();\n  }\n}\n"},"@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity =0.8.20;\n\nimport '../interfaces/pool/IAlgebraPoolErrors.sol';\n\nimport './TickMath.sol';\nimport './LiquidityMath.sol';\nimport './Constants.sol';\n\n/// @title Library for managing and interacting with ticks\n/// @notice Contains functions for managing tick processes and relevant calculations\n/// @dev Ticks are organized as a doubly linked list\nlibrary TickManagement {\n  // info stored for each initialized individual tick\n  struct Tick {\n    uint256 liquidityTotal; // the total position liquidity that references this tick\n    int128 liquidityDelta; // amount of net liquidity added (subtracted) when tick is crossed left-right (right-left),\n    int24 prevTick;\n    int24 nextTick;\n    // fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)\n    // only has relative meaning, not absolute — the value depends on when the tick is initialized\n    uint256 outerFeeGrowth0Token;\n    uint256 outerFeeGrowth1Token;\n  }\n\n  function checkTickRangeValidity(int24 bottomTick, int24 topTick) internal pure {\n    if (topTick > TickMath.MAX_TICK) revert IAlgebraPoolErrors.topTickAboveMAX();\n    if (topTick <= bottomTick) revert IAlgebraPoolErrors.topTickLowerOrEqBottomTick();\n    if (bottomTick < TickMath.MIN_TICK) revert IAlgebraPoolErrors.bottomTickLowerThanMIN();\n  }\n\n  /// @notice Retrieves fee growth data\n  /// @param self The mapping containing all tick information for initialized ticks\n  /// @param bottomTick The lower tick boundary of the position\n  /// @param topTick The upper tick boundary of the position\n  /// @param currentTick The current tick\n  /// @param totalFeeGrowth0Token The all-time global fee growth, per unit of liquidity, in token0\n  /// @param totalFeeGrowth1Token The all-time global fee growth, per unit of liquidity, in token1\n  /// @return innerFeeGrowth0Token The all-time fee growth in token0, per unit of liquidity, inside the position's tick boundaries\n  /// @return innerFeeGrowth1Token The all-time fee growth in token1, per unit of liquidity, inside the position's tick boundaries\n  function getInnerFeeGrowth(\n    mapping(int24 => Tick) storage self,\n    int24 bottomTick,\n    int24 topTick,\n    int24 currentTick,\n    uint256 totalFeeGrowth0Token,\n    uint256 totalFeeGrowth1Token\n  ) internal view returns (uint256 innerFeeGrowth0Token, uint256 innerFeeGrowth1Token) {\n    Tick storage lower = self[bottomTick];\n    Tick storage upper = self[topTick];\n\n    unchecked {\n      if (currentTick < topTick) {\n        if (currentTick >= bottomTick) {\n          innerFeeGrowth0Token = totalFeeGrowth0Token - lower.outerFeeGrowth0Token;\n          innerFeeGrowth1Token = totalFeeGrowth1Token - lower.outerFeeGrowth1Token;\n        } else {\n          innerFeeGrowth0Token = lower.outerFeeGrowth0Token;\n          innerFeeGrowth1Token = lower.outerFeeGrowth1Token;\n        }\n        innerFeeGrowth0Token -= upper.outerFeeGrowth0Token;\n        innerFeeGrowth1Token -= upper.outerFeeGrowth1Token;\n      } else {\n        innerFeeGrowth0Token = upper.outerFeeGrowth0Token - lower.outerFeeGrowth0Token;\n        innerFeeGrowth1Token = upper.outerFeeGrowth1Token - lower.outerFeeGrowth1Token;\n      }\n    }\n  }\n\n  /// @notice Updates a tick and returns true if the tick was flipped from initialized to uninitialized, or vice versa\n  /// @param self The mapping containing all tick information for initialized ticks\n  /// @param tick The tick that will be updated\n  /// @param currentTick The current tick\n  /// @param liquidityDelta A new amount of liquidity to be added (subtracted) when tick is crossed from left to right (right to left)\n  /// @param totalFeeGrowth0Token The all-time global fee growth, per unit of liquidity, in token0\n  /// @param totalFeeGrowth1Token The all-time global fee growth, per unit of liquidity, in token1\n  /// @param upper True for updating a position's upper tick, or false for updating a position's lower tick\n  /// @return flipped Whether the tick was flipped from initialized to uninitialized, or vice versa\n  function update(\n    mapping(int24 => Tick) storage self,\n    int24 tick,\n    int24 currentTick,\n    int128 liquidityDelta,\n    uint256 totalFeeGrowth0Token,\n    uint256 totalFeeGrowth1Token,\n    bool upper\n  ) internal returns (bool flipped) {\n    Tick storage data = self[tick];\n\n    uint256 liquidityTotalBefore = data.liquidityTotal;\n    uint256 liquidityTotalAfter = LiquidityMath.addDelta(uint128(liquidityTotalBefore), liquidityDelta);\n    if (liquidityTotalAfter > Constants.MAX_LIQUIDITY_PER_TICK) revert IAlgebraPoolErrors.liquidityOverflow();\n\n    int128 liquidityDeltaBefore = data.liquidityDelta;\n    // when the lower (upper) tick is crossed left to right (right to left), liquidity must be added (removed)\n    data.liquidityDelta = upper ? int128(int256(liquidityDeltaBefore) - liquidityDelta) : int128(int256(liquidityDeltaBefore) + liquidityDelta);\n    data.liquidityTotal = liquidityTotalAfter;\n\n    flipped = (liquidityTotalAfter == 0);\n    if (liquidityTotalBefore == 0) {\n      flipped = !flipped;\n      // by convention, we assume that all growth before a tick was initialized happened _below_ the tick\n      if (tick <= currentTick) (data.outerFeeGrowth0Token, data.outerFeeGrowth1Token) = (totalFeeGrowth0Token, totalFeeGrowth1Token);\n    }\n  }\n\n  /// @notice Transitions to next tick as needed by price movement\n  /// @param self The mapping containing all tick information for initialized ticks\n  /// @param tick The destination tick of the transition\n  /// @param feeGrowth0 The all-time global fee growth, per unit of liquidity, in token0\n  /// @param feeGrowth1 The all-time global fee growth, per unit of liquidity, in token1\n  /// @return liquidityDelta The amount of liquidity added (subtracted) when tick is crossed from left to right (right to left)\n  /// @return prevTick The previous active tick before _tick_\n  /// @return nextTick The next active tick after _tick_\n  function cross(\n    mapping(int24 => Tick) storage self,\n    int24 tick,\n    uint256 feeGrowth0,\n    uint256 feeGrowth1\n  ) internal returns (int128 liquidityDelta, int24 prevTick, int24 nextTick) {\n    Tick storage data = self[tick];\n    unchecked {\n      (data.outerFeeGrowth1Token, data.outerFeeGrowth0Token) = (feeGrowth1 - data.outerFeeGrowth1Token, feeGrowth0 - data.outerFeeGrowth0Token);\n    }\n    return (data.liquidityDelta, data.prevTick, data.nextTick);\n  }\n\n  /// @notice Used for initial setup of ticks list\n  /// @param self The mapping containing all tick information for initialized ticks\n  function initTickState(mapping(int24 => Tick) storage self) internal {\n    (self[TickMath.MIN_TICK].prevTick, self[TickMath.MIN_TICK].nextTick) = (TickMath.MIN_TICK, TickMath.MAX_TICK);\n    (self[TickMath.MAX_TICK].prevTick, self[TickMath.MAX_TICK].nextTick) = (TickMath.MIN_TICK, TickMath.MAX_TICK);\n  }\n\n  /// @notice Removes tick from the linked list\n  /// @param self The mapping containing all tick information for initialized ticks\n  /// @param tick The tick that will be removed\n  /// @return prevTick The previous active tick before _tick_\n  /// @return nextTick The next active tick after _tick_\n  function removeTick(mapping(int24 => Tick) storage self, int24 tick) internal returns (int24 prevTick, int24 nextTick) {\n    (prevTick, nextTick) = (self[tick].prevTick, self[tick].nextTick);\n    delete self[tick];\n\n    if (tick == TickMath.MIN_TICK || tick == TickMath.MAX_TICK) {\n      // MIN_TICK and MAX_TICK cannot be removed from tick list\n      (self[tick].prevTick, self[tick].nextTick) = (prevTick, nextTick);\n    } else {\n      if (prevTick == nextTick) revert IAlgebraPoolErrors.tickIsNotInitialized();\n      self[prevTick].nextTick = nextTick;\n      self[nextTick].prevTick = prevTick;\n    }\n    return (prevTick, nextTick);\n  }\n\n  /// @notice Adds tick to the linked list\n  /// @param self The mapping containing all tick information for initialized ticks\n  /// @param tick The tick that will be inserted\n  /// @param prevTick The previous active tick before _tick_\n  /// @param nextTick The next active tick after _tick_\n  function insertTick(mapping(int24 => Tick) storage self, int24 tick, int24 prevTick, int24 nextTick) internal {\n    if (tick == TickMath.MIN_TICK || tick == TickMath.MAX_TICK) return;\n    if (!(prevTick < tick && nextTick > tick)) revert IAlgebraPoolErrors.tickInvalidLinks();\n    (self[tick].prevTick, self[tick].nextTick) = (prevTick, nextTick);\n\n    self[prevTick].nextTick = tick;\n    self[nextTick].prevTick = tick;\n  }\n}\n"},"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.8.4 <0.9.0;\n\nimport '../interfaces/pool/IAlgebraPoolErrors.sol';\n\n/// @title Math library for computing sqrt prices from ticks and vice versa\n/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\n/// prices between 2**-128 and 2**128\n/// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n/// https://github.com/Uniswap/v3-core/blob/main/contracts/libraries\nlibrary TickMath {\n  /// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128\n  int24 internal constant MIN_TICK = -887272;\n  /// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128\n  int24 internal constant MAX_TICK = -MIN_TICK;\n\n  /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)\n  uint160 internal constant MIN_SQRT_RATIO = 4295128739;\n  /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)\n  uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;\n\n  /// @notice Calculates sqrt(1.0001^tick) * 2^96\n  /// @dev Throws if |tick| > max tick\n  /// @param tick The input tick for the above formula\n  /// @return price A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)\n  /// at the given tick\n  function getSqrtRatioAtTick(int24 tick) internal pure returns (uint160 price) {\n    unchecked {\n      // get abs value\n      int24 absTickMask = tick >> (24 - 1);\n      uint256 absTick = uint24((tick + absTickMask) ^ absTickMask);\n      if (absTick > uint24(MAX_TICK)) revert IAlgebraPoolErrors.tickOutOfRange();\n\n      uint256 ratio = 0x100000000000000000000000000000000;\n      if (absTick & 0x1 != 0) ratio = 0xfffcb933bd6fad37aa2d162d1a594001;\n      if (absTick & 0x2 != 0) ratio = (ratio * 0xfff97272373d413259a46990580e213a) >> 128;\n      if (absTick & 0x4 != 0) ratio = (ratio * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;\n      if (absTick & 0x8 != 0) ratio = (ratio * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;\n      if (absTick & 0x10 != 0) ratio = (ratio * 0xffcb9843d60f6159c9db58835c926644) >> 128;\n      if (absTick & 0x20 != 0) ratio = (ratio * 0xff973b41fa98c081472e6896dfb254c0) >> 128;\n      if (absTick & 0x40 != 0) ratio = (ratio * 0xff2ea16466c96a3843ec78b326b52861) >> 128;\n      if (absTick & 0x80 != 0) ratio = (ratio * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;\n      if (absTick & 0x100 != 0) ratio = (ratio * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;\n      if (absTick & 0x200 != 0) ratio = (ratio * 0xf987a7253ac413176f2b074cf7815e54) >> 128;\n      if (absTick & 0x400 != 0) ratio = (ratio * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;\n      if (absTick & 0x800 != 0) ratio = (ratio * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;\n      if (absTick & 0x1000 != 0) ratio = (ratio * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;\n      if (absTick & 0x2000 != 0) ratio = (ratio * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;\n      if (absTick & 0x4000 != 0) ratio = (ratio * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;\n      if (absTick & 0x8000 != 0) ratio = (ratio * 0x31be135f97d08fd981231505542fcfa6) >> 128;\n      if (absTick & 0x10000 != 0) ratio = (ratio * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;\n      if (absTick & 0x20000 != 0) ratio = (ratio * 0x5d6af8dedb81196699c329225ee604) >> 128;\n      if (absTick >= 0x40000) {\n        if (absTick & 0x40000 != 0) ratio = (ratio * 0x2216e584f5fa1ea926041bedfe98) >> 128;\n        if (absTick & 0x80000 != 0) ratio = (ratio * 0x48a170391f7dc42444e8fa2) >> 128;\n      }\n\n      if (tick > 0) {\n        assembly {\n          ratio := div(not(0), ratio)\n        }\n      }\n\n      // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.\n      // we then downcast because we know the result always fits within 160 bits due to our tick input constraint\n      // we round up in the division so getTickAtSqrtRatio of the output price is always consistent\n      price = uint160((ratio + 0xFFFFFFFF) >> 32);\n    }\n  }\n\n  /// @notice Calculates the greatest tick value such that getRatioAtTick(tick) <= ratio\n  /// @dev Throws in case price < MIN_SQRT_RATIO, as MIN_SQRT_RATIO is the lowest value getRatioAtTick may\n  /// ever return.\n  /// @param price The sqrt ratio for which to compute the tick as a Q64.96\n  /// @return tick The greatest tick for which the ratio is less than or equal to the input ratio\n  function getTickAtSqrtRatio(uint160 price) internal pure returns (int24 tick) {\n    unchecked {\n      // second inequality must be >= because the price can never reach the price at the max tick\n      if (price < MIN_SQRT_RATIO || price >= MAX_SQRT_RATIO) revert IAlgebraPoolErrors.priceOutOfRange();\n      uint256 ratio = uint256(price) << 32;\n\n      uint256 r = ratio;\n      uint256 msb;\n\n      assembly {\n        let f := shl(7, gt(r, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))\n        msb := or(msb, f)\n        r := shr(f, r)\n      }\n      assembly {\n        let f := shl(6, gt(r, 0xFFFFFFFFFFFFFFFF))\n        msb := or(msb, f)\n        r := shr(f, r)\n      }\n      assembly {\n        let f := shl(5, gt(r, 0xFFFFFFFF))\n        msb := or(msb, f)\n        r := shr(f, r)\n      }\n      assembly {\n        let f := shl(4, gt(r, 0xFFFF))\n        msb := or(msb, f)\n        r := shr(f, r)\n      }\n      assembly {\n        let f := shl(3, gt(r, 0xFF))\n        msb := or(msb, f)\n        r := shr(f, r)\n      }\n      assembly {\n        let f := shl(2, gt(r, 0xF))\n        msb := or(msb, f)\n        r := shr(f, r)\n      }\n      assembly {\n        let f := shl(1, gt(r, 0x3))\n        msb := or(msb, f)\n        r := shr(f, r)\n      }\n      assembly {\n        let f := gt(r, 0x1)\n        msb := or(msb, f)\n      }\n\n      if (msb >= 128) r = ratio >> (msb - 127);\n      else r = ratio << (127 - msb);\n\n      int256 log_2 = (int256(msb) - 128) << 64;\n\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(63, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(62, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(61, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(60, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(59, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(58, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(57, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(56, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(55, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(54, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(53, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(52, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(51, f))\n        r := shr(f, r)\n      }\n      assembly {\n        r := shr(127, mul(r, r))\n        let f := shr(128, r)\n        log_2 := or(log_2, shl(50, f))\n      }\n\n      int256 log_sqrt10001 = log_2 * 255738958999603826347141; // 128.128 number\n\n      int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);\n      int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);\n\n      tick = tickLow == tickHi ? tickLow : getSqrtRatioAtTick(tickHi) <= price ? tickHi : tickLow;\n    }\n  }\n}\n"},"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity =0.8.20;\n\nimport './SafeCast.sol';\nimport './FullMath.sol';\nimport './Constants.sol';\n\n/// @title Functions based on Q64.96 sqrt price and liquidity\n/// @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\nlibrary TokenDeltaMath {\n  using SafeCast for uint256;\n\n  /// @notice Gets the token0 delta between two prices\n  /// @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper)\n  /// @param priceLower A Q64.96 sqrt price\n  /// @param priceUpper Another Q64.96 sqrt price\n  /// @param liquidity The amount of usable liquidity\n  /// @param roundUp Whether to round the amount up or down\n  /// @return token0Delta Amount of token0 required to cover a position of size liquidity between the two passed prices\n  function getToken0Delta(uint160 priceLower, uint160 priceUpper, uint128 liquidity, bool roundUp) internal pure returns (uint256 token0Delta) {\n    unchecked {\n      uint256 priceDelta = priceUpper - priceLower;\n      require(priceDelta < priceUpper); // forbids underflow and 0 priceLower\n      uint256 liquidityShifted = uint256(liquidity) << Constants.RESOLUTION;\n\n      token0Delta = roundUp\n        ? FullMath.unsafeDivRoundingUp(FullMath.mulDivRoundingUp(priceDelta, liquidityShifted, priceUpper), priceLower) // denominator always > 0\n        : FullMath.mulDiv(priceDelta, liquidityShifted, priceUpper) / priceLower;\n    }\n  }\n\n  /// @notice Gets the token1 delta between two prices\n  /// @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\n  /// @param priceLower A Q64.96 sqrt price\n  /// @param priceUpper Another Q64.96 sqrt price\n  /// @param liquidity The amount of usable liquidity\n  /// @param roundUp Whether to round the amount up, or down\n  /// @return token1Delta Amount of token1 required to cover a position of size liquidity between the two passed prices\n  function getToken1Delta(uint160 priceLower, uint160 priceUpper, uint128 liquidity, bool roundUp) internal pure returns (uint256 token1Delta) {\n    unchecked {\n      require(priceUpper >= priceLower);\n      uint256 priceDelta = priceUpper - priceLower;\n      token1Delta = roundUp ? FullMath.mulDivRoundingUp(priceDelta, liquidity, Constants.Q96) : FullMath.mulDiv(priceDelta, liquidity, Constants.Q96);\n    }\n  }\n\n  /// @notice Helper that gets signed token0 delta\n  /// @param priceLower A Q64.96 sqrt price\n  /// @param priceUpper Another Q64.96 sqrt price\n  /// @param liquidity The change in liquidity for which to compute the token0 delta\n  /// @return token0Delta Amount of token0 corresponding to the passed liquidityDelta between the two prices\n  function getToken0Delta(uint160 priceLower, uint160 priceUpper, int128 liquidity) internal pure returns (int256 token0Delta) {\n    unchecked {\n      token0Delta = liquidity >= 0\n        ? getToken0Delta(priceLower, priceUpper, uint128(liquidity), true).toInt256()\n        : -getToken0Delta(priceLower, priceUpper, uint128(-liquidity), false).toInt256();\n    }\n  }\n\n  /// @notice Helper that gets signed token1 delta\n  /// @param priceLower A Q64.96 sqrt price\n  /// @param priceUpper Another Q64.96 sqrt price\n  /// @param liquidity The change in liquidity for which to compute the token1 delta\n  /// @return token1Delta Amount of token1 corresponding to the passed liquidityDelta between the two prices\n  function getToken1Delta(uint160 priceLower, uint160 priceUpper, int128 liquidity) internal pure returns (int256 token1Delta) {\n    unchecked {\n      token1Delta = liquidity >= 0\n        ? getToken1Delta(priceLower, priceUpper, uint128(liquidity), true).toInt256()\n        : -getToken1Delta(priceLower, priceUpper, uint128(-liquidity), false).toInt256();\n    }\n  }\n}\n"},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.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 * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\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.\n     *\n     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\n     * constructor.\n     *\n     * Emits an {Initialized} event.\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     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\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     * WARNING: setting the version to 255 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\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     * Emits an {Initialized} event the first time it is successfully executed.\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    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint8) {\n        return _initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _initializing;\n    }\n}\n"},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.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     * Furthermore, `isContract` will also return true if the target contract within\n     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n     * which only has an effect at the end of a transaction.\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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, \"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(address target, bytes memory data, uint256 value) 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        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, 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        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n     *\n     * _Available since v4.8._\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        if (success) {\n            if (returndata.length == 0) {\n                // only check isContract if the call was successful and the return data is empty\n                // otherwise we already know that it was a contract\n                require(isContract(target), \"Address: call to non-contract\");\n            }\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n     * revert reason or using the provided one.\n     *\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            _revert(returndata, errorMessage);\n        }\n    }\n\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\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"},"@openzeppelin/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../utils/Context.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 Ownable is Context {\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    constructor() {\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. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling 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"},"@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"@openzeppelin/contracts/interfaces/IERC1967.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n *\n * _Available since v4.8.3._\n */\ninterface IERC1967 {\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n}\n"},"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/beacon/BeaconProxy.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IBeacon.sol\";\nimport \"../Proxy.sol\";\nimport \"../ERC1967/ERC1967Upgrade.sol\";\n\n/**\n * @dev This contract implements a proxy that gets the implementation address for each call from an {UpgradeableBeacon}.\n *\n * The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't\n * conflict with the storage layout of the implementation behind the proxy.\n *\n * _Available since v3.4._\n */\ncontract BeaconProxy is Proxy, ERC1967Upgrade {\n    /**\n     * @dev Initializes the proxy with `beacon`.\n     *\n     * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This\n     * will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity\n     * constructor.\n     *\n     * Requirements:\n     *\n     * - `beacon` must be a contract with the interface {IBeacon}.\n     */\n    constructor(address beacon, bytes memory data) payable {\n        _upgradeBeaconToAndCall(beacon, data, false);\n    }\n\n    /**\n     * @dev Returns the current beacon address.\n     */\n    function _beacon() internal view virtual returns (address) {\n        return _getBeacon();\n    }\n\n    /**\n     * @dev Returns the current implementation address of the associated beacon.\n     */\n    function _implementation() internal view virtual override returns (address) {\n        return IBeacon(_getBeacon()).implementation();\n    }\n\n    /**\n     * @dev Changes the proxy to use a new beacon. Deprecated: see {_upgradeBeaconToAndCall}.\n     *\n     * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon.\n     *\n     * Requirements:\n     *\n     * - `beacon` must be a contract.\n     * - The implementation returned by `beacon` must be a contract.\n     */\n    function _setBeacon(address beacon, bytes memory data) internal virtual {\n        _upgradeBeaconToAndCall(beacon, data, false);\n    }\n}\n"},"@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {BeaconProxy} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/UpgradeableBeacon.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IBeacon.sol\";\nimport \"../../access/Ownable.sol\";\nimport \"../../utils/Address.sol\";\n\n/**\n * @dev This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their\n * implementation contract, which is where they will delegate all function calls.\n *\n * An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon.\n */\ncontract UpgradeableBeacon is IBeacon, Ownable {\n    address private _implementation;\n\n    /**\n     * @dev Emitted when the implementation returned by the beacon is changed.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Sets the address of the initial implementation, and the deployer account as the owner who can upgrade the\n     * beacon.\n     */\n    constructor(address implementation_) {\n        _setImplementation(implementation_);\n    }\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function implementation() public view virtual override returns (address) {\n        return _implementation;\n    }\n\n    /**\n     * @dev Upgrades the beacon to a new implementation.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * Requirements:\n     *\n     * - msg.sender must be the owner of the contract.\n     * - `newImplementation` must be a contract.\n     */\n    function upgradeTo(address newImplementation) public virtual onlyOwner {\n        _setImplementation(newImplementation);\n        emit Upgraded(newImplementation);\n    }\n\n    /**\n     * @dev Sets the implementation contract address for this beacon\n     *\n     * Requirements:\n     *\n     * - `newImplementation` must be a contract.\n     */\n    function _setImplementation(address newImplementation) private {\n        require(Address.isContract(newImplementation), \"UpgradeableBeacon: implementation is not a contract\");\n        _implementation = newImplementation;\n    }\n}\n"},"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol)\n\npragma solidity ^0.8.2;\n\nimport \"../beacon/IBeacon.sol\";\nimport \"../../interfaces/IERC1967.sol\";\nimport \"../../interfaces/draft-IERC1822.sol\";\nimport \"../../utils/Address.sol\";\nimport \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This abstract contract provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n *\n * _Available since v4.1._\n */\nabstract contract ERC1967Upgrade is IERC1967 {\n    // This is the keccak-256 hash of \"eip1967.proxy.rollback\" subtracted by 1\n    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\n\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1, and is\n     * validated in the constructor.\n     */\n    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function _getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        require(Address.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\n        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Perform implementation upgrade\n     *\n     * Emits an {Upgraded} event.\n     */\n    function _upgradeTo(address newImplementation) internal {\n        _setImplementation(newImplementation);\n        emit Upgraded(newImplementation);\n    }\n\n    /**\n     * @dev Perform implementation upgrade with additional setup call.\n     *\n     * Emits an {Upgraded} event.\n     */\n    function _upgradeToAndCall(address newImplementation, bytes memory data, bool forceCall) internal {\n        _upgradeTo(newImplementation);\n        if (data.length > 0 || forceCall) {\n            Address.functionDelegateCall(newImplementation, data);\n        }\n    }\n\n    /**\n     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\n     *\n     * Emits an {Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data, bool forceCall) internal {\n        // Upgrades from old implementations will perform a rollback test. This test requires the new\n        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\n        // this special case will break upgrade paths from old UUPS implementation to new ones.\n        if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {\n            _setImplementation(newImplementation);\n        } else {\n            try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n                require(slot == _IMPLEMENTATION_SLOT, \"ERC1967Upgrade: unsupported proxiableUUID\");\n            } catch {\n                revert(\"ERC1967Upgrade: new implementation is not UUPS\");\n            }\n            _upgradeToAndCall(newImplementation, data, forceCall);\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1, and is\n     * validated in the constructor.\n     */\n    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     */\n    function _getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        require(newAdmin != address(0), \"ERC1967: new admin is the zero address\");\n        StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {AdminChanged} event.\n     */\n    function _changeAdmin(address newAdmin) internal {\n        emit AdminChanged(_getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\n     */\n    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function _getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(_BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the EIP1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        require(Address.isContract(newBeacon), \"ERC1967: new beacon is not a contract\");\n        require(\n            Address.isContract(IBeacon(newBeacon).implementation()),\n            \"ERC1967: beacon implementation is not a contract\"\n        );\n        StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;\n    }\n\n    /**\n     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\n     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\n     *\n     * Emits a {BeaconUpgraded} event.\n     */\n    function _upgradeBeaconToAndCall(address newBeacon, bytes memory data, bool forceCall) internal {\n        _setBeacon(newBeacon);\n        emit BeaconUpgraded(newBeacon);\n        if (data.length > 0 || forceCall) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        }\n    }\n}\n"},"@openzeppelin/contracts/proxy/Proxy.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\n * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\n * be specified by overriding the virtual {_implementation} function.\n *\n * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\n * different contract through the {_delegate} function.\n *\n * The success and return data of the delegated call will be returned back to the caller of the proxy.\n */\nabstract contract Proxy {\n    /**\n     * @dev Delegates the current call to `implementation`.\n     *\n     * This function does not return to its internal call site, it will return directly to the external caller.\n     */\n    function _delegate(address implementation) internal virtual {\n        assembly {\n            // Copy msg.data. We take full control of memory in this inline assembly\n            // block because it will not return to Solidity code. We overwrite the\n            // Solidity scratch pad at memory position 0.\n            calldatacopy(0, 0, calldatasize())\n\n            // Call the implementation.\n            // out and outsize are 0 because we don't know the size yet.\n            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\n\n            // Copy the returned data.\n            returndatacopy(0, 0, returndatasize())\n\n            switch result\n            // delegatecall returns 0 on error.\n            case 0 {\n                revert(0, returndatasize())\n            }\n            default {\n                return(0, returndatasize())\n            }\n        }\n    }\n\n    /**\n     * @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\n     * and {_fallback} should delegate.\n     */\n    function _implementation() internal view virtual returns (address);\n\n    /**\n     * @dev Delegates the current call to the address returned by `_implementation()`.\n     *\n     * This function does not return to its internal call site, it will return directly to the external caller.\n     */\n    function _fallback() internal virtual {\n        _beforeFallback();\n        _delegate(_implementation());\n    }\n\n    /**\n     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\n     * function in the contract matches the call data.\n     */\n    fallback() external payable virtual {\n        _fallback();\n    }\n\n    /**\n     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\n     * is empty.\n     */\n    receive() external payable virtual {\n        _fallback();\n    }\n\n    /**\n     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\n     * call, or as part of the Solidity `fallback` or `receive` functions.\n     *\n     * If overridden should call `super._beforeFallback()`.\n     */\n    function _beforeFallback() internal virtual {}\n}\n"},"@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\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     * Furthermore, `isContract` will also return true if the target contract within\n     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n     * which only has an effect at the end of a transaction.\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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, \"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(address target, bytes memory data, uint256 value) 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        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, 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        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function functionDelegateCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n     *\n     * _Available since v4.8._\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        if (success) {\n            if (returndata.length == 0) {\n                // only check isContract if the call was successful and the return data is empty\n                // otherwise we already know that it was a contract\n                require(isContract(target), \"Address: call to non-contract\");\n            }\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n     * revert reason or using the provided one.\n     *\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            _revert(returndata, errorMessage);\n        }\n    }\n\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\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"},"@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\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 Context {\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"},"@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(Address.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._\n * _Available since v4.9 for `string`, `bytes`._\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n}\n"},"contracts/FeeDiscountConnector.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\nimport '@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol';\r\nimport './interfaces/IFeeDiscountPlugin.sol';\r\n\r\n/// @title FeeDiscount Connector\r\n/// @notice This contract provides delegatecall interface to FeeDiscount plugin implementation\r\n/// @dev Inherits from IFeeDiscountPlugin and provides all public methods as thin wrappers\r\nabstract contract FeeDiscountConnector is IFeeDiscountPlugin {\r\n  using Plugins for uint8;\r\n\r\n  uint8 internal constant FEE_DISCOUNT_PLUGIN_CONFIG = uint8(Plugins.BEFORE_SWAP_FLAG);\r\n\r\n  /// @dev Immutable implementation address - set in constructor, changes only on full plugin upgrade\r\n  address internal immutable feeDiscountImplementation;\r\n\r\n  constructor(address _feeDiscountImplementation) {\r\n    feeDiscountImplementation = _feeDiscountImplementation;\r\n  }\r\n\r\n  /// @dev Propagate revert reason from delegatecall\r\n  function _propagateFeeDiscountRevert(bytes memory returnData) internal pure {\r\n    if (returnData.length > 0) {\r\n      assembly {\r\n        revert(add(32, returnData), mload(returnData))\r\n      }\r\n    }\r\n    revert('FeeDiscount: delegatecall failed');\r\n  }\r\n\r\n  /// @notice Initialize FeeDiscount plugin via delegatecall\r\n  function _initializeFeeDiscount(address _feeDiscountRegistry) internal returns (uint8) {\r\n    bytes memory data = abi.encodeWithSignature('initializeFeeDiscount(address)', _feeDiscountRegistry);\r\n    \r\n    (bool success, bytes memory returnData) = feeDiscountImplementation.delegatecall(data);\r\n    if (!success) _propagateFeeDiscountRevert(returnData);\r\n    \r\n    return FEE_DISCOUNT_PLUGIN_CONFIG;\r\n  }\r\n\r\n  /// @notice Set fee discount registry via delegatecall\r\n  function _setFeeDiscountRegistry(address _feeDiscountRegistry) internal {\r\n    bytes memory data = abi.encodeWithSignature('setFeeDiscountRegistry(address)', _feeDiscountRegistry);\r\n    \r\n    (bool success, bytes memory returnData) = feeDiscountImplementation.delegatecall(data);\r\n    if (!success) _propagateFeeDiscountRevert(returnData);\r\n  }\r\n\r\n  /// @notice Get fee discount registry via delegatecall\r\n  function _getFeeDiscountRegistry() internal returns (address) {\r\n    bytes memory data = abi.encodeWithSignature('getFeeDiscountRegistry()');\r\n    \r\n    (bool success, bytes memory returnData) = feeDiscountImplementation.delegatecall(data);\r\n    if (!success) _propagateFeeDiscountRevert(returnData);\r\n    \r\n    return abi.decode(returnData, (address));\r\n  }\r\n\r\n  /// @notice Apply fee discount via delegatecall\r\n  function _applyFeeDiscount(address user, address pool, uint24 fee) internal returns (uint24) {\r\n    bytes memory data = abi.encodeWithSignature('applyFeeDiscount(address,address,uint24)', user, pool, fee);\r\n    \r\n    (bool success, bytes memory returnData) = feeDiscountImplementation.delegatecall(data);\r\n    if (!success) _propagateFeeDiscountRevert(returnData);\r\n    \r\n    return abi.decode(returnData, (uint24));\r\n  }\r\n\r\n  // ###### Public Interface (IFeeDiscountPlugin) ######\r\n\r\n  /// @inheritdoc IFeeDiscountPlugin\r\n  function setFeeDiscountRegistry(address registry) external override {\r\n    _authorize();\r\n    _setFeeDiscountRegistry(registry);\r\n    emit FeeDiscountRegistry(registry);\r\n  }\r\n\r\n  /// @inheritdoc IFeeDiscountPlugin\r\n  function feeDiscountRegistry() external override returns (address) {\r\n    return _getFeeDiscountRegistry();\r\n  }\r\n\r\n  // ###### Internal helpers to be implemented by inheriting contract ######\r\n\r\n  /// @dev Must be implemented by inheriting contract to check authorization\r\n  function _authorize() internal view virtual;\r\n}\r\n"},"contracts/FeeDiscountPlugin.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\nimport '@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol';\r\n\r\nimport '@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol';\r\n\r\nimport './interfaces/IFeeDiscountPlugin.sol';\r\nimport './interfaces/IFeeDiscountRegistry.sol';\r\n\r\n\r\n/// @title Algebra Integral 1.2 fee discount plugin\r\nabstract contract FeeDiscountPlugin is BaseAbstractPlugin, IFeeDiscountPlugin {\r\n  using Plugins for uint8;\r\n\r\n\r\n  uint16 private constant FEE_DISCOUNT_DENOMINATOR = 1000;\r\n\r\n  address public override feeDiscountRegistry;\r\n\r\n  constructor(address _feeDiscountRegistry) {\r\n    feeDiscountRegistry = _feeDiscountRegistry;\r\n    defaultPluginConfig = defaultPluginConfig | uint8(Plugins.BEFORE_SWAP_FLAG);\r\n    activeModules.push(\"Fee Discount Plugin\");\r\n  }\r\n\r\n  function _applyFeeDiscount(address user, address pool, uint24 fee) internal returns (uint24 updatedFee) {\r\n    uint24 feeDiscount = IFeeDiscountRegistry(feeDiscountRegistry).feeDiscounts(user, pool);\r\n    updatedFee = uint24((uint256(fee) * (FEE_DISCOUNT_DENOMINATOR - feeDiscount)) / FEE_DISCOUNT_DENOMINATOR);\r\n  }\r\n\r\n  function setFeeDiscountRegistry(address _feeDiscountRegistry) external override {\r\n    _authorize();\r\n    feeDiscountRegistry = _feeDiscountRegistry;\r\n    emit FeeDiscountRegistry(_feeDiscountRegistry);\r\n  }\r\n}\r\n"},"contracts/FeeDiscountPluginImplementation.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\nimport './interfaces/IFeeDiscountRegistry.sol';\r\n\r\n/// @title FeeDiscount Plugin Implementation\r\n/// @notice This contract contains ALL logic for FeeDiscount plugin that works with namespaced storage\r\n/// @dev Called via delegatecall from FeeDiscountConnector to reduce main contract size\r\ncontract FeeDiscountPluginImplementation {\r\n  /// @dev Storage namespace for FeeDiscount plugin using ERC-7201\r\n  bytes32 internal constant FEE_DISCOUNT_NAMESPACE = keccak256('algebra.storage.feediscount');\r\n\r\n  uint16 private constant FEE_DISCOUNT_DENOMINATOR = 1000;\r\n\r\n  struct FeeDiscountLayout {\r\n    address feeDiscountRegistry;\r\n  }\r\n\r\n  /// @dev Fetch pointer of FeeDiscount plugin's storage\r\n  function _getFeeDiscountLayout() internal pure returns (FeeDiscountLayout storage layout) {\r\n    bytes32 position = FEE_DISCOUNT_NAMESPACE;\r\n    assembly {\r\n      layout.slot := position\r\n    }\r\n  }\r\n\r\n  /// @notice Initialize FeeDiscount plugin\r\n  /// @dev Called via delegatecall from connector\r\n  /// @param _feeDiscountRegistry Address of fee discount registry\r\n  function initializeFeeDiscount(address _feeDiscountRegistry) external {\r\n    FeeDiscountLayout storage layout = _getFeeDiscountLayout();\r\n    layout.feeDiscountRegistry = _feeDiscountRegistry;\r\n  }\r\n\r\n  /// @notice Set fee discount registry\r\n  /// @dev Called via delegatecall from connector\r\n  /// @param _feeDiscountRegistry New fee discount registry address\r\n  function setFeeDiscountRegistry(address _feeDiscountRegistry) external {\r\n    FeeDiscountLayout storage layout = _getFeeDiscountLayout();\r\n    layout.feeDiscountRegistry = _feeDiscountRegistry;\r\n  }\r\n\r\n  /// @notice Get fee discount registry\r\n  /// @dev Called via staticcall from connector\r\n  /// @return Fee discount registry address\r\n  function getFeeDiscountRegistry() external view returns (address) {\r\n    FeeDiscountLayout storage layout = _getFeeDiscountLayout();\r\n    return layout.feeDiscountRegistry;\r\n  }\r\n\r\n  /// @notice Apply fee discount for user\r\n  /// @dev Called via delegatecall from connector\r\n  /// @param user User address\r\n  /// @param pool Pool address\r\n  /// @param fee Original fee\r\n  /// @return updatedFee Fee after discount\r\n  function applyFeeDiscount(address user, address pool, uint24 fee) external returns (uint24 updatedFee) {\r\n    FeeDiscountLayout storage layout = _getFeeDiscountLayout();\r\n    uint16 feeDiscount = IFeeDiscountRegistry(layout.feeDiscountRegistry).feeDiscounts(user, pool);\r\n    updatedFee = uint24((uint256(fee) * (FEE_DISCOUNT_DENOMINATOR - feeDiscount)) / FEE_DISCOUNT_DENOMINATOR);\r\n  }\r\n}\r\n"},"contracts/FeeDiscountRegistry.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity =0.8.20;\n\nimport '@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol';\nimport './interfaces/IFeeDiscountRegistry.sol';\n\ncontract FeeDiscountRegistry is IFeeDiscountRegistry {\n  address public immutable override algebraFactory;\n  bytes32 public constant override FEE_DISCOUNT_MANAGER = keccak256('FEE_DISCOUNT_MANAGER');\n  uint16 public constant override FEE_DISCOUNT_DENOMINATOR = 1000;\n\n  // user => pool => feeDiscount\n  mapping(address => mapping(address => uint16)) public override feeDiscounts;\n\n  constructor(address _algebraFactory) {\n    algebraFactory = _algebraFactory;\n  }\n\n  function setFeeDiscount(address user, address[] memory pools, uint16[] memory newDiscounts) external override {\n    require(IAlgebraFactory(algebraFactory).hasRoleOrOwner(FEE_DISCOUNT_MANAGER, msg.sender), 'Unauthorized');\n    require(pools.length == newDiscounts.length, 'ArraysLengthMismatch');\n\n    for (uint i = 0; i < pools.length; i++) {\n      require(newDiscounts[i] <= FEE_DISCOUNT_DENOMINATOR, 'fee discount execeeds 100%');\n      feeDiscounts[user][pools[i]] = newDiscounts[i];\n      emit FeeDiscount(user, pools[i], newDiscounts[i]);\n    }\n  }\n}\n"},"contracts/interfaces/IFeeDiscountPlugin.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity >=0.5.0;\r\n\r\nimport '@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol';\r\n\r\ninterface IFeeDiscountPlugin is IAbstractPlugin {\r\n  function setFeeDiscountRegistry(address registry) external;\r\n\r\n  function feeDiscountRegistry() external returns (address);\r\n\r\n  event FeeDiscountRegistry(address registry);\r\n}\r\n"},"contracts/interfaces/IFeeDiscountRegistry.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\ninterface IFeeDiscountRegistry {\n  event FeeDiscount(address user, address pool, uint16 newDiscount);\n\n  function feeDiscounts(address user, address pool) external returns (uint16 feeDiscount);\n  function setFeeDiscount(address user, address[] memory pools, uint16[] memory newDiscounts) external;\n\n  function algebraFactory() external view returns (address);\n  function FEE_DISCOUNT_MANAGER() external pure returns (bytes32);\n  function FEE_DISCOUNT_DENOMINATOR() external pure returns (uint16);\n}\n"},"contracts/test/BeaconProxy.sol":{"content":"// SPDX-License-Identifier: MIT\r\npragma solidity =0.8.20;\r\n\r\nimport '@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol' as OZBeaconProxy;\r\n\r\n/// @title BeaconProxy wrapper for testing\r\n/// @notice Re-exports OpenZeppelin BeaconProxy for test contracts\r\ncontract BeaconProxy is OZBeaconProxy.BeaconProxy {\r\n    constructor(address beacon, bytes memory data) OZBeaconProxy.BeaconProxy(beacon, data) {}\r\n}\r\n"},"contracts/test/MockFactory.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity =0.8.20;\n\nimport '@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol';\n\n/// @title Mock of Algebra factory for plugins testing\ncontract MockFactory {\n  bytes32 public constant POOLS_ADMINISTRATOR_ROLE = keccak256('POOLS_ADMINISTRATOR');\n  bytes32 public constant ALGEBRA_BASE_PLUGIN_MANAGER = keccak256('ALGEBRA_BASE_PLUGIN_MANAGER');\n\n  address public owner;\n\n  mapping(address => mapping(bytes32 => bool)) public hasRole;\n\n  mapping(address => mapping(address => address)) public poolByPair;\n\n  constructor() {\n    owner = msg.sender;\n  }\n\n  function hasRoleOrOwner(bytes32 role, address account) public view returns (bool) {\n    return (owner == account || hasRole[account][role]);\n  }\n\n  function grantRole(bytes32 role, address account) external {\n    hasRole[account][role] = true;\n  }\n\n  function revokeRole(bytes32 role, address account) external {\n    hasRole[account][role] = false;\n  }\n\n  function stubPool(address token0, address token1, address pool) public {\n    poolByPair[token0][token1] = pool;\n    poolByPair[token1][token0] = pool;\n  }\n\n  function beforeCreatePoolHook(address pluginFactory, address pool) external {\n    IAlgebraPluginFactory(pluginFactory).beforeCreatePoolHook(pool, address(0), address(0), address(0), address(0), '0x');\n  }\n}\n"},"contracts/test/MockFeeDiscountRegistry.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\nimport '../interfaces/IFeeDiscountRegistry.sol';\r\n\r\n/// @title Mock Fee Discount Registry for testing\r\n/// @notice Simplified mock for unit tests\r\ncontract MockFeeDiscountRegistry is IFeeDiscountRegistry {\r\n    mapping(address => mapping(address => uint16)) private _feeDiscounts;\r\n\r\n    function feeDiscounts(address user, address pool) external view override returns (uint16 feeDiscount) {\r\n        return _feeDiscounts[user][pool];\r\n    }\r\n\r\n    function setFeeDiscount(address user, address[] memory pools, uint16[] memory newDiscounts) external override {\r\n        for (uint256 i = 0; i < pools.length; i++) {\r\n            _feeDiscounts[user][pools[i]] = newDiscounts[i];\r\n        }\r\n    }\r\n\r\n    function setFeeDiscountSimple(address user, address pool, uint16 discount) external {\r\n        _feeDiscounts[user][pool] = discount;\r\n    }\r\n\r\n    function algebraFactory() external pure override returns (address) {\r\n        return address(0);\r\n    }\r\n\r\n    function FEE_DISCOUNT_MANAGER() external pure override returns (bytes32) {\r\n        return keccak256('FEE_DISCOUNT_MANAGER');\r\n    }\r\n\r\n    function FEE_DISCOUNT_DENOMINATOR() external pure override returns (uint16) {\r\n        return 1000;\r\n    }\r\n}\r\n"},"contracts/test/MockPluginFactory.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\n/// @title Mock Plugin Factory for testing\r\n/// @notice Simplified mock of plugin factory for unit tests\r\ncontract MockPluginFactory {\r\n    // Empty mock - just needs to exist for the constructor\r\n}\r\n"},"contracts/test/MockPool.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity =0.8.20;\npragma abicoder v1;\n\nimport '@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol';\nimport '@cryptoalgebra/integral-core/contracts/libraries/Constants.sol';\nimport '@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol';\nimport '@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol';\n\nimport '@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol';\nimport '@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol';\nimport '@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol';\nimport '@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol';\nimport '@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol';\n\n/// @title Mock of Algebra concentrated liquidity pool for plugins testing\ncontract MockPool is IAlgebraPoolActions, IAlgebraPoolPermissionedActions, IAlgebraPoolState {\n  struct GlobalState {\n    uint160 price; // The square root of the current price in Q64.96 format\n    int24 tick; // The current tick\n    uint16 fee; // The current fee in hundredths of a bip, i.e. 1e-6\n    uint8 pluginConfig;\n    uint16 communityFee; // The community fee represented as a percent of all collected fee in thousandths (1e-3)\n    bool unlocked; // True if the contract is unlocked, otherwise - false\n  }\n\n  /// @inheritdoc IAlgebraPoolState\n  uint256 public override totalFeeGrowth0Token;\n  /// @inheritdoc IAlgebraPoolState\n  uint256 public override totalFeeGrowth1Token;\n  /// @inheritdoc IAlgebraPoolState\n  GlobalState public override globalState;\n\n  /// @inheritdoc IAlgebraPoolState\n  int24 public override nextTickGlobal;\n  /// @inheritdoc IAlgebraPoolState\n  int24 public override prevTickGlobal;\n\n  /// @inheritdoc IAlgebraPoolState\n  uint128 public override liquidity;\n  /// @inheritdoc IAlgebraPoolState\n  int24 public override tickSpacing;\n  /// @inheritdoc IAlgebraPoolState\n  uint32 public override lastFeeTransferTimestamp;\n\n  /// @inheritdoc IAlgebraPoolState\n  uint32 public override tickTreeRoot; // The root bitmap of search tree\n  /// @inheritdoc IAlgebraPoolState\n  mapping(int16 => uint256) public override tickTreeSecondLayer; // The second layer of search tree\n\n  /// @inheritdoc IAlgebraPoolState\n  address public override plugin;\n\n  address public override communityVault;\n\n  /// @inheritdoc IAlgebraPoolState\n  mapping(int24 => TickManagement.Tick) public override ticks;\n\n  /// @inheritdoc IAlgebraPoolState\n  mapping(int16 => uint256) public override tickTable;\n\n  struct Position {\n    uint256 liquidity; // The amount of liquidity concentrated in the range\n    uint256 innerFeeGrowth0Token; // The last updated fee growth per unit of liquidity\n    uint256 innerFeeGrowth1Token;\n    uint128 fees0; // The amount of token0 owed to a LP\n    uint128 fees1; // The amount of token1 owed to a LP\n  }\n\n  /// @inheritdoc IAlgebraPoolState\n  mapping(bytes32 => Position) public override positions;\n\n  address owner;\n  uint24 public overrideFee;\n  uint24 public pluginFee;\n\n  /// @inheritdoc IAlgebraPoolState\n  function getCommunityFeePending() external pure override returns (uint128, uint128) {\n    revert('not implemented');\n  }\n\n  /// @inheritdoc IAlgebraPoolState\n  function getPluginFeePending() external pure override returns (uint128, uint128) {\n    revert('not implemented');\n  }\n\n  /// @inheritdoc IAlgebraPoolState\n  function fee() external pure returns (uint16) {\n    revert('not implemented');\n  }\n\n  /// @inheritdoc IAlgebraPoolState\n  function safelyGetStateOfAMM() external pure override returns (uint160, int24, uint16, uint8, uint128, int24, int24) {\n    revert('not implemented');\n  }\n\n  constructor() {\n    globalState.fee = Constants.INIT_DEFAULT_FEE;\n    globalState.unlocked = true;\n    owner = msg.sender;\n  }\n\n  /// @inheritdoc IAlgebraPoolState\n  function getReserves() external pure override returns (uint128, uint128) {\n    revert('not implemented');\n  }\n\n  /// @inheritdoc IAlgebraPoolState\n  function isUnlocked() external view override returns (bool unlocked) {\n    return globalState.unlocked;\n  }\n\n  /// @inheritdoc IAlgebraPoolActions\n  function initialize(uint160 initialPrice) external override {\n    int24 tick = TickMath.getTickAtSqrtRatio(initialPrice); // getTickAtSqrtRatio checks validity of initialPrice inside\n\n    if (plugin != address(0)) {\n      IAlgebraPlugin(plugin).beforeInitialize(msg.sender, initialPrice);\n    }\n\n    tickSpacing = 60;\n\n    uint8 pluginConfig = globalState.pluginConfig;\n\n    globalState.price = initialPrice;\n    globalState.tick = tick;\n\n    if (pluginConfig & Plugins.AFTER_INIT_FLAG != 0) {\n      IAlgebraPlugin(plugin).afterInitialize(msg.sender, initialPrice, tick);\n    }\n  }\n\n  /// @inheritdoc IAlgebraPoolActions\n  function mint(\n    address,\n    address recipient,\n    int24 bottomTick,\n    int24 topTick,\n    uint128 liquidityDesired,\n    bytes calldata data\n  ) external override returns (uint256, uint256, uint128) {\n    if (globalState.pluginConfig & Plugins.BEFORE_POSITION_MODIFY_FLAG != 0) {\n      IAlgebraPlugin(plugin).beforeModifyPosition(msg.sender, recipient, bottomTick, topTick, int128(liquidityDesired), data);\n    }\n\n    if (globalState.pluginConfig & Plugins.AFTER_POSITION_MODIFY_FLAG != 0) {\n      IAlgebraPlugin(plugin).afterModifyPosition(msg.sender, recipient, bottomTick, topTick, int128(liquidityDesired), 0, 0, data);\n    }\n    return (0, 0, 0);\n  }\n\n  /// @inheritdoc IAlgebraPoolActions\n  function burn(int24 bottomTick, int24 topTick, uint128 liquidityDesired, bytes calldata data) external override returns (uint256, uint256) {\n    if (globalState.pluginConfig & Plugins.BEFORE_POSITION_MODIFY_FLAG != 0) {\n      IAlgebraPlugin(plugin).beforeModifyPosition(msg.sender, msg.sender, bottomTick, topTick, -int128(liquidityDesired), data);\n    }\n\n    if (globalState.pluginConfig & Plugins.AFTER_POSITION_MODIFY_FLAG != 0) {\n      IAlgebraPlugin(plugin).afterModifyPosition(msg.sender, msg.sender, bottomTick, topTick, -int128(liquidityDesired), 0, 0, data);\n    }\n    return (0, 0);\n  }\n\n  /// @inheritdoc IAlgebraPoolActions\n  function collect(address, int24, int24, uint128, uint128) external pure override returns (uint128, uint128) {\n    revert('Not implemented');\n  }\n\n  /// @inheritdoc IAlgebraPoolActions\n  function swap(address, bool, int256, uint160, bytes calldata) external pure override returns (int256, int256) {\n    revert('Not implemented');\n  }\n\n  function swapToTick(int24 targetTick) external {\n    IAlgebraPlugin _plugin = IAlgebraPlugin(plugin);\n    if (globalState.pluginConfig & Plugins.BEFORE_SWAP_FLAG != 0) {\n      (, overrideFee, pluginFee) = _plugin.beforeSwap(msg.sender, msg.sender, true, 0, 0, false, '');\n    }\n\n    globalState.price = TickMath.getSqrtRatioAtTick(targetTick);\n    globalState.tick = targetTick;\n\n    if (globalState.pluginConfig & Plugins.AFTER_SWAP_FLAG != 0) {\n      _plugin.afterSwap(msg.sender, msg.sender, true, 0, 0, 0, 0, '');\n    }\n  }\n\n  /// @inheritdoc IAlgebraPoolActions\n  function swapWithPaymentInAdvance(address, address, bool, int256, uint160, bytes calldata) external pure override returns (int256, int256) {\n    revert('Not implemented');\n  }\n\n  /// @inheritdoc IAlgebraPoolActions\n  function flash(address recipient, uint256 amount0, uint256 amount1, bytes calldata data) external override {\n    uint8 pluginConfig = globalState.pluginConfig;\n    if (pluginConfig & Plugins.BEFORE_FLASH_FLAG != 0) {\n      IAlgebraPlugin(plugin).beforeFlash(msg.sender, recipient, amount0, amount1, data);\n    }\n\n    if (pluginConfig & Plugins.AFTER_FLASH_FLAG != 0) {\n      IAlgebraPlugin(plugin).afterFlash(msg.sender, recipient, amount0, amount1, 0, 0, data);\n    }\n  }\n\n  /// @inheritdoc IAlgebraPoolPermissionedActions\n  function setCommunityFee(uint16 newCommunityFee) external override {\n    if (newCommunityFee > Constants.MAX_COMMUNITY_FEE || newCommunityFee == globalState.communityFee)\n      revert IAlgebraPoolErrors.invalidNewCommunityFee();\n    globalState.communityFee = newCommunityFee;\n  }\n\n  /// @inheritdoc IAlgebraPoolPermissionedActions\n  function setTickSpacing(int24 newTickSpacing) external override {\n    if (newTickSpacing <= 0 || newTickSpacing > Constants.MAX_TICK_SPACING || tickSpacing == newTickSpacing)\n      revert IAlgebraPoolErrors.invalidNewTickSpacing();\n    tickSpacing = newTickSpacing;\n  }\n\n  /// @inheritdoc IAlgebraPoolPermissionedActions\n  function setPlugin(address newPluginAddress) external override {\n    require(msg.sender == owner);\n    plugin = newPluginAddress;\n  }\n\n  /// @inheritdoc IAlgebraPoolPermissionedActions\n  function setPluginConfig(uint8 newConfig) external override {\n    require(msg.sender == owner || msg.sender == plugin);\n    globalState.pluginConfig = newConfig;\n  }\n\n  /// @inheritdoc IAlgebraPoolPermissionedActions\n  function setFee(uint16 newFee) external override {\n    require(msg.sender == owner || msg.sender == plugin);\n    bool isDynamicFeeEnabled = globalState.pluginConfig & uint8(Plugins.DYNAMIC_FEE) != 0;\n\n    if (msg.sender == plugin) {\n      require(isDynamicFeeEnabled);\n    } else {\n      require(!isDynamicFeeEnabled && msg.sender == owner);\n    }\n\n    globalState.fee = newFee;\n  }\n\n  function setCommunityVault(address newCommunityVault) external override {\n    communityVault = newCommunityVault;\n  }\n\n  /// @inheritdoc IAlgebraPoolPermissionedActions\n  function sync() external pure override {\n    revert('Not implemented');\n  }\n\n  /// @inheritdoc IAlgebraPoolPermissionedActions\n  function skim() external pure override {\n    revert('Not implemented');\n  }\n}\n"},"contracts/test/TestFeeDiscountPlugin.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\nimport '@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol';\r\nimport '@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol';\r\n\r\nimport '../FeeDiscountPlugin.sol';\r\n\r\n/// @title Algebra Integral 1.2 limit order plugin\r\ncontract TestFeeDiscountPlugin is FeeDiscountPlugin {\r\n  using Plugins for uint8;\r\n\r\n  uint24 fee;\r\n\r\n  constructor(address _pool, address _factory, address _pluginFactory, address registry) BaseAbstractPlugin(_pool, _factory, _pluginFactory) FeeDiscountPlugin(registry){}\r\n\r\n  // ###### HOOKS ######\r\n\r\n  function beforeInitialize(address, uint160) external override(AbstractPlugin, IAlgebraPlugin) onlyPool returns (bytes4) {\r\n    _updatePluginConfigInPool(defaultPluginConfig);\r\n    return IAlgebraPlugin.beforeInitialize.selector;\r\n  }\r\n\r\n  function afterInitialize(address, uint160, int24) external override(AbstractPlugin, IAlgebraPlugin) view onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterInitialize.selector;\r\n  }\r\n\r\n  function beforeSwap(address, address, bool, int256, uint160, bool, bytes calldata) external override(AbstractPlugin, IAlgebraPlugin) onlyPool returns (bytes4, uint24, uint24) {\r\n    fee = _applyFeeDiscount(tx.origin, msg.sender, fee);\r\n    return (IAlgebraPlugin.beforeSwap.selector, fee, 0);\r\n  }\r\n\r\n\r\n  function setFee(uint24 _newFee) external {\r\n    fee = _newFee;\r\n  }\r\n\r\n}\r\n"},"contracts/test/UpgradeableBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\r\npragma solidity =0.8.20;\r\n\r\nimport '@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol' as OZUpgradeableBeacon;\r\n\r\n/// @title UpgradeableBeacon wrapper for testing\r\n/// @notice Re-exports OpenZeppelin UpgradeableBeacon for test contracts\r\ncontract UpgradeableBeacon is OZUpgradeableBeacon.UpgradeableBeacon {\r\n    constructor(address implementation_) OZUpgradeableBeacon.UpgradeableBeacon(implementation_) {}\r\n}\r\n"},"contracts/test/UpgradeableFeeDiscountPluginTest.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\nimport '@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol';\r\nimport '@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol';\r\nimport '@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol';\r\n\r\nimport '../FeeDiscountConnector.sol';\r\n\r\n/// @title Upgradeable FeeDiscount Plugin for Testing\r\n/// @notice Test implementation of an upgradeable plugin using Beacon Proxy pattern with FeeDiscount connector\r\ncontract UpgradeableFeeDiscountPluginTest is UpgradeableAbstractPlugin, FeeDiscountConnector {\r\n  using Plugins for uint8;\r\n\r\n  /// @dev Constructor sets immutable implementation address\r\n  /// @param _factory The Algebra factory address\r\n  /// @param _pluginFactory The plugin factory address  \r\n  /// @param _feeDiscountImplementation The FeeDiscount implementation address\r\n  constructor(\r\n    address _factory,\r\n    address _pluginFactory,\r\n    address _feeDiscountImplementation\r\n  ) UpgradeableAbstractPlugin(_factory, _pluginFactory) FeeDiscountConnector(_feeDiscountImplementation) {}\r\n\r\n  /// @notice Initialize the plugin for a specific pool\r\n  /// @param _pool The pool address this plugin is attached to\r\n  /// @param _feeDiscountRegistry The fee discount registry address\r\n  function initialize(address _pool, address _feeDiscountRegistry) external initializer {\r\n    __UpgradeableAbstractPlugin_init(_pool);\r\n    \r\n    uint8 feeDiscountConfig = _initializeFeeDiscount(_feeDiscountRegistry);\r\n    defaultPluginConfig = defaultPluginConfig | feeDiscountConfig;\r\n    \r\n    activeModules.push(\"Fee Discount Plugin\");\r\n  }\r\n\r\n  // ###### HOOKS ######\r\n\r\n  function beforeInitialize(address, uint160) external override(IAlgebraPlugin, UpgradeableAbstractPlugin) onlyPool returns (bytes4) {\r\n    _updatePluginConfigInPool(defaultPluginConfig);\r\n    return IAlgebraPlugin.beforeInitialize.selector;\r\n  }\r\n\r\n  function beforeSwap(\r\n    address sender,\r\n    address,\r\n    bool,\r\n    int256,\r\n    uint160,\r\n    bool,\r\n    bytes calldata\r\n  ) external override(IAlgebraPlugin, UpgradeableAbstractPlugin) onlyPool returns (bytes4, uint24, uint24) {\r\n    (, , uint16 fee, ) = _getPoolState();\r\n    uint24 discountedFee = _applyFeeDiscount(sender, pool, fee);\r\n    return (IAlgebraPlugin.beforeSwap.selector, discountedFee, 0);\r\n  }\r\n\r\n  // ###### Authorization ######\r\n\r\n  /// @dev Authorization check for FeeDiscountConnector - only ALGEBRA_BASE_PLUGIN_MANAGER\r\n  function _authorize() internal view override(UpgradeableAbstractPlugin, FeeDiscountConnector) {\r\n    require(IAlgebraFactory(factory).hasRoleOrOwner(ALGEBRA_BASE_PLUGIN_MANAGER, msg.sender), 'Not authorized');\r\n  }\r\n}\r\n"}},"settings":{"evmVersion":"paris","optimizer":{"enabled":true,"runs":1000000},"metadata":{"bytecodeHash":"none"},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},"output":{"sources":{"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol":{"ast":{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol","exportedSymbols":{"AbstractPlugin":[475],"IAbstractPlugin":[1071],"IAlgebraFactory":[1355],"IAlgebraPlugin":[1543],"IAlgebraPluginFactory":[1575],"IAlgebraPool":[1377],"IAlgebraPoolActions":[1691],"IAlgebraPoolErrors":[1793],"IAlgebraPoolEvents":[1945],"IAlgebraPoolImmutables":[1973],"IAlgebraPoolPermissionedActions":[2021],"IAlgebraPoolState":[2205],"IAlgebraVaultFactory":[2233],"Plugins":[2748],"SafeTransfer":[2885],"Timestamp":[1088]},"id":476,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"46:24:0"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol","file":"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol","id":2,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":476,"sourceUnit":1089,"src":"74:74:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":3,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":476,"sourceUnit":2749,"src":"150:70:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol","id":4,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":476,"sourceUnit":2886,"src":"222:75:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","id":5,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":476,"sourceUnit":1356,"src":"301:79:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","id":6,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":476,"sourceUnit":2206,"src":"382:86:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol","id":7,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":476,"sourceUnit":1378,"src":"470:76:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol","file":"./interfaces/IAbstractPlugin.sol","id":8,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":476,"sourceUnit":1072,"src":"550:42:0","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":10,"name":"IAbstractPlugin","nameLocations":["780:15:0"],"nodeType":"IdentifierPath","referencedDeclaration":1071,"src":"780:15:0"},"id":11,"nodeType":"InheritanceSpecifier","src":"780:15:0"},{"baseName":{"id":12,"name":"Timestamp","nameLocations":["797:9:0"],"nodeType":"IdentifierPath","referencedDeclaration":1088,"src":"797:9:0"},"id":13,"nodeType":"InheritanceSpecifier","src":"797:9:0"}],"canonicalName":"AbstractPlugin","contractDependencies":[],"contractKind":"contract","documentation":{"id":9,"nodeType":"StructuredDocumentation","src":"596:148:0","text":"@title Algebra Integral 1.2.1 plugin base\n @notice This contract simplifies development process of plugins by providing base functionality"},"fullyImplemented":false,"id":475,"linearizedBaseContracts":[475,1088,1071,1543],"name":"AbstractPlugin","nameLocation":"762:14:0","nodeType":"ContractDefinition","nodes":[{"global":false,"id":16,"libraryName":{"id":14,"name":"Plugins","nameLocations":["818:7:0"],"nodeType":"IdentifierPath","referencedDeclaration":2748,"src":"818:7:0"},"nodeType":"UsingForDirective","src":"812:24:0","typeName":{"id":15,"name":"uint8","nodeType":"ElementaryTypeName","src":"830:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}},{"constant":true,"documentation":{"id":17,"nodeType":"StructuredDocumentation","src":"842:50:0","text":"@dev The role can be granted in AlgebraFactory"},"functionSelector":"31b25d1a","id":22,"mutability":"constant","name":"ALGEBRA_BASE_PLUGIN_MANAGER","nameLocation":"920:27:0","nodeType":"VariableDeclaration","scope":475,"src":"896:94:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":18,"name":"bytes32","nodeType":"ElementaryTypeName","src":"896:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"414c47454252415f424153455f504c5547494e5f4d414e41474552","id":20,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"960:29:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f5","typeString":"literal_string \"ALGEBRA_BASE_PLUGIN_MANAGER\""},"value":"ALGEBRA_BASE_PLUGIN_MANAGER"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f5","typeString":"literal_string \"ALGEBRA_BASE_PLUGIN_MANAGER\""}],"id":19,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"950:9:0","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":21,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"950:40:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"baseFunctions":[1386],"constant":false,"functionSelector":"689ea370","id":25,"mutability":"mutable","name":"defaultPluginConfig","nameLocation":"1010:19:0","nodeType":"VariableDeclaration","scope":475,"src":"997:36:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":23,"name":"uint8","nodeType":"ElementaryTypeName","src":"997:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"30","id":24,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1032:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"visibility":"public"},{"constant":false,"functionSelector":"46b7748b","id":28,"mutability":"mutable","name":"activeModules","nameLocation":"1054:13:0","nodeType":"VariableDeclaration","scope":475,"src":"1038:29:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string[]"},"typeName":{"baseType":{"id":26,"name":"string","nodeType":"ElementaryTypeName","src":"1038:6:0","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":27,"nodeType":"ArrayTypeName","src":"1038:8:0","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"public"},{"constant":false,"functionSelector":"16f0115b","id":30,"mutability":"immutable","name":"pool","nameLocation":"1099:4:0","nodeType":"VariableDeclaration","scope":475,"src":"1074:29:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":29,"name":"address","nodeType":"ElementaryTypeName","src":"1074:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"id":32,"mutability":"immutable","name":"pluginFactory","nameLocation":"1135:13:0","nodeType":"VariableDeclaration","scope":475,"src":"1108:40:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":31,"name":"address","nodeType":"ElementaryTypeName","src":"1108:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"body":{"id":38,"nodeType":"Block","src":"1175:39:0","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":34,"name":"_checkIfFromPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":67,"src":"1182:16:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":35,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1182:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":36,"nodeType":"ExpressionStatement","src":"1182:18:0"},{"id":37,"nodeType":"PlaceholderStatement","src":"1207:1:0"}]},"id":39,"name":"onlyPool","nameLocation":"1164:8:0","nodeType":"ModifierDefinition","parameters":{"id":33,"nodeType":"ParameterList","parameters":[],"src":"1172:2:0"},"src":"1155:59:0","virtual":false,"visibility":"internal"},{"body":{"id":54,"nodeType":"Block","src":"1271:60:0","statements":[{"expression":{"id":52,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":46,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":30,"src":"1279:4:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":47,"name":"pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":32,"src":"1285:13:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":48,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1278:21:0","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":49,"name":"_pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":41,"src":"1303:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":50,"name":"_pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":43,"src":"1310:14:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":51,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1302:23:0","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$","typeString":"tuple(address,address)"}},"src":"1278:47:0","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":53,"nodeType":"ExpressionStatement","src":"1278:47:0"}]},"id":55,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":44,"nodeType":"ParameterList","parameters":[{"constant":false,"id":41,"mutability":"mutable","name":"_pool","nameLocation":"1240:5:0","nodeType":"VariableDeclaration","scope":55,"src":"1232:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":40,"name":"address","nodeType":"ElementaryTypeName","src":"1232:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":43,"mutability":"mutable","name":"_pluginFactory","nameLocation":"1255:14:0","nodeType":"VariableDeclaration","scope":55,"src":"1247:22:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":42,"name":"address","nodeType":"ElementaryTypeName","src":"1247:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1231:39:0"},"returnParameters":{"id":45,"nodeType":"ParameterList","parameters":[],"src":"1271:0:0"},"scope":475,"src":"1220:111:0","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":66,"nodeType":"Block","src":"1379:67:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":62,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":59,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1394:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":60,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1398:6:0","memberName":"sender","nodeType":"MemberAccess","src":"1394:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":61,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":30,"src":"1408:4:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1394:18:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f6e6c7920706f6f6c2063616e2063616c6c2074686973","id":63,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1414:25:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb","typeString":"literal_string \"Only pool can call this\""},"value":"Only pool can call this"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb","typeString":"literal_string \"Only pool can call this\""}],"id":58,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1386:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":64,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1386:54:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":65,"nodeType":"ExpressionStatement","src":"1386:54:0"}]},"id":67,"implemented":true,"kind":"function","modifiers":[],"name":"_checkIfFromPool","nameLocation":"1346:16:0","nodeType":"FunctionDefinition","parameters":{"id":56,"nodeType":"ParameterList","parameters":[],"src":"1362:2:0"},"returnParameters":{"id":57,"nodeType":"ParameterList","parameters":[],"src":"1379:0:0"},"scope":475,"src":"1337:109:0","stateMutability":"view","virtual":false,"visibility":"internal"},{"id":70,"implemented":false,"kind":"function","modifiers":[],"name":"_authorize","nameLocation":"1461:10:0","nodeType":"FunctionDefinition","parameters":{"id":68,"nodeType":"ParameterList","parameters":[],"src":"1471:2:0"},"returnParameters":{"id":69,"nodeType":"ParameterList","parameters":[],"src":"1495:0:0"},"scope":475,"src":"1452:44:0","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[1070],"body":{"id":107,"nodeType":"Block","src":"1595:168:0","statements":[{"expression":{"id":84,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":77,"name":"moduleNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":75,"src":"1602:11:0","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":81,"name":"activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":28,"src":"1629:13:0","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"id":82,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1643:6:0","memberName":"length","nodeType":"MemberAccess","src":"1629:20:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":80,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"1616:12:0","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (string memory[] memory)"},"typeName":{"baseType":{"id":78,"name":"string","nodeType":"ElementaryTypeName","src":"1620:6:0","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":79,"nodeType":"ArrayTypeName","src":"1620:8:0","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":83,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1616:34:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"1602:48:0","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":85,"nodeType":"ExpressionStatement","src":"1602:48:0"},{"body":{"id":105,"nodeType":"Block","src":"1708:50:0","statements":[{"expression":{"id":103,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":97,"name":"moduleNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":75,"src":"1717:11:0","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99,"indexExpression":{"id":98,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87,"src":"1729:1:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1717:14:0","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":100,"name":"activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":28,"src":"1734:13:0","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"id":102,"indexExpression":{"id":101,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87,"src":"1748:1:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1734:16:0","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"src":"1717:33:0","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":104,"nodeType":"ExpressionStatement","src":"1717:33:0"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":93,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":90,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87,"src":"1677:1:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":91,"name":"activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":28,"src":"1681:13:0","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"id":92,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1695:6:0","memberName":"length","nodeType":"MemberAccess","src":"1681:20:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1677:24:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":106,"initializationExpression":{"assignments":[87],"declarations":[{"constant":false,"id":87,"mutability":"mutable","name":"i","nameLocation":"1670:1:0","nodeType":"VariableDeclaration","scope":106,"src":"1662:9:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":86,"name":"uint256","nodeType":"ElementaryTypeName","src":"1662:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":89,"initialValue":{"hexValue":"30","id":88,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1674:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"1662:13:0"},"loopExpression":{"expression":{"id":95,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"1703:3:0","subExpression":{"id":94,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87,"src":"1703:1:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":96,"nodeType":"ExpressionStatement","src":"1703:3:0"},"nodeType":"ForStatement","src":"1657:101:0"}]},"functionSelector":"b6f78cc9","id":108,"implemented":true,"kind":"function","modifiers":[],"name":"getActiveModuleNames","nameLocation":"1511:20:0","nodeType":"FunctionDefinition","overrides":{"id":72,"nodeType":"OverrideSpecifier","overrides":[],"src":"1548:8:0"},"parameters":{"id":71,"nodeType":"ParameterList","parameters":[],"src":"1531:2:0"},"returnParameters":{"id":76,"nodeType":"ParameterList","parameters":[{"constant":false,"id":75,"mutability":"mutable","name":"moduleNames","nameLocation":"1582:11:0","nodeType":"VariableDeclaration","scope":108,"src":"1566:27:0","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":73,"name":"string","nodeType":"ElementaryTypeName","src":"1566:6:0","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":74,"nodeType":"ArrayTypeName","src":"1566:8:0","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"1565:29:0"},"scope":475,"src":"1502:261:0","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":131,"nodeType":"Block","src":"1876:89:0","statements":[{"expression":{"id":129,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":119,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":111,"src":"1884:5:0","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":120,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":113,"src":"1891:4:0","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":121,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":115,"src":"1897:3:0","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":122,"name":"pluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":117,"src":"1902:12:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},null,null],"id":123,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"1883:36:0","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$__$__$","typeString":"tuple(uint160,int24,uint16,uint8,,)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":125,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":30,"src":"1940:4:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":124,"name":"IAlgebraPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2205,"src":"1922:17:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolState_$2205_$","typeString":"type(contract IAlgebraPoolState)"}},"id":126,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1922:23:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPoolState_$2205","typeString":"contract IAlgebraPoolState"}},"id":127,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1946:11:0","memberName":"globalState","nodeType":"MemberAccess","referencedDeclaration":2064,"src":"1922:35:0","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$_t_uint16_$_t_bool_$","typeString":"function () view external returns (uint160,int24,uint16,uint8,uint16,bool)"}},"id":128,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1922:37:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$_t_uint16_$_t_bool_$","typeString":"tuple(uint160,int24,uint16,uint8,uint16,bool)"}},"src":"1883:76:0","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":130,"nodeType":"ExpressionStatement","src":"1883:76:0"}]},"id":132,"implemented":true,"kind":"function","modifiers":[],"name":"_getPoolState","nameLocation":"1778:13:0","nodeType":"FunctionDefinition","parameters":{"id":109,"nodeType":"ParameterList","parameters":[],"src":"1791:2:0"},"returnParameters":{"id":118,"nodeType":"ParameterList","parameters":[{"constant":false,"id":111,"mutability":"mutable","name":"price","nameLocation":"1825:5:0","nodeType":"VariableDeclaration","scope":132,"src":"1817:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":110,"name":"uint160","nodeType":"ElementaryTypeName","src":"1817:7:0","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":113,"mutability":"mutable","name":"tick","nameLocation":"1838:4:0","nodeType":"VariableDeclaration","scope":132,"src":"1832:10:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":112,"name":"int24","nodeType":"ElementaryTypeName","src":"1832:5:0","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":115,"mutability":"mutable","name":"fee","nameLocation":"1851:3:0","nodeType":"VariableDeclaration","scope":132,"src":"1844:10:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":114,"name":"uint16","nodeType":"ElementaryTypeName","src":"1844:6:0","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":117,"mutability":"mutable","name":"pluginConfig","nameLocation":"1862:12:0","nodeType":"VariableDeclaration","scope":132,"src":"1856:18:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":116,"name":"uint8","nodeType":"ElementaryTypeName","src":"1856:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"1816:59:0"},"scope":475,"src":"1769:196:0","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":143,"nodeType":"Block","src":"2038:47:0","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":138,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":30,"src":"2065:4:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":137,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1377,"src":"2052:12:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$1377_$","typeString":"type(contract IAlgebraPool)"}},"id":139,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2052:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$1377","typeString":"contract IAlgebraPool"}},"id":140,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2071:6:0","memberName":"plugin","nodeType":"MemberAccess","referencedDeclaration":2110,"src":"2052:25:0","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_address_$","typeString":"function () view external returns (address)"}},"id":141,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2052:27:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":136,"id":142,"nodeType":"Return","src":"2045:34:0"}]},"id":144,"implemented":true,"kind":"function","modifiers":[],"name":"_getPluginInPool","nameLocation":"1980:16:0","nodeType":"FunctionDefinition","parameters":{"id":133,"nodeType":"ParameterList","parameters":[],"src":"1996:2:0"},"returnParameters":{"id":136,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135,"mutability":"mutable","name":"plugin","nameLocation":"2030:6:0","nodeType":"VariableDeclaration","scope":144,"src":"2022:14:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":134,"name":"address","nodeType":"ElementaryTypeName","src":"2022:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2021:16:0"},"scope":475,"src":"1971:114:0","stateMutability":"view","virtual":false,"visibility":"internal"},{"baseFunctions":[1063],"body":{"id":166,"nodeType":"Block","src":"2228:83:0","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":155,"name":"_authorize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":70,"src":"2235:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":156,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2235:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":157,"nodeType":"ExpressionStatement","src":"2235:12:0"},{"expression":{"arguments":[{"id":161,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":147,"src":"2280:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":162,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":151,"src":"2287:9:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":163,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":149,"src":"2298:6:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":158,"name":"SafeTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2885,"src":"2254:12:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeTransfer_$2885_$","typeString":"type(library SafeTransfer)"}},"id":160,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2267:12:0","memberName":"safeTransfer","nodeType":"MemberAccess","referencedDeclaration":2884,"src":"2254:25:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":164,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2254:51:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":165,"nodeType":"ExpressionStatement","src":"2254:51:0"}]},"documentation":{"id":145,"nodeType":"StructuredDocumentation","src":"2091:31:0","text":"@inheritdoc IAbstractPlugin"},"functionSelector":"e72c652d","id":167,"implemented":true,"kind":"function","modifiers":[],"name":"collectPluginFee","nameLocation":"2135:16:0","nodeType":"FunctionDefinition","overrides":{"id":153,"nodeType":"OverrideSpecifier","overrides":[],"src":"2219:8:0"},"parameters":{"id":152,"nodeType":"ParameterList","parameters":[{"constant":false,"id":147,"mutability":"mutable","name":"token","nameLocation":"2160:5:0","nodeType":"VariableDeclaration","scope":167,"src":"2152:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":146,"name":"address","nodeType":"ElementaryTypeName","src":"2152:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":149,"mutability":"mutable","name":"amount","nameLocation":"2175:6:0","nodeType":"VariableDeclaration","scope":167,"src":"2167:14:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":148,"name":"uint256","nodeType":"ElementaryTypeName","src":"2167:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":151,"mutability":"mutable","name":"recipient","nameLocation":"2191:9:0","nodeType":"VariableDeclaration","scope":167,"src":"2183:17:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":150,"name":"address","nodeType":"ElementaryTypeName","src":"2183:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2151:50:0"},"returnParameters":{"id":154,"nodeType":"ParameterList","parameters":[],"src":"2228:0:0"},"scope":475,"src":"2126:185:0","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1396],"body":{"id":184,"nodeType":"Block","src":"2451:59:0","statements":[{"expression":{"expression":{"expression":{"id":180,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"2465:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":181,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2480:15:0","memberName":"handlePluginFee","nodeType":"MemberAccess","referencedDeclaration":1396,"src":"2465:30:0","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_uint256_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.handlePluginFee(uint256,uint256) returns (bytes4)"}},"id":182,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2496:8:0","memberName":"selector","nodeType":"MemberAccess","src":"2465:39:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":179,"id":183,"nodeType":"Return","src":"2458:46:0"}]},"documentation":{"id":168,"nodeType":"StructuredDocumentation","src":"2317:30:0","text":"@inheritdoc IAlgebraPlugin"},"functionSelector":"aa6b14bb","id":185,"implemented":true,"kind":"function","modifiers":[{"id":176,"kind":"modifierInvocation","modifierName":{"id":175,"name":"onlyPool","nameLocations":["2425:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"2425:8:0"},"nodeType":"ModifierInvocation","src":"2425:8:0"}],"name":"handlePluginFee","nameLocation":"2360:15:0","nodeType":"FunctionDefinition","overrides":{"id":174,"nodeType":"OverrideSpecifier","overrides":[],"src":"2416:8:0"},"parameters":{"id":173,"nodeType":"ParameterList","parameters":[{"constant":false,"id":170,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":185,"src":"2376:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":169,"name":"uint256","nodeType":"ElementaryTypeName","src":"2376:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":172,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":185,"src":"2385:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":171,"name":"uint256","nodeType":"ElementaryTypeName","src":"2385:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2375:18:0"},"returnParameters":{"id":179,"nodeType":"ParameterList","parameters":[{"constant":false,"id":178,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":185,"src":"2443:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":177,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2443:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2442:8:0"},"scope":475,"src":"2351:159:0","stateMutability":"view","virtual":true,"visibility":"external"},{"baseFunctions":[1406],"body":{"id":201,"nodeType":"Block","src":"2640:60:0","statements":[{"expression":{"expression":{"expression":{"id":197,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"2654:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":198,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2669:16:0","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":1406,"src":"2654:31:0","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint160_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.beforeInitialize(address,uint160) returns (bytes4)"}},"id":199,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2686:8:0","memberName":"selector","nodeType":"MemberAccess","src":"2654:40:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":196,"id":200,"nodeType":"Return","src":"2647:47:0"}]},"functionSelector":"636fd804","id":202,"implemented":true,"kind":"function","modifiers":[{"id":193,"kind":"modifierInvocation","modifierName":{"id":192,"name":"onlyPool","nameLocations":["2614:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"2614:8:0"},"nodeType":"ModifierInvocation","src":"2614:8:0"}],"name":"beforeInitialize","nameLocation":"2553:16:0","nodeType":"FunctionDefinition","overrides":{"id":191,"nodeType":"OverrideSpecifier","overrides":[],"src":"2605:8:0"},"parameters":{"id":190,"nodeType":"ParameterList","parameters":[{"constant":false,"id":187,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":202,"src":"2570:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":186,"name":"address","nodeType":"ElementaryTypeName","src":"2570:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":189,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":202,"src":"2579:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":188,"name":"uint160","nodeType":"ElementaryTypeName","src":"2579:7:0","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"2569:18:0"},"returnParameters":{"id":196,"nodeType":"ParameterList","parameters":[{"constant":false,"id":195,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":202,"src":"2632:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":194,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2632:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2631:8:0"},"scope":475,"src":"2544:156:0","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1418],"body":{"id":220,"nodeType":"Block","src":"2808:59:0","statements":[{"expression":{"expression":{"expression":{"id":216,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"2822:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":217,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2837:15:0","memberName":"afterInitialize","nodeType":"MemberAccess","referencedDeclaration":1418,"src":"2822:30:0","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint160_$_t_int24_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.afterInitialize(address,uint160,int24) returns (bytes4)"}},"id":218,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2853:8:0","memberName":"selector","nodeType":"MemberAccess","src":"2822:39:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":215,"id":219,"nodeType":"Return","src":"2815:46:0"}]},"functionSelector":"82dd6522","id":221,"implemented":true,"kind":"function","modifiers":[{"id":212,"kind":"modifierInvocation","modifierName":{"id":211,"name":"onlyPool","nameLocations":["2782:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"2782:8:0"},"nodeType":"ModifierInvocation","src":"2782:8:0"}],"name":"afterInitialize","nameLocation":"2715:15:0","nodeType":"FunctionDefinition","overrides":{"id":210,"nodeType":"OverrideSpecifier","overrides":[],"src":"2773:8:0"},"parameters":{"id":209,"nodeType":"ParameterList","parameters":[{"constant":false,"id":204,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":221,"src":"2731:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":203,"name":"address","nodeType":"ElementaryTypeName","src":"2731:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":206,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":221,"src":"2740:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":205,"name":"uint160","nodeType":"ElementaryTypeName","src":"2740:7:0","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":208,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":221,"src":"2749:5:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":207,"name":"int24","nodeType":"ElementaryTypeName","src":"2749:5:0","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2730:25:0"},"returnParameters":{"id":215,"nodeType":"ParameterList","parameters":[{"constant":false,"id":214,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":221,"src":"2800:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":213,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2800:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2799:8:0"},"scope":475,"src":"2706:161:0","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1438],"body":{"id":249,"nodeType":"Block","src":"3019:69:0","statements":[{"expression":{"components":[{"expression":{"expression":{"id":243,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"3034:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":244,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3049:20:0","memberName":"beforeModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1438,"src":"3034:35:0","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_int24_$_t_int24_$_t_int128_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_uint24_$","typeString":"function IAlgebraPlugin.beforeModifyPosition(address,address,int24,int24,int128,bytes calldata) returns (bytes4,uint24)"}},"id":245,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3070:8:0","memberName":"selector","nodeType":"MemberAccess","src":"3034:44:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"hexValue":"30","id":246,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3080:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":247,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"3033:49:0","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_rational_0_by_1_$","typeString":"tuple(bytes4,int_const 0)"}},"functionReturnParameters":242,"id":248,"nodeType":"Return","src":"3026:56:0"}]},"functionSelector":"5e2411b2","id":250,"implemented":true,"kind":"function","modifiers":[{"id":237,"kind":"modifierInvocation","modifierName":{"id":236,"name":"onlyPool","nameLocations":["2985:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"2985:8:0"},"nodeType":"ModifierInvocation","src":"2985:8:0"}],"name":"beforeModifyPosition","nameLocation":"2882:20:0","nodeType":"FunctionDefinition","overrides":{"id":235,"nodeType":"OverrideSpecifier","overrides":[],"src":"2976:8:0"},"parameters":{"id":234,"nodeType":"ParameterList","parameters":[{"constant":false,"id":223,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":250,"src":"2903:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":222,"name":"address","nodeType":"ElementaryTypeName","src":"2903:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":225,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":250,"src":"2912:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":224,"name":"address","nodeType":"ElementaryTypeName","src":"2912:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":227,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":250,"src":"2921:5:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":226,"name":"int24","nodeType":"ElementaryTypeName","src":"2921:5:0","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":229,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":250,"src":"2928:5:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":228,"name":"int24","nodeType":"ElementaryTypeName","src":"2928:5:0","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":231,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":250,"src":"2935:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":230,"name":"int128","nodeType":"ElementaryTypeName","src":"2935:6:0","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":233,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":250,"src":"2943:14:0","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":232,"name":"bytes","nodeType":"ElementaryTypeName","src":"2943:5:0","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2902:56:0"},"returnParameters":{"id":242,"nodeType":"ParameterList","parameters":[{"constant":false,"id":239,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":250,"src":"3003:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":238,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3003:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":241,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":250,"src":"3011:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":240,"name":"uint24","nodeType":"ElementaryTypeName","src":"3011:6:0","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3002:16:0"},"scope":475,"src":"2873:215:0","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1460],"body":{"id":278,"nodeType":"Block","src":"3294:63:0","statements":[{"expression":{"expression":{"expression":{"id":274,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"3308:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":275,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3323:19:0","memberName":"afterModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1460,"src":"3308:34:0","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_int24_$_t_int24_$_t_int128_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes calldata) returns (bytes4)"}},"id":276,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3343:8:0","memberName":"selector","nodeType":"MemberAccess","src":"3308:43:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":273,"id":277,"nodeType":"Return","src":"3301:50:0"}]},"functionSelector":"d6852010","id":279,"implemented":true,"kind":"function","modifiers":[{"id":270,"kind":"modifierInvocation","modifierName":{"id":269,"name":"onlyPool","nameLocations":["3268:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"3268:8:0"},"nodeType":"ModifierInvocation","src":"3268:8:0"}],"name":"afterModifyPosition","nameLocation":"3103:19:0","nodeType":"FunctionDefinition","overrides":{"id":268,"nodeType":"OverrideSpecifier","overrides":[],"src":"3259:8:0"},"parameters":{"id":267,"nodeType":"ParameterList","parameters":[{"constant":false,"id":252,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":279,"src":"3129:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":251,"name":"address","nodeType":"ElementaryTypeName","src":"3129:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":254,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":279,"src":"3143:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":253,"name":"address","nodeType":"ElementaryTypeName","src":"3143:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":256,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":279,"src":"3157:5:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":255,"name":"int24","nodeType":"ElementaryTypeName","src":"3157:5:0","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":258,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":279,"src":"3169:5:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":257,"name":"int24","nodeType":"ElementaryTypeName","src":"3169:5:0","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":260,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":279,"src":"3181:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":259,"name":"int128","nodeType":"ElementaryTypeName","src":"3181:6:0","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":262,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":279,"src":"3194:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":261,"name":"uint256","nodeType":"ElementaryTypeName","src":"3194:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":264,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":279,"src":"3208:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":263,"name":"uint256","nodeType":"ElementaryTypeName","src":"3208:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":266,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":279,"src":"3222:14:0","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":265,"name":"bytes","nodeType":"ElementaryTypeName","src":"3222:5:0","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3122:119:0"},"returnParameters":{"id":273,"nodeType":"ParameterList","parameters":[{"constant":false,"id":272,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":279,"src":"3286:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":271,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3286:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"3285:8:0"},"scope":475,"src":"3094:263:0","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1484],"body":{"id":312,"nodeType":"Block","src":"3554:62:0","statements":[{"expression":{"components":[{"expression":{"expression":{"id":305,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"3569:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":306,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3584:10:0","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":1484,"src":"3569:25:0","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_bool_$_t_int256_$_t_uint160_$_t_bool_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_uint24_$_t_uint24_$","typeString":"function IAlgebraPlugin.beforeSwap(address,address,bool,int256,uint160,bool,bytes calldata) returns (bytes4,uint24,uint24)"}},"id":307,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3595:8:0","memberName":"selector","nodeType":"MemberAccess","src":"3569:34:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"hexValue":"30","id":308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3605:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":309,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3608:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":310,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"3568:42:0","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_rational_0_by_1_$_t_rational_0_by_1_$","typeString":"tuple(bytes4,int_const 0,int_const 0)"}},"functionReturnParameters":304,"id":311,"nodeType":"Return","src":"3561:49:0"}]},"functionSelector":"029c1cb7","id":313,"implemented":true,"kind":"function","modifiers":[{"id":297,"kind":"modifierInvocation","modifierName":{"id":296,"name":"onlyPool","nameLocations":["3512:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"3512:8:0"},"nodeType":"ModifierInvocation","src":"3512:8:0"}],"name":"beforeSwap","nameLocation":"3372:10:0","nodeType":"FunctionDefinition","overrides":{"id":295,"nodeType":"OverrideSpecifier","overrides":[],"src":"3503:8:0"},"parameters":{"id":294,"nodeType":"ParameterList","parameters":[{"constant":false,"id":281,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3389:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":280,"name":"address","nodeType":"ElementaryTypeName","src":"3389:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":283,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3403:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":282,"name":"address","nodeType":"ElementaryTypeName","src":"3403:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":285,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3417:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":284,"name":"bool","nodeType":"ElementaryTypeName","src":"3417:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":287,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3428:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":286,"name":"int256","nodeType":"ElementaryTypeName","src":"3428:6:0","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":289,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3441:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":288,"name":"uint160","nodeType":"ElementaryTypeName","src":"3441:7:0","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":291,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3455:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":290,"name":"bool","nodeType":"ElementaryTypeName","src":"3455:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":293,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3466:14:0","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":292,"name":"bytes","nodeType":"ElementaryTypeName","src":"3466:5:0","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3382:103:0"},"returnParameters":{"id":304,"nodeType":"ParameterList","parameters":[{"constant":false,"id":299,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3530:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":298,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3530:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":301,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3538:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":300,"name":"uint24","nodeType":"ElementaryTypeName","src":"3538:6:0","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":303,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":313,"src":"3546:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":302,"name":"uint24","nodeType":"ElementaryTypeName","src":"3546:6:0","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3529:24:0"},"scope":475,"src":"3363:253:0","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1506],"body":{"id":341,"nodeType":"Block","src":"3766:53:0","statements":[{"expression":{"expression":{"expression":{"id":337,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"3780:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":338,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3795:9:0","memberName":"afterSwap","nodeType":"MemberAccess","referencedDeclaration":1506,"src":"3780:24:0","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_bool_$_t_int256_$_t_uint160_$_t_int256_$_t_int256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.afterSwap(address,address,bool,int256,uint160,int256,int256,bytes calldata) returns (bytes4)"}},"id":339,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3805:8:0","memberName":"selector","nodeType":"MemberAccess","src":"3780:33:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":336,"id":340,"nodeType":"Return","src":"3773:40:0"}]},"functionSelector":"9cb5a963","id":342,"implemented":true,"kind":"function","modifiers":[{"id":333,"kind":"modifierInvocation","modifierName":{"id":332,"name":"onlyPool","nameLocations":["3740:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"3740:8:0"},"nodeType":"ModifierInvocation","src":"3740:8:0"}],"name":"afterSwap","nameLocation":"3631:9:0","nodeType":"FunctionDefinition","overrides":{"id":331,"nodeType":"OverrideSpecifier","overrides":[],"src":"3731:8:0"},"parameters":{"id":330,"nodeType":"ParameterList","parameters":[{"constant":false,"id":315,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":342,"src":"3641:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":314,"name":"address","nodeType":"ElementaryTypeName","src":"3641:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":317,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":342,"src":"3650:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":316,"name":"address","nodeType":"ElementaryTypeName","src":"3650:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":319,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":342,"src":"3659:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":318,"name":"bool","nodeType":"ElementaryTypeName","src":"3659:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":321,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":342,"src":"3665:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":320,"name":"int256","nodeType":"ElementaryTypeName","src":"3665:6:0","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":323,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":342,"src":"3673:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":322,"name":"uint160","nodeType":"ElementaryTypeName","src":"3673:7:0","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":325,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":342,"src":"3682:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":324,"name":"int256","nodeType":"ElementaryTypeName","src":"3682:6:0","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":327,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":342,"src":"3690:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":326,"name":"int256","nodeType":"ElementaryTypeName","src":"3690:6:0","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":329,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":342,"src":"3698:14:0","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":328,"name":"bytes","nodeType":"ElementaryTypeName","src":"3698:5:0","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3640:73:0"},"returnParameters":{"id":336,"nodeType":"ParameterList","parameters":[{"constant":false,"id":335,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":342,"src":"3758:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":334,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3758:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"3757:8:0"},"scope":475,"src":"3622:197:0","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1522],"body":{"id":364,"nodeType":"Block","src":"3950:55:0","statements":[{"expression":{"expression":{"expression":{"id":360,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"3964:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":361,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3979:11:0","memberName":"beforeFlash","nodeType":"MemberAccess","referencedDeclaration":1522,"src":"3964:26:0","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.beforeFlash(address,address,uint256,uint256,bytes calldata) returns (bytes4)"}},"id":362,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3991:8:0","memberName":"selector","nodeType":"MemberAccess","src":"3964:35:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":359,"id":363,"nodeType":"Return","src":"3957:42:0"}]},"functionSelector":"8de0a8ee","id":365,"implemented":true,"kind":"function","modifiers":[{"id":356,"kind":"modifierInvocation","modifierName":{"id":355,"name":"onlyPool","nameLocations":["3924:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"3924:8:0"},"nodeType":"ModifierInvocation","src":"3924:8:0"}],"name":"beforeFlash","nameLocation":"3834:11:0","nodeType":"FunctionDefinition","overrides":{"id":354,"nodeType":"OverrideSpecifier","overrides":[],"src":"3915:8:0"},"parameters":{"id":353,"nodeType":"ParameterList","parameters":[{"constant":false,"id":344,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":365,"src":"3846:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":343,"name":"address","nodeType":"ElementaryTypeName","src":"3846:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":346,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":365,"src":"3855:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":345,"name":"address","nodeType":"ElementaryTypeName","src":"3855:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":348,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":365,"src":"3864:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":347,"name":"uint256","nodeType":"ElementaryTypeName","src":"3864:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":350,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":365,"src":"3873:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":349,"name":"uint256","nodeType":"ElementaryTypeName","src":"3873:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":352,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":365,"src":"3882:14:0","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":351,"name":"bytes","nodeType":"ElementaryTypeName","src":"3882:5:0","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3845:52:0"},"returnParameters":{"id":359,"nodeType":"ParameterList","parameters":[{"constant":false,"id":358,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":365,"src":"3942:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":357,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3942:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"3941:8:0"},"scope":475,"src":"3825:180:0","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1542],"body":{"id":391,"nodeType":"Block","src":"4153:54:0","statements":[{"expression":{"expression":{"expression":{"id":387,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"4167:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":388,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4182:10:0","memberName":"afterFlash","nodeType":"MemberAccess","referencedDeclaration":1542,"src":"4167:25:0","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.afterFlash(address,address,uint256,uint256,uint256,uint256,bytes calldata) returns (bytes4)"}},"id":389,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4193:8:0","memberName":"selector","nodeType":"MemberAccess","src":"4167:34:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":386,"id":390,"nodeType":"Return","src":"4160:41:0"}]},"functionSelector":"343d37ff","id":392,"implemented":true,"kind":"function","modifiers":[{"id":383,"kind":"modifierInvocation","modifierName":{"id":382,"name":"onlyPool","nameLocations":["4127:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"4127:8:0"},"nodeType":"ModifierInvocation","src":"4127:8:0"}],"name":"afterFlash","nameLocation":"4020:10:0","nodeType":"FunctionDefinition","overrides":{"id":381,"nodeType":"OverrideSpecifier","overrides":[],"src":"4118:8:0"},"parameters":{"id":380,"nodeType":"ParameterList","parameters":[{"constant":false,"id":367,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":392,"src":"4031:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":366,"name":"address","nodeType":"ElementaryTypeName","src":"4031:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":369,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":392,"src":"4040:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":368,"name":"address","nodeType":"ElementaryTypeName","src":"4040:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":371,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":392,"src":"4049:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":370,"name":"uint256","nodeType":"ElementaryTypeName","src":"4049:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":373,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":392,"src":"4058:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":372,"name":"uint256","nodeType":"ElementaryTypeName","src":"4058:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":375,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":392,"src":"4067:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":374,"name":"uint256","nodeType":"ElementaryTypeName","src":"4067:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":377,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":392,"src":"4076:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":376,"name":"uint256","nodeType":"ElementaryTypeName","src":"4076:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":379,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":392,"src":"4085:14:0","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":378,"name":"bytes","nodeType":"ElementaryTypeName","src":"4085:5:0","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4030:70:0"},"returnParameters":{"id":386,"nodeType":"ParameterList","parameters":[{"constant":false,"id":385,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":392,"src":"4145:6:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":384,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4145:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"4144:8:0"},"scope":475,"src":"4011:196:0","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"body":{"id":414,"nodeType":"Block","src":"4280:182:0","statements":[{"assignments":[null,null,null,398],"declarations":[null,null,null,{"constant":false,"id":398,"mutability":"mutable","name":"currentPluginConfig","nameLocation":"4300:19:0","nodeType":"VariableDeclaration","scope":414,"src":"4294:25:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":397,"name":"uint8","nodeType":"ElementaryTypeName","src":"4294:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":401,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":399,"name":"_getPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":132,"src":"4323:13:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"function () view returns (uint160,int24,uint16,uint8)"}},"id":400,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4323:15:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"tuple(uint160,int24,uint16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"4287:51:0"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":402,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":398,"src":"4349:19:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":403,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":394,"src":"4372:15:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4349:38:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":413,"nodeType":"IfStatement","src":"4345:112:0","trueBody":{"id":412,"nodeType":"Block","src":"4389:68:0","statements":[{"expression":{"arguments":[{"id":409,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":394,"src":"4433:15:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"arguments":[{"id":406,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":30,"src":"4411:4:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":405,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1377,"src":"4398:12:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$1377_$","typeString":"type(contract IAlgebraPool)"}},"id":407,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4398:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$1377","typeString":"contract IAlgebraPool"}},"id":408,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4417:15:0","memberName":"setPluginConfig","nodeType":"MemberAccess","referencedDeclaration":2000,"src":"4398:34:0","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8) external"}},"id":410,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4398:51:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":411,"nodeType":"ExpressionStatement","src":"4398:51:0"}]}}]},"id":415,"implemented":true,"kind":"function","modifiers":[],"name":"_updatePluginConfigInPool","nameLocation":"4222:25:0","nodeType":"FunctionDefinition","parameters":{"id":395,"nodeType":"ParameterList","parameters":[{"constant":false,"id":394,"mutability":"mutable","name":"newPluginConfig","nameLocation":"4254:15:0","nodeType":"VariableDeclaration","scope":415,"src":"4248:21:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":393,"name":"uint8","nodeType":"ElementaryTypeName","src":"4248:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"4247:23:0"},"returnParameters":{"id":396,"nodeType":"ParameterList","parameters":[],"src":"4280:0:0"},"scope":475,"src":"4213:249:0","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":444,"nodeType":"Block","src":"4520:242:0","statements":[{"assignments":[null,null,null,421],"declarations":[null,null,null,{"constant":false,"id":421,"mutability":"mutable","name":"currentPluginConfig","nameLocation":"4540:19:0","nodeType":"VariableDeclaration","scope":444,"src":"4534:25:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":420,"name":"uint8","nodeType":"ElementaryTypeName","src":"4534:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":424,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":422,"name":"_getPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":132,"src":"4563:13:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"function () view returns (uint160,int24,uint16,uint8)"}},"id":423,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4563:15:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"tuple(uint160,int24,uint16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"4527:51:0"},{"assignments":[426],"declarations":[{"constant":false,"id":426,"mutability":"mutable","name":"newPluginConfig","nameLocation":"4591:15:0","nodeType":"VariableDeclaration","scope":444,"src":"4585:21:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":425,"name":"uint8","nodeType":"ElementaryTypeName","src":"4585:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":431,"initialValue":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":430,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":427,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":421,"src":"4609:19:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":429,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"~","prefix":true,"src":"4631:7:0","subExpression":{"id":428,"name":"config","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":417,"src":"4632:6:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4609:29:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"4585:53:0"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":434,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":432,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":421,"src":"4649:19:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":433,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":426,"src":"4672:15:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4649:38:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":443,"nodeType":"IfStatement","src":"4645:112:0","trueBody":{"id":442,"nodeType":"Block","src":"4689:68:0","statements":[{"expression":{"arguments":[{"id":439,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":426,"src":"4733:15:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"arguments":[{"id":436,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":30,"src":"4711:4:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":435,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1377,"src":"4698:12:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$1377_$","typeString":"type(contract IAlgebraPool)"}},"id":437,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4698:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$1377","typeString":"contract IAlgebraPool"}},"id":438,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4717:15:0","memberName":"setPluginConfig","nodeType":"MemberAccess","referencedDeclaration":2000,"src":"4698:34:0","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8) external"}},"id":440,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4698:51:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":441,"nodeType":"ExpressionStatement","src":"4698:51:0"}]}}]},"id":445,"implemented":true,"kind":"function","modifiers":[],"name":"_disablePluginFlags","nameLocation":"4477:19:0","nodeType":"FunctionDefinition","parameters":{"id":418,"nodeType":"ParameterList","parameters":[{"constant":false,"id":417,"mutability":"mutable","name":"config","nameLocation":"4503:6:0","nodeType":"VariableDeclaration","scope":445,"src":"4497:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":416,"name":"uint8","nodeType":"ElementaryTypeName","src":"4497:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"4496:14:0"},"returnParameters":{"id":419,"nodeType":"ParameterList","parameters":[],"src":"4520:0:0"},"scope":475,"src":"4468:294:0","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":473,"nodeType":"Block","src":"4819:241:0","statements":[{"assignments":[null,null,null,451],"declarations":[null,null,null,{"constant":false,"id":451,"mutability":"mutable","name":"currentPluginConfig","nameLocation":"4839:19:0","nodeType":"VariableDeclaration","scope":473,"src":"4833:25:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":450,"name":"uint8","nodeType":"ElementaryTypeName","src":"4833:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":454,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":452,"name":"_getPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":132,"src":"4862:13:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"function () view returns (uint160,int24,uint16,uint8)"}},"id":453,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4862:15:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"tuple(uint160,int24,uint16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"4826:51:0"},{"assignments":[456],"declarations":[{"constant":false,"id":456,"mutability":"mutable","name":"newPluginConfig","nameLocation":"4890:15:0","nodeType":"VariableDeclaration","scope":473,"src":"4884:21:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":455,"name":"uint8","nodeType":"ElementaryTypeName","src":"4884:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":460,"initialValue":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":459,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":457,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":451,"src":"4908:19:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"id":458,"name":"config","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":447,"src":"4930:6:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4908:28:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"4884:52:0"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":461,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":451,"src":"4947:19:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":462,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":456,"src":"4970:15:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4947:38:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":472,"nodeType":"IfStatement","src":"4943:112:0","trueBody":{"id":471,"nodeType":"Block","src":"4987:68:0","statements":[{"expression":{"arguments":[{"id":468,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":456,"src":"5031:15:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"arguments":[{"id":465,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":30,"src":"5009:4:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":464,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1377,"src":"4996:12:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$1377_$","typeString":"type(contract IAlgebraPool)"}},"id":466,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4996:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$1377","typeString":"contract IAlgebraPool"}},"id":467,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5015:15:0","memberName":"setPluginConfig","nodeType":"MemberAccess","referencedDeclaration":2000,"src":"4996:34:0","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8) external"}},"id":469,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4996:51:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":470,"nodeType":"ExpressionStatement","src":"4996:51:0"}]}}]},"id":474,"implemented":true,"kind":"function","modifiers":[],"name":"_enablePluginFlags","nameLocation":"4777:18:0","nodeType":"FunctionDefinition","parameters":{"id":448,"nodeType":"ParameterList","parameters":[{"constant":false,"id":447,"mutability":"mutable","name":"config","nameLocation":"4802:6:0","nodeType":"VariableDeclaration","scope":474,"src":"4796:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":446,"name":"uint8","nodeType":"ElementaryTypeName","src":"4796:5:0","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"4795:14:0"},"returnParameters":{"id":449,"nodeType":"ParameterList","parameters":[],"src":"4819:0:0"},"scope":475,"src":"4768:292:0","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":476,"src":"744:4319:0","usedErrors":[1786],"usedEvents":[]}],"src":"46:5019:0"},"id":0},"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol":{"ast":{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol","exportedSymbols":{"AbstractPlugin":[475],"BaseAbstractPlugin":[518],"IAbstractPlugin":[1071],"IAlgebraFactory":[1355],"IAlgebraPlugin":[1543],"IAlgebraPluginFactory":[1575],"IAlgebraPool":[1377],"IAlgebraPoolActions":[1691],"IAlgebraPoolErrors":[1793],"IAlgebraPoolEvents":[1945],"IAlgebraPoolImmutables":[1973],"IAlgebraPoolPermissionedActions":[2021],"IAlgebraPoolState":[2205],"IAlgebraVaultFactory":[2233],"Plugins":[2748],"SafeTransfer":[2885],"Timestamp":[1088]},"id":519,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":477,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"37:24:1"},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol","file":"./AbstractPlugin.sol","id":478,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":519,"sourceUnit":476,"src":"63:30:1","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":480,"name":"AbstractPlugin","nameLocations":["265:14:1"],"nodeType":"IdentifierPath","referencedDeclaration":475,"src":"265:14:1"},"id":481,"nodeType":"InheritanceSpecifier","src":"265:14:1"}],"canonicalName":"BaseAbstractPlugin","contractDependencies":[],"contractKind":"contract","documentation":{"id":479,"nodeType":"StructuredDocumentation","src":"95:130:1","text":"@title Algebra's internal Integral 1.2.1 abstract plugin for `Base` plugins\n @notice This contract inherits AbstractPlugin"},"fullyImplemented":true,"id":518,"linearizedBaseContracts":[518,475,1088,1071,1543],"name":"BaseAbstractPlugin","nameLocation":"243:18:1","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":483,"mutability":"immutable","name":"factory","nameLocation":"311:7:1","nodeType":"VariableDeclaration","scope":518,"src":"284:34:1","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":482,"name":"address","nodeType":"ElementaryTypeName","src":"284:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"body":{"id":500,"nodeType":"Block","src":"430:29:1","statements":[{"expression":{"id":498,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":496,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":483,"src":"436:7:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":497,"name":"_factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":487,"src":"446:8:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"436:18:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":499,"nodeType":"ExpressionStatement","src":"436:18:1"}]},"id":501,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":492,"name":"_pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":485,"src":"407:5:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":493,"name":"_pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":489,"src":"414:14:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":494,"kind":"baseConstructorSpecifier","modifierName":{"id":491,"name":"AbstractPlugin","nameLocations":["392:14:1"],"nodeType":"IdentifierPath","referencedDeclaration":475,"src":"392:14:1"},"nodeType":"ModifierInvocation","src":"392:37:1"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":490,"nodeType":"ParameterList","parameters":[{"constant":false,"id":485,"mutability":"mutable","name":"_pool","nameLocation":"343:5:1","nodeType":"VariableDeclaration","scope":501,"src":"335:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":484,"name":"address","nodeType":"ElementaryTypeName","src":"335:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":487,"mutability":"mutable","name":"_factory","nameLocation":"358:8:1","nodeType":"VariableDeclaration","scope":501,"src":"350:16:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":486,"name":"address","nodeType":"ElementaryTypeName","src":"350:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":489,"mutability":"mutable","name":"_pluginFactory","nameLocation":"376:14:1","nodeType":"VariableDeclaration","scope":501,"src":"368:22:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":488,"name":"address","nodeType":"ElementaryTypeName","src":"368:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"334:57:1"},"returnParameters":{"id":495,"nodeType":"ParameterList","parameters":[],"src":"430:0:1"},"scope":518,"src":"323:136:1","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[70],"body":{"id":516,"nodeType":"Block","src":"516:100:1","statements":[{"expression":{"arguments":[{"arguments":[{"id":510,"name":"ALGEBRA_BASE_PLUGIN_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":22,"src":"570:27:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":511,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"599:3:1","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":512,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"603:6:1","memberName":"sender","nodeType":"MemberAccess","src":"599:10:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":507,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":483,"src":"546:7:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":506,"name":"IAlgebraFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1355,"src":"530:15:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraFactory_$1355_$","typeString":"type(contract IAlgebraFactory)"}},"id":508,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"530:24:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraFactory_$1355","typeString":"contract IAlgebraFactory"}},"id":509,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"555:14:1","memberName":"hasRoleOrOwner","nodeType":"MemberAccess","referencedDeclaration":1178,"src":"530:39:1","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view external returns (bool)"}},"id":513,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"530:80:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":505,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"522:7:1","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":514,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"522:89:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":515,"nodeType":"ExpressionStatement","src":"522:89:1"}]},"id":517,"implemented":true,"kind":"function","modifiers":[],"name":"_authorize","nameLocation":"472:10:1","nodeType":"FunctionDefinition","overrides":{"id":503,"nodeType":"OverrideSpecifier","overrides":[],"src":"507:8:1"},"parameters":{"id":502,"nodeType":"ParameterList","parameters":[],"src":"482:2:1"},"returnParameters":{"id":504,"nodeType":"ParameterList","parameters":[],"src":"516:0:1"},"scope":518,"src":"463:153:1","stateMutability":"view","virtual":true,"visibility":"internal"}],"scope":519,"src":"225:393:1","usedErrors":[1786],"usedEvents":[]}],"src":"37:582:1"},"id":1},"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol":{"ast":{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol","exportedSymbols":{"AddressUpgradeable":[4664],"IAbstractPlugin":[1071],"IAlgebraFactory":[1355],"IAlgebraPlugin":[1543],"IAlgebraPluginFactory":[1575],"IAlgebraPool":[1377],"IAlgebraPoolActions":[1691],"IAlgebraPoolErrors":[1793],"IAlgebraPoolEvents":[1945],"IAlgebraPoolImmutables":[1973],"IAlgebraPoolPermissionedActions":[2021],"IAlgebraPoolState":[2205],"IAlgebraVaultFactory":[2233],"Initializable":[4334],"Plugins":[2748],"SafeTransfer":[2885],"Timestamp":[1088],"UpgradeableAbstractPlugin":[1046]},"id":1047,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":520,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:2"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol","file":"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol","id":521,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1047,"sourceUnit":1089,"src":"66:74:2","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":522,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1047,"sourceUnit":2749,"src":"142:70:2","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol","id":523,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1047,"sourceUnit":2886,"src":"214:75:2","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","id":524,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1047,"sourceUnit":1356,"src":"293:79:2","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","id":525,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1047,"sourceUnit":2206,"src":"374:86:2","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol","id":526,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1047,"sourceUnit":1378,"src":"462:76:2","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","id":527,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1047,"sourceUnit":1544,"src":"540:85:2","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","file":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","id":528,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1047,"sourceUnit":4335,"src":"629:75:2","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol","file":"./interfaces/IAbstractPlugin.sol","id":529,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1047,"sourceUnit":1072,"src":"708:42:2","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":531,"name":"Initializable","nameLocations":["1047:13:2"],"nodeType":"IdentifierPath","referencedDeclaration":4334,"src":"1047:13:2"},"id":532,"nodeType":"InheritanceSpecifier","src":"1047:13:2"},{"baseName":{"id":533,"name":"IAbstractPlugin","nameLocations":["1062:15:2"],"nodeType":"IdentifierPath","referencedDeclaration":1071,"src":"1062:15:2"},"id":534,"nodeType":"InheritanceSpecifier","src":"1062:15:2"},{"baseName":{"id":535,"name":"Timestamp","nameLocations":["1079:9:2"],"nodeType":"IdentifierPath","referencedDeclaration":1088,"src":"1079:9:2"},"id":536,"nodeType":"InheritanceSpecifier","src":"1079:9:2"}],"canonicalName":"UpgradeableAbstractPlugin","contractDependencies":[],"contractKind":"contract","documentation":{"id":530,"nodeType":"StructuredDocumentation","src":"754:246:2","text":"@title Algebra Integral 1.2.2 Upgradeable Abstract Plugin\n @notice Base contract for upgradeable plugins using Beacon Proxy pattern\n @dev Uses storage for per-proxy data (pool) and immutables for shared data (factory, pluginFactory)"},"fullyImplemented":true,"id":1046,"linearizedBaseContracts":[1046,1088,1071,1543,4334],"name":"UpgradeableAbstractPlugin","nameLocation":"1018:25:2","nodeType":"ContractDefinition","nodes":[{"global":false,"id":539,"libraryName":{"id":537,"name":"Plugins","nameLocations":["1100:7:2"],"nodeType":"IdentifierPath","referencedDeclaration":2748,"src":"1100:7:2"},"nodeType":"UsingForDirective","src":"1094:24:2","typeName":{"id":538,"name":"uint8","nodeType":"ElementaryTypeName","src":"1112:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}},{"constant":true,"documentation":{"id":540,"nodeType":"StructuredDocumentation","src":"1124:50:2","text":"@dev The role can be granted in AlgebraFactory"},"functionSelector":"31b25d1a","id":545,"mutability":"constant","name":"ALGEBRA_BASE_PLUGIN_MANAGER","nameLocation":"1202:27:2","nodeType":"VariableDeclaration","scope":1046,"src":"1178:94:2","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":541,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1178:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"414c47454252415f424153455f504c5547494e5f4d414e41474552","id":543,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1242:29:2","typeDescriptions":{"typeIdentifier":"t_stringliteral_8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f5","typeString":"literal_string \"ALGEBRA_BASE_PLUGIN_MANAGER\""},"value":"ALGEBRA_BASE_PLUGIN_MANAGER"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f5","typeString":"literal_string \"ALGEBRA_BASE_PLUGIN_MANAGER\""}],"id":542,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1232:9:2","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":544,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1232:40:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":false,"documentation":{"id":546,"nodeType":"StructuredDocumentation","src":"1279:81:2","text":"@dev Immutable: shared across all proxies (stored in implementation bytecode)"},"functionSelector":"c45a0155","id":548,"mutability":"immutable","name":"factory","nameLocation":"1389:7:2","nodeType":"VariableDeclaration","scope":1046,"src":"1364:32:2","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":547,"name":"address","nodeType":"ElementaryTypeName","src":"1364:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"documentation":{"id":549,"nodeType":"StructuredDocumentation","src":"1405:81:2","text":"@dev Immutable: shared across all proxies (stored in implementation bytecode)"},"functionSelector":"e2a1bd59","id":551,"mutability":"immutable","name":"pluginFactory","nameLocation":"1515:13:2","nodeType":"VariableDeclaration","scope":1046,"src":"1490:38:2","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":550,"name":"address","nodeType":"ElementaryTypeName","src":"1490:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"documentation":{"id":552,"nodeType":"StructuredDocumentation","src":"1535:62:2","text":"@dev Storage: unique per proxy (stored in proxy's storage)"},"functionSelector":"16f0115b","id":554,"mutability":"mutable","name":"pool","nameLocation":"1616:4:2","nodeType":"VariableDeclaration","scope":1046,"src":"1601:19:2","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":553,"name":"address","nodeType":"ElementaryTypeName","src":"1601:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"baseFunctions":[1386],"constant":false,"documentation":{"id":555,"nodeType":"StructuredDocumentation","src":"1627:44:2","text":"@dev Storage: plugin configuration flags"},"functionSelector":"689ea370","id":557,"mutability":"mutable","name":"defaultPluginConfig","nameLocation":"1688:19:2","nodeType":"VariableDeclaration","scope":1046,"src":"1675:32:2","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":556,"name":"uint8","nodeType":"ElementaryTypeName","src":"1675:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"public"},{"constant":false,"documentation":{"id":558,"nodeType":"StructuredDocumentation","src":"1714:37:2","text":"@dev Storage: active module names"},"functionSelector":"46b7748b","id":561,"mutability":"mutable","name":"activeModules","nameLocation":"1771:13:2","nodeType":"VariableDeclaration","scope":1046,"src":"1755:29:2","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string[]"},"typeName":{"baseType":{"id":559,"name":"string","nodeType":"ElementaryTypeName","src":"1755:6:2","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":560,"nodeType":"ArrayTypeName","src":"1755:8:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"public"},{"body":{"id":567,"nodeType":"Block","src":"1811:39:2","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":563,"name":"_checkIfFromPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":625,"src":"1818:16:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":564,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1818:18:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":565,"nodeType":"ExpressionStatement","src":"1818:18:2"},{"id":566,"nodeType":"PlaceholderStatement","src":"1843:1:2"}]},"id":568,"name":"onlyPool","nameLocation":"1800:8:2","nodeType":"ModifierDefinition","parameters":{"id":562,"nodeType":"ParameterList","parameters":[],"src":"1808:2:2"},"src":"1791:59:2","virtual":false,"visibility":"internal"},{"body":{"id":579,"nodeType":"Block","src":"1885:80:2","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":574,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":571,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1900:3:2","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":572,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1904:6:2","memberName":"sender","nodeType":"MemberAccess","src":"1900:10:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":573,"name":"pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":551,"src":"1914:13:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1900:27:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f6e6c7920706c7567696e20666163746f7279","id":575,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1929:21:2","typeDescriptions":{"typeIdentifier":"t_stringliteral_d3dfa8684133d166aa14e329a7c6edeebab75a3b4c84d6ce697dddd8cfdf9964","typeString":"literal_string \"Only plugin factory\""},"value":"Only plugin factory"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_d3dfa8684133d166aa14e329a7c6edeebab75a3b4c84d6ce697dddd8cfdf9964","typeString":"literal_string \"Only plugin factory\""}],"id":570,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1892:7:2","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":576,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1892:59:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":577,"nodeType":"ExpressionStatement","src":"1892:59:2"},{"id":578,"nodeType":"PlaceholderStatement","src":"1958:1:2"}]},"id":580,"name":"onlyPluginFactory","nameLocation":"1865:17:2","nodeType":"ModifierDefinition","parameters":{"id":569,"nodeType":"ParameterList","parameters":[],"src":"1882:2:2"},"src":"1856:109:2","virtual":false,"visibility":"internal"},{"body":{"id":599,"nodeType":"Block","src":"2216:97:2","statements":[{"expression":{"id":590,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":588,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":548,"src":"2223:7:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":589,"name":"_factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":583,"src":"2233:8:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2223:18:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":591,"nodeType":"ExpressionStatement","src":"2223:18:2"},{"expression":{"id":594,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":592,"name":"pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":551,"src":"2248:13:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":593,"name":"_pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":585,"src":"2264:14:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2248:30:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":595,"nodeType":"ExpressionStatement","src":"2248:30:2"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":596,"name":"_disableInitializers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4315,"src":"2285:20:2","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":597,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2285:22:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":598,"nodeType":"ExpressionStatement","src":"2285:22:2"}]},"documentation":{"id":581,"nodeType":"StructuredDocumentation","src":"1971:187:2","text":"@notice Constructor sets immutable values that are shared across ALL proxies\n @param _factory The Algebra factory address\n @param _pluginFactory The plugin factory address"},"id":600,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":586,"nodeType":"ParameterList","parameters":[{"constant":false,"id":583,"mutability":"mutable","name":"_factory","nameLocation":"2182:8:2","nodeType":"VariableDeclaration","scope":600,"src":"2174:16:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":582,"name":"address","nodeType":"ElementaryTypeName","src":"2174:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":585,"mutability":"mutable","name":"_pluginFactory","nameLocation":"2200:14:2","nodeType":"VariableDeclaration","scope":600,"src":"2192:22:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":584,"name":"address","nodeType":"ElementaryTypeName","src":"2192:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2173:42:2"},"returnParameters":{"id":587,"nodeType":"ParameterList","parameters":[],"src":"2216:0:2"},"scope":1046,"src":"2162:151:2","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":612,"nodeType":"Block","src":"2503:25:2","statements":[{"expression":{"id":610,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":608,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":554,"src":"2510:4:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":609,"name":"_pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":603,"src":"2517:5:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2510:12:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":611,"nodeType":"ExpressionStatement","src":"2510:12:2"}]},"documentation":{"id":601,"nodeType":"StructuredDocumentation","src":"2319:97:2","text":"@notice Initialize proxy-specific storage\n @param _pool The pool address for this proxy"},"id":613,"implemented":true,"kind":"function","modifiers":[{"id":606,"kind":"modifierInvocation","modifierName":{"id":605,"name":"onlyInitializing","nameLocations":["2486:16:2"],"nodeType":"IdentifierPath","referencedDeclaration":4279,"src":"2486:16:2"},"nodeType":"ModifierInvocation","src":"2486:16:2"}],"name":"__UpgradeableAbstractPlugin_init","nameLocation":"2429:32:2","nodeType":"FunctionDefinition","parameters":{"id":604,"nodeType":"ParameterList","parameters":[{"constant":false,"id":603,"mutability":"mutable","name":"_pool","nameLocation":"2470:5:2","nodeType":"VariableDeclaration","scope":613,"src":"2462:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":602,"name":"address","nodeType":"ElementaryTypeName","src":"2462:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2461:15:2"},"returnParameters":{"id":607,"nodeType":"ParameterList","parameters":[],"src":"2503:0:2"},"scope":1046,"src":"2420:108:2","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":624,"nodeType":"Block","src":"2576:67:2","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":620,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":617,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2591:3:2","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":618,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2595:6:2","memberName":"sender","nodeType":"MemberAccess","src":"2591:10:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":619,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":554,"src":"2605:4:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2591:18:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f6e6c7920706f6f6c2063616e2063616c6c2074686973","id":621,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2611:25:2","typeDescriptions":{"typeIdentifier":"t_stringliteral_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb","typeString":"literal_string \"Only pool can call this\""},"value":"Only pool can call this"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb","typeString":"literal_string \"Only pool can call this\""}],"id":616,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2583:7:2","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":622,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2583:54:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":623,"nodeType":"ExpressionStatement","src":"2583:54:2"}]},"id":625,"implemented":true,"kind":"function","modifiers":[],"name":"_checkIfFromPool","nameLocation":"2543:16:2","nodeType":"FunctionDefinition","parameters":{"id":614,"nodeType":"ParameterList","parameters":[],"src":"2559:2:2"},"returnParameters":{"id":615,"nodeType":"ParameterList","parameters":[],"src":"2576:0:2"},"scope":1046,"src":"2534:109:2","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":640,"nodeType":"Block","src":"2693:124:2","statements":[{"expression":{"arguments":[{"arguments":[{"id":633,"name":"ALGEBRA_BASE_PLUGIN_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":545,"src":"2748:27:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":634,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2777:3:2","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":635,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2781:6:2","memberName":"sender","nodeType":"MemberAccess","src":"2777:10:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":630,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":548,"src":"2724:7:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":629,"name":"IAlgebraFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1355,"src":"2708:15:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraFactory_$1355_$","typeString":"type(contract IAlgebraFactory)"}},"id":631,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2708:24:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraFactory_$1355","typeString":"contract IAlgebraFactory"}},"id":632,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2733:14:2","memberName":"hasRoleOrOwner","nodeType":"MemberAccess","referencedDeclaration":1178,"src":"2708:39:2","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view external returns (bool)"}},"id":636,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2708:80:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f6e6c792061646d696e6973747261746f72","id":637,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2790:20:2","typeDescriptions":{"typeIdentifier":"t_stringliteral_f26111698be56a2a145fa37f584671865a43f970909e821a171559d343bab2e9","typeString":"literal_string \"Only administrator\""},"value":"Only administrator"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f26111698be56a2a145fa37f584671865a43f970909e821a171559d343bab2e9","typeString":"literal_string \"Only administrator\""}],"id":628,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2700:7:2","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":638,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2700:111:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":639,"nodeType":"ExpressionStatement","src":"2700:111:2"}]},"id":641,"implemented":true,"kind":"function","modifiers":[],"name":"_authorize","nameLocation":"2658:10:2","nodeType":"FunctionDefinition","parameters":{"id":626,"nodeType":"ParameterList","parameters":[],"src":"2668:2:2"},"returnParameters":{"id":627,"nodeType":"ParameterList","parameters":[],"src":"2693:0:2"},"scope":1046,"src":"2649:168:2","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[1070],"body":{"id":678,"nodeType":"Block","src":"2916:168:2","statements":[{"expression":{"id":655,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":648,"name":"moduleNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":646,"src":"2923:11:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":652,"name":"activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":561,"src":"2950:13:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"id":653,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2964:6:2","memberName":"length","nodeType":"MemberAccess","src":"2950:20:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":651,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2937:12:2","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (string memory[] memory)"},"typeName":{"baseType":{"id":649,"name":"string","nodeType":"ElementaryTypeName","src":"2941:6:2","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":650,"nodeType":"ArrayTypeName","src":"2941:8:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":654,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2937:34:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"2923:48:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":656,"nodeType":"ExpressionStatement","src":"2923:48:2"},{"body":{"id":676,"nodeType":"Block","src":"3029:50:2","statements":[{"expression":{"id":674,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":668,"name":"moduleNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":646,"src":"3038:11:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":670,"indexExpression":{"id":669,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":658,"src":"3050:1:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3038:14:2","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":671,"name":"activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":561,"src":"3055:13:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"id":673,"indexExpression":{"id":672,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":658,"src":"3069:1:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3055:16:2","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"src":"3038:33:2","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":675,"nodeType":"ExpressionStatement","src":"3038:33:2"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":664,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":661,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":658,"src":"2998:1:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":662,"name":"activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":561,"src":"3002:13:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"id":663,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3016:6:2","memberName":"length","nodeType":"MemberAccess","src":"3002:20:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2998:24:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":677,"initializationExpression":{"assignments":[658],"declarations":[{"constant":false,"id":658,"mutability":"mutable","name":"i","nameLocation":"2991:1:2","nodeType":"VariableDeclaration","scope":677,"src":"2983:9:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":657,"name":"uint256","nodeType":"ElementaryTypeName","src":"2983:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":660,"initialValue":{"hexValue":"30","id":659,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2995:1:2","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"2983:13:2"},"loopExpression":{"expression":{"id":666,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"3024:3:2","subExpression":{"id":665,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":658,"src":"3024:1:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":667,"nodeType":"ExpressionStatement","src":"3024:3:2"},"nodeType":"ForStatement","src":"2978:101:2"}]},"functionSelector":"b6f78cc9","id":679,"implemented":true,"kind":"function","modifiers":[],"name":"getActiveModuleNames","nameLocation":"2832:20:2","nodeType":"FunctionDefinition","overrides":{"id":643,"nodeType":"OverrideSpecifier","overrides":[],"src":"2869:8:2"},"parameters":{"id":642,"nodeType":"ParameterList","parameters":[],"src":"2852:2:2"},"returnParameters":{"id":647,"nodeType":"ParameterList","parameters":[{"constant":false,"id":646,"mutability":"mutable","name":"moduleNames","nameLocation":"2903:11:2","nodeType":"VariableDeclaration","scope":679,"src":"2887:27:2","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":644,"name":"string","nodeType":"ElementaryTypeName","src":"2887:6:2","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":645,"nodeType":"ArrayTypeName","src":"2887:8:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"2886:29:2"},"scope":1046,"src":"2823:261:2","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":702,"nodeType":"Block","src":"3197:89:2","statements":[{"expression":{"id":700,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":690,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":682,"src":"3205:5:2","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":691,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":684,"src":"3212:4:2","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":692,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":686,"src":"3218:3:2","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":693,"name":"pluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":688,"src":"3223:12:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},null,null],"id":694,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"3204:36:2","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$__$__$","typeString":"tuple(uint160,int24,uint16,uint8,,)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":696,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":554,"src":"3261:4:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":695,"name":"IAlgebraPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2205,"src":"3243:17:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolState_$2205_$","typeString":"type(contract IAlgebraPoolState)"}},"id":697,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3243:23:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPoolState_$2205","typeString":"contract IAlgebraPoolState"}},"id":698,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3267:11:2","memberName":"globalState","nodeType":"MemberAccess","referencedDeclaration":2064,"src":"3243:35:2","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$_t_uint16_$_t_bool_$","typeString":"function () view external returns (uint160,int24,uint16,uint8,uint16,bool)"}},"id":699,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3243:37:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$_t_uint16_$_t_bool_$","typeString":"tuple(uint160,int24,uint16,uint8,uint16,bool)"}},"src":"3204:76:2","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":701,"nodeType":"ExpressionStatement","src":"3204:76:2"}]},"id":703,"implemented":true,"kind":"function","modifiers":[],"name":"_getPoolState","nameLocation":"3099:13:2","nodeType":"FunctionDefinition","parameters":{"id":680,"nodeType":"ParameterList","parameters":[],"src":"3112:2:2"},"returnParameters":{"id":689,"nodeType":"ParameterList","parameters":[{"constant":false,"id":682,"mutability":"mutable","name":"price","nameLocation":"3146:5:2","nodeType":"VariableDeclaration","scope":703,"src":"3138:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":681,"name":"uint160","nodeType":"ElementaryTypeName","src":"3138:7:2","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":684,"mutability":"mutable","name":"tick","nameLocation":"3159:4:2","nodeType":"VariableDeclaration","scope":703,"src":"3153:10:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":683,"name":"int24","nodeType":"ElementaryTypeName","src":"3153:5:2","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":686,"mutability":"mutable","name":"fee","nameLocation":"3172:3:2","nodeType":"VariableDeclaration","scope":703,"src":"3165:10:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":685,"name":"uint16","nodeType":"ElementaryTypeName","src":"3165:6:2","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":688,"mutability":"mutable","name":"pluginConfig","nameLocation":"3183:12:2","nodeType":"VariableDeclaration","scope":703,"src":"3177:18:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":687,"name":"uint8","nodeType":"ElementaryTypeName","src":"3177:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"3137:59:2"},"scope":1046,"src":"3090:196:2","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":714,"nodeType":"Block","src":"3359:47:2","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":709,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":554,"src":"3386:4:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":708,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1377,"src":"3373:12:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$1377_$","typeString":"type(contract IAlgebraPool)"}},"id":710,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3373:18:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$1377","typeString":"contract IAlgebraPool"}},"id":711,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3392:6:2","memberName":"plugin","nodeType":"MemberAccess","referencedDeclaration":2110,"src":"3373:25:2","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_address_$","typeString":"function () view external returns (address)"}},"id":712,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3373:27:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":707,"id":713,"nodeType":"Return","src":"3366:34:2"}]},"id":715,"implemented":true,"kind":"function","modifiers":[],"name":"_getPluginInPool","nameLocation":"3301:16:2","nodeType":"FunctionDefinition","parameters":{"id":704,"nodeType":"ParameterList","parameters":[],"src":"3317:2:2"},"returnParameters":{"id":707,"nodeType":"ParameterList","parameters":[{"constant":false,"id":706,"mutability":"mutable","name":"plugin","nameLocation":"3351:6:2","nodeType":"VariableDeclaration","scope":715,"src":"3343:14:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":705,"name":"address","nodeType":"ElementaryTypeName","src":"3343:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3342:16:2"},"scope":1046,"src":"3292:114:2","stateMutability":"view","virtual":false,"visibility":"internal"},{"baseFunctions":[1063],"body":{"id":737,"nodeType":"Block","src":"3549:83:2","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":726,"name":"_authorize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":641,"src":"3556:10:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":727,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3556:12:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":728,"nodeType":"ExpressionStatement","src":"3556:12:2"},{"expression":{"arguments":[{"id":732,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":718,"src":"3601:5:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":733,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":722,"src":"3608:9:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":734,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":720,"src":"3619:6:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":729,"name":"SafeTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2885,"src":"3575:12:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeTransfer_$2885_$","typeString":"type(library SafeTransfer)"}},"id":731,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3588:12:2","memberName":"safeTransfer","nodeType":"MemberAccess","referencedDeclaration":2884,"src":"3575:25:2","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":735,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3575:51:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":736,"nodeType":"ExpressionStatement","src":"3575:51:2"}]},"documentation":{"id":716,"nodeType":"StructuredDocumentation","src":"3412:31:2","text":"@inheritdoc IAbstractPlugin"},"functionSelector":"e72c652d","id":738,"implemented":true,"kind":"function","modifiers":[],"name":"collectPluginFee","nameLocation":"3456:16:2","nodeType":"FunctionDefinition","overrides":{"id":724,"nodeType":"OverrideSpecifier","overrides":[],"src":"3540:8:2"},"parameters":{"id":723,"nodeType":"ParameterList","parameters":[{"constant":false,"id":718,"mutability":"mutable","name":"token","nameLocation":"3481:5:2","nodeType":"VariableDeclaration","scope":738,"src":"3473:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":717,"name":"address","nodeType":"ElementaryTypeName","src":"3473:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":720,"mutability":"mutable","name":"amount","nameLocation":"3496:6:2","nodeType":"VariableDeclaration","scope":738,"src":"3488:14:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":719,"name":"uint256","nodeType":"ElementaryTypeName","src":"3488:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":722,"mutability":"mutable","name":"recipient","nameLocation":"3512:9:2","nodeType":"VariableDeclaration","scope":738,"src":"3504:17:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":721,"name":"address","nodeType":"ElementaryTypeName","src":"3504:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3472:50:2"},"returnParameters":{"id":725,"nodeType":"ParameterList","parameters":[],"src":"3549:0:2"},"scope":1046,"src":"3447:185:2","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1396],"body":{"id":755,"nodeType":"Block","src":"3772:59:2","statements":[{"expression":{"expression":{"expression":{"id":751,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"3786:14:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":752,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3801:15:2","memberName":"handlePluginFee","nodeType":"MemberAccess","referencedDeclaration":1396,"src":"3786:30:2","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_uint256_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.handlePluginFee(uint256,uint256) returns (bytes4)"}},"id":753,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3817:8:2","memberName":"selector","nodeType":"MemberAccess","src":"3786:39:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":750,"id":754,"nodeType":"Return","src":"3779:46:2"}]},"documentation":{"id":739,"nodeType":"StructuredDocumentation","src":"3638:30:2","text":"@inheritdoc IAlgebraPlugin"},"functionSelector":"aa6b14bb","id":756,"implemented":true,"kind":"function","modifiers":[{"id":747,"kind":"modifierInvocation","modifierName":{"id":746,"name":"onlyPool","nameLocations":["3746:8:2"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"3746:8:2"},"nodeType":"ModifierInvocation","src":"3746:8:2"}],"name":"handlePluginFee","nameLocation":"3681:15:2","nodeType":"FunctionDefinition","overrides":{"id":745,"nodeType":"OverrideSpecifier","overrides":[],"src":"3737:8:2"},"parameters":{"id":744,"nodeType":"ParameterList","parameters":[{"constant":false,"id":741,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":756,"src":"3697:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":740,"name":"uint256","nodeType":"ElementaryTypeName","src":"3697:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":743,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":756,"src":"3706:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":742,"name":"uint256","nodeType":"ElementaryTypeName","src":"3706:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3696:18:2"},"returnParameters":{"id":750,"nodeType":"ParameterList","parameters":[{"constant":false,"id":749,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":756,"src":"3764:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":748,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3764:6:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"3763:8:2"},"scope":1046,"src":"3672:159:2","stateMutability":"view","virtual":true,"visibility":"external"},{"baseFunctions":[1406],"body":{"id":772,"nodeType":"Block","src":"3961:60:2","statements":[{"expression":{"expression":{"expression":{"id":768,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"3975:14:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":769,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3990:16:2","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":1406,"src":"3975:31:2","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint160_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.beforeInitialize(address,uint160) returns (bytes4)"}},"id":770,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4007:8:2","memberName":"selector","nodeType":"MemberAccess","src":"3975:40:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":767,"id":771,"nodeType":"Return","src":"3968:47:2"}]},"functionSelector":"636fd804","id":773,"implemented":true,"kind":"function","modifiers":[{"id":764,"kind":"modifierInvocation","modifierName":{"id":763,"name":"onlyPool","nameLocations":["3935:8:2"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"3935:8:2"},"nodeType":"ModifierInvocation","src":"3935:8:2"}],"name":"beforeInitialize","nameLocation":"3874:16:2","nodeType":"FunctionDefinition","overrides":{"id":762,"nodeType":"OverrideSpecifier","overrides":[],"src":"3926:8:2"},"parameters":{"id":761,"nodeType":"ParameterList","parameters":[{"constant":false,"id":758,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":773,"src":"3891:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":757,"name":"address","nodeType":"ElementaryTypeName","src":"3891:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":760,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":773,"src":"3900:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":759,"name":"uint160","nodeType":"ElementaryTypeName","src":"3900:7:2","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"3890:18:2"},"returnParameters":{"id":767,"nodeType":"ParameterList","parameters":[{"constant":false,"id":766,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":773,"src":"3953:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":765,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3953:6:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"3952:8:2"},"scope":1046,"src":"3865:156:2","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1418],"body":{"id":791,"nodeType":"Block","src":"4129:59:2","statements":[{"expression":{"expression":{"expression":{"id":787,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"4143:14:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":788,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4158:15:2","memberName":"afterInitialize","nodeType":"MemberAccess","referencedDeclaration":1418,"src":"4143:30:2","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint160_$_t_int24_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.afterInitialize(address,uint160,int24) returns (bytes4)"}},"id":789,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4174:8:2","memberName":"selector","nodeType":"MemberAccess","src":"4143:39:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":786,"id":790,"nodeType":"Return","src":"4136:46:2"}]},"functionSelector":"82dd6522","id":792,"implemented":true,"kind":"function","modifiers":[{"id":783,"kind":"modifierInvocation","modifierName":{"id":782,"name":"onlyPool","nameLocations":["4103:8:2"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"4103:8:2"},"nodeType":"ModifierInvocation","src":"4103:8:2"}],"name":"afterInitialize","nameLocation":"4036:15:2","nodeType":"FunctionDefinition","overrides":{"id":781,"nodeType":"OverrideSpecifier","overrides":[],"src":"4094:8:2"},"parameters":{"id":780,"nodeType":"ParameterList","parameters":[{"constant":false,"id":775,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":792,"src":"4052:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":774,"name":"address","nodeType":"ElementaryTypeName","src":"4052:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":777,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":792,"src":"4061:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":776,"name":"uint160","nodeType":"ElementaryTypeName","src":"4061:7:2","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":779,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":792,"src":"4070:5:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":778,"name":"int24","nodeType":"ElementaryTypeName","src":"4070:5:2","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"4051:25:2"},"returnParameters":{"id":786,"nodeType":"ParameterList","parameters":[{"constant":false,"id":785,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":792,"src":"4121:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":784,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4121:6:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"4120:8:2"},"scope":1046,"src":"4027:161:2","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1438],"body":{"id":820,"nodeType":"Block","src":"4340:69:2","statements":[{"expression":{"components":[{"expression":{"expression":{"id":814,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"4355:14:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":815,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4370:20:2","memberName":"beforeModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1438,"src":"4355:35:2","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_int24_$_t_int24_$_t_int128_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_uint24_$","typeString":"function IAlgebraPlugin.beforeModifyPosition(address,address,int24,int24,int128,bytes calldata) returns (bytes4,uint24)"}},"id":816,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4391:8:2","memberName":"selector","nodeType":"MemberAccess","src":"4355:44:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"hexValue":"30","id":817,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4401:1:2","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":818,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"4354:49:2","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_rational_0_by_1_$","typeString":"tuple(bytes4,int_const 0)"}},"functionReturnParameters":813,"id":819,"nodeType":"Return","src":"4347:56:2"}]},"functionSelector":"5e2411b2","id":821,"implemented":true,"kind":"function","modifiers":[{"id":808,"kind":"modifierInvocation","modifierName":{"id":807,"name":"onlyPool","nameLocations":["4306:8:2"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"4306:8:2"},"nodeType":"ModifierInvocation","src":"4306:8:2"}],"name":"beforeModifyPosition","nameLocation":"4203:20:2","nodeType":"FunctionDefinition","overrides":{"id":806,"nodeType":"OverrideSpecifier","overrides":[],"src":"4297:8:2"},"parameters":{"id":805,"nodeType":"ParameterList","parameters":[{"constant":false,"id":794,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":821,"src":"4224:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":793,"name":"address","nodeType":"ElementaryTypeName","src":"4224:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":796,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":821,"src":"4233:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":795,"name":"address","nodeType":"ElementaryTypeName","src":"4233:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":798,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":821,"src":"4242:5:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":797,"name":"int24","nodeType":"ElementaryTypeName","src":"4242:5:2","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":800,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":821,"src":"4249:5:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":799,"name":"int24","nodeType":"ElementaryTypeName","src":"4249:5:2","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":802,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":821,"src":"4256:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":801,"name":"int128","nodeType":"ElementaryTypeName","src":"4256:6:2","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":804,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":821,"src":"4264:14:2","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":803,"name":"bytes","nodeType":"ElementaryTypeName","src":"4264:5:2","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4223:56:2"},"returnParameters":{"id":813,"nodeType":"ParameterList","parameters":[{"constant":false,"id":810,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":821,"src":"4324:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":809,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4324:6:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":812,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":821,"src":"4332:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":811,"name":"uint24","nodeType":"ElementaryTypeName","src":"4332:6:2","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"4323:16:2"},"scope":1046,"src":"4194:215:2","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1460],"body":{"id":849,"nodeType":"Block","src":"4615:63:2","statements":[{"expression":{"expression":{"expression":{"id":845,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"4629:14:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":846,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4644:19:2","memberName":"afterModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1460,"src":"4629:34:2","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_int24_$_t_int24_$_t_int128_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes calldata) returns (bytes4)"}},"id":847,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4664:8:2","memberName":"selector","nodeType":"MemberAccess","src":"4629:43:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":844,"id":848,"nodeType":"Return","src":"4622:50:2"}]},"functionSelector":"d6852010","id":850,"implemented":true,"kind":"function","modifiers":[{"id":841,"kind":"modifierInvocation","modifierName":{"id":840,"name":"onlyPool","nameLocations":["4589:8:2"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"4589:8:2"},"nodeType":"ModifierInvocation","src":"4589:8:2"}],"name":"afterModifyPosition","nameLocation":"4424:19:2","nodeType":"FunctionDefinition","overrides":{"id":839,"nodeType":"OverrideSpecifier","overrides":[],"src":"4580:8:2"},"parameters":{"id":838,"nodeType":"ParameterList","parameters":[{"constant":false,"id":823,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":850,"src":"4450:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":822,"name":"address","nodeType":"ElementaryTypeName","src":"4450:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":825,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":850,"src":"4464:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":824,"name":"address","nodeType":"ElementaryTypeName","src":"4464:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":827,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":850,"src":"4478:5:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":826,"name":"int24","nodeType":"ElementaryTypeName","src":"4478:5:2","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":829,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":850,"src":"4490:5:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":828,"name":"int24","nodeType":"ElementaryTypeName","src":"4490:5:2","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":831,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":850,"src":"4502:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":830,"name":"int128","nodeType":"ElementaryTypeName","src":"4502:6:2","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":833,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":850,"src":"4515:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":832,"name":"uint256","nodeType":"ElementaryTypeName","src":"4515:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":835,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":850,"src":"4529:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":834,"name":"uint256","nodeType":"ElementaryTypeName","src":"4529:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":837,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":850,"src":"4543:14:2","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":836,"name":"bytes","nodeType":"ElementaryTypeName","src":"4543:5:2","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4443:119:2"},"returnParameters":{"id":844,"nodeType":"ParameterList","parameters":[{"constant":false,"id":843,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":850,"src":"4607:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":842,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4607:6:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"4606:8:2"},"scope":1046,"src":"4415:263:2","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1484],"body":{"id":883,"nodeType":"Block","src":"4875:62:2","statements":[{"expression":{"components":[{"expression":{"expression":{"id":876,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"4890:14:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":877,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4905:10:2","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":1484,"src":"4890:25:2","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_bool_$_t_int256_$_t_uint160_$_t_bool_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_uint24_$_t_uint24_$","typeString":"function IAlgebraPlugin.beforeSwap(address,address,bool,int256,uint160,bool,bytes calldata) returns (bytes4,uint24,uint24)"}},"id":878,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4916:8:2","memberName":"selector","nodeType":"MemberAccess","src":"4890:34:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"hexValue":"30","id":879,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4926:1:2","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":880,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4929:1:2","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":881,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"4889:42:2","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_rational_0_by_1_$_t_rational_0_by_1_$","typeString":"tuple(bytes4,int_const 0,int_const 0)"}},"functionReturnParameters":875,"id":882,"nodeType":"Return","src":"4882:49:2"}]},"functionSelector":"029c1cb7","id":884,"implemented":true,"kind":"function","modifiers":[{"id":868,"kind":"modifierInvocation","modifierName":{"id":867,"name":"onlyPool","nameLocations":["4833:8:2"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"4833:8:2"},"nodeType":"ModifierInvocation","src":"4833:8:2"}],"name":"beforeSwap","nameLocation":"4693:10:2","nodeType":"FunctionDefinition","overrides":{"id":866,"nodeType":"OverrideSpecifier","overrides":[],"src":"4824:8:2"},"parameters":{"id":865,"nodeType":"ParameterList","parameters":[{"constant":false,"id":852,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4710:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":851,"name":"address","nodeType":"ElementaryTypeName","src":"4710:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":854,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4724:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":853,"name":"address","nodeType":"ElementaryTypeName","src":"4724:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":856,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4738:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":855,"name":"bool","nodeType":"ElementaryTypeName","src":"4738:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":858,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4749:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":857,"name":"int256","nodeType":"ElementaryTypeName","src":"4749:6:2","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":860,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4762:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":859,"name":"uint160","nodeType":"ElementaryTypeName","src":"4762:7:2","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":862,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4776:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":861,"name":"bool","nodeType":"ElementaryTypeName","src":"4776:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":864,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4787:14:2","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":863,"name":"bytes","nodeType":"ElementaryTypeName","src":"4787:5:2","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4703:103:2"},"returnParameters":{"id":875,"nodeType":"ParameterList","parameters":[{"constant":false,"id":870,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4851:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":869,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4851:6:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":872,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4859:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":871,"name":"uint24","nodeType":"ElementaryTypeName","src":"4859:6:2","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":874,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":884,"src":"4867:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":873,"name":"uint24","nodeType":"ElementaryTypeName","src":"4867:6:2","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"4850:24:2"},"scope":1046,"src":"4684:253:2","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1506],"body":{"id":912,"nodeType":"Block","src":"5087:53:2","statements":[{"expression":{"expression":{"expression":{"id":908,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"5101:14:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":909,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5116:9:2","memberName":"afterSwap","nodeType":"MemberAccess","referencedDeclaration":1506,"src":"5101:24:2","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_bool_$_t_int256_$_t_uint160_$_t_int256_$_t_int256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.afterSwap(address,address,bool,int256,uint160,int256,int256,bytes calldata) returns (bytes4)"}},"id":910,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5126:8:2","memberName":"selector","nodeType":"MemberAccess","src":"5101:33:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":907,"id":911,"nodeType":"Return","src":"5094:40:2"}]},"functionSelector":"9cb5a963","id":913,"implemented":true,"kind":"function","modifiers":[{"id":904,"kind":"modifierInvocation","modifierName":{"id":903,"name":"onlyPool","nameLocations":["5061:8:2"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"5061:8:2"},"nodeType":"ModifierInvocation","src":"5061:8:2"}],"name":"afterSwap","nameLocation":"4952:9:2","nodeType":"FunctionDefinition","overrides":{"id":902,"nodeType":"OverrideSpecifier","overrides":[],"src":"5052:8:2"},"parameters":{"id":901,"nodeType":"ParameterList","parameters":[{"constant":false,"id":886,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":913,"src":"4962:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":885,"name":"address","nodeType":"ElementaryTypeName","src":"4962:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":888,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":913,"src":"4971:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":887,"name":"address","nodeType":"ElementaryTypeName","src":"4971:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":890,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":913,"src":"4980:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":889,"name":"bool","nodeType":"ElementaryTypeName","src":"4980:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":892,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":913,"src":"4986:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":891,"name":"int256","nodeType":"ElementaryTypeName","src":"4986:6:2","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":894,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":913,"src":"4994:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":893,"name":"uint160","nodeType":"ElementaryTypeName","src":"4994:7:2","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":896,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":913,"src":"5003:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":895,"name":"int256","nodeType":"ElementaryTypeName","src":"5003:6:2","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":898,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":913,"src":"5011:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":897,"name":"int256","nodeType":"ElementaryTypeName","src":"5011:6:2","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":900,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":913,"src":"5019:14:2","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":899,"name":"bytes","nodeType":"ElementaryTypeName","src":"5019:5:2","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4961:73:2"},"returnParameters":{"id":907,"nodeType":"ParameterList","parameters":[{"constant":false,"id":906,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":913,"src":"5079:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":905,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5079:6:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"5078:8:2"},"scope":1046,"src":"4943:197:2","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1522],"body":{"id":935,"nodeType":"Block","src":"5271:55:2","statements":[{"expression":{"expression":{"expression":{"id":931,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"5285:14:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":932,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5300:11:2","memberName":"beforeFlash","nodeType":"MemberAccess","referencedDeclaration":1522,"src":"5285:26:2","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.beforeFlash(address,address,uint256,uint256,bytes calldata) returns (bytes4)"}},"id":933,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5312:8:2","memberName":"selector","nodeType":"MemberAccess","src":"5285:35:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":930,"id":934,"nodeType":"Return","src":"5278:42:2"}]},"functionSelector":"8de0a8ee","id":936,"implemented":true,"kind":"function","modifiers":[{"id":927,"kind":"modifierInvocation","modifierName":{"id":926,"name":"onlyPool","nameLocations":["5245:8:2"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"5245:8:2"},"nodeType":"ModifierInvocation","src":"5245:8:2"}],"name":"beforeFlash","nameLocation":"5155:11:2","nodeType":"FunctionDefinition","overrides":{"id":925,"nodeType":"OverrideSpecifier","overrides":[],"src":"5236:8:2"},"parameters":{"id":924,"nodeType":"ParameterList","parameters":[{"constant":false,"id":915,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":936,"src":"5167:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":914,"name":"address","nodeType":"ElementaryTypeName","src":"5167:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":917,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":936,"src":"5176:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":916,"name":"address","nodeType":"ElementaryTypeName","src":"5176:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":919,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":936,"src":"5185:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":918,"name":"uint256","nodeType":"ElementaryTypeName","src":"5185:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":921,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":936,"src":"5194:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":920,"name":"uint256","nodeType":"ElementaryTypeName","src":"5194:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":923,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":936,"src":"5203:14:2","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":922,"name":"bytes","nodeType":"ElementaryTypeName","src":"5203:5:2","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5166:52:2"},"returnParameters":{"id":930,"nodeType":"ParameterList","parameters":[{"constant":false,"id":929,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":936,"src":"5263:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":928,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5263:6:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"5262:8:2"},"scope":1046,"src":"5146:180:2","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1542],"body":{"id":962,"nodeType":"Block","src":"5474:54:2","statements":[{"expression":{"expression":{"expression":{"id":958,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"5488:14:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":959,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5503:10:2","memberName":"afterFlash","nodeType":"MemberAccess","referencedDeclaration":1542,"src":"5488:25:2","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.afterFlash(address,address,uint256,uint256,uint256,uint256,bytes calldata) returns (bytes4)"}},"id":960,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5514:8:2","memberName":"selector","nodeType":"MemberAccess","src":"5488:34:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":957,"id":961,"nodeType":"Return","src":"5481:41:2"}]},"functionSelector":"343d37ff","id":963,"implemented":true,"kind":"function","modifiers":[{"id":954,"kind":"modifierInvocation","modifierName":{"id":953,"name":"onlyPool","nameLocations":["5448:8:2"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"5448:8:2"},"nodeType":"ModifierInvocation","src":"5448:8:2"}],"name":"afterFlash","nameLocation":"5341:10:2","nodeType":"FunctionDefinition","overrides":{"id":952,"nodeType":"OverrideSpecifier","overrides":[],"src":"5439:8:2"},"parameters":{"id":951,"nodeType":"ParameterList","parameters":[{"constant":false,"id":938,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":963,"src":"5352:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":937,"name":"address","nodeType":"ElementaryTypeName","src":"5352:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":940,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":963,"src":"5361:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":939,"name":"address","nodeType":"ElementaryTypeName","src":"5361:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":942,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":963,"src":"5370:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":941,"name":"uint256","nodeType":"ElementaryTypeName","src":"5370:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":944,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":963,"src":"5379:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":943,"name":"uint256","nodeType":"ElementaryTypeName","src":"5379:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":946,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":963,"src":"5388:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":945,"name":"uint256","nodeType":"ElementaryTypeName","src":"5388:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":948,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":963,"src":"5397:7:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":947,"name":"uint256","nodeType":"ElementaryTypeName","src":"5397:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":950,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":963,"src":"5406:14:2","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":949,"name":"bytes","nodeType":"ElementaryTypeName","src":"5406:5:2","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5351:70:2"},"returnParameters":{"id":957,"nodeType":"ParameterList","parameters":[{"constant":false,"id":956,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":963,"src":"5466:6:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":955,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5466:6:2","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"5465:8:2"},"scope":1046,"src":"5332:196:2","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"body":{"id":985,"nodeType":"Block","src":"5601:182:2","statements":[{"assignments":[null,null,null,969],"declarations":[null,null,null,{"constant":false,"id":969,"mutability":"mutable","name":"currentPluginConfig","nameLocation":"5621:19:2","nodeType":"VariableDeclaration","scope":985,"src":"5615:25:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":968,"name":"uint8","nodeType":"ElementaryTypeName","src":"5615:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":972,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":970,"name":"_getPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":703,"src":"5644:13:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"function () view returns (uint160,int24,uint16,uint8)"}},"id":971,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5644:15:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"tuple(uint160,int24,uint16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"5608:51:2"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":975,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":973,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":969,"src":"5670:19:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":974,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":965,"src":"5693:15:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"5670:38:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":984,"nodeType":"IfStatement","src":"5666:112:2","trueBody":{"id":983,"nodeType":"Block","src":"5710:68:2","statements":[{"expression":{"arguments":[{"id":980,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":965,"src":"5754:15:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"arguments":[{"id":977,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":554,"src":"5732:4:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":976,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1377,"src":"5719:12:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$1377_$","typeString":"type(contract IAlgebraPool)"}},"id":978,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5719:18:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$1377","typeString":"contract IAlgebraPool"}},"id":979,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5738:15:2","memberName":"setPluginConfig","nodeType":"MemberAccess","referencedDeclaration":2000,"src":"5719:34:2","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8) external"}},"id":981,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5719:51:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":982,"nodeType":"ExpressionStatement","src":"5719:51:2"}]}}]},"id":986,"implemented":true,"kind":"function","modifiers":[],"name":"_updatePluginConfigInPool","nameLocation":"5543:25:2","nodeType":"FunctionDefinition","parameters":{"id":966,"nodeType":"ParameterList","parameters":[{"constant":false,"id":965,"mutability":"mutable","name":"newPluginConfig","nameLocation":"5575:15:2","nodeType":"VariableDeclaration","scope":986,"src":"5569:21:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":964,"name":"uint8","nodeType":"ElementaryTypeName","src":"5569:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"5568:23:2"},"returnParameters":{"id":967,"nodeType":"ParameterList","parameters":[],"src":"5601:0:2"},"scope":1046,"src":"5534:249:2","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1015,"nodeType":"Block","src":"5841:242:2","statements":[{"assignments":[null,null,null,992],"declarations":[null,null,null,{"constant":false,"id":992,"mutability":"mutable","name":"currentPluginConfig","nameLocation":"5861:19:2","nodeType":"VariableDeclaration","scope":1015,"src":"5855:25:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":991,"name":"uint8","nodeType":"ElementaryTypeName","src":"5855:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":995,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":993,"name":"_getPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":703,"src":"5884:13:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"function () view returns (uint160,int24,uint16,uint8)"}},"id":994,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5884:15:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"tuple(uint160,int24,uint16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"5848:51:2"},{"assignments":[997],"declarations":[{"constant":false,"id":997,"mutability":"mutable","name":"newPluginConfig","nameLocation":"5912:15:2","nodeType":"VariableDeclaration","scope":1015,"src":"5906:21:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":996,"name":"uint8","nodeType":"ElementaryTypeName","src":"5906:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":1002,"initialValue":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":1001,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":998,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":992,"src":"5930:19:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":1000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"~","prefix":true,"src":"5952:7:2","subExpression":{"id":999,"name":"config","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":988,"src":"5953:6:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"5930:29:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"5906:53:2"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":1005,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1003,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":992,"src":"5970:19:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1004,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":997,"src":"5993:15:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"5970:38:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1014,"nodeType":"IfStatement","src":"5966:112:2","trueBody":{"id":1013,"nodeType":"Block","src":"6010:68:2","statements":[{"expression":{"arguments":[{"id":1010,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":997,"src":"6054:15:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"arguments":[{"id":1007,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":554,"src":"6032:4:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1006,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1377,"src":"6019:12:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$1377_$","typeString":"type(contract IAlgebraPool)"}},"id":1008,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6019:18:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$1377","typeString":"contract IAlgebraPool"}},"id":1009,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6038:15:2","memberName":"setPluginConfig","nodeType":"MemberAccess","referencedDeclaration":2000,"src":"6019:34:2","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8) external"}},"id":1011,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6019:51:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1012,"nodeType":"ExpressionStatement","src":"6019:51:2"}]}}]},"id":1016,"implemented":true,"kind":"function","modifiers":[],"name":"_disablePluginFlags","nameLocation":"5798:19:2","nodeType":"FunctionDefinition","parameters":{"id":989,"nodeType":"ParameterList","parameters":[{"constant":false,"id":988,"mutability":"mutable","name":"config","nameLocation":"5824:6:2","nodeType":"VariableDeclaration","scope":1016,"src":"5818:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":987,"name":"uint8","nodeType":"ElementaryTypeName","src":"5818:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"5817:14:2"},"returnParameters":{"id":990,"nodeType":"ParameterList","parameters":[],"src":"5841:0:2"},"scope":1046,"src":"5789:294:2","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1044,"nodeType":"Block","src":"6140:241:2","statements":[{"assignments":[null,null,null,1022],"declarations":[null,null,null,{"constant":false,"id":1022,"mutability":"mutable","name":"currentPluginConfig","nameLocation":"6160:19:2","nodeType":"VariableDeclaration","scope":1044,"src":"6154:25:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1021,"name":"uint8","nodeType":"ElementaryTypeName","src":"6154:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":1025,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":1023,"name":"_getPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":703,"src":"6183:13:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"function () view returns (uint160,int24,uint16,uint8)"}},"id":1024,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6183:15:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"tuple(uint160,int24,uint16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"6147:51:2"},{"assignments":[1027],"declarations":[{"constant":false,"id":1027,"mutability":"mutable","name":"newPluginConfig","nameLocation":"6211:15:2","nodeType":"VariableDeclaration","scope":1044,"src":"6205:21:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1026,"name":"uint8","nodeType":"ElementaryTypeName","src":"6205:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":1031,"initialValue":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":1030,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1028,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1022,"src":"6229:19:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"id":1029,"name":"config","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1018,"src":"6251:6:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6229:28:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"6205:52:2"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":1034,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1032,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1022,"src":"6268:19:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1033,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1027,"src":"6291:15:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6268:38:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1043,"nodeType":"IfStatement","src":"6264:112:2","trueBody":{"id":1042,"nodeType":"Block","src":"6308:68:2","statements":[{"expression":{"arguments":[{"id":1039,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1027,"src":"6352:15:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"arguments":[{"id":1036,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":554,"src":"6330:4:2","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1035,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1377,"src":"6317:12:2","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$1377_$","typeString":"type(contract IAlgebraPool)"}},"id":1037,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6317:18:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$1377","typeString":"contract IAlgebraPool"}},"id":1038,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6336:15:2","memberName":"setPluginConfig","nodeType":"MemberAccess","referencedDeclaration":2000,"src":"6317:34:2","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8) external"}},"id":1040,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6317:51:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1041,"nodeType":"ExpressionStatement","src":"6317:51:2"}]}}]},"id":1045,"implemented":true,"kind":"function","modifiers":[],"name":"_enablePluginFlags","nameLocation":"6098:18:2","nodeType":"FunctionDefinition","parameters":{"id":1019,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1018,"mutability":"mutable","name":"config","nameLocation":"6123:6:2","nodeType":"VariableDeclaration","scope":1045,"src":"6117:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1017,"name":"uint8","nodeType":"ElementaryTypeName","src":"6117:5:2","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"6116:14:2"},"returnParameters":{"id":1020,"nodeType":"ParameterList","parameters":[],"src":"6140:0:2"},"scope":1046,"src":"6089:292:2","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":1047,"src":"1000:5384:2","usedErrors":[1786],"usedEvents":[4180]}],"src":"38:6348:2"},"id":2},"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol":{"ast":{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol","exportedSymbols":{"IAbstractPlugin":[1071],"IAlgebraPlugin":[1543]},"id":1072,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1048,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"46:24:3"},{"id":1049,"literals":["abicoder","v2"],"nodeType":"PragmaDirective","src":"72:19:3"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","id":1050,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1072,"sourceUnit":1544,"src":"95:85:3","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":1052,"name":"IAlgebraPlugin","nameLocations":["258:14:3"],"nodeType":"IdentifierPath","referencedDeclaration":1543,"src":"258:14:3"},"id":1053,"nodeType":"InheritanceSpecifier","src":"258:14:3"}],"canonicalName":"IAbstractPlugin","contractDependencies":[],"contractKind":"interface","documentation":{"id":1051,"nodeType":"StructuredDocumentation","src":"184:45:3","text":"@title The interface for the BasePlugin"},"fullyImplemented":false,"id":1071,"linearizedBaseContracts":[1071,1543],"name":"IAbstractPlugin","nameLocation":"239:15:3","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1054,"nodeType":"StructuredDocumentation","src":"278:146:3","text":"@notice Claim plugin fee\n @param token The token address\n @param amount Amount of tokens\n @param recipient Recipient address"},"functionSelector":"e72c652d","id":1063,"implemented":false,"kind":"function","modifiers":[],"name":"collectPluginFee","nameLocation":"437:16:3","nodeType":"FunctionDefinition","parameters":{"id":1061,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1056,"mutability":"mutable","name":"token","nameLocation":"462:5:3","nodeType":"VariableDeclaration","scope":1063,"src":"454:13:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1055,"name":"address","nodeType":"ElementaryTypeName","src":"454:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1058,"mutability":"mutable","name":"amount","nameLocation":"477:6:3","nodeType":"VariableDeclaration","scope":1063,"src":"469:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1057,"name":"uint256","nodeType":"ElementaryTypeName","src":"469:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1060,"mutability":"mutable","name":"recipient","nameLocation":"493:9:3","nodeType":"VariableDeclaration","scope":1063,"src":"485:17:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1059,"name":"address","nodeType":"ElementaryTypeName","src":"485:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"453:50:3"},"returnParameters":{"id":1062,"nodeType":"ParameterList","parameters":[],"src":"512:0:3"},"scope":1071,"src":"428:85:3","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1064,"nodeType":"StructuredDocumentation","src":"519:95:3","text":"@notice Get all active module names\n @return moduleNames Array of active module names"},"functionSelector":"b6f78cc9","id":1070,"implemented":false,"kind":"function","modifiers":[],"name":"getActiveModuleNames","nameLocation":"627:20:3","nodeType":"FunctionDefinition","parameters":{"id":1065,"nodeType":"ParameterList","parameters":[],"src":"647:2:3"},"returnParameters":{"id":1069,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1068,"mutability":"mutable","name":"moduleNames","nameLocation":"689:11:3","nodeType":"VariableDeclaration","scope":1070,"src":"673:27:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":1066,"name":"string","nodeType":"ElementaryTypeName","src":"673:6:3","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":1067,"nodeType":"ArrayTypeName","src":"673:8:3","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"672:29:3"},"scope":1071,"src":"618:84:3","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1072,"src":"229:476:3","usedErrors":[],"usedEvents":[]}],"src":"46:661:3"},"id":3},"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol","exportedSymbols":{"Timestamp":[1088]},"id":1089,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1073,"literals":["solidity",">=","0.8",".0","<","0.9",".0"],"nodeType":"PragmaDirective","src":"45:31:4"},{"abstract":true,"baseContracts":[],"canonicalName":"Timestamp","contractDependencies":[],"contractKind":"contract","documentation":{"id":1074,"nodeType":"StructuredDocumentation","src":"78:219:4","text":"@title Abstract contract with modified blockTimestamp functionality\n @notice Allows the pool and other contracts to get a timestamp truncated to 32 bits\n @dev Can be overridden in tests to make testing easier"},"fullyImplemented":true,"id":1088,"linearizedBaseContracts":[1088],"name":"Timestamp","nameLocation":"315:9:4","nodeType":"ContractDefinition","nodes":[{"body":{"id":1086,"nodeType":"Block","src":"507:66:4","statements":[{"expression":{"arguments":[{"expression":{"id":1082,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"527:5:4","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":1083,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"533:9:4","memberName":"timestamp","nodeType":"MemberAccess","src":"527:15:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1081,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"520:6:4","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":1080,"name":"uint32","nodeType":"ElementaryTypeName","src":"520:6:4","typeDescriptions":{}}},"id":1084,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"520:23:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"functionReturnParameters":1079,"id":1085,"nodeType":"Return","src":"513:30:4"}]},"documentation":{"id":1075,"nodeType":"StructuredDocumentation","src":"329:109:4","text":"@dev This function is created for testing by overriding it.\n @return A timestamp converted to uint32"},"id":1087,"implemented":true,"kind":"function","modifiers":[],"name":"_blockTimestamp","nameLocation":"450:15:4","nodeType":"FunctionDefinition","parameters":{"id":1076,"nodeType":"ParameterList","parameters":[],"src":"465:2:4"},"returnParameters":{"id":1079,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1078,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1087,"src":"499:6:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":1077,"name":"uint32","nodeType":"ElementaryTypeName","src":"499:6:4","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"498:8:4"},"scope":1088,"src":"441:132:4","stateMutability":"view","virtual":true,"visibility":"internal"}],"scope":1089,"src":"297:278:4","usedErrors":[],"usedEvents":[]}],"src":"45:531:4"},"id":4},"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","exportedSymbols":{"IAlgebraFactory":[1355],"IAlgebraPluginFactory":[1575],"IAlgebraVaultFactory":[2233]},"id":1356,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1090,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:5"},{"id":1091,"literals":["abicoder","v2"],"nodeType":"PragmaDirective","src":"70:19:5"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol","file":"./plugin/IAlgebraPluginFactory.sol","id":1092,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1356,"sourceUnit":1576,"src":"91:44:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol","file":"./vault/IAlgebraVaultFactory.sol","id":1093,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1356,"sourceUnit":2234,"src":"136:42:5","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraFactory","contractDependencies":[],"contractKind":"interface","documentation":{"id":1094,"nodeType":"StructuredDocumentation","src":"180:183:5","text":"@title The interface for the Algebra Factory\n @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces"},"fullyImplemented":false,"id":1355,"linearizedBaseContracts":[1355],"name":"IAlgebraFactory","nameLocation":"373:15:5","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":1095,"nodeType":"StructuredDocumentation","src":"393:207:5","text":"@notice Emitted when a process of ownership renounce is started\n @param timestamp The timestamp of event\n @param finishTimestamp The timestamp when ownership renounce will be possible to finish"},"eventSelector":"cd60f5d54996130c21c3f063279b39230bcbafc12f763a1ac1dfaec2e9b61d29","id":1101,"name":"RenounceOwnershipStart","nameLocation":"609:22:5","nodeType":"EventDefinition","parameters":{"id":1100,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1097,"indexed":false,"mutability":"mutable","name":"timestamp","nameLocation":"640:9:5","nodeType":"VariableDeclaration","scope":1101,"src":"632:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1096,"name":"uint256","nodeType":"ElementaryTypeName","src":"632:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1099,"indexed":false,"mutability":"mutable","name":"finishTimestamp","nameLocation":"659:15:5","nodeType":"VariableDeclaration","scope":1101,"src":"651:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1098,"name":"uint256","nodeType":"ElementaryTypeName","src":"651:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"631:44:5"},"src":"603:73:5"},{"anonymous":false,"documentation":{"id":1102,"nodeType":"StructuredDocumentation","src":"680:112:5","text":"@notice Emitted when a process of ownership renounce cancelled\n @param timestamp The timestamp of event"},"eventSelector":"a2492902a0a1d28dc73e6ab22e473239ef077bb7bc8174dc7dab9fc0818e7135","id":1106,"name":"RenounceOwnershipStop","nameLocation":"801:21:5","nodeType":"EventDefinition","parameters":{"id":1105,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1104,"indexed":false,"mutability":"mutable","name":"timestamp","nameLocation":"831:9:5","nodeType":"VariableDeclaration","scope":1106,"src":"823:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1103,"name":"uint256","nodeType":"ElementaryTypeName","src":"823:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"822:19:5"},"src":"795:47:5"},{"anonymous":false,"documentation":{"id":1107,"nodeType":"StructuredDocumentation","src":"846:128:5","text":"@notice Emitted when a process of ownership renounce finished\n @param timestamp The timestamp of ownership renouncement"},"eventSelector":"a24203c457ce43a097fa0c491fc9cf5e0a893af87a5e0a9785f29491deb11e23","id":1111,"name":"RenounceOwnershipFinish","nameLocation":"983:23:5","nodeType":"EventDefinition","parameters":{"id":1110,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1109,"indexed":false,"mutability":"mutable","name":"timestamp","nameLocation":"1015:9:5","nodeType":"VariableDeclaration","scope":1111,"src":"1007:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1108,"name":"uint256","nodeType":"ElementaryTypeName","src":"1007:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1006:19:5"},"src":"977:49:5"},{"anonymous":false,"documentation":{"id":1112,"nodeType":"StructuredDocumentation","src":"1030:233:5","text":"@notice Emitted when a pool is created\n @param token0 The first token of the pool by address sort order\n @param token1 The second token of the pool by address sort order\n @param pool The address of the created pool"},"eventSelector":"91ccaa7a278130b65168c3a0c8d3bcae84cf5e43704342bd3ec0b59e59c036db","id":1120,"name":"Pool","nameLocation":"1272:4:5","nodeType":"EventDefinition","parameters":{"id":1119,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1114,"indexed":true,"mutability":"mutable","name":"token0","nameLocation":"1293:6:5","nodeType":"VariableDeclaration","scope":1120,"src":"1277:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1113,"name":"address","nodeType":"ElementaryTypeName","src":"1277:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1116,"indexed":true,"mutability":"mutable","name":"token1","nameLocation":"1317:6:5","nodeType":"VariableDeclaration","scope":1120,"src":"1301:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1115,"name":"address","nodeType":"ElementaryTypeName","src":"1301:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1118,"indexed":false,"mutability":"mutable","name":"pool","nameLocation":"1333:4:5","nodeType":"VariableDeclaration","scope":1120,"src":"1325:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1117,"name":"address","nodeType":"ElementaryTypeName","src":"1325:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1276:62:5"},"src":"1266:73:5"},{"anonymous":false,"documentation":{"id":1121,"nodeType":"StructuredDocumentation","src":"1343:298:5","text":"@notice Emitted when a pool is created\n @param deployer The corresponding custom deployer contract\n @param token0 The first token of the pool by address sort order\n @param token1 The second token of the pool by address sort order\n @param pool The address of the created pool"},"eventSelector":"8a5f030f5fc13b04a1e4ef7c47177e3d76b0e80e1d9be9843db37caa5b7b9b8f","id":1131,"name":"CustomPool","nameLocation":"1650:10:5","nodeType":"EventDefinition","parameters":{"id":1130,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1123,"indexed":true,"mutability":"mutable","name":"deployer","nameLocation":"1677:8:5","nodeType":"VariableDeclaration","scope":1131,"src":"1661:24:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1122,"name":"address","nodeType":"ElementaryTypeName","src":"1661:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1125,"indexed":true,"mutability":"mutable","name":"token0","nameLocation":"1703:6:5","nodeType":"VariableDeclaration","scope":1131,"src":"1687:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1124,"name":"address","nodeType":"ElementaryTypeName","src":"1687:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1127,"indexed":true,"mutability":"mutable","name":"token1","nameLocation":"1727:6:5","nodeType":"VariableDeclaration","scope":1131,"src":"1711:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1126,"name":"address","nodeType":"ElementaryTypeName","src":"1711:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1129,"indexed":false,"mutability":"mutable","name":"pool","nameLocation":"1743:4:5","nodeType":"VariableDeclaration","scope":1131,"src":"1735:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1128,"name":"address","nodeType":"ElementaryTypeName","src":"1735:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1660:88:5"},"src":"1644:105:5"},{"anonymous":false,"documentation":{"id":1132,"nodeType":"StructuredDocumentation","src":"1753:133:5","text":"@notice Emitted when the default community fee is changed\n @param newDefaultCommunityFee The new default community fee value"},"eventSelector":"6b5c342391f543846fce47a925e7eba910f7bec232b08633308ca93fdd0fdf0d","id":1136,"name":"DefaultCommunityFee","nameLocation":"1895:19:5","nodeType":"EventDefinition","parameters":{"id":1135,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1134,"indexed":false,"mutability":"mutable","name":"newDefaultCommunityFee","nameLocation":"1922:22:5","nodeType":"VariableDeclaration","scope":1136,"src":"1915:29:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1133,"name":"uint16","nodeType":"ElementaryTypeName","src":"1915:6:5","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"1914:31:5"},"src":"1889:57:5"},{"anonymous":false,"documentation":{"id":1137,"nodeType":"StructuredDocumentation","src":"1950:128:5","text":"@notice Emitted when the default tickspacing is changed\n @param newDefaultTickspacing The new default tickspacing value"},"eventSelector":"7d7979096f943139ebee59f01c077a0f0766d06c40c86d596f23ed2561547cce","id":1141,"name":"DefaultTickspacing","nameLocation":"2087:18:5","nodeType":"EventDefinition","parameters":{"id":1140,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1139,"indexed":false,"mutability":"mutable","name":"newDefaultTickspacing","nameLocation":"2112:21:5","nodeType":"VariableDeclaration","scope":1141,"src":"2106:27:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1138,"name":"int24","nodeType":"ElementaryTypeName","src":"2106:5:5","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2105:29:5"},"src":"2081:54:5"},{"anonymous":false,"documentation":{"id":1142,"nodeType":"StructuredDocumentation","src":"2139:104:5","text":"@notice Emitted when the default fee is changed\n @param newDefaultFee The new default fee value"},"eventSelector":"ddc0c6f0b581e0d51bfe90ff138e4a548f94515c4dbcb12f5e98fdf0f7503983","id":1146,"name":"DefaultFee","nameLocation":"2252:10:5","nodeType":"EventDefinition","parameters":{"id":1145,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1144,"indexed":false,"mutability":"mutable","name":"newDefaultFee","nameLocation":"2270:13:5","nodeType":"VariableDeclaration","scope":1146,"src":"2263:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1143,"name":"uint16","nodeType":"ElementaryTypeName","src":"2263:6:5","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"2262:22:5"},"src":"2246:39:5"},{"anonymous":false,"documentation":{"id":1147,"nodeType":"StructuredDocumentation","src":"2289:146:5","text":"@notice Emitted when the defaultPluginFactory address is changed\n @param defaultPluginFactoryAddress The new defaultPluginFactory address"},"eventSelector":"5e38e259ec1f8a38b98fc65a27e266bb9cc87c76eb8c96c957450d1cff4591ef","id":1151,"name":"DefaultPluginFactory","nameLocation":"2444:20:5","nodeType":"EventDefinition","parameters":{"id":1150,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1149,"indexed":false,"mutability":"mutable","name":"defaultPluginFactoryAddress","nameLocation":"2473:27:5","nodeType":"VariableDeclaration","scope":1151,"src":"2465:35:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1148,"name":"address","nodeType":"ElementaryTypeName","src":"2465:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2464:37:5"},"src":"2438:64:5"},{"anonymous":false,"documentation":{"id":1152,"nodeType":"StructuredDocumentation","src":"2506:118:5","text":"@notice Emitted when the vaultFactory address is changed\n @param newVaultFactory The new vaultFactory address"},"eventSelector":"a006ea05a14783821b0248e75d2342cd1681b07509e10a0f08487b080c29dea8","id":1156,"name":"VaultFactory","nameLocation":"2633:12:5","nodeType":"EventDefinition","parameters":{"id":1155,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1154,"indexed":false,"mutability":"mutable","name":"newVaultFactory","nameLocation":"2654:15:5","nodeType":"VariableDeclaration","scope":1156,"src":"2646:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1153,"name":"address","nodeType":"ElementaryTypeName","src":"2646:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2645:25:5"},"src":"2627:44:5"},{"documentation":{"id":1157,"nodeType":"StructuredDocumentation","src":"2675:120:5","text":"@notice role that can change communityFee and tickspacing in pools\n @return The hash corresponding to this role"},"functionSelector":"b500a48b","id":1162,"implemented":false,"kind":"function","modifiers":[],"name":"POOLS_ADMINISTRATOR_ROLE","nameLocation":"2807:24:5","nodeType":"FunctionDefinition","parameters":{"id":1158,"nodeType":"ParameterList","parameters":[],"src":"2831:2:5"},"returnParameters":{"id":1161,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1160,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1162,"src":"2857:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1159,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2857:7:5","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2856:9:5"},"scope":1355,"src":"2798:68:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1163,"nodeType":"StructuredDocumentation","src":"2870:108:5","text":"@notice role that can call `createCustomPool` function\n @return The hash corresponding to this role"},"functionSelector":"07810754","id":1168,"implemented":false,"kind":"function","modifiers":[],"name":"CUSTOM_POOL_DEPLOYER","nameLocation":"2990:20:5","nodeType":"FunctionDefinition","parameters":{"id":1164,"nodeType":"ParameterList","parameters":[],"src":"3010:2:5"},"returnParameters":{"id":1167,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1166,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1168,"src":"3036:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1165,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3036:7:5","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3035:9:5"},"scope":1355,"src":"2981:64:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1169,"nodeType":"StructuredDocumentation","src":"3049:280:5","text":"@notice Returns `true` if `account` has been granted `role` or `account` is owner.\n @param role The hash corresponding to the role\n @param account The address for which the role is checked\n @return bool Whether the address has this role or the owner role or not"},"functionSelector":"e8ae2b69","id":1178,"implemented":false,"kind":"function","modifiers":[],"name":"hasRoleOrOwner","nameLocation":"3341:14:5","nodeType":"FunctionDefinition","parameters":{"id":1174,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1171,"mutability":"mutable","name":"role","nameLocation":"3364:4:5","nodeType":"VariableDeclaration","scope":1178,"src":"3356:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1170,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3356:7:5","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":1173,"mutability":"mutable","name":"account","nameLocation":"3378:7:5","nodeType":"VariableDeclaration","scope":1178,"src":"3370:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1172,"name":"address","nodeType":"ElementaryTypeName","src":"3370:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3355:31:5"},"returnParameters":{"id":1177,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1176,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1178,"src":"3410:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1175,"name":"bool","nodeType":"ElementaryTypeName","src":"3410:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3409:6:5"},"scope":1355,"src":"3332:84:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1179,"nodeType":"StructuredDocumentation","src":"3420:186:5","text":"@notice Returns the current owner of the factory\n @dev Can be changed by the current owner via transferOwnership(address newOwner)\n @return The address of the factory owner"},"functionSelector":"8da5cb5b","id":1184,"implemented":false,"kind":"function","modifiers":[],"name":"owner","nameLocation":"3618:5:5","nodeType":"FunctionDefinition","parameters":{"id":1180,"nodeType":"ParameterList","parameters":[],"src":"3623:2:5"},"returnParameters":{"id":1183,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1182,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1184,"src":"3649:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1181,"name":"address","nodeType":"ElementaryTypeName","src":"3649:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3648:9:5"},"scope":1355,"src":"3609:49:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1185,"nodeType":"StructuredDocumentation","src":"3662:97:5","text":"@notice Returns the current poolDeployerAddress\n @return The address of the poolDeployer"},"functionSelector":"3119049a","id":1190,"implemented":false,"kind":"function","modifiers":[],"name":"poolDeployer","nameLocation":"3771:12:5","nodeType":"FunctionDefinition","parameters":{"id":1186,"nodeType":"ParameterList","parameters":[],"src":"3783:2:5"},"returnParameters":{"id":1189,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1188,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1190,"src":"3809:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1187,"name":"address","nodeType":"ElementaryTypeName","src":"3809:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3808:9:5"},"scope":1355,"src":"3762:56:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1191,"nodeType":"StructuredDocumentation","src":"3822:109:5","text":"@notice Returns the default community fee\n @return Fee which will be set at the creation of the pool"},"functionSelector":"2f8a39dd","id":1196,"implemented":false,"kind":"function","modifiers":[],"name":"defaultCommunityFee","nameLocation":"3943:19:5","nodeType":"FunctionDefinition","parameters":{"id":1192,"nodeType":"ParameterList","parameters":[],"src":"3962:2:5"},"returnParameters":{"id":1195,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1194,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1196,"src":"3988:6:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1193,"name":"uint16","nodeType":"ElementaryTypeName","src":"3988:6:5","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"3987:8:5"},"scope":1355,"src":"3934:62:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1197,"nodeType":"StructuredDocumentation","src":"4000:99:5","text":"@notice Returns the default fee\n @return Fee which will be set at the creation of the pool"},"functionSelector":"5a6c72d0","id":1202,"implemented":false,"kind":"function","modifiers":[],"name":"defaultFee","nameLocation":"4111:10:5","nodeType":"FunctionDefinition","parameters":{"id":1198,"nodeType":"ParameterList","parameters":[],"src":"4121:2:5"},"returnParameters":{"id":1201,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1200,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1202,"src":"4147:6:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1199,"name":"uint16","nodeType":"ElementaryTypeName","src":"4147:6:5","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"4146:8:5"},"scope":1355,"src":"4102:53:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1203,"nodeType":"StructuredDocumentation","src":"4159:115:5","text":"@notice Returns the default tickspacing\n @return Tickspacing which will be set at the creation of the pool"},"functionSelector":"29bc3446","id":1208,"implemented":false,"kind":"function","modifiers":[],"name":"defaultTickspacing","nameLocation":"4286:18:5","nodeType":"FunctionDefinition","parameters":{"id":1204,"nodeType":"ParameterList","parameters":[],"src":"4304:2:5"},"returnParameters":{"id":1207,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1206,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1208,"src":"4330:5:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1205,"name":"int24","nodeType":"ElementaryTypeName","src":"4330:5:5","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"4329:7:5"},"scope":1355,"src":"4277:60:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1209,"nodeType":"StructuredDocumentation","src":"4341:183:5","text":"@notice Return the current pluginFactory address\n @dev This contract is used to automatically set a plugin address in new liquidity pools\n @return Algebra plugin factory"},"functionSelector":"d0ad2792","id":1215,"implemented":false,"kind":"function","modifiers":[],"name":"defaultPluginFactory","nameLocation":"4536:20:5","nodeType":"FunctionDefinition","parameters":{"id":1210,"nodeType":"ParameterList","parameters":[],"src":"4556:2:5"},"returnParameters":{"id":1214,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1213,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1215,"src":"4582:21:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPluginFactory_$1575","typeString":"contract IAlgebraPluginFactory"},"typeName":{"id":1212,"nodeType":"UserDefinedTypeName","pathNode":{"id":1211,"name":"IAlgebraPluginFactory","nameLocations":["4582:21:5"],"nodeType":"IdentifierPath","referencedDeclaration":1575,"src":"4582:21:5"},"referencedDeclaration":1575,"src":"4582:21:5","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPluginFactory_$1575","typeString":"contract IAlgebraPluginFactory"}},"visibility":"internal"}],"src":"4581:23:5"},"scope":1355,"src":"4527:78:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1216,"nodeType":"StructuredDocumentation","src":"4609:180:5","text":"@notice Return the current vaultFactory address\n @dev This contract is used to automatically set a vault address in new liquidity pools\n @return Algebra vault factory"},"functionSelector":"d8a06f73","id":1222,"implemented":false,"kind":"function","modifiers":[],"name":"vaultFactory","nameLocation":"4801:12:5","nodeType":"FunctionDefinition","parameters":{"id":1217,"nodeType":"ParameterList","parameters":[],"src":"4813:2:5"},"returnParameters":{"id":1221,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1220,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1222,"src":"4839:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraVaultFactory_$2233","typeString":"contract IAlgebraVaultFactory"},"typeName":{"id":1219,"nodeType":"UserDefinedTypeName","pathNode":{"id":1218,"name":"IAlgebraVaultFactory","nameLocations":["4839:20:5"],"nodeType":"IdentifierPath","referencedDeclaration":2233,"src":"4839:20:5"},"referencedDeclaration":2233,"src":"4839:20:5","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraVaultFactory_$2233","typeString":"contract IAlgebraVaultFactory"}},"visibility":"internal"}],"src":"4838:22:5"},"scope":1355,"src":"4792:69:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1223,"nodeType":"StructuredDocumentation","src":"4865:302:5","text":"@notice Returns the default communityFee, tickspacing, fee and communityFeeVault for pool\n @return communityFee which will be set at the creation of the pool\n @return tickSpacing which will be set at the creation of the pool\n @return fee which will be set at the creation of the pool"},"functionSelector":"25b355d6","id":1232,"implemented":false,"kind":"function","modifiers":[],"name":"defaultConfigurationForPool","nameLocation":"5179:27:5","nodeType":"FunctionDefinition","parameters":{"id":1224,"nodeType":"ParameterList","parameters":[],"src":"5206:2:5"},"returnParameters":{"id":1231,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1226,"mutability":"mutable","name":"communityFee","nameLocation":"5239:12:5","nodeType":"VariableDeclaration","scope":1232,"src":"5232:19:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1225,"name":"uint16","nodeType":"ElementaryTypeName","src":"5232:6:5","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":1228,"mutability":"mutable","name":"tickSpacing","nameLocation":"5259:11:5","nodeType":"VariableDeclaration","scope":1232,"src":"5253:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1227,"name":"int24","nodeType":"ElementaryTypeName","src":"5253:5:5","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1230,"mutability":"mutable","name":"fee","nameLocation":"5279:3:5","nodeType":"VariableDeclaration","scope":1232,"src":"5272:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1229,"name":"uint16","nodeType":"ElementaryTypeName","src":"5272:6:5","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"5231:52:5"},"scope":1355,"src":"5170:114:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1233,"nodeType":"StructuredDocumentation","src":"5288:277:5","text":"@notice Deterministically computes the pool address given the token0 and token1\n @dev The method does not check if such a pool has been created\n @param token0 first token\n @param token1 second token\n @return pool The contract address of the Algebra pool"},"functionSelector":"d8ed2241","id":1242,"implemented":false,"kind":"function","modifiers":[],"name":"computePoolAddress","nameLocation":"5577:18:5","nodeType":"FunctionDefinition","parameters":{"id":1238,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1235,"mutability":"mutable","name":"token0","nameLocation":"5604:6:5","nodeType":"VariableDeclaration","scope":1242,"src":"5596:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1234,"name":"address","nodeType":"ElementaryTypeName","src":"5596:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1237,"mutability":"mutable","name":"token1","nameLocation":"5620:6:5","nodeType":"VariableDeclaration","scope":1242,"src":"5612:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1236,"name":"address","nodeType":"ElementaryTypeName","src":"5612:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5595:32:5"},"returnParameters":{"id":1241,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1240,"mutability":"mutable","name":"pool","nameLocation":"5659:4:5","nodeType":"VariableDeclaration","scope":1242,"src":"5651:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1239,"name":"address","nodeType":"ElementaryTypeName","src":"5651:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5650:14:5"},"scope":1355,"src":"5568:97:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1243,"nodeType":"StructuredDocumentation","src":"5669:372:5","text":"@notice Deterministically computes the custom pool address given the customDeployer, token0 and token1\n @dev The method does not check if such a pool has been created\n @param customDeployer the address of custom plugin deployer\n @param token0 first token\n @param token1 second token\n @return customPool The contract address of the Algebra pool"},"functionSelector":"1ba89df4","id":1254,"implemented":false,"kind":"function","modifiers":[],"name":"computeCustomPoolAddress","nameLocation":"6053:24:5","nodeType":"FunctionDefinition","parameters":{"id":1250,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1245,"mutability":"mutable","name":"customDeployer","nameLocation":"6086:14:5","nodeType":"VariableDeclaration","scope":1254,"src":"6078:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1244,"name":"address","nodeType":"ElementaryTypeName","src":"6078:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1247,"mutability":"mutable","name":"token0","nameLocation":"6110:6:5","nodeType":"VariableDeclaration","scope":1254,"src":"6102:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1246,"name":"address","nodeType":"ElementaryTypeName","src":"6102:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1249,"mutability":"mutable","name":"token1","nameLocation":"6126:6:5","nodeType":"VariableDeclaration","scope":1254,"src":"6118:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1248,"name":"address","nodeType":"ElementaryTypeName","src":"6118:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6077:56:5"},"returnParameters":{"id":1253,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1252,"mutability":"mutable","name":"customPool","nameLocation":"6165:10:5","nodeType":"VariableDeclaration","scope":1254,"src":"6157:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1251,"name":"address","nodeType":"ElementaryTypeName","src":"6157:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6156:20:5"},"scope":1355,"src":"6044:133:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1255,"nodeType":"StructuredDocumentation","src":"6181:352:5","text":"@notice Returns the pool address for a given pair of tokens, or address 0 if it does not exist\n @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\n @param tokenA The contract address of either token0 or token1\n @param tokenB The contract address of the other token\n @return pool The pool address"},"functionSelector":"d9a641e1","id":1264,"implemented":false,"kind":"function","modifiers":[],"name":"poolByPair","nameLocation":"6545:10:5","nodeType":"FunctionDefinition","parameters":{"id":1260,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1257,"mutability":"mutable","name":"tokenA","nameLocation":"6564:6:5","nodeType":"VariableDeclaration","scope":1264,"src":"6556:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1256,"name":"address","nodeType":"ElementaryTypeName","src":"6556:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1259,"mutability":"mutable","name":"tokenB","nameLocation":"6580:6:5","nodeType":"VariableDeclaration","scope":1264,"src":"6572:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1258,"name":"address","nodeType":"ElementaryTypeName","src":"6572:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6555:32:5"},"returnParameters":{"id":1263,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1262,"mutability":"mutable","name":"pool","nameLocation":"6619:4:5","nodeType":"VariableDeclaration","scope":1264,"src":"6611:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1261,"name":"address","nodeType":"ElementaryTypeName","src":"6611:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6610:14:5"},"scope":1355,"src":"6536:89:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1265,"nodeType":"StructuredDocumentation","src":"6629:452:5","text":"@notice Returns the custom pool address for a customDeployer and a given pair of tokens, or address 0 if it does not exist\n @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\n @param customDeployer The address of custom plugin deployer\n @param tokenA The contract address of either token0 or token1\n @param tokenB The contract address of the other token\n @return customPool The pool address"},"functionSelector":"23da36cc","id":1276,"implemented":false,"kind":"function","modifiers":[],"name":"customPoolByPair","nameLocation":"7093:16:5","nodeType":"FunctionDefinition","parameters":{"id":1272,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1267,"mutability":"mutable","name":"customDeployer","nameLocation":"7118:14:5","nodeType":"VariableDeclaration","scope":1276,"src":"7110:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1266,"name":"address","nodeType":"ElementaryTypeName","src":"7110:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1269,"mutability":"mutable","name":"tokenA","nameLocation":"7142:6:5","nodeType":"VariableDeclaration","scope":1276,"src":"7134:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1268,"name":"address","nodeType":"ElementaryTypeName","src":"7134:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1271,"mutability":"mutable","name":"tokenB","nameLocation":"7158:6:5","nodeType":"VariableDeclaration","scope":1276,"src":"7150:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1270,"name":"address","nodeType":"ElementaryTypeName","src":"7150:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"7109:56:5"},"returnParameters":{"id":1275,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1274,"mutability":"mutable","name":"customPool","nameLocation":"7197:10:5","nodeType":"VariableDeclaration","scope":1276,"src":"7189:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1273,"name":"address","nodeType":"ElementaryTypeName","src":"7189:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"7188:20:5"},"scope":1355,"src":"7084:125:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1277,"nodeType":"StructuredDocumentation","src":"7213:197:5","text":"@notice returns keccak256 of AlgebraPool init bytecode.\n @dev the hash value changes with any change in the pool bytecode\n @return Keccak256 hash of AlgebraPool contract init bytecode"},"functionSelector":"dc6fd8ab","id":1282,"implemented":false,"kind":"function","modifiers":[],"name":"POOL_INIT_CODE_HASH","nameLocation":"7422:19:5","nodeType":"FunctionDefinition","parameters":{"id":1278,"nodeType":"ParameterList","parameters":[],"src":"7441:2:5"},"returnParameters":{"id":1281,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1280,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1282,"src":"7467:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1279,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7467:7:5","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"7466:9:5"},"scope":1355,"src":"7413:63:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1283,"nodeType":"StructuredDocumentation","src":"7480:85:5","text":"@return timestamp The timestamp of the beginning of the renounceOwnership process"},"functionSelector":"084bfff9","id":1288,"implemented":false,"kind":"function","modifiers":[],"name":"renounceOwnershipStartTimestamp","nameLocation":"7577:31:5","nodeType":"FunctionDefinition","parameters":{"id":1284,"nodeType":"ParameterList","parameters":[],"src":"7608:2:5"},"returnParameters":{"id":1287,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1286,"mutability":"mutable","name":"timestamp","nameLocation":"7642:9:5","nodeType":"VariableDeclaration","scope":1288,"src":"7634:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1285,"name":"uint256","nodeType":"ElementaryTypeName","src":"7634:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7633:19:5"},"scope":1355,"src":"7568:85:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1289,"nodeType":"StructuredDocumentation","src":"7657:463:5","text":"@notice Creates a pool for the given two tokens\n @param tokenA One of the two tokens in the desired pool\n @param tokenB The other of the two tokens in the desired pool\n @param data Data for plugin creation\n @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0.\n The call will revert if the pool already exists or the token arguments are invalid.\n @return pool The address of the newly created pool"},"functionSelector":"321935c6","id":1300,"implemented":false,"kind":"function","modifiers":[],"name":"createPool","nameLocation":"8132:10:5","nodeType":"FunctionDefinition","parameters":{"id":1296,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1291,"mutability":"mutable","name":"tokenA","nameLocation":"8151:6:5","nodeType":"VariableDeclaration","scope":1300,"src":"8143:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1290,"name":"address","nodeType":"ElementaryTypeName","src":"8143:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1293,"mutability":"mutable","name":"tokenB","nameLocation":"8167:6:5","nodeType":"VariableDeclaration","scope":1300,"src":"8159:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1292,"name":"address","nodeType":"ElementaryTypeName","src":"8159:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1295,"mutability":"mutable","name":"data","nameLocation":"8190:4:5","nodeType":"VariableDeclaration","scope":1300,"src":"8175:19:5","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1294,"name":"bytes","nodeType":"ElementaryTypeName","src":"8175:5:5","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8142:53:5"},"returnParameters":{"id":1299,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1298,"mutability":"mutable","name":"pool","nameLocation":"8222:4:5","nodeType":"VariableDeclaration","scope":1300,"src":"8214:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1297,"name":"address","nodeType":"ElementaryTypeName","src":"8214:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8213:14:5"},"scope":1355,"src":"8123:105:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1301,"nodeType":"StructuredDocumentation","src":"8232:669:5","text":"@notice Creates a custom pool for the given two tokens using `deployer` contract\n @param deployer The address of plugin deployer, also used for custom pool address calculation\n @param creator The initiator of custom pool creation\n @param tokenA One of the two tokens in the desired pool\n @param tokenB The other of the two tokens in the desired pool\n @param data The additional data bytes\n @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0.\n The call will revert if the pool already exists or the token arguments are invalid.\n @return customPool The address of the newly created custom pool"},"functionSelector":"dbbf3db4","id":1316,"implemented":false,"kind":"function","modifiers":[],"name":"createCustomPool","nameLocation":"8913:16:5","nodeType":"FunctionDefinition","parameters":{"id":1312,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1303,"mutability":"mutable","name":"deployer","nameLocation":"8943:8:5","nodeType":"VariableDeclaration","scope":1316,"src":"8935:16:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1302,"name":"address","nodeType":"ElementaryTypeName","src":"8935:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1305,"mutability":"mutable","name":"creator","nameLocation":"8965:7:5","nodeType":"VariableDeclaration","scope":1316,"src":"8957:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1304,"name":"address","nodeType":"ElementaryTypeName","src":"8957:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1307,"mutability":"mutable","name":"tokenA","nameLocation":"8986:6:5","nodeType":"VariableDeclaration","scope":1316,"src":"8978:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1306,"name":"address","nodeType":"ElementaryTypeName","src":"8978:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1309,"mutability":"mutable","name":"tokenB","nameLocation":"9006:6:5","nodeType":"VariableDeclaration","scope":1316,"src":"8998:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1308,"name":"address","nodeType":"ElementaryTypeName","src":"8998:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1311,"mutability":"mutable","name":"data","nameLocation":"9033:4:5","nodeType":"VariableDeclaration","scope":1316,"src":"9018:19:5","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1310,"name":"bytes","nodeType":"ElementaryTypeName","src":"9018:5:5","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8929:112:5"},"returnParameters":{"id":1315,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1314,"mutability":"mutable","name":"customPool","nameLocation":"9068:10:5","nodeType":"VariableDeclaration","scope":1316,"src":"9060:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1313,"name":"address","nodeType":"ElementaryTypeName","src":"9060:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"9059:20:5"},"scope":1355,"src":"8904:176:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1317,"nodeType":"StructuredDocumentation","src":"9084:142:5","text":"@dev updates default community fee for new pools\n @param newDefaultCommunityFee The new community fee, _must_ be <= MAX_COMMUNITY_FEE"},"functionSelector":"8d5a8711","id":1322,"implemented":false,"kind":"function","modifiers":[],"name":"setDefaultCommunityFee","nameLocation":"9238:22:5","nodeType":"FunctionDefinition","parameters":{"id":1320,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1319,"mutability":"mutable","name":"newDefaultCommunityFee","nameLocation":"9268:22:5","nodeType":"VariableDeclaration","scope":1322,"src":"9261:29:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1318,"name":"uint16","nodeType":"ElementaryTypeName","src":"9261:6:5","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"9260:31:5"},"returnParameters":{"id":1321,"nodeType":"ParameterList","parameters":[],"src":"9300:0:5"},"scope":1355,"src":"9229:72:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1323,"nodeType":"StructuredDocumentation","src":"9305:112:5","text":"@dev updates default fee for new pools\n @param newDefaultFee The new  fee, _must_ be <= MAX_DEFAULT_FEE"},"functionSelector":"77326584","id":1328,"implemented":false,"kind":"function","modifiers":[],"name":"setDefaultFee","nameLocation":"9429:13:5","nodeType":"FunctionDefinition","parameters":{"id":1326,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1325,"mutability":"mutable","name":"newDefaultFee","nameLocation":"9450:13:5","nodeType":"VariableDeclaration","scope":1328,"src":"9443:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1324,"name":"uint16","nodeType":"ElementaryTypeName","src":"9443:6:5","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"9442:22:5"},"returnParameters":{"id":1327,"nodeType":"ParameterList","parameters":[],"src":"9473:0:5"},"scope":1355,"src":"9420:54:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1329,"nodeType":"StructuredDocumentation","src":"9478:160:5","text":"@dev updates default tickspacing for new pools\n @param newDefaultTickspacing The new tickspacing, _must_ be <= MAX_TICK_SPACING and >= MIN_TICK_SPACING"},"functionSelector":"f09489ac","id":1334,"implemented":false,"kind":"function","modifiers":[],"name":"setDefaultTickspacing","nameLocation":"9650:21:5","nodeType":"FunctionDefinition","parameters":{"id":1332,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1331,"mutability":"mutable","name":"newDefaultTickspacing","nameLocation":"9678:21:5","nodeType":"VariableDeclaration","scope":1334,"src":"9672:27:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1330,"name":"int24","nodeType":"ElementaryTypeName","src":"9672:5:5","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"9671:29:5"},"returnParameters":{"id":1333,"nodeType":"ParameterList","parameters":[],"src":"9709:0:5"},"scope":1355,"src":"9641:69:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1335,"nodeType":"StructuredDocumentation","src":"9714:105:5","text":"@dev updates pluginFactory address\n @param newDefaultPluginFactory address of new plugin factory"},"functionSelector":"2939dd97","id":1340,"implemented":false,"kind":"function","modifiers":[],"name":"setDefaultPluginFactory","nameLocation":"9831:23:5","nodeType":"FunctionDefinition","parameters":{"id":1338,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1337,"mutability":"mutable","name":"newDefaultPluginFactory","nameLocation":"9863:23:5","nodeType":"VariableDeclaration","scope":1340,"src":"9855:31:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1336,"name":"address","nodeType":"ElementaryTypeName","src":"9855:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"9854:33:5"},"returnParameters":{"id":1339,"nodeType":"ParameterList","parameters":[],"src":"9896:0:5"},"scope":1355,"src":"9822:75:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1341,"nodeType":"StructuredDocumentation","src":"9901:95:5","text":"@dev updates vaultFactory address\n @param newVaultFactory address of new vault factory"},"functionSelector":"3ea7fbdb","id":1346,"implemented":false,"kind":"function","modifiers":[],"name":"setVaultFactory","nameLocation":"10008:15:5","nodeType":"FunctionDefinition","parameters":{"id":1344,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1343,"mutability":"mutable","name":"newVaultFactory","nameLocation":"10032:15:5","nodeType":"VariableDeclaration","scope":1346,"src":"10024:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1342,"name":"address","nodeType":"ElementaryTypeName","src":"10024:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"10023:25:5"},"returnParameters":{"id":1345,"nodeType":"ParameterList","parameters":[],"src":"10057:0:5"},"scope":1355,"src":"9999:59:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1347,"nodeType":"StructuredDocumentation","src":"10062:149:5","text":"@notice Starts process of renounceOwnership. After that, a certain period\n of time must pass before the ownership renounce can be completed."},"functionSelector":"469388c4","id":1350,"implemented":false,"kind":"function","modifiers":[],"name":"startRenounceOwnership","nameLocation":"10223:22:5","nodeType":"FunctionDefinition","parameters":{"id":1348,"nodeType":"ParameterList","parameters":[],"src":"10245:2:5"},"returnParameters":{"id":1349,"nodeType":"ParameterList","parameters":[],"src":"10256:0:5"},"scope":1355,"src":"10214:43:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1351,"nodeType":"StructuredDocumentation","src":"10261:65:5","text":"@notice Stops process of renounceOwnership and removes timer."},"functionSelector":"238a1d74","id":1354,"implemented":false,"kind":"function","modifiers":[],"name":"stopRenounceOwnership","nameLocation":"10338:21:5","nodeType":"FunctionDefinition","parameters":{"id":1352,"nodeType":"ParameterList","parameters":[],"src":"10359:2:5"},"returnParameters":{"id":1353,"nodeType":"ParameterList","parameters":[],"src":"10370:0:5"},"scope":1355,"src":"10329:42:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1356,"src":"363:10010:5","usedErrors":[],"usedEvents":[1101,1106,1111,1120,1131,1136,1141,1146,1151,1156]}],"src":"45:10329:5"},"id":5},"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol","exportedSymbols":{"IAlgebraPool":[1377],"IAlgebraPoolActions":[1691],"IAlgebraPoolErrors":[1793],"IAlgebraPoolEvents":[1945],"IAlgebraPoolImmutables":[1973],"IAlgebraPoolPermissionedActions":[2021],"IAlgebraPoolState":[2205]},"id":1378,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1357,"literals":["solidity",">=","0.8",".4"],"nodeType":"PragmaDirective","src":"45:24:6"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol","file":"./pool/IAlgebraPoolImmutables.sol","id":1358,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1378,"sourceUnit":1974,"src":"71:43:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","file":"./pool/IAlgebraPoolState.sol","id":1359,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1378,"sourceUnit":2206,"src":"115:38:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol","file":"./pool/IAlgebraPoolActions.sol","id":1360,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1378,"sourceUnit":1692,"src":"154:40:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol","file":"./pool/IAlgebraPoolPermissionedActions.sol","id":1361,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1378,"sourceUnit":2022,"src":"195:52:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol","file":"./pool/IAlgebraPoolEvents.sol","id":1362,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1378,"sourceUnit":1946,"src":"248:39:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"./pool/IAlgebraPoolErrors.sol","id":1363,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1378,"sourceUnit":1794,"src":"288:39:6","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":1365,"name":"IAlgebraPoolImmutables","nameLocations":["759:22:6"],"nodeType":"IdentifierPath","referencedDeclaration":1973,"src":"759:22:6"},"id":1366,"nodeType":"InheritanceSpecifier","src":"759:22:6"},{"baseName":{"id":1367,"name":"IAlgebraPoolState","nameLocations":["785:17:6"],"nodeType":"IdentifierPath","referencedDeclaration":2205,"src":"785:17:6"},"id":1368,"nodeType":"InheritanceSpecifier","src":"785:17:6"},{"baseName":{"id":1369,"name":"IAlgebraPoolActions","nameLocations":["806:19:6"],"nodeType":"IdentifierPath","referencedDeclaration":1691,"src":"806:19:6"},"id":1370,"nodeType":"InheritanceSpecifier","src":"806:19:6"},{"baseName":{"id":1371,"name":"IAlgebraPoolPermissionedActions","nameLocations":["829:31:6"],"nodeType":"IdentifierPath","referencedDeclaration":2021,"src":"829:31:6"},"id":1372,"nodeType":"InheritanceSpecifier","src":"829:31:6"},{"baseName":{"id":1373,"name":"IAlgebraPoolEvents","nameLocations":["864:18:6"],"nodeType":"IdentifierPath","referencedDeclaration":1945,"src":"864:18:6"},"id":1374,"nodeType":"InheritanceSpecifier","src":"864:18:6"},{"baseName":{"id":1375,"name":"IAlgebraPoolErrors","nameLocations":["886:18:6"],"nodeType":"IdentifierPath","referencedDeclaration":1793,"src":"886:18:6"},"id":1376,"nodeType":"InheritanceSpecifier","src":"886:18:6"}],"canonicalName":"IAlgebraPool","contractDependencies":[],"contractKind":"interface","documentation":{"id":1364,"nodeType":"StructuredDocumentation","src":"329:402:6","text":"@title The interface for a Algebra Pool\n @dev The pool interface is broken up into many smaller pieces.\n This interface includes custom error definitions and cannot be used in older versions of Solidity.\n For older versions of Solidity use #IAlgebraPoolLegacy\n Credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces"},"fullyImplemented":false,"id":1377,"linearizedBaseContracts":[1377,1793,1945,2021,1691,2205,1973],"name":"IAlgebraPool","nameLocation":"741:12:6","nodeType":"ContractDefinition","nodes":[],"scope":1378,"src":"731:217:6","usedErrors":[1697,1700,1703,1706,1709,1712,1715,1718,1721,1724,1727,1730,1733,1736,1739,1742,1745,1748,1751,1754,1759,1762,1765,1768,1771,1774,1777,1780,1783,1786,1789,1792],"usedEvents":[1803,1820,1835,1850,1857,1874,1883,1898,1905,1910,1915,1920,1925,1930,1935,1944]}],"src":"45:904:6"},"id":6},"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","exportedSymbols":{"IAlgebraPlugin":[1543]},"id":1544,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1379,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:7"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPlugin","contractDependencies":[],"contractKind":"interface","documentation":{"id":1380,"nodeType":"StructuredDocumentation","src":"71:145:7","text":"@title The Algebra plugin interface\n @dev The plugin will be called by the pool using hook methods depending on the current pool settings"},"fullyImplemented":false,"id":1543,"linearizedBaseContracts":[1543],"name":"IAlgebraPlugin","nameLocation":"226:14:7","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1381,"nodeType":"StructuredDocumentation","src":"245:202:7","text":"@notice Returns plugin config\n @return config Each bit of the config is responsible for enabling/disabling the hooks.\n The last bit indicates whether the plugin contains dynamic fees logic"},"functionSelector":"689ea370","id":1386,"implemented":false,"kind":"function","modifiers":[],"name":"defaultPluginConfig","nameLocation":"459:19:7","nodeType":"FunctionDefinition","parameters":{"id":1382,"nodeType":"ParameterList","parameters":[],"src":"478:2:7"},"returnParameters":{"id":1385,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1384,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1386,"src":"504:5:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1383,"name":"uint8","nodeType":"ElementaryTypeName","src":"504:5:7","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"503:7:7"},"scope":1543,"src":"450:61:7","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1387,"nodeType":"StructuredDocumentation","src":"515:216:7","text":"@notice Handle plugin fee transfer on plugin contract\n @param pluginFee0 Fee0 amount transferred to plugin\n @param pluginFee1 Fee1 amount transferred to plugin\n @return bytes4 The function selector"},"functionSelector":"aa6b14bb","id":1396,"implemented":false,"kind":"function","modifiers":[],"name":"handlePluginFee","nameLocation":"743:15:7","nodeType":"FunctionDefinition","parameters":{"id":1392,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1389,"mutability":"mutable","name":"pluginFee0","nameLocation":"767:10:7","nodeType":"VariableDeclaration","scope":1396,"src":"759:18:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1388,"name":"uint256","nodeType":"ElementaryTypeName","src":"759:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1391,"mutability":"mutable","name":"pluginFee1","nameLocation":"787:10:7","nodeType":"VariableDeclaration","scope":1396,"src":"779:18:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1390,"name":"uint256","nodeType":"ElementaryTypeName","src":"779:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"758:40:7"},"returnParameters":{"id":1395,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1394,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1396,"src":"817:6:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1393,"name":"bytes4","nodeType":"ElementaryTypeName","src":"817:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"816:8:7"},"scope":1543,"src":"734:91:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1397,"nodeType":"StructuredDocumentation","src":"829:258:7","text":"@notice The hook called before the state of a pool is initialized\n @param sender The initial msg.sender for the initialize call\n @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n @return bytes4 The function selector for the hook"},"functionSelector":"636fd804","id":1406,"implemented":false,"kind":"function","modifiers":[],"name":"beforeInitialize","nameLocation":"1099:16:7","nodeType":"FunctionDefinition","parameters":{"id":1402,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1399,"mutability":"mutable","name":"sender","nameLocation":"1124:6:7","nodeType":"VariableDeclaration","scope":1406,"src":"1116:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1398,"name":"address","nodeType":"ElementaryTypeName","src":"1116:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1401,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"1140:12:7","nodeType":"VariableDeclaration","scope":1406,"src":"1132:20:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1400,"name":"uint160","nodeType":"ElementaryTypeName","src":"1132:7:7","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1115:38:7"},"returnParameters":{"id":1405,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1404,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1406,"src":"1172:6:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1403,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1172:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1171:8:7"},"scope":1543,"src":"1090:90:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1407,"nodeType":"StructuredDocumentation","src":"1184:333:7","text":"@notice The hook called after the state of a pool is initialized\n @param sender The initial msg.sender for the initialize call\n @param sqrtPriceX96 The sqrt(price) of the pool as a Q64.96\n @param tick The current tick after the state of a pool is initialized\n @return bytes4 The function selector for the hook"},"functionSelector":"82dd6522","id":1418,"implemented":false,"kind":"function","modifiers":[],"name":"afterInitialize","nameLocation":"1529:15:7","nodeType":"FunctionDefinition","parameters":{"id":1414,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1409,"mutability":"mutable","name":"sender","nameLocation":"1553:6:7","nodeType":"VariableDeclaration","scope":1418,"src":"1545:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1408,"name":"address","nodeType":"ElementaryTypeName","src":"1545:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1411,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"1569:12:7","nodeType":"VariableDeclaration","scope":1418,"src":"1561:20:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1410,"name":"uint160","nodeType":"ElementaryTypeName","src":"1561:7:7","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1413,"mutability":"mutable","name":"tick","nameLocation":"1589:4:7","nodeType":"VariableDeclaration","scope":1418,"src":"1583:10:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1412,"name":"int24","nodeType":"ElementaryTypeName","src":"1583:5:7","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1544:50:7"},"returnParameters":{"id":1417,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1416,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1418,"src":"1613:6:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1415,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1613:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1612:8:7"},"scope":1543,"src":"1520:101:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1419,"nodeType":"StructuredDocumentation","src":"1625:575:7","text":"@notice The hook called before a position is modified\n @param sender The initial msg.sender for the modify position call\n @param recipient Address to which the liquidity will be assigned in case of a mint or\n to which tokens will be sent in case of a burn\n @param bottomTick The lower tick of the position\n @param topTick The upper tick of the position\n @param desiredLiquidityDelta The desired amount of liquidity to mint/burn\n @param data Data that passed through the callback\n @return selector The function selector for the hook"},"functionSelector":"5e2411b2","id":1438,"implemented":false,"kind":"function","modifiers":[],"name":"beforeModifyPosition","nameLocation":"2212:20:7","nodeType":"FunctionDefinition","parameters":{"id":1432,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1421,"mutability":"mutable","name":"sender","nameLocation":"2246:6:7","nodeType":"VariableDeclaration","scope":1438,"src":"2238:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1420,"name":"address","nodeType":"ElementaryTypeName","src":"2238:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1423,"mutability":"mutable","name":"recipient","nameLocation":"2266:9:7","nodeType":"VariableDeclaration","scope":1438,"src":"2258:17:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1422,"name":"address","nodeType":"ElementaryTypeName","src":"2258:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1425,"mutability":"mutable","name":"bottomTick","nameLocation":"2287:10:7","nodeType":"VariableDeclaration","scope":1438,"src":"2281:16:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1424,"name":"int24","nodeType":"ElementaryTypeName","src":"2281:5:7","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1427,"mutability":"mutable","name":"topTick","nameLocation":"2309:7:7","nodeType":"VariableDeclaration","scope":1438,"src":"2303:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1426,"name":"int24","nodeType":"ElementaryTypeName","src":"2303:5:7","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1429,"mutability":"mutable","name":"desiredLiquidityDelta","nameLocation":"2329:21:7","nodeType":"VariableDeclaration","scope":1438,"src":"2322:28:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":1428,"name":"int128","nodeType":"ElementaryTypeName","src":"2322:6:7","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":1431,"mutability":"mutable","name":"data","nameLocation":"2371:4:7","nodeType":"VariableDeclaration","scope":1438,"src":"2356:19:7","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1430,"name":"bytes","nodeType":"ElementaryTypeName","src":"2356:5:7","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2232:147:7"},"returnParameters":{"id":1437,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1434,"mutability":"mutable","name":"selector","nameLocation":"2405:8:7","nodeType":"VariableDeclaration","scope":1438,"src":"2398:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1433,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2398:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":1436,"mutability":"mutable","name":"pluginFee","nameLocation":"2422:9:7","nodeType":"VariableDeclaration","scope":1438,"src":"2415:16:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1435,"name":"uint24","nodeType":"ElementaryTypeName","src":"2415:6:7","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2397:35:7"},"scope":1543,"src":"2203:230:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1439,"nodeType":"StructuredDocumentation","src":"2437:740:7","text":"@notice The hook called after a position is modified\n @param sender The initial msg.sender for the modify position call\n @param recipient Address to which the liquidity will be assigned in case of a mint or\n to which tokens will be sent in case of a burn\n @param bottomTick The lower tick of the position\n @param topTick The upper tick of the position\n @param desiredLiquidityDelta The desired amount of liquidity to mint/burn\n @param amount0 The amount of token0 sent to the recipient or was paid to mint\n @param amount1 The amount of token0 sent to the recipient or was paid to mint\n @param data Data that passed through the callback\n @return bytes4 The function selector for the hook"},"functionSelector":"d6852010","id":1460,"implemented":false,"kind":"function","modifiers":[],"name":"afterModifyPosition","nameLocation":"3189:19:7","nodeType":"FunctionDefinition","parameters":{"id":1456,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1441,"mutability":"mutable","name":"sender","nameLocation":"3222:6:7","nodeType":"VariableDeclaration","scope":1460,"src":"3214:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1440,"name":"address","nodeType":"ElementaryTypeName","src":"3214:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1443,"mutability":"mutable","name":"recipient","nameLocation":"3242:9:7","nodeType":"VariableDeclaration","scope":1460,"src":"3234:17:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1442,"name":"address","nodeType":"ElementaryTypeName","src":"3234:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1445,"mutability":"mutable","name":"bottomTick","nameLocation":"3263:10:7","nodeType":"VariableDeclaration","scope":1460,"src":"3257:16:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1444,"name":"int24","nodeType":"ElementaryTypeName","src":"3257:5:7","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1447,"mutability":"mutable","name":"topTick","nameLocation":"3285:7:7","nodeType":"VariableDeclaration","scope":1460,"src":"3279:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1446,"name":"int24","nodeType":"ElementaryTypeName","src":"3279:5:7","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1449,"mutability":"mutable","name":"desiredLiquidityDelta","nameLocation":"3305:21:7","nodeType":"VariableDeclaration","scope":1460,"src":"3298:28:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":1448,"name":"int128","nodeType":"ElementaryTypeName","src":"3298:6:7","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":1451,"mutability":"mutable","name":"amount0","nameLocation":"3340:7:7","nodeType":"VariableDeclaration","scope":1460,"src":"3332:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1450,"name":"uint256","nodeType":"ElementaryTypeName","src":"3332:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1453,"mutability":"mutable","name":"amount1","nameLocation":"3361:7:7","nodeType":"VariableDeclaration","scope":1460,"src":"3353:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1452,"name":"uint256","nodeType":"ElementaryTypeName","src":"3353:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1455,"mutability":"mutable","name":"data","nameLocation":"3389:4:7","nodeType":"VariableDeclaration","scope":1460,"src":"3374:19:7","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1454,"name":"bytes","nodeType":"ElementaryTypeName","src":"3374:5:7","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3208:189:7"},"returnParameters":{"id":1459,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1458,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1460,"src":"3416:6:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1457,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3416:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"3415:8:7"},"scope":1543,"src":"3180:244:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1461,"nodeType":"StructuredDocumentation","src":"3428:856:7","text":"@notice The hook called before a swap\n @param sender The initial msg.sender for the swap call\n @param recipient The address to receive the output of the swap\n @param zeroToOne The direction of the swap, true for token0 to token1, false for token1 to token0\n @param amountRequired The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n @param limitSqrtPrice The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n value after the swap. If one for zero, the price cannot be greater than this value after the swap\n @param withPaymentInAdvance The flag indicating whether the `swapWithPaymentInAdvance` method was called\n @param data Data that passed through the callback\n @return selector The function selector for the hook"},"functionSelector":"029c1cb7","id":1484,"implemented":false,"kind":"function","modifiers":[],"name":"beforeSwap","nameLocation":"4296:10:7","nodeType":"FunctionDefinition","parameters":{"id":1476,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1463,"mutability":"mutable","name":"sender","nameLocation":"4320:6:7","nodeType":"VariableDeclaration","scope":1484,"src":"4312:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1462,"name":"address","nodeType":"ElementaryTypeName","src":"4312:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1465,"mutability":"mutable","name":"recipient","nameLocation":"4340:9:7","nodeType":"VariableDeclaration","scope":1484,"src":"4332:17:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1464,"name":"address","nodeType":"ElementaryTypeName","src":"4332:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1467,"mutability":"mutable","name":"zeroToOne","nameLocation":"4360:9:7","nodeType":"VariableDeclaration","scope":1484,"src":"4355:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1466,"name":"bool","nodeType":"ElementaryTypeName","src":"4355:4:7","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1469,"mutability":"mutable","name":"amountRequired","nameLocation":"4382:14:7","nodeType":"VariableDeclaration","scope":1484,"src":"4375:21:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1468,"name":"int256","nodeType":"ElementaryTypeName","src":"4375:6:7","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1471,"mutability":"mutable","name":"limitSqrtPrice","nameLocation":"4410:14:7","nodeType":"VariableDeclaration","scope":1484,"src":"4402:22:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1470,"name":"uint160","nodeType":"ElementaryTypeName","src":"4402:7:7","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1473,"mutability":"mutable","name":"withPaymentInAdvance","nameLocation":"4435:20:7","nodeType":"VariableDeclaration","scope":1484,"src":"4430:25:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1472,"name":"bool","nodeType":"ElementaryTypeName","src":"4430:4:7","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1475,"mutability":"mutable","name":"data","nameLocation":"4476:4:7","nodeType":"VariableDeclaration","scope":1484,"src":"4461:19:7","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1474,"name":"bytes","nodeType":"ElementaryTypeName","src":"4461:5:7","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4306:178:7"},"returnParameters":{"id":1483,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1478,"mutability":"mutable","name":"selector","nameLocation":"4510:8:7","nodeType":"VariableDeclaration","scope":1484,"src":"4503:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1477,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4503:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":1480,"mutability":"mutable","name":"feeOverride","nameLocation":"4527:11:7","nodeType":"VariableDeclaration","scope":1484,"src":"4520:18:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1479,"name":"uint24","nodeType":"ElementaryTypeName","src":"4520:6:7","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":1482,"mutability":"mutable","name":"pluginFee","nameLocation":"4547:9:7","nodeType":"VariableDeclaration","scope":1484,"src":"4540:16:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1481,"name":"uint24","nodeType":"ElementaryTypeName","src":"4540:6:7","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"4502:55:7"},"scope":1543,"src":"4287:271:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1485,"nodeType":"StructuredDocumentation","src":"4562:966:7","text":"@notice The hook called after a swap\n @param sender The initial msg.sender for the swap call\n @param recipient The address to receive the output of the swap\n @param zeroToOne The direction of the swap, true for token0 to token1, false for token1 to token0\n @param amountRequired The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n @param limitSqrtPrice The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n value after the swap. If one for zero, the price cannot be greater than this value after the swap\n @param amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\n @param amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive\n @param data Data that passed through the callback\n @return bytes4 The function selector for the hook"},"functionSelector":"9cb5a963","id":1506,"implemented":false,"kind":"function","modifiers":[],"name":"afterSwap","nameLocation":"5540:9:7","nodeType":"FunctionDefinition","parameters":{"id":1502,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1487,"mutability":"mutable","name":"sender","nameLocation":"5563:6:7","nodeType":"VariableDeclaration","scope":1506,"src":"5555:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1486,"name":"address","nodeType":"ElementaryTypeName","src":"5555:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1489,"mutability":"mutable","name":"recipient","nameLocation":"5583:9:7","nodeType":"VariableDeclaration","scope":1506,"src":"5575:17:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1488,"name":"address","nodeType":"ElementaryTypeName","src":"5575:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1491,"mutability":"mutable","name":"zeroToOne","nameLocation":"5603:9:7","nodeType":"VariableDeclaration","scope":1506,"src":"5598:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1490,"name":"bool","nodeType":"ElementaryTypeName","src":"5598:4:7","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1493,"mutability":"mutable","name":"amountRequired","nameLocation":"5625:14:7","nodeType":"VariableDeclaration","scope":1506,"src":"5618:21:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1492,"name":"int256","nodeType":"ElementaryTypeName","src":"5618:6:7","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1495,"mutability":"mutable","name":"limitSqrtPrice","nameLocation":"5653:14:7","nodeType":"VariableDeclaration","scope":1506,"src":"5645:22:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1494,"name":"uint160","nodeType":"ElementaryTypeName","src":"5645:7:7","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1497,"mutability":"mutable","name":"amount0","nameLocation":"5680:7:7","nodeType":"VariableDeclaration","scope":1506,"src":"5673:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1496,"name":"int256","nodeType":"ElementaryTypeName","src":"5673:6:7","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1499,"mutability":"mutable","name":"amount1","nameLocation":"5700:7:7","nodeType":"VariableDeclaration","scope":1506,"src":"5693:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1498,"name":"int256","nodeType":"ElementaryTypeName","src":"5693:6:7","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1501,"mutability":"mutable","name":"data","nameLocation":"5728:4:7","nodeType":"VariableDeclaration","scope":1506,"src":"5713:19:7","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1500,"name":"bytes","nodeType":"ElementaryTypeName","src":"5713:5:7","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5549:187:7"},"returnParameters":{"id":1505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1504,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1506,"src":"5755:6:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1503,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5755:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"5754:8:7"},"scope":1543,"src":"5531:232:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1507,"nodeType":"StructuredDocumentation","src":"5767:434:7","text":"@notice The hook called before flash\n @param sender The initial msg.sender for the flash call\n @param recipient The address which will receive the token0 and token1 amounts\n @param amount0 The amount of token0 being requested for flash\n @param amount1 The amount of token1 being requested for flash\n @param data Data that passed through the callback\n @return bytes4 The function selector for the hook"},"functionSelector":"8de0a8ee","id":1522,"implemented":false,"kind":"function","modifiers":[],"name":"beforeFlash","nameLocation":"6213:11:7","nodeType":"FunctionDefinition","parameters":{"id":1518,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1509,"mutability":"mutable","name":"sender","nameLocation":"6233:6:7","nodeType":"VariableDeclaration","scope":1522,"src":"6225:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1508,"name":"address","nodeType":"ElementaryTypeName","src":"6225:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1511,"mutability":"mutable","name":"recipient","nameLocation":"6249:9:7","nodeType":"VariableDeclaration","scope":1522,"src":"6241:17:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1510,"name":"address","nodeType":"ElementaryTypeName","src":"6241:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1513,"mutability":"mutable","name":"amount0","nameLocation":"6268:7:7","nodeType":"VariableDeclaration","scope":1522,"src":"6260:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1512,"name":"uint256","nodeType":"ElementaryTypeName","src":"6260:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1515,"mutability":"mutable","name":"amount1","nameLocation":"6285:7:7","nodeType":"VariableDeclaration","scope":1522,"src":"6277:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1514,"name":"uint256","nodeType":"ElementaryTypeName","src":"6277:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1517,"mutability":"mutable","name":"data","nameLocation":"6309:4:7","nodeType":"VariableDeclaration","scope":1522,"src":"6294:19:7","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1516,"name":"bytes","nodeType":"ElementaryTypeName","src":"6294:5:7","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6224:90:7"},"returnParameters":{"id":1521,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1520,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1522,"src":"6333:6:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1519,"name":"bytes4","nodeType":"ElementaryTypeName","src":"6333:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"6332:8:7"},"scope":1543,"src":"6204:137:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1523,"nodeType":"StructuredDocumentation","src":"6345:555:7","text":"@notice The hook called after flash\n @param sender The initial msg.sender for the flash call\n @param recipient The address which will receive the token0 and token1 amounts\n @param amount0 The amount of token0 being requested for flash\n @param amount1 The amount of token1 being requested for flash\n @param paid0 The amount of token0 being paid for flash\n @param paid1 The amount of token1 being paid for flash\n @param data Data that passed through the callback\n @return bytes4 The function selector for the hook"},"functionSelector":"343d37ff","id":1542,"implemented":false,"kind":"function","modifiers":[],"name":"afterFlash","nameLocation":"6912:10:7","nodeType":"FunctionDefinition","parameters":{"id":1538,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1525,"mutability":"mutable","name":"sender","nameLocation":"6936:6:7","nodeType":"VariableDeclaration","scope":1542,"src":"6928:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1524,"name":"address","nodeType":"ElementaryTypeName","src":"6928:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1527,"mutability":"mutable","name":"recipient","nameLocation":"6956:9:7","nodeType":"VariableDeclaration","scope":1542,"src":"6948:17:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1526,"name":"address","nodeType":"ElementaryTypeName","src":"6948:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1529,"mutability":"mutable","name":"amount0","nameLocation":"6979:7:7","nodeType":"VariableDeclaration","scope":1542,"src":"6971:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1528,"name":"uint256","nodeType":"ElementaryTypeName","src":"6971:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1531,"mutability":"mutable","name":"amount1","nameLocation":"7000:7:7","nodeType":"VariableDeclaration","scope":1542,"src":"6992:15:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1530,"name":"uint256","nodeType":"ElementaryTypeName","src":"6992:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1533,"mutability":"mutable","name":"paid0","nameLocation":"7021:5:7","nodeType":"VariableDeclaration","scope":1542,"src":"7013:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1532,"name":"uint256","nodeType":"ElementaryTypeName","src":"7013:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1535,"mutability":"mutable","name":"paid1","nameLocation":"7040:5:7","nodeType":"VariableDeclaration","scope":1542,"src":"7032:13:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1534,"name":"uint256","nodeType":"ElementaryTypeName","src":"7032:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1537,"mutability":"mutable","name":"data","nameLocation":"7066:4:7","nodeType":"VariableDeclaration","scope":1542,"src":"7051:19:7","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1536,"name":"bytes","nodeType":"ElementaryTypeName","src":"7051:5:7","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6922:152:7"},"returnParameters":{"id":1541,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1540,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1542,"src":"7093:6:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1539,"name":"bytes4","nodeType":"ElementaryTypeName","src":"7093:6:7","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"7092:8:7"},"scope":1543,"src":"6903:198:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1544,"src":"216:6887:7","usedErrors":[],"usedEvents":[]}],"src":"45:7059:7"},"id":7},"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol","exportedSymbols":{"IAlgebraPluginFactory":[1575]},"id":1576,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1545,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:8"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPluginFactory","contractDependencies":[],"contractKind":"interface","documentation":{"id":1546,"nodeType":"StructuredDocumentation","src":"71:249:8","text":"@title An interface for a contract that is capable of deploying Algebra plugins\n @dev Such a factory can be used for automatic plugin creation for new pools.\n Also a factory be used as an entry point for custom (additional) pools creation"},"fullyImplemented":false,"id":1575,"linearizedBaseContracts":[1575],"name":"IAlgebraPluginFactory","nameLocation":"330:21:8","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1547,"nodeType":"StructuredDocumentation","src":"356:364:8","text":"@notice Deploys new plugin contract for pool\n @param pool The address of the new pool\n @param creator The address that initiated the pool creation\n @param deployer The address of new plugin deployer contract (0 if not used)\n @param token0 First token of the pool\n @param token1 Second token of the pool\n @return New plugin address"},"functionSelector":"1d0338d9","id":1564,"implemented":false,"kind":"function","modifiers":[],"name":"beforeCreatePoolHook","nameLocation":"732:20:8","nodeType":"FunctionDefinition","parameters":{"id":1560,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1549,"mutability":"mutable","name":"pool","nameLocation":"766:4:8","nodeType":"VariableDeclaration","scope":1564,"src":"758:12:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1548,"name":"address","nodeType":"ElementaryTypeName","src":"758:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1551,"mutability":"mutable","name":"creator","nameLocation":"784:7:8","nodeType":"VariableDeclaration","scope":1564,"src":"776:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1550,"name":"address","nodeType":"ElementaryTypeName","src":"776:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1553,"mutability":"mutable","name":"deployer","nameLocation":"805:8:8","nodeType":"VariableDeclaration","scope":1564,"src":"797:16:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1552,"name":"address","nodeType":"ElementaryTypeName","src":"797:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1555,"mutability":"mutable","name":"token0","nameLocation":"827:6:8","nodeType":"VariableDeclaration","scope":1564,"src":"819:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1554,"name":"address","nodeType":"ElementaryTypeName","src":"819:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1557,"mutability":"mutable","name":"token1","nameLocation":"847:6:8","nodeType":"VariableDeclaration","scope":1564,"src":"839:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1556,"name":"address","nodeType":"ElementaryTypeName","src":"839:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1559,"mutability":"mutable","name":"data","nameLocation":"874:4:8","nodeType":"VariableDeclaration","scope":1564,"src":"859:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1558,"name":"bytes","nodeType":"ElementaryTypeName","src":"859:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"752:130:8"},"returnParameters":{"id":1563,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1562,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1564,"src":"901:7:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1561,"name":"address","nodeType":"ElementaryTypeName","src":"901:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"900:9:8"},"scope":1575,"src":"723:187:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1565,"nodeType":"StructuredDocumentation","src":"914:211:8","text":"@notice Called after the pool is created\n @param plugin The plugin address\n @param pool The address of the new pool\n @param deployer The address of new plugin deployer contract (0 if not used)"},"functionSelector":"8d5ef8d1","id":1574,"implemented":false,"kind":"function","modifiers":[],"name":"afterCreatePoolHook","nameLocation":"1137:19:8","nodeType":"FunctionDefinition","parameters":{"id":1572,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1567,"mutability":"mutable","name":"plugin","nameLocation":"1165:6:8","nodeType":"VariableDeclaration","scope":1574,"src":"1157:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1566,"name":"address","nodeType":"ElementaryTypeName","src":"1157:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1569,"mutability":"mutable","name":"pool","nameLocation":"1181:4:8","nodeType":"VariableDeclaration","scope":1574,"src":"1173:12:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1568,"name":"address","nodeType":"ElementaryTypeName","src":"1173:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1571,"mutability":"mutable","name":"deployer","nameLocation":"1195:8:8","nodeType":"VariableDeclaration","scope":1574,"src":"1187:16:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1570,"name":"address","nodeType":"ElementaryTypeName","src":"1187:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1156:48:8"},"returnParameters":{"id":1573,"nodeType":"ParameterList","parameters":[],"src":"1213:0:8"},"scope":1575,"src":"1128:86:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1576,"src":"320:896:8","usedErrors":[],"usedEvents":[]}],"src":"45:1172:8"},"id":8},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol","exportedSymbols":{"IAlgebraPoolActions":[1691]},"id":1692,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1577,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:9"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolActions","contractDependencies":[],"contractKind":"interface","documentation":{"id":1578,"nodeType":"StructuredDocumentation","src":"71:173:9","text":"@title Permissionless pool actions\n @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces"},"fullyImplemented":false,"id":1691,"linearizedBaseContracts":[1691],"name":"IAlgebraPoolActions","nameLocation":"254:19:9","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1579,"nodeType":"StructuredDocumentation","src":"278:304:9","text":"@notice Sets the initial price for the pool\n @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value\n @dev Initialization should be done in one transaction with pool creation to avoid front-running\n @param initialPrice The initial sqrt price of the pool as a Q64.96"},"functionSelector":"f637731d","id":1584,"implemented":false,"kind":"function","modifiers":[],"name":"initialize","nameLocation":"594:10:9","nodeType":"FunctionDefinition","parameters":{"id":1582,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1581,"mutability":"mutable","name":"initialPrice","nameLocation":"613:12:9","nodeType":"VariableDeclaration","scope":1584,"src":"605:20:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1580,"name":"uint160","nodeType":"ElementaryTypeName","src":"605:7:9","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"604:22:9"},"returnParameters":{"id":1583,"nodeType":"ParameterList","parameters":[],"src":"635:0:9"},"scope":1691,"src":"585:51:9","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1585,"nodeType":"StructuredDocumentation","src":"640:1184:9","text":"@notice Adds liquidity for the given recipient/bottomTick/topTick position\n @dev The caller of this method receives a callback in the form of IAlgebraMintCallback#algebraMintCallback\n in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends\n on bottomTick, topTick, the amount of liquidity, and the current price.\n @param leftoversRecipient The address which will receive potential surplus of paid tokens\n @param recipient The address for which the liquidity will be created\n @param bottomTick The lower tick of the position in which to add liquidity\n @param topTick The upper tick of the position in which to add liquidity\n @param liquidityDesired The desired amount of liquidity to mint\n @param data Any data that should be passed through to the callback\n @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\n @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\n @return liquidityActual The actual minted amount of liquidity"},"functionSelector":"aafe29c0","id":1606,"implemented":false,"kind":"function","modifiers":[],"name":"mint","nameLocation":"1836:4:9","nodeType":"FunctionDefinition","parameters":{"id":1598,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1587,"mutability":"mutable","name":"leftoversRecipient","nameLocation":"1854:18:9","nodeType":"VariableDeclaration","scope":1606,"src":"1846:26:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1586,"name":"address","nodeType":"ElementaryTypeName","src":"1846:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1589,"mutability":"mutable","name":"recipient","nameLocation":"1886:9:9","nodeType":"VariableDeclaration","scope":1606,"src":"1878:17:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1588,"name":"address","nodeType":"ElementaryTypeName","src":"1878:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1591,"mutability":"mutable","name":"bottomTick","nameLocation":"1907:10:9","nodeType":"VariableDeclaration","scope":1606,"src":"1901:16:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1590,"name":"int24","nodeType":"ElementaryTypeName","src":"1901:5:9","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1593,"mutability":"mutable","name":"topTick","nameLocation":"1929:7:9","nodeType":"VariableDeclaration","scope":1606,"src":"1923:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1592,"name":"int24","nodeType":"ElementaryTypeName","src":"1923:5:9","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1595,"mutability":"mutable","name":"liquidityDesired","nameLocation":"1950:16:9","nodeType":"VariableDeclaration","scope":1606,"src":"1942:24:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1594,"name":"uint128","nodeType":"ElementaryTypeName","src":"1942:7:9","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1597,"mutability":"mutable","name":"data","nameLocation":"1987:4:9","nodeType":"VariableDeclaration","scope":1606,"src":"1972:19:9","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1596,"name":"bytes","nodeType":"ElementaryTypeName","src":"1972:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1840:155:9"},"returnParameters":{"id":1605,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1600,"mutability":"mutable","name":"amount0","nameLocation":"2022:7:9","nodeType":"VariableDeclaration","scope":1606,"src":"2014:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1599,"name":"uint256","nodeType":"ElementaryTypeName","src":"2014:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1602,"mutability":"mutable","name":"amount1","nameLocation":"2039:7:9","nodeType":"VariableDeclaration","scope":1606,"src":"2031:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1601,"name":"uint256","nodeType":"ElementaryTypeName","src":"2031:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1604,"mutability":"mutable","name":"liquidityActual","nameLocation":"2056:15:9","nodeType":"VariableDeclaration","scope":1606,"src":"2048:23:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1603,"name":"uint128","nodeType":"ElementaryTypeName","src":"2048:7:9","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"2013:59:9"},"scope":1691,"src":"1827:246:9","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1607,"nodeType":"StructuredDocumentation","src":"2077:1030:9","text":"@notice Collects tokens owed to a position\n @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.\n Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or\n amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the\n actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\n @param recipient The address which should receive the fees collected\n @param bottomTick The lower tick of the position for which to collect fees\n @param topTick The upper tick of the position for which to collect fees\n @param amount0Requested How much token0 should be withdrawn from the fees owed\n @param amount1Requested How much token1 should be withdrawn from the fees owed\n @return amount0 The amount of fees collected in token0\n @return amount1 The amount of fees collected in token1"},"functionSelector":"4f1eb3d8","id":1624,"implemented":false,"kind":"function","modifiers":[],"name":"collect","nameLocation":"3119:7:9","nodeType":"FunctionDefinition","parameters":{"id":1618,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1609,"mutability":"mutable","name":"recipient","nameLocation":"3140:9:9","nodeType":"VariableDeclaration","scope":1624,"src":"3132:17:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1608,"name":"address","nodeType":"ElementaryTypeName","src":"3132:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1611,"mutability":"mutable","name":"bottomTick","nameLocation":"3161:10:9","nodeType":"VariableDeclaration","scope":1624,"src":"3155:16:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1610,"name":"int24","nodeType":"ElementaryTypeName","src":"3155:5:9","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1613,"mutability":"mutable","name":"topTick","nameLocation":"3183:7:9","nodeType":"VariableDeclaration","scope":1624,"src":"3177:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1612,"name":"int24","nodeType":"ElementaryTypeName","src":"3177:5:9","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1615,"mutability":"mutable","name":"amount0Requested","nameLocation":"3204:16:9","nodeType":"VariableDeclaration","scope":1624,"src":"3196:24:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1614,"name":"uint128","nodeType":"ElementaryTypeName","src":"3196:7:9","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1617,"mutability":"mutable","name":"amount1Requested","nameLocation":"3234:16:9","nodeType":"VariableDeclaration","scope":1624,"src":"3226:24:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1616,"name":"uint128","nodeType":"ElementaryTypeName","src":"3226:7:9","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3126:128:9"},"returnParameters":{"id":1623,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1620,"mutability":"mutable","name":"amount0","nameLocation":"3281:7:9","nodeType":"VariableDeclaration","scope":1624,"src":"3273:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1619,"name":"uint128","nodeType":"ElementaryTypeName","src":"3273:7:9","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1622,"mutability":"mutable","name":"amount1","nameLocation":"3298:7:9","nodeType":"VariableDeclaration","scope":1624,"src":"3290:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1621,"name":"uint128","nodeType":"ElementaryTypeName","src":"3290:7:9","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3272:34:9"},"scope":1691,"src":"3110:197:9","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1625,"nodeType":"StructuredDocumentation","src":"3311:687:9","text":"@notice Burn liquidity from the sender and account tokens owed for the liquidity to the position\n @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0\n @dev Fees must be collected separately via a call to #collect\n @param bottomTick The lower tick of the position for which to burn liquidity\n @param topTick The upper tick of the position for which to burn liquidity\n @param amount How much liquidity to burn\n @param data Any data that should be passed through to the plugin\n @return amount0 The amount of token0 sent to the recipient\n @return amount1 The amount of token1 sent to the recipient"},"functionSelector":"3b3bc70e","id":1640,"implemented":false,"kind":"function","modifiers":[],"name":"burn","nameLocation":"4010:4:9","nodeType":"FunctionDefinition","parameters":{"id":1634,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1627,"mutability":"mutable","name":"bottomTick","nameLocation":"4021:10:9","nodeType":"VariableDeclaration","scope":1640,"src":"4015:16:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1626,"name":"int24","nodeType":"ElementaryTypeName","src":"4015:5:9","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1629,"mutability":"mutable","name":"topTick","nameLocation":"4039:7:9","nodeType":"VariableDeclaration","scope":1640,"src":"4033:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1628,"name":"int24","nodeType":"ElementaryTypeName","src":"4033:5:9","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1631,"mutability":"mutable","name":"amount","nameLocation":"4056:6:9","nodeType":"VariableDeclaration","scope":1640,"src":"4048:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1630,"name":"uint128","nodeType":"ElementaryTypeName","src":"4048:7:9","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1633,"mutability":"mutable","name":"data","nameLocation":"4079:4:9","nodeType":"VariableDeclaration","scope":1640,"src":"4064:19:9","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1632,"name":"bytes","nodeType":"ElementaryTypeName","src":"4064:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4014:70:9"},"returnParameters":{"id":1639,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1636,"mutability":"mutable","name":"amount0","nameLocation":"4111:7:9","nodeType":"VariableDeclaration","scope":1640,"src":"4103:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1635,"name":"uint256","nodeType":"ElementaryTypeName","src":"4103:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1638,"mutability":"mutable","name":"amount1","nameLocation":"4128:7:9","nodeType":"VariableDeclaration","scope":1640,"src":"4120:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1637,"name":"uint256","nodeType":"ElementaryTypeName","src":"4120:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4102:34:9"},"scope":1691,"src":"4001:136:9","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1641,"nodeType":"StructuredDocumentation","src":"4141:1055:9","text":"@notice Swap token0 for token1, or token1 for token0\n @dev The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback\n @param recipient The address to receive the output of the swap\n @param zeroToOne The direction of the swap, true for token0 to token1, false for token1 to token0\n @param amountRequired The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\n @param limitSqrtPrice The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n value after the swap. If one for zero, the price cannot be greater than this value after the swap\n @param data Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\n @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\n @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive"},"functionSelector":"128acb08","id":1658,"implemented":false,"kind":"function","modifiers":[],"name":"swap","nameLocation":"5208:4:9","nodeType":"FunctionDefinition","parameters":{"id":1652,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1643,"mutability":"mutable","name":"recipient","nameLocation":"5226:9:9","nodeType":"VariableDeclaration","scope":1658,"src":"5218:17:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1642,"name":"address","nodeType":"ElementaryTypeName","src":"5218:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1645,"mutability":"mutable","name":"zeroToOne","nameLocation":"5246:9:9","nodeType":"VariableDeclaration","scope":1658,"src":"5241:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1644,"name":"bool","nodeType":"ElementaryTypeName","src":"5241:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1647,"mutability":"mutable","name":"amountRequired","nameLocation":"5268:14:9","nodeType":"VariableDeclaration","scope":1658,"src":"5261:21:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1646,"name":"int256","nodeType":"ElementaryTypeName","src":"5261:6:9","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1649,"mutability":"mutable","name":"limitSqrtPrice","nameLocation":"5296:14:9","nodeType":"VariableDeclaration","scope":1658,"src":"5288:22:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1648,"name":"uint160","nodeType":"ElementaryTypeName","src":"5288:7:9","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1651,"mutability":"mutable","name":"data","nameLocation":"5331:4:9","nodeType":"VariableDeclaration","scope":1658,"src":"5316:19:9","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1650,"name":"bytes","nodeType":"ElementaryTypeName","src":"5316:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5212:127:9"},"returnParameters":{"id":1657,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1654,"mutability":"mutable","name":"amount0","nameLocation":"5365:7:9","nodeType":"VariableDeclaration","scope":1658,"src":"5358:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1653,"name":"int256","nodeType":"ElementaryTypeName","src":"5358:6:9","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1656,"mutability":"mutable","name":"amount1","nameLocation":"5381:7:9","nodeType":"VariableDeclaration","scope":1658,"src":"5374:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1655,"name":"int256","nodeType":"ElementaryTypeName","src":"5374:6:9","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"5357:32:9"},"scope":1691,"src":"5199:191:9","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1659,"nodeType":"StructuredDocumentation","src":"5394:1257:9","text":"@notice Swap token0 for token1, or token1 for token0 with prepayment\n @dev The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback\n caller must send tokens in callback before swap calculation\n the actually sent amount of tokens is used for further calculations\n @param leftoversRecipient The address which will receive potential surplus of paid tokens\n @param recipient The address to receive the output of the swap\n @param zeroToOne The direction of the swap, true for token0 to token1, false for token1 to token0\n @param amountToSell The amount of the swap, only positive (exact input) amount allowed\n @param limitSqrtPrice The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this\n value after the swap. If one for zero, the price cannot be greater than this value after the swap\n @param data Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\n @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive\n @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive"},"functionSelector":"9e4e0227","id":1678,"implemented":false,"kind":"function","modifiers":[],"name":"swapWithPaymentInAdvance","nameLocation":"6663:24:9","nodeType":"FunctionDefinition","parameters":{"id":1672,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1661,"mutability":"mutable","name":"leftoversRecipient","nameLocation":"6701:18:9","nodeType":"VariableDeclaration","scope":1678,"src":"6693:26:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1660,"name":"address","nodeType":"ElementaryTypeName","src":"6693:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1663,"mutability":"mutable","name":"recipient","nameLocation":"6733:9:9","nodeType":"VariableDeclaration","scope":1678,"src":"6725:17:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1662,"name":"address","nodeType":"ElementaryTypeName","src":"6725:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1665,"mutability":"mutable","name":"zeroToOne","nameLocation":"6753:9:9","nodeType":"VariableDeclaration","scope":1678,"src":"6748:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1664,"name":"bool","nodeType":"ElementaryTypeName","src":"6748:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1667,"mutability":"mutable","name":"amountToSell","nameLocation":"6775:12:9","nodeType":"VariableDeclaration","scope":1678,"src":"6768:19:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1666,"name":"int256","nodeType":"ElementaryTypeName","src":"6768:6:9","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1669,"mutability":"mutable","name":"limitSqrtPrice","nameLocation":"6801:14:9","nodeType":"VariableDeclaration","scope":1678,"src":"6793:22:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1668,"name":"uint160","nodeType":"ElementaryTypeName","src":"6793:7:9","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1671,"mutability":"mutable","name":"data","nameLocation":"6836:4:9","nodeType":"VariableDeclaration","scope":1678,"src":"6821:19:9","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1670,"name":"bytes","nodeType":"ElementaryTypeName","src":"6821:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6687:157:9"},"returnParameters":{"id":1677,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1674,"mutability":"mutable","name":"amount0","nameLocation":"6870:7:9","nodeType":"VariableDeclaration","scope":1678,"src":"6863:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1673,"name":"int256","nodeType":"ElementaryTypeName","src":"6863:6:9","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1676,"mutability":"mutable","name":"amount1","nameLocation":"6886:7:9","nodeType":"VariableDeclaration","scope":1678,"src":"6879:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1675,"name":"int256","nodeType":"ElementaryTypeName","src":"6879:6:9","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"6862:32:9"},"scope":1691,"src":"6654:241:9","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1679,"nodeType":"StructuredDocumentation","src":"6899:701:9","text":"@notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback\n @dev The caller of this method receives a callback in the form of IAlgebraFlashCallback#algebraFlashCallback\n @dev All excess tokens paid in the callback are distributed to currently in-range liquidity providers as an additional fee.\n If there are no in-range liquidity providers, the fee will be transferred to the first active provider in the future\n @param recipient The address which will receive the token0 and token1 amounts\n @param amount0 The amount of token0 to send\n @param amount1 The amount of token1 to send\n @param data Any data to be passed through to the callback"},"functionSelector":"490e6cbc","id":1690,"implemented":false,"kind":"function","modifiers":[],"name":"flash","nameLocation":"7612:5:9","nodeType":"FunctionDefinition","parameters":{"id":1688,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1681,"mutability":"mutable","name":"recipient","nameLocation":"7626:9:9","nodeType":"VariableDeclaration","scope":1690,"src":"7618:17:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1680,"name":"address","nodeType":"ElementaryTypeName","src":"7618:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1683,"mutability":"mutable","name":"amount0","nameLocation":"7645:7:9","nodeType":"VariableDeclaration","scope":1690,"src":"7637:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1682,"name":"uint256","nodeType":"ElementaryTypeName","src":"7637:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1685,"mutability":"mutable","name":"amount1","nameLocation":"7662:7:9","nodeType":"VariableDeclaration","scope":1690,"src":"7654:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1684,"name":"uint256","nodeType":"ElementaryTypeName","src":"7654:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1687,"mutability":"mutable","name":"data","nameLocation":"7686:4:9","nodeType":"VariableDeclaration","scope":1690,"src":"7671:19:9","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1686,"name":"bytes","nodeType":"ElementaryTypeName","src":"7671:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7617:74:9"},"returnParameters":{"id":1689,"nodeType":"ParameterList","parameters":[],"src":"7700:0:9"},"scope":1691,"src":"7603:98:9","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1692,"src":"244:7459:9","usedErrors":[],"usedEvents":[]}],"src":"45:7659:9"},"id":9},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","exportedSymbols":{"IAlgebraPoolErrors":[1793]},"id":1794,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1693,"literals":["solidity",">=","0.8",".4"],"nodeType":"PragmaDirective","src":"45:24:10"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolErrors","contractDependencies":[],"contractKind":"interface","documentation":{"id":1694,"nodeType":"StructuredDocumentation","src":"71:209:10","text":"@title Errors emitted by a pool\n @notice Contains custom errors emitted by the pool\n @dev Custom errors are separated from the common pool interface for compatibility with older versions of Solidity"},"fullyImplemented":true,"id":1793,"linearizedBaseContracts":[1793],"name":"IAlgebraPoolErrors","nameLocation":"290:18:10","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1695,"nodeType":"StructuredDocumentation","src":"343:43:10","text":"@notice Emitted by the reentrancy guard"},"errorSelector":"cf309012","id":1697,"name":"locked","nameLocation":"395:6:10","nodeType":"ErrorDefinition","parameters":{"id":1696,"nodeType":"ParameterList","parameters":[],"src":"401:2:10"},"src":"389:15:10"},{"documentation":{"id":1698,"nodeType":"StructuredDocumentation","src":"408:48:10","text":"@notice Emitted if arithmetic error occurred"},"errorSelector":"8995290f","id":1700,"name":"arithmeticError","nameLocation":"465:15:10","nodeType":"ErrorDefinition","parameters":{"id":1699,"nodeType":"ParameterList","parameters":[],"src":"480:2:10"},"src":"459:24:10"},{"documentation":{"id":1701,"nodeType":"StructuredDocumentation","src":"487:70:10","text":"@notice Emitted if an attempt is made to initialize the pool twice"},"errorSelector":"52669adc","id":1703,"name":"alreadyInitialized","nameLocation":"566:18:10","nodeType":"ErrorDefinition","parameters":{"id":1702,"nodeType":"ParameterList","parameters":[],"src":"584:2:10"},"src":"560:27:10"},{"documentation":{"id":1704,"nodeType":"StructuredDocumentation","src":"591:79:10","text":"@notice Emitted if an attempt is made to mint or swap in uninitialized pool"},"errorSelector":"812eb655","id":1706,"name":"notInitialized","nameLocation":"679:14:10","nodeType":"ErrorDefinition","parameters":{"id":1705,"nodeType":"ParameterList","parameters":[],"src":"693:2:10"},"src":"673:23:10"},{"documentation":{"id":1707,"nodeType":"StructuredDocumentation","src":"700:69:10","text":"@notice Emitted if 0 is passed as amountRequired to swap function"},"errorSelector":"79db9840","id":1709,"name":"zeroAmountRequired","nameLocation":"778:18:10","nodeType":"ErrorDefinition","parameters":{"id":1708,"nodeType":"ParameterList","parameters":[],"src":"796:2:10"},"src":"772:27:10"},{"documentation":{"id":1710,"nodeType":"StructuredDocumentation","src":"803:82:10","text":"@notice Emitted if invalid amount is passed as amountRequired to swap function"},"errorSelector":"69967402","id":1712,"name":"invalidAmountRequired","nameLocation":"894:21:10","nodeType":"ErrorDefinition","parameters":{"id":1711,"nodeType":"ParameterList","parameters":[],"src":"915:2:10"},"src":"888:30:10"},{"documentation":{"id":1713,"nodeType":"StructuredDocumentation","src":"922:69:10","text":"@notice Emitted if plugin fee param greater than fee/override fee"},"errorSelector":"15b2afa9","id":1715,"name":"incorrectPluginFee","nameLocation":"1000:18:10","nodeType":"ErrorDefinition","parameters":{"id":1714,"nodeType":"ParameterList","parameters":[],"src":"1018:2:10"},"src":"994:27:10"},{"documentation":{"id":1716,"nodeType":"StructuredDocumentation","src":"1025:73:10","text":"@notice Emitted if the pool received fewer tokens than it should have"},"errorSelector":"fb5b5414","id":1718,"name":"insufficientInputAmount","nameLocation":"1107:23:10","nodeType":"ErrorDefinition","parameters":{"id":1717,"nodeType":"ParameterList","parameters":[],"src":"1130:2:10"},"src":"1101:32:10"},{"documentation":{"id":1719,"nodeType":"StructuredDocumentation","src":"1137:66:10","text":"@notice Emitted if there was an attempt to mint zero liquidity"},"errorSelector":"e6ace6df","id":1721,"name":"zeroLiquidityDesired","nameLocation":"1212:20:10","nodeType":"ErrorDefinition","parameters":{"id":1720,"nodeType":"ParameterList","parameters":[],"src":"1232:2:10"},"src":"1206:29:10"},{"documentation":{"id":1722,"nodeType":"StructuredDocumentation","src":"1238:105:10","text":"@notice Emitted if actual amount of liquidity is zero (due to insufficient amount of tokens received)"},"errorSelector":"beba2a6c","id":1724,"name":"zeroLiquidityActual","nameLocation":"1352:19:10","nodeType":"ErrorDefinition","parameters":{"id":1723,"nodeType":"ParameterList","parameters":[],"src":"1371:2:10"},"src":"1346:28:10"},{"documentation":{"id":1725,"nodeType":"StructuredDocumentation","src":"1378:86:10","text":"@notice Emitted if the pool received fewer tokens0 after flash than it should have"},"errorSelector":"6dbca1fe","id":1727,"name":"flashInsufficientPaid0","nameLocation":"1473:22:10","nodeType":"ErrorDefinition","parameters":{"id":1726,"nodeType":"ParameterList","parameters":[],"src":"1495:2:10"},"src":"1467:31:10"},{"documentation":{"id":1728,"nodeType":"StructuredDocumentation","src":"1501:86:10","text":"@notice Emitted if the pool received fewer tokens1 after flash than it should have"},"errorSelector":"c998149f","id":1730,"name":"flashInsufficientPaid1","nameLocation":"1596:22:10","nodeType":"ErrorDefinition","parameters":{"id":1729,"nodeType":"ParameterList","parameters":[],"src":"1618:2:10"},"src":"1590:31:10"},{"documentation":{"id":1731,"nodeType":"StructuredDocumentation","src":"1625:56:10","text":"@notice Emitted if limitSqrtPrice param is incorrect"},"errorSelector":"16626723","id":1733,"name":"invalidLimitSqrtPrice","nameLocation":"1690:21:10","nodeType":"ErrorDefinition","parameters":{"id":1732,"nodeType":"ParameterList","parameters":[],"src":"1711:2:10"},"src":"1684:30:10"},{"documentation":{"id":1734,"nodeType":"StructuredDocumentation","src":"1718:49:10","text":"@notice Tick must be divisible by tickspacing"},"errorSelector":"5f6e14f3","id":1736,"name":"tickIsNotSpaced","nameLocation":"1776:15:10","nodeType":"ErrorDefinition","parameters":{"id":1735,"nodeType":"ParameterList","parameters":[],"src":"1791:2:10"},"src":"1770:24:10"},{"documentation":{"id":1737,"nodeType":"StructuredDocumentation","src":"1798:104:10","text":"@notice Emitted if a method is called that is accessible only to the factory owner or dedicated role"},"errorSelector":"932984d2","id":1739,"name":"notAllowed","nameLocation":"1911:10:10","nodeType":"ErrorDefinition","parameters":{"id":1738,"nodeType":"ParameterList","parameters":[],"src":"1921:2:10"},"src":"1905:19:10"},{"documentation":{"id":1740,"nodeType":"StructuredDocumentation","src":"1928:65:10","text":"@notice Emitted if new tick spacing exceeds max allowed value"},"errorSelector":"afe09f44","id":1742,"name":"invalidNewTickSpacing","nameLocation":"2002:21:10","nodeType":"ErrorDefinition","parameters":{"id":1741,"nodeType":"ParameterList","parameters":[],"src":"2023:2:10"},"src":"1996:30:10"},{"documentation":{"id":1743,"nodeType":"StructuredDocumentation","src":"2029:66:10","text":"@notice Emitted if new community fee exceeds max allowed value"},"errorSelector":"a709b9af","id":1745,"name":"invalidNewCommunityFee","nameLocation":"2104:22:10","nodeType":"ErrorDefinition","parameters":{"id":1744,"nodeType":"ParameterList","parameters":[],"src":"2126:2:10"},"src":"2098:31:10"},{"documentation":{"id":1746,"nodeType":"StructuredDocumentation","src":"2133:102:10","text":"@notice Emitted if an attempt is made to manually change the fee value, but dynamic fee is enabled"},"errorSelector":"d39b8e0e","id":1748,"name":"dynamicFeeActive","nameLocation":"2244:16:10","nodeType":"ErrorDefinition","parameters":{"id":1747,"nodeType":"ParameterList","parameters":[],"src":"2260:2:10"},"src":"2238:25:10"},{"documentation":{"id":1749,"nodeType":"StructuredDocumentation","src":"2266:104:10","text":"@notice Emitted if an attempt is made by plugin to change the fee value, but dynamic fee is disabled"},"errorSelector":"3a4528ef","id":1751,"name":"dynamicFeeDisabled","nameLocation":"2379:18:10","nodeType":"ErrorDefinition","parameters":{"id":1750,"nodeType":"ParameterList","parameters":[],"src":"2397:2:10"},"src":"2373:27:10"},{"documentation":{"id":1752,"nodeType":"StructuredDocumentation","src":"2403:109:10","text":"@notice Emitted if an attempt is made to change the plugin configuration, but the plugin is not connected"},"errorSelector":"9e727ce3","id":1754,"name":"pluginIsNotConnected","nameLocation":"2521:20:10","nodeType":"ErrorDefinition","parameters":{"id":1753,"nodeType":"ParameterList","parameters":[],"src":"2541:2:10"},"src":"2515:29:10"},{"documentation":{"id":1755,"nodeType":"StructuredDocumentation","src":"2547:124:10","text":"@notice Emitted if a plugin returns invalid selector after hook call\n @param expectedSelector The expected selector"},"errorSelector":"d3f5153b","id":1759,"name":"invalidHookResponse","nameLocation":"2680:19:10","nodeType":"ErrorDefinition","parameters":{"id":1758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1757,"mutability":"mutable","name":"expectedSelector","nameLocation":"2707:16:10","nodeType":"VariableDeclaration","scope":1759,"src":"2700:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1756,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2700:6:10","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2699:25:10"},"src":"2674:51:10"},{"documentation":{"id":1760,"nodeType":"StructuredDocumentation","src":"2768:43:10","text":"@notice Emitted if liquidity underflows"},"errorSelector":"1301f748","id":1762,"name":"liquiditySub","nameLocation":"2820:12:10","nodeType":"ErrorDefinition","parameters":{"id":1761,"nodeType":"ParameterList","parameters":[],"src":"2832:2:10"},"src":"2814:21:10"},{"documentation":{"id":1763,"nodeType":"StructuredDocumentation","src":"2838:42:10","text":"@notice Emitted if liquidity overflows"},"errorSelector":"997402f2","id":1765,"name":"liquidityAdd","nameLocation":"2889:12:10","nodeType":"ErrorDefinition","parameters":{"id":1764,"nodeType":"ParameterList","parameters":[],"src":"2901:2:10"},"src":"2883:21:10"},{"documentation":{"id":1766,"nodeType":"StructuredDocumentation","src":"2948:78:10","text":"@notice Emitted if the topTick param not greater then the bottomTick param"},"errorSelector":"d9a841a7","id":1768,"name":"topTickLowerOrEqBottomTick","nameLocation":"3035:26:10","nodeType":"ErrorDefinition","parameters":{"id":1767,"nodeType":"ParameterList","parameters":[],"src":"3061:2:10"},"src":"3029:35:10"},{"documentation":{"id":1769,"nodeType":"StructuredDocumentation","src":"3067:75:10","text":"@notice Emitted if the bottomTick param is lower than min allowed value"},"errorSelector":"746b1fc4","id":1771,"name":"bottomTickLowerThanMIN","nameLocation":"3151:22:10","nodeType":"ErrorDefinition","parameters":{"id":1770,"nodeType":"ParameterList","parameters":[],"src":"3173:2:10"},"src":"3145:31:10"},{"documentation":{"id":1772,"nodeType":"StructuredDocumentation","src":"3179:74:10","text":"@notice Emitted if the topTick param is greater than max allowed value"},"errorSelector":"1445443d","id":1774,"name":"topTickAboveMAX","nameLocation":"3262:15:10","nodeType":"ErrorDefinition","parameters":{"id":1773,"nodeType":"ParameterList","parameters":[],"src":"3277:2:10"},"src":"3256:24:10"},{"documentation":{"id":1775,"nodeType":"StructuredDocumentation","src":"3283:98:10","text":"@notice Emitted if the liquidity value associated with the tick exceeds MAX_LIQUIDITY_PER_TICK"},"errorSelector":"25b8364a","id":1777,"name":"liquidityOverflow","nameLocation":"3390:17:10","nodeType":"ErrorDefinition","parameters":{"id":1776,"nodeType":"ParameterList","parameters":[],"src":"3407:2:10"},"src":"3384:26:10"},{"documentation":{"id":1778,"nodeType":"StructuredDocumentation","src":"3413:80:10","text":"@notice Emitted if an attempt is made to interact with an uninitialized tick"},"errorSelector":"0d6e0949","id":1780,"name":"tickIsNotInitialized","nameLocation":"3502:20:10","nodeType":"ErrorDefinition","parameters":{"id":1779,"nodeType":"ParameterList","parameters":[],"src":"3522:2:10"},"src":"3496:29:10"},{"documentation":{"id":1781,"nodeType":"StructuredDocumentation","src":"3528:140:10","text":"@notice Emitted if there is an attempt to insert a new tick into the list of ticks with incorrect indexes of the previous and next ticks"},"errorSelector":"e45ac17d","id":1783,"name":"tickInvalidLinks","nameLocation":"3677:16:10","nodeType":"ErrorDefinition","parameters":{"id":1782,"nodeType":"ParameterList","parameters":[],"src":"3693:2:10"},"src":"3671:25:10"},{"documentation":{"id":1784,"nodeType":"StructuredDocumentation","src":"3738:55:10","text":"@notice Emitted if token transfer failed internally"},"errorSelector":"e465903e","id":1786,"name":"transferFailed","nameLocation":"3802:14:10","nodeType":"ErrorDefinition","parameters":{"id":1785,"nodeType":"ParameterList","parameters":[],"src":"3816:2:10"},"src":"3796:23:10"},{"documentation":{"id":1787,"nodeType":"StructuredDocumentation","src":"3857:94:10","text":"@notice Emitted if tick is greater than the maximum or less than the minimum allowed value"},"errorSelector":"3c10250f","id":1789,"name":"tickOutOfRange","nameLocation":"3960:14:10","nodeType":"ErrorDefinition","parameters":{"id":1788,"nodeType":"ParameterList","parameters":[],"src":"3974:2:10"},"src":"3954:23:10"},{"documentation":{"id":1790,"nodeType":"StructuredDocumentation","src":"3980:95:10","text":"@notice Emitted if price is greater than the maximum or less than the minimum allowed value"},"errorSelector":"55cf1e23","id":1792,"name":"priceOutOfRange","nameLocation":"4084:15:10","nodeType":"ErrorDefinition","parameters":{"id":1791,"nodeType":"ParameterList","parameters":[],"src":"4099:2:10"},"src":"4078:24:10"}],"scope":1794,"src":"280:3824:10","usedErrors":[1697,1700,1703,1706,1709,1712,1715,1718,1721,1724,1727,1730,1733,1736,1739,1742,1745,1748,1751,1754,1759,1762,1765,1768,1771,1774,1777,1780,1783,1786,1789,1792],"usedEvents":[]}],"src":"45:4060:10"},"id":10},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol","exportedSymbols":{"IAlgebraPoolEvents":[1945]},"id":1946,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1795,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:11"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolEvents","contractDependencies":[],"contractKind":"interface","documentation":{"id":1796,"nodeType":"StructuredDocumentation","src":"71:170:11","text":"@title Events emitted by a pool\n @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces"},"fullyImplemented":true,"id":1945,"linearizedBaseContracts":[1945],"name":"IAlgebraPoolEvents","nameLocation":"251:18:11","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":1797,"nodeType":"StructuredDocumentation","src":"274:332:11","text":"@notice Emitted exactly once by a pool when #initialize is first called on the pool\n @dev Mint/Burn/Swaps cannot be emitted by the pool before Initialize\n @param price The initial sqrt price of the pool, as a Q64.96\n @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool"},"eventSelector":"98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95","id":1803,"name":"Initialize","nameLocation":"615:10:11","nodeType":"EventDefinition","parameters":{"id":1802,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1799,"indexed":false,"mutability":"mutable","name":"price","nameLocation":"634:5:11","nodeType":"VariableDeclaration","scope":1803,"src":"626:13:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1798,"name":"uint160","nodeType":"ElementaryTypeName","src":"626:7:11","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1801,"indexed":false,"mutability":"mutable","name":"tick","nameLocation":"647:4:11","nodeType":"VariableDeclaration","scope":1803,"src":"641:10:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1800,"name":"int24","nodeType":"ElementaryTypeName","src":"641:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"625:27:11"},"src":"609:44:11"},{"anonymous":false,"documentation":{"id":1804,"nodeType":"StructuredDocumentation","src":"657:545:11","text":"@notice Emitted when liquidity is minted for a given position\n @param sender The address that minted the liquidity\n @param owner The owner of the position and recipient of any minted liquidity\n @param bottomTick The lower tick of the position\n @param topTick The upper tick of the position\n @param liquidityAmount The amount of liquidity minted to the position range\n @param amount0 How much token0 was required for the minted liquidity\n @param amount1 How much token1 was required for the minted liquidity"},"eventSelector":"7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde","id":1820,"name":"Mint","nameLocation":"1211:4:11","nodeType":"EventDefinition","parameters":{"id":1819,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1806,"indexed":false,"mutability":"mutable","name":"sender","nameLocation":"1229:6:11","nodeType":"VariableDeclaration","scope":1820,"src":"1221:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1805,"name":"address","nodeType":"ElementaryTypeName","src":"1221:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1808,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"1257:5:11","nodeType":"VariableDeclaration","scope":1820,"src":"1241:21:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1807,"name":"address","nodeType":"ElementaryTypeName","src":"1241:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1810,"indexed":true,"mutability":"mutable","name":"bottomTick","nameLocation":"1282:10:11","nodeType":"VariableDeclaration","scope":1820,"src":"1268:24:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1809,"name":"int24","nodeType":"ElementaryTypeName","src":"1268:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1812,"indexed":true,"mutability":"mutable","name":"topTick","nameLocation":"1312:7:11","nodeType":"VariableDeclaration","scope":1820,"src":"1298:21:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1811,"name":"int24","nodeType":"ElementaryTypeName","src":"1298:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1814,"indexed":false,"mutability":"mutable","name":"liquidityAmount","nameLocation":"1333:15:11","nodeType":"VariableDeclaration","scope":1820,"src":"1325:23:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1813,"name":"uint128","nodeType":"ElementaryTypeName","src":"1325:7:11","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1816,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"1362:7:11","nodeType":"VariableDeclaration","scope":1820,"src":"1354:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1815,"name":"uint256","nodeType":"ElementaryTypeName","src":"1354:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1818,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"1383:7:11","nodeType":"VariableDeclaration","scope":1820,"src":"1375:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1817,"name":"uint256","nodeType":"ElementaryTypeName","src":"1375:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1215:179:11"},"src":"1205:190:11"},{"anonymous":false,"documentation":{"id":1821,"nodeType":"StructuredDocumentation","src":"1399:419:11","text":"@notice Emitted when fees are collected by the owner of a position\n @param owner The owner of the position for which fees are collected\n @param recipient The address that received fees\n @param bottomTick The lower tick of the position\n @param topTick The upper tick of the position\n @param amount0 The amount of token0 fees collected\n @param amount1 The amount of token1 fees collected"},"eventSelector":"70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0","id":1835,"name":"Collect","nameLocation":"1827:7:11","nodeType":"EventDefinition","parameters":{"id":1834,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1823,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"1851:5:11","nodeType":"VariableDeclaration","scope":1835,"src":"1835:21:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1822,"name":"address","nodeType":"ElementaryTypeName","src":"1835:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1825,"indexed":false,"mutability":"mutable","name":"recipient","nameLocation":"1866:9:11","nodeType":"VariableDeclaration","scope":1835,"src":"1858:17:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1824,"name":"address","nodeType":"ElementaryTypeName","src":"1858:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1827,"indexed":true,"mutability":"mutable","name":"bottomTick","nameLocation":"1891:10:11","nodeType":"VariableDeclaration","scope":1835,"src":"1877:24:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1826,"name":"int24","nodeType":"ElementaryTypeName","src":"1877:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1829,"indexed":true,"mutability":"mutable","name":"topTick","nameLocation":"1917:7:11","nodeType":"VariableDeclaration","scope":1835,"src":"1903:21:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1828,"name":"int24","nodeType":"ElementaryTypeName","src":"1903:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1831,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"1934:7:11","nodeType":"VariableDeclaration","scope":1835,"src":"1926:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1830,"name":"uint128","nodeType":"ElementaryTypeName","src":"1926:7:11","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1833,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"1951:7:11","nodeType":"VariableDeclaration","scope":1835,"src":"1943:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1832,"name":"uint128","nodeType":"ElementaryTypeName","src":"1943:7:11","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1834:125:11"},"src":"1821:139:11"},{"anonymous":false,"documentation":{"id":1836,"nodeType":"StructuredDocumentation","src":"1964:517:11","text":"@notice Emitted when a position's liquidity is removed\n @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\n @param owner The owner of the position for which liquidity is removed\n @param bottomTick The lower tick of the position\n @param topTick The upper tick of the position\n @param liquidityAmount The amount of liquidity to remove\n @param amount0 The amount of token0 withdrawn\n @param amount1 The amount of token1 withdrawn"},"eventSelector":"0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c","id":1850,"name":"Burn","nameLocation":"2490:4:11","nodeType":"EventDefinition","parameters":{"id":1849,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1838,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"2516:5:11","nodeType":"VariableDeclaration","scope":1850,"src":"2500:21:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1837,"name":"address","nodeType":"ElementaryTypeName","src":"2500:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1840,"indexed":true,"mutability":"mutable","name":"bottomTick","nameLocation":"2541:10:11","nodeType":"VariableDeclaration","scope":1850,"src":"2527:24:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1839,"name":"int24","nodeType":"ElementaryTypeName","src":"2527:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1842,"indexed":true,"mutability":"mutable","name":"topTick","nameLocation":"2571:7:11","nodeType":"VariableDeclaration","scope":1850,"src":"2557:21:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1841,"name":"int24","nodeType":"ElementaryTypeName","src":"2557:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1844,"indexed":false,"mutability":"mutable","name":"liquidityAmount","nameLocation":"2592:15:11","nodeType":"VariableDeclaration","scope":1850,"src":"2584:23:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1843,"name":"uint128","nodeType":"ElementaryTypeName","src":"2584:7:11","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1846,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"2621:7:11","nodeType":"VariableDeclaration","scope":1850,"src":"2613:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1845,"name":"uint256","nodeType":"ElementaryTypeName","src":"2613:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1848,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"2642:7:11","nodeType":"VariableDeclaration","scope":1850,"src":"2634:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1847,"name":"uint256","nodeType":"ElementaryTypeName","src":"2634:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2494:159:11"},"src":"2484:170:11"},{"anonymous":false,"documentation":{"id":1851,"nodeType":"StructuredDocumentation","src":"2658:163:11","text":"@notice Emitted when a plugin fee is applied during a burn\n @param owner The owner of the position\n @param pluginFee The fee to be sent to the plugin"},"eventSelector":"1a25098b7a731ae33ed362388b593b876963dfde0efb4db9c0befeed637ff26b","id":1857,"name":"BurnFee","nameLocation":"2830:7:11","nodeType":"EventDefinition","parameters":{"id":1856,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1853,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"2854:5:11","nodeType":"VariableDeclaration","scope":1857,"src":"2838:21:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1852,"name":"address","nodeType":"ElementaryTypeName","src":"2838:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1855,"indexed":false,"mutability":"mutable","name":"pluginFee","nameLocation":"2868:9:11","nodeType":"VariableDeclaration","scope":1857,"src":"2861:16:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1854,"name":"uint24","nodeType":"ElementaryTypeName","src":"2861:6:11","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2837:41:11"},"src":"2824:55:11"},{"anonymous":false,"documentation":{"id":1858,"nodeType":"StructuredDocumentation","src":"2884:580:11","text":"@notice Emitted by the pool for any swaps between token0 and token1\n @param sender The address that initiated the swap call, and that received the callback\n @param recipient The address that received the output of the swap\n @param amount0 The delta of the token0 balance of the pool\n @param amount1 The delta of the token1 balance of the pool\n @param price The sqrt(price) of the pool after the swap, as a Q64.96\n @param liquidity The liquidity of the pool after the swap\n @param tick The log base 1.0001 of price of the pool after the swap"},"eventSelector":"c42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67","id":1874,"name":"Swap","nameLocation":"3473:4:11","nodeType":"EventDefinition","parameters":{"id":1873,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1860,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"3499:6:11","nodeType":"VariableDeclaration","scope":1874,"src":"3483:22:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1859,"name":"address","nodeType":"ElementaryTypeName","src":"3483:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1862,"indexed":true,"mutability":"mutable","name":"recipient","nameLocation":"3527:9:11","nodeType":"VariableDeclaration","scope":1874,"src":"3511:25:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1861,"name":"address","nodeType":"ElementaryTypeName","src":"3511:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1864,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"3549:7:11","nodeType":"VariableDeclaration","scope":1874,"src":"3542:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1863,"name":"int256","nodeType":"ElementaryTypeName","src":"3542:6:11","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1866,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"3569:7:11","nodeType":"VariableDeclaration","scope":1874,"src":"3562:14:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1865,"name":"int256","nodeType":"ElementaryTypeName","src":"3562:6:11","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1868,"indexed":false,"mutability":"mutable","name":"price","nameLocation":"3590:5:11","nodeType":"VariableDeclaration","scope":1874,"src":"3582:13:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1867,"name":"uint160","nodeType":"ElementaryTypeName","src":"3582:7:11","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1870,"indexed":false,"mutability":"mutable","name":"liquidity","nameLocation":"3609:9:11","nodeType":"VariableDeclaration","scope":1874,"src":"3601:17:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1869,"name":"uint128","nodeType":"ElementaryTypeName","src":"3601:7:11","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1872,"indexed":false,"mutability":"mutable","name":"tick","nameLocation":"3630:4:11","nodeType":"VariableDeclaration","scope":1874,"src":"3624:10:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1871,"name":"int24","nodeType":"ElementaryTypeName","src":"3624:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"3477:161:11"},"src":"3467:172:11"},{"anonymous":false,"documentation":{"id":1875,"nodeType":"StructuredDocumentation","src":"3643:221:11","text":"@notice Emitted by the pool after any swaps \n @param sender The address that initiated the swap \n @param overrideFee The fee to be applied to the trade\n @param pluginFee The fee to be sent to the plugin"},"eventSelector":"9443903d84c9719611bd4bba871daaf18a3950d00d5d78b1a2fa701f76df54ff","id":1883,"name":"SwapFee","nameLocation":"3873:7:11","nodeType":"EventDefinition","parameters":{"id":1882,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1877,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"3897:6:11","nodeType":"VariableDeclaration","scope":1883,"src":"3881:22:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1876,"name":"address","nodeType":"ElementaryTypeName","src":"3881:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1879,"indexed":false,"mutability":"mutable","name":"overrideFee","nameLocation":"3912:11:11","nodeType":"VariableDeclaration","scope":1883,"src":"3905:18:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1878,"name":"uint24","nodeType":"ElementaryTypeName","src":"3905:6:11","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":1881,"indexed":false,"mutability":"mutable","name":"pluginFee","nameLocation":"3932:9:11","nodeType":"VariableDeclaration","scope":1883,"src":"3925:16:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1880,"name":"uint24","nodeType":"ElementaryTypeName","src":"3925:6:11","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3880:62:11"},"src":"3867:76:11"},{"anonymous":false,"documentation":{"id":1884,"nodeType":"StructuredDocumentation","src":"3947:550:11","text":"@notice Emitted by the pool for any flashes of token0/token1\n @param sender The address that initiated the swap call, and that received the callback\n @param recipient The address that received the tokens from flash\n @param amount0 The amount of token0 that was flashed\n @param amount1 The amount of token1 that was flashed\n @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\n @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee"},"eventSelector":"bdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633","id":1898,"name":"Flash","nameLocation":"4506:5:11","nodeType":"EventDefinition","parameters":{"id":1897,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1886,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"4528:6:11","nodeType":"VariableDeclaration","scope":1898,"src":"4512:22:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1885,"name":"address","nodeType":"ElementaryTypeName","src":"4512:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1888,"indexed":true,"mutability":"mutable","name":"recipient","nameLocation":"4552:9:11","nodeType":"VariableDeclaration","scope":1898,"src":"4536:25:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1887,"name":"address","nodeType":"ElementaryTypeName","src":"4536:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1890,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"4571:7:11","nodeType":"VariableDeclaration","scope":1898,"src":"4563:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1889,"name":"uint256","nodeType":"ElementaryTypeName","src":"4563:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1892,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"4588:7:11","nodeType":"VariableDeclaration","scope":1898,"src":"4580:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1891,"name":"uint256","nodeType":"ElementaryTypeName","src":"4580:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1894,"indexed":false,"mutability":"mutable","name":"paid0","nameLocation":"4605:5:11","nodeType":"VariableDeclaration","scope":1898,"src":"4597:13:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1893,"name":"uint256","nodeType":"ElementaryTypeName","src":"4597:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1896,"indexed":false,"mutability":"mutable","name":"paid1","nameLocation":"4620:5:11","nodeType":"VariableDeclaration","scope":1898,"src":"4612:13:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1895,"name":"uint256","nodeType":"ElementaryTypeName","src":"4612:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4511:115:11"},"src":"4500:127:11"},{"anonymous":false,"documentation":{"id":1899,"nodeType":"StructuredDocumentation","src":"4631:319:11","text":"@notice Emitted when the pool has higher balances than expected.\n Any excess of tokens will be distributed between liquidity providers as fee.\n @dev Fees after flash also will trigger this event due to mechanics of flash.\n @param amount0 The excess of token0\n @param amount1 The excess of token1"},"eventSelector":"ef10ebb00f0dbc72ad4602e94abbbda6f3d40632714f70e9c8fa30d5d44289c9","id":1905,"name":"ExcessTokens","nameLocation":"4959:12:11","nodeType":"EventDefinition","parameters":{"id":1904,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1901,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"4980:7:11","nodeType":"VariableDeclaration","scope":1905,"src":"4972:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1900,"name":"uint256","nodeType":"ElementaryTypeName","src":"4972:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1903,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"4997:7:11","nodeType":"VariableDeclaration","scope":1905,"src":"4989:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1902,"name":"uint256","nodeType":"ElementaryTypeName","src":"4989:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4971:34:11"},"src":"4953:53:11"},{"anonymous":false,"documentation":{"id":1906,"nodeType":"StructuredDocumentation","src":"5010:155:11","text":"@notice Emitted when the community fee is changed by the pool\n @param communityFeeNew The updated value of the community fee in thousandths (1e-3)"},"eventSelector":"3647dccc990d4941b0b05b32527ef493a98d6187b20639ca2f9743f3b55ca5e1","id":1910,"name":"CommunityFee","nameLocation":"5174:12:11","nodeType":"EventDefinition","parameters":{"id":1909,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1908,"indexed":false,"mutability":"mutable","name":"communityFeeNew","nameLocation":"5194:15:11","nodeType":"VariableDeclaration","scope":1910,"src":"5187:22:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1907,"name":"uint16","nodeType":"ElementaryTypeName","src":"5187:6:11","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"5186:24:11"},"src":"5168:43:11"},{"anonymous":false,"documentation":{"id":1911,"nodeType":"StructuredDocumentation","src":"5215:119:11","text":"@notice Emitted when the tick spacing changes\n @param newTickSpacing The updated value of the new tick spacing"},"eventSelector":"01413b1d5d4c359e9a0daa7909ecda165f6e8c51fe2ff529d74b22a5a7c02645","id":1915,"name":"TickSpacing","nameLocation":"5343:11:11","nodeType":"EventDefinition","parameters":{"id":1914,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1913,"indexed":false,"mutability":"mutable","name":"newTickSpacing","nameLocation":"5361:14:11","nodeType":"VariableDeclaration","scope":1915,"src":"5355:20:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1912,"name":"int24","nodeType":"ElementaryTypeName","src":"5355:5:11","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"5354:22:11"},"src":"5337:40:11"},{"anonymous":false,"documentation":{"id":1916,"nodeType":"StructuredDocumentation","src":"5381:100:11","text":"@notice Emitted when the plugin address changes\n @param newPluginAddress New plugin address"},"eventSelector":"27a3944eff2135a57675f17e72501038982b73620d01f794c72e93d61a3932a2","id":1920,"name":"Plugin","nameLocation":"5490:6:11","nodeType":"EventDefinition","parameters":{"id":1919,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1918,"indexed":false,"mutability":"mutable","name":"newPluginAddress","nameLocation":"5505:16:11","nodeType":"VariableDeclaration","scope":1920,"src":"5497:24:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1917,"name":"address","nodeType":"ElementaryTypeName","src":"5497:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5496:26:11"},"src":"5484:39:11"},{"anonymous":false,"documentation":{"id":1921,"nodeType":"StructuredDocumentation","src":"5527:97:11","text":"@notice Emitted when the plugin config changes\n @param newPluginConfig New plugin config"},"eventSelector":"3a6271b36c1b44bd6a0a0d56230602dc6919b7c17af57254306fadf5fee69dc3","id":1925,"name":"PluginConfig","nameLocation":"5633:12:11","nodeType":"EventDefinition","parameters":{"id":1924,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1923,"indexed":false,"mutability":"mutable","name":"newPluginConfig","nameLocation":"5652:15:11","nodeType":"VariableDeclaration","scope":1925,"src":"5646:21:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1922,"name":"uint8","nodeType":"ElementaryTypeName","src":"5646:5:11","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"5645:23:11"},"src":"5627:42:11"},{"anonymous":false,"documentation":{"id":1926,"nodeType":"StructuredDocumentation","src":"5673:123:11","text":"@notice Emitted when the fee changes inside the pool\n @param fee The current fee in hundredths of a bip, i.e. 1e-6"},"eventSelector":"598b9f043c813aa6be3426ca60d1c65d17256312890be5118dab55b0775ebe2a","id":1930,"name":"Fee","nameLocation":"5805:3:11","nodeType":"EventDefinition","parameters":{"id":1929,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1928,"indexed":false,"mutability":"mutable","name":"fee","nameLocation":"5816:3:11","nodeType":"VariableDeclaration","scope":1930,"src":"5809:10:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1927,"name":"uint16","nodeType":"ElementaryTypeName","src":"5809:6:11","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"5808:12:11"},"src":"5799:22:11"},{"anonymous":false,"documentation":{"id":1931,"nodeType":"StructuredDocumentation","src":"5825:111:11","text":"@notice Emitted when the community vault address changes\n @param newCommunityVault New community vault"},"eventSelector":"b0b573c1f636e1f8bd9b415ba6c04d6dd49100bc25493fc6305b65ec0e581df3","id":1935,"name":"CommunityVault","nameLocation":"5945:14:11","nodeType":"EventDefinition","parameters":{"id":1934,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1933,"indexed":false,"mutability":"mutable","name":"newCommunityVault","nameLocation":"5968:17:11","nodeType":"VariableDeclaration","scope":1935,"src":"5960:25:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1932,"name":"address","nodeType":"ElementaryTypeName","src":"5960:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5959:27:11"},"src":"5939:48:11"},{"anonymous":false,"documentation":{"id":1936,"nodeType":"StructuredDocumentation","src":"5991:198:11","text":"@notice Emitted when the plugin does skim the excess of tokens\n @param to THe receiver of tokens (plugin)\n @param amount0 The amount of token0\n @param amount1 The amount of token1"},"eventSelector":"b94331e4420f16b156f53c397a8adcd09481283ee7830f7b688b22858e9db80b","id":1944,"name":"Skim","nameLocation":"6198:4:11","nodeType":"EventDefinition","parameters":{"id":1943,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1938,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"6219:2:11","nodeType":"VariableDeclaration","scope":1944,"src":"6203:18:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1937,"name":"address","nodeType":"ElementaryTypeName","src":"6203:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1940,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"6231:7:11","nodeType":"VariableDeclaration","scope":1944,"src":"6223:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1939,"name":"uint256","nodeType":"ElementaryTypeName","src":"6223:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1942,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"6248:7:11","nodeType":"VariableDeclaration","scope":1944,"src":"6240:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1941,"name":"uint256","nodeType":"ElementaryTypeName","src":"6240:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6202:54:11"},"src":"6192:65:11"}],"scope":1946,"src":"241:6018:11","usedErrors":[],"usedEvents":[1803,1820,1835,1850,1857,1874,1883,1898,1905,1910,1915,1920,1925,1930,1935,1944]}],"src":"45:6215:11"},"id":11},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol","exportedSymbols":{"IAlgebraPoolImmutables":[1973]},"id":1974,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1947,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:12"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolImmutables","contractDependencies":[],"contractKind":"interface","documentation":{"id":1948,"nodeType":"StructuredDocumentation","src":"71:175:12","text":"@title Pool state that never changes\n @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces"},"fullyImplemented":false,"id":1973,"linearizedBaseContracts":[1973],"name":"IAlgebraPoolImmutables","nameLocation":"256:22:12","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1949,"nodeType":"StructuredDocumentation","src":"283:127:12","text":"@notice The Algebra factory contract, which must adhere to the IAlgebraFactory interface\n @return The contract address"},"functionSelector":"c45a0155","id":1954,"implemented":false,"kind":"function","modifiers":[],"name":"factory","nameLocation":"422:7:12","nodeType":"FunctionDefinition","parameters":{"id":1950,"nodeType":"ParameterList","parameters":[],"src":"429:2:12"},"returnParameters":{"id":1953,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1952,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1954,"src":"455:7:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1951,"name":"address","nodeType":"ElementaryTypeName","src":"455:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"454:9:12"},"scope":1973,"src":"413:51:12","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1955,"nodeType":"StructuredDocumentation","src":"468:111:12","text":"@notice The first of the two tokens of the pool, sorted by address\n @return The token contract address"},"functionSelector":"0dfe1681","id":1960,"implemented":false,"kind":"function","modifiers":[],"name":"token0","nameLocation":"591:6:12","nodeType":"FunctionDefinition","parameters":{"id":1956,"nodeType":"ParameterList","parameters":[],"src":"597:2:12"},"returnParameters":{"id":1959,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1958,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1960,"src":"623:7:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1957,"name":"address","nodeType":"ElementaryTypeName","src":"623:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"622:9:12"},"scope":1973,"src":"582:50:12","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1961,"nodeType":"StructuredDocumentation","src":"636:112:12","text":"@notice The second of the two tokens of the pool, sorted by address\n @return The token contract address"},"functionSelector":"d21220a7","id":1966,"implemented":false,"kind":"function","modifiers":[],"name":"token1","nameLocation":"760:6:12","nodeType":"FunctionDefinition","parameters":{"id":1962,"nodeType":"ParameterList","parameters":[],"src":"766:2:12"},"returnParameters":{"id":1965,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1964,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1966,"src":"792:7:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1963,"name":"address","nodeType":"ElementaryTypeName","src":"792:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"791:9:12"},"scope":1973,"src":"751:50:12","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1967,"nodeType":"StructuredDocumentation","src":"805:357:12","text":"@notice The maximum amount of position liquidity that can use any tick in the range\n @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\n also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\n @return The max amount of liquidity per tick"},"functionSelector":"70cf754a","id":1972,"implemented":false,"kind":"function","modifiers":[],"name":"maxLiquidityPerTick","nameLocation":"1174:19:12","nodeType":"FunctionDefinition","parameters":{"id":1968,"nodeType":"ParameterList","parameters":[],"src":"1193:2:12"},"returnParameters":{"id":1971,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1970,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1972,"src":"1219:7:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1969,"name":"uint128","nodeType":"ElementaryTypeName","src":"1219:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1218:9:12"},"scope":1973,"src":"1165:63:12","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1974,"src":"246:984:12","usedErrors":[],"usedEvents":[]}],"src":"45:1186:12"},"id":12},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol","exportedSymbols":{"IAlgebraPoolPermissionedActions":[2021]},"id":2022,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1975,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:13"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolPermissionedActions","contractDependencies":[],"contractKind":"interface","documentation":{"id":1976,"nodeType":"StructuredDocumentation","src":"71:255:13","text":"@title Permissioned pool actions\n @notice Contains pool methods that may only be called by permissioned addresses\n @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces"},"fullyImplemented":false,"id":2021,"linearizedBaseContracts":[2021],"name":"IAlgebraPoolPermissionedActions","nameLocation":"336:31:13","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1977,"nodeType":"StructuredDocumentation","src":"372:185:13","text":"@notice Set the community's % share of the fees. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n @param newCommunityFee The new community fee percent in thousandths (1e-3)"},"functionSelector":"240a875a","id":1982,"implemented":false,"kind":"function","modifiers":[],"name":"setCommunityFee","nameLocation":"569:15:13","nodeType":"FunctionDefinition","parameters":{"id":1980,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1979,"mutability":"mutable","name":"newCommunityFee","nameLocation":"592:15:13","nodeType":"VariableDeclaration","scope":1982,"src":"585:22:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1978,"name":"uint16","nodeType":"ElementaryTypeName","src":"585:6:13","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"584:24:13"},"returnParameters":{"id":1981,"nodeType":"ParameterList","parameters":[],"src":"617:0:13"},"scope":2021,"src":"560:58:13","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1983,"nodeType":"StructuredDocumentation","src":"622:151:13","text":"@notice Set the new tick spacing values. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n @param newTickSpacing The new tick spacing value"},"functionSelector":"f085a610","id":1988,"implemented":false,"kind":"function","modifiers":[],"name":"setTickSpacing","nameLocation":"785:14:13","nodeType":"FunctionDefinition","parameters":{"id":1986,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1985,"mutability":"mutable","name":"newTickSpacing","nameLocation":"806:14:13","nodeType":"VariableDeclaration","scope":1988,"src":"800:20:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1984,"name":"int24","nodeType":"ElementaryTypeName","src":"800:5:13","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"799:22:13"},"returnParameters":{"id":1987,"nodeType":"ParameterList","parameters":[],"src":"830:0:13"},"scope":2021,"src":"776:55:13","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1989,"nodeType":"StructuredDocumentation","src":"835:144:13","text":"@notice Set the new plugin address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n @param newPluginAddress The new plugin address"},"functionSelector":"cc1f97cf","id":1994,"implemented":false,"kind":"function","modifiers":[],"name":"setPlugin","nameLocation":"991:9:13","nodeType":"FunctionDefinition","parameters":{"id":1992,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1991,"mutability":"mutable","name":"newPluginAddress","nameLocation":"1009:16:13","nodeType":"VariableDeclaration","scope":1994,"src":"1001:24:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1990,"name":"address","nodeType":"ElementaryTypeName","src":"1001:7:13","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1000:26:13"},"returnParameters":{"id":1993,"nodeType":"ParameterList","parameters":[],"src":"1035:0:13"},"scope":2021,"src":"982:54:13","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1995,"nodeType":"StructuredDocumentation","src":"1040:211:13","text":"@notice Set new plugin config. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n @param newConfig In the new configuration of the plugin,\n each bit of which is responsible for a particular hook."},"functionSelector":"bca57f81","id":2000,"implemented":false,"kind":"function","modifiers":[],"name":"setPluginConfig","nameLocation":"1263:15:13","nodeType":"FunctionDefinition","parameters":{"id":1998,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1997,"mutability":"mutable","name":"newConfig","nameLocation":"1285:9:13","nodeType":"VariableDeclaration","scope":2000,"src":"1279:15:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1996,"name":"uint8","nodeType":"ElementaryTypeName","src":"1279:5:13","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"1278:17:13"},"returnParameters":{"id":1999,"nodeType":"ParameterList","parameters":[],"src":"1304:0:13"},"scope":2021,"src":"1254:51:13","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":2001,"nodeType":"StructuredDocumentation","src":"1309:356:13","text":"@notice Set new community fee vault address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\n @dev Community fee vault receives collected community fees.\n **accumulated but not yet sent to the vault community fees once will be sent to the `newCommunityVault` address**\n @param newCommunityVault The address of new community fee vault"},"functionSelector":"d8544cf3","id":2006,"implemented":false,"kind":"function","modifiers":[],"name":"setCommunityVault","nameLocation":"1677:17:13","nodeType":"FunctionDefinition","parameters":{"id":2004,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2003,"mutability":"mutable","name":"newCommunityVault","nameLocation":"1703:17:13","nodeType":"VariableDeclaration","scope":2006,"src":"1695:25:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2002,"name":"address","nodeType":"ElementaryTypeName","src":"1695:7:13","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1694:27:13"},"returnParameters":{"id":2005,"nodeType":"ParameterList","parameters":[],"src":"1730:0:13"},"scope":2021,"src":"1668:63:13","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":2007,"nodeType":"StructuredDocumentation","src":"1735:171:13","text":"@notice Set new pool fee. Can be called by owner if dynamic fee is disabled.\n Called by the plugin if dynamic fee is enabled\n @param newFee The new fee value"},"functionSelector":"8e005553","id":2012,"implemented":false,"kind":"function","modifiers":[],"name":"setFee","nameLocation":"1918:6:13","nodeType":"FunctionDefinition","parameters":{"id":2010,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2009,"mutability":"mutable","name":"newFee","nameLocation":"1932:6:13","nodeType":"VariableDeclaration","scope":2012,"src":"1925:13:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2008,"name":"uint16","nodeType":"ElementaryTypeName","src":"1925:6:13","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"1924:15:13"},"returnParameters":{"id":2011,"nodeType":"ParameterList","parameters":[],"src":"1948:0:13"},"scope":2021,"src":"1909:40:13","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":2013,"nodeType":"StructuredDocumentation","src":"1953:148:13","text":"@notice Forces balances to match reserves. Excessive tokens will be distributed between active LPs\n @dev Only plugin can call this function"},"functionSelector":"fff6cae9","id":2016,"implemented":false,"kind":"function","modifiers":[],"name":"sync","nameLocation":"2113:4:13","nodeType":"FunctionDefinition","parameters":{"id":2014,"nodeType":"ParameterList","parameters":[],"src":"2117:2:13"},"returnParameters":{"id":2015,"nodeType":"ParameterList","parameters":[],"src":"2128:0:13"},"scope":2021,"src":"2104:25:13","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":2017,"nodeType":"StructuredDocumentation","src":"2133:136:13","text":"@notice Forces balances to match reserves. Excessive tokens will be sent to msg.sender\n @dev Only plugin can call this function"},"functionSelector":"1dd19cb4","id":2020,"implemented":false,"kind":"function","modifiers":[],"name":"skim","nameLocation":"2281:4:13","nodeType":"FunctionDefinition","parameters":{"id":2018,"nodeType":"ParameterList","parameters":[],"src":"2285:2:13"},"returnParameters":{"id":2019,"nodeType":"ParameterList","parameters":[],"src":"2296:0:13"},"scope":2021,"src":"2272:25:13","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":2022,"src":"326:1973:13","usedErrors":[],"usedEvents":[]}],"src":"45:2255:13"},"id":13},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","exportedSymbols":{"IAlgebraPoolState":[2205]},"id":2206,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":2023,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:14"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolState","contractDependencies":[],"contractKind":"interface","documentation":{"id":2024,"nodeType":"StructuredDocumentation","src":"71:404:14","text":"@title Pool state that can change\n @dev Important security note: when using this data by external contracts, it is necessary to take into account the possibility\n of manipulation (including read-only reentrancy).\n This interface is based on the UniswapV3 interface, credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces"},"fullyImplemented":false,"id":2205,"linearizedBaseContracts":[2205],"name":"IAlgebraPoolState","nameLocation":"485:17:14","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":2025,"nodeType":"StructuredDocumentation","src":"507:1108:14","text":"@notice Safely get most important state values of Algebra Integral AMM\n @dev Several values exposed as a single method to save gas when accessed externally.\n **Important security note: this method checks reentrancy lock and should be preferred in most cases**.\n @return sqrtPrice The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\n @return tick The current global tick of the pool. May not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\n @return lastFee The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\n @return pluginConfig The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\n @return activeLiquidity  The currently in-range liquidity available to the pool\n @return nextTick The next initialized tick after current global tick\n @return previousTick The previous initialized tick before (or at) current global tick"},"functionSelector":"97ce1c51","id":2042,"implemented":false,"kind":"function","modifiers":[],"name":"safelyGetStateOfAMM","nameLocation":"1627:19:14","nodeType":"FunctionDefinition","parameters":{"id":2026,"nodeType":"ParameterList","parameters":[],"src":"1646:2:14"},"returnParameters":{"id":2041,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2028,"mutability":"mutable","name":"sqrtPrice","nameLocation":"1692:9:14","nodeType":"VariableDeclaration","scope":2042,"src":"1684:17:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":2027,"name":"uint160","nodeType":"ElementaryTypeName","src":"1684:7:14","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":2030,"mutability":"mutable","name":"tick","nameLocation":"1709:4:14","nodeType":"VariableDeclaration","scope":2042,"src":"1703:10:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2029,"name":"int24","nodeType":"ElementaryTypeName","src":"1703:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2032,"mutability":"mutable","name":"lastFee","nameLocation":"1722:7:14","nodeType":"VariableDeclaration","scope":2042,"src":"1715:14:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2031,"name":"uint16","nodeType":"ElementaryTypeName","src":"1715:6:14","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":2034,"mutability":"mutable","name":"pluginConfig","nameLocation":"1737:12:14","nodeType":"VariableDeclaration","scope":2042,"src":"1731:18:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2033,"name":"uint8","nodeType":"ElementaryTypeName","src":"1731:5:14","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":2036,"mutability":"mutable","name":"activeLiquidity","nameLocation":"1759:15:14","nodeType":"VariableDeclaration","scope":2042,"src":"1751:23:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2035,"name":"uint128","nodeType":"ElementaryTypeName","src":"1751:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":2038,"mutability":"mutable","name":"nextTick","nameLocation":"1782:8:14","nodeType":"VariableDeclaration","scope":2042,"src":"1776:14:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2037,"name":"int24","nodeType":"ElementaryTypeName","src":"1776:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2040,"mutability":"mutable","name":"previousTick","nameLocation":"1798:12:14","nodeType":"VariableDeclaration","scope":2042,"src":"1792:18:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2039,"name":"int24","nodeType":"ElementaryTypeName","src":"1792:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1683:128:14"},"scope":2205,"src":"1618:194:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2043,"nodeType":"StructuredDocumentation","src":"1816:282:14","text":"@notice Allows to easily get current reentrancy lock status\n @dev can be used to prevent read-only reentrancy.\n This method just returns `globalState.unlocked` value\n @return unlocked Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false"},"functionSelector":"8380edb7","id":2048,"implemented":false,"kind":"function","modifiers":[],"name":"isUnlocked","nameLocation":"2110:10:14","nodeType":"FunctionDefinition","parameters":{"id":2044,"nodeType":"ParameterList","parameters":[],"src":"2120:2:14"},"returnParameters":{"id":2047,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2046,"mutability":"mutable","name":"unlocked","nameLocation":"2151:8:14","nodeType":"VariableDeclaration","scope":2048,"src":"2146:13:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2045,"name":"bool","nodeType":"ElementaryTypeName","src":"2146:4:14","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2145:15:14"},"scope":2205,"src":"2101:60:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2049,"nodeType":"StructuredDocumentation","src":"2303:1160:14","text":"@notice The globalState structure in the pool stores many values but requires only one slot\n and is exposed as a single method to save gas when accessed externally.\n @dev **important security note: caller should check `unlocked` flag to prevent read-only reentrancy**\n @return price The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\n @return tick The current tick of the pool, i.e. according to the last tick transition that was run\n This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\n @return lastFee The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\n @return pluginConfig The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\n @return communityFee The community fee represented as a percent of all collected fee in thousandths, i.e. 1e-3 (so 100 is 10%)\n @return unlocked Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false"},"functionSelector":"e76c01e4","id":2064,"implemented":false,"kind":"function","modifiers":[],"name":"globalState","nameLocation":"3475:11:14","nodeType":"FunctionDefinition","parameters":{"id":2050,"nodeType":"ParameterList","parameters":[],"src":"3486:2:14"},"returnParameters":{"id":2063,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2052,"mutability":"mutable","name":"price","nameLocation":"3520:5:14","nodeType":"VariableDeclaration","scope":2064,"src":"3512:13:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":2051,"name":"uint160","nodeType":"ElementaryTypeName","src":"3512:7:14","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":2054,"mutability":"mutable","name":"tick","nameLocation":"3533:4:14","nodeType":"VariableDeclaration","scope":2064,"src":"3527:10:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2053,"name":"int24","nodeType":"ElementaryTypeName","src":"3527:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2056,"mutability":"mutable","name":"lastFee","nameLocation":"3546:7:14","nodeType":"VariableDeclaration","scope":2064,"src":"3539:14:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2055,"name":"uint16","nodeType":"ElementaryTypeName","src":"3539:6:14","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":2058,"mutability":"mutable","name":"pluginConfig","nameLocation":"3561:12:14","nodeType":"VariableDeclaration","scope":2064,"src":"3555:18:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2057,"name":"uint8","nodeType":"ElementaryTypeName","src":"3555:5:14","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":2060,"mutability":"mutable","name":"communityFee","nameLocation":"3582:12:14","nodeType":"VariableDeclaration","scope":2064,"src":"3575:19:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2059,"name":"uint16","nodeType":"ElementaryTypeName","src":"3575:6:14","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":2062,"mutability":"mutable","name":"unlocked","nameLocation":"3601:8:14","nodeType":"VariableDeclaration","scope":2064,"src":"3596:13:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2061,"name":"bool","nodeType":"ElementaryTypeName","src":"3596:4:14","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3511:99:14"},"scope":2205,"src":"3466:145:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2065,"nodeType":"StructuredDocumentation","src":"3615:893:14","text":"@notice Look up information about a specific tick in the pool\n @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n @param tick The tick to look up\n @return liquidityTotal The total amount of position liquidity that uses the pool either as tick lower or tick upper\n @return liquidityDelta How much liquidity changes when the pool price crosses the tick\n @return prevTick The previous tick in tick list\n @return nextTick The next tick in tick list\n @return outerFeeGrowth0Token The fee growth on the other side of the tick from the current tick in token0\n @return outerFeeGrowth1Token The fee growth on the other side of the tick from the current tick in token1\n In addition, these values are only relative and must be used only in comparison to previous snapshots for\n a specific position."},"functionSelector":"f30dba93","id":2082,"implemented":false,"kind":"function","modifiers":[],"name":"ticks","nameLocation":"4520:5:14","nodeType":"FunctionDefinition","parameters":{"id":2068,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2067,"mutability":"mutable","name":"tick","nameLocation":"4537:4:14","nodeType":"VariableDeclaration","scope":2082,"src":"4531:10:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2066,"name":"int24","nodeType":"ElementaryTypeName","src":"4531:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"4525:20:14"},"returnParameters":{"id":2081,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2070,"mutability":"mutable","name":"liquidityTotal","nameLocation":"4596:14:14","nodeType":"VariableDeclaration","scope":2082,"src":"4588:22:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2069,"name":"uint256","nodeType":"ElementaryTypeName","src":"4588:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2072,"mutability":"mutable","name":"liquidityDelta","nameLocation":"4625:14:14","nodeType":"VariableDeclaration","scope":2082,"src":"4618:21:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":2071,"name":"int128","nodeType":"ElementaryTypeName","src":"4618:6:14","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":2074,"mutability":"mutable","name":"prevTick","nameLocation":"4653:8:14","nodeType":"VariableDeclaration","scope":2082,"src":"4647:14:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2073,"name":"int24","nodeType":"ElementaryTypeName","src":"4647:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2076,"mutability":"mutable","name":"nextTick","nameLocation":"4675:8:14","nodeType":"VariableDeclaration","scope":2082,"src":"4669:14:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2075,"name":"int24","nodeType":"ElementaryTypeName","src":"4669:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2078,"mutability":"mutable","name":"outerFeeGrowth0Token","nameLocation":"4699:20:14","nodeType":"VariableDeclaration","scope":2082,"src":"4691:28:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2077,"name":"uint256","nodeType":"ElementaryTypeName","src":"4691:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2080,"mutability":"mutable","name":"outerFeeGrowth1Token","nameLocation":"4735:20:14","nodeType":"VariableDeclaration","scope":2082,"src":"4727:28:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2079,"name":"uint256","nodeType":"ElementaryTypeName","src":"4727:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4580:181:14"},"scope":2205,"src":"4511:251:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2083,"nodeType":"StructuredDocumentation","src":"4766:120:14","text":"@notice The timestamp of the last sending of tokens to vault/plugin\n @return The timestamp truncated to 32 bits"},"functionSelector":"77f8c3a9","id":2088,"implemented":false,"kind":"function","modifiers":[],"name":"lastFeeTransferTimestamp","nameLocation":"4898:24:14","nodeType":"FunctionDefinition","parameters":{"id":2084,"nodeType":"ParameterList","parameters":[],"src":"4922:2:14"},"returnParameters":{"id":2087,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2086,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2088,"src":"4948:6:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":2085,"name":"uint32","nodeType":"ElementaryTypeName","src":"4948:6:14","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"4947:8:14"},"scope":2205,"src":"4889:67:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2089,"nodeType":"StructuredDocumentation","src":"4960:328:14","text":"@notice The amounts of token0 and token1 that will be sent to the vault\n @dev Will be sent FEE_TRANSFER_FREQUENCY after communityFeeLastTimestamp\n @return communityFeePending0 The amount of token0 that will be sent to the vault\n @return communityFeePending1 The amount of token1 that will be sent to the vault"},"functionSelector":"7bd78025","id":2096,"implemented":false,"kind":"function","modifiers":[],"name":"getCommunityFeePending","nameLocation":"5300:22:14","nodeType":"FunctionDefinition","parameters":{"id":2090,"nodeType":"ParameterList","parameters":[],"src":"5322:2:14"},"returnParameters":{"id":2095,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2092,"mutability":"mutable","name":"communityFeePending0","nameLocation":"5356:20:14","nodeType":"VariableDeclaration","scope":2096,"src":"5348:28:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2091,"name":"uint128","nodeType":"ElementaryTypeName","src":"5348:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":2094,"mutability":"mutable","name":"communityFeePending1","nameLocation":"5386:20:14","nodeType":"VariableDeclaration","scope":2096,"src":"5378:28:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2093,"name":"uint128","nodeType":"ElementaryTypeName","src":"5378:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"5347:60:14"},"scope":2205,"src":"5291:117:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2097,"nodeType":"StructuredDocumentation","src":"5412:324:14","text":"@notice The amounts of token0 and token1 that will be sent to the plugin\n @dev Will be sent FEE_TRANSFER_FREQUENCY after feeLastTransferTimestamp\n @return pluginFeePending0 The amount of token0 that will be sent to the plugin\n @return pluginFeePending1 The amount of token1 that will be sent to the plugin"},"functionSelector":"a1eded87","id":2104,"implemented":false,"kind":"function","modifiers":[],"name":"getPluginFeePending","nameLocation":"5748:19:14","nodeType":"FunctionDefinition","parameters":{"id":2098,"nodeType":"ParameterList","parameters":[],"src":"5767:2:14"},"returnParameters":{"id":2103,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2100,"mutability":"mutable","name":"pluginFeePending0","nameLocation":"5801:17:14","nodeType":"VariableDeclaration","scope":2104,"src":"5793:25:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2099,"name":"uint128","nodeType":"ElementaryTypeName","src":"5793:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":2102,"mutability":"mutable","name":"pluginFeePending1","nameLocation":"5828:17:14","nodeType":"VariableDeclaration","scope":2104,"src":"5820:25:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2101,"name":"uint128","nodeType":"ElementaryTypeName","src":"5820:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"5792:54:14"},"scope":2205,"src":"5739:108:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2105,"nodeType":"StructuredDocumentation","src":"5851:164:14","text":"@notice Returns the address of currently used plugin\n @dev The plugin is subject to change\n @return pluginAddress The address of currently used plugin"},"functionSelector":"ef01df4f","id":2110,"implemented":false,"kind":"function","modifiers":[],"name":"plugin","nameLocation":"6027:6:14","nodeType":"FunctionDefinition","parameters":{"id":2106,"nodeType":"ParameterList","parameters":[],"src":"6033:2:14"},"returnParameters":{"id":2109,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2108,"mutability":"mutable","name":"pluginAddress","nameLocation":"6067:13:14","nodeType":"VariableDeclaration","scope":2110,"src":"6059:21:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2107,"name":"address","nodeType":"ElementaryTypeName","src":"6059:7:14","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6058:23:14"},"scope":2205,"src":"6018:64:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2111,"nodeType":"StructuredDocumentation","src":"6086:127:14","text":"@notice The contract to which community fees are transferred\n @return communityVaultAddress The communityVault address"},"functionSelector":"53e97868","id":2116,"implemented":false,"kind":"function","modifiers":[],"name":"communityVault","nameLocation":"6225:14:14","nodeType":"FunctionDefinition","parameters":{"id":2112,"nodeType":"ParameterList","parameters":[],"src":"6239:2:14"},"returnParameters":{"id":2115,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2114,"mutability":"mutable","name":"communityVaultAddress","nameLocation":"6273:21:14","nodeType":"VariableDeclaration","scope":2116,"src":"6265:29:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2113,"name":"address","nodeType":"ElementaryTypeName","src":"6265:7:14","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6264:31:14"},"scope":2205,"src":"6216:80:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2117,"nodeType":"StructuredDocumentation","src":"6300:212:14","text":"@notice Returns 256 packed tick initialized boolean values. See TickTree for more information\n @param wordPosition Index of 256-bits word with ticks\n @return The 256-bits word with packed ticks info"},"functionSelector":"c677e3e0","id":2124,"implemented":false,"kind":"function","modifiers":[],"name":"tickTable","nameLocation":"6524:9:14","nodeType":"FunctionDefinition","parameters":{"id":2120,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2119,"mutability":"mutable","name":"wordPosition","nameLocation":"6540:12:14","nodeType":"VariableDeclaration","scope":2124,"src":"6534:18:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":2118,"name":"int16","nodeType":"ElementaryTypeName","src":"6534:5:14","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"}],"src":"6533:20:14"},"returnParameters":{"id":2123,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2122,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2124,"src":"6577:7:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2121,"name":"uint256","nodeType":"ElementaryTypeName","src":"6577:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6576:9:14"},"scope":2205,"src":"6515:71:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2125,"nodeType":"StructuredDocumentation","src":"6590:218:14","text":"@notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\n @dev This value can overflow the uint256\n @return The fee growth accumulator for token0"},"functionSelector":"6378ae44","id":2130,"implemented":false,"kind":"function","modifiers":[],"name":"totalFeeGrowth0Token","nameLocation":"6820:20:14","nodeType":"FunctionDefinition","parameters":{"id":2126,"nodeType":"ParameterList","parameters":[],"src":"6840:2:14"},"returnParameters":{"id":2129,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2128,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2130,"src":"6866:7:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2127,"name":"uint256","nodeType":"ElementaryTypeName","src":"6866:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6865:9:14"},"scope":2205,"src":"6811:64:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2131,"nodeType":"StructuredDocumentation","src":"6879:218:14","text":"@notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\n @dev This value can overflow the uint256\n @return The fee growth accumulator for token1"},"functionSelector":"ecdecf42","id":2136,"implemented":false,"kind":"function","modifiers":[],"name":"totalFeeGrowth1Token","nameLocation":"7109:20:14","nodeType":"FunctionDefinition","parameters":{"id":2132,"nodeType":"ParameterList","parameters":[],"src":"7129:2:14"},"returnParameters":{"id":2135,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2134,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2136,"src":"7155:7:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2133,"name":"uint256","nodeType":"ElementaryTypeName","src":"7155:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7154:9:14"},"scope":2205,"src":"7100:64:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2137,"nodeType":"StructuredDocumentation","src":"7168:524:14","text":"@notice The current pool fee value\n @dev In case dynamic fee is enabled in the pool, this method will call the plugin to get the current fee.\n If the plugin implements complex fee logic, this method may return an incorrect value or revert.\n In this case, see the plugin implementation and related documentation.\n @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n @return currentFee The current pool fee value in hundredths of a bip, i.e. 1e-6"},"functionSelector":"ddca3f43","id":2142,"implemented":false,"kind":"function","modifiers":[],"name":"fee","nameLocation":"7704:3:14","nodeType":"FunctionDefinition","parameters":{"id":2138,"nodeType":"ParameterList","parameters":[],"src":"7707:2:14"},"returnParameters":{"id":2141,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2140,"mutability":"mutable","name":"currentFee","nameLocation":"7740:10:14","nodeType":"VariableDeclaration","scope":2142,"src":"7733:17:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2139,"name":"uint16","nodeType":"ElementaryTypeName","src":"7733:6:14","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"7732:19:14"},"scope":2205,"src":"7695:57:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2143,"nodeType":"StructuredDocumentation","src":"7756:382:14","text":"@notice The tracked token0 and token1 reserves of pool\n @dev If at any time the real balance is larger, the excess will be transferred to liquidity providers as additional fee.\n If the balance exceeds uint128, the excess will be sent to the communityVault.\n @return reserve0 The last known reserve of token0\n @return reserve1 The last known reserve of token1"},"functionSelector":"0902f1ac","id":2150,"implemented":false,"kind":"function","modifiers":[],"name":"getReserves","nameLocation":"8150:11:14","nodeType":"FunctionDefinition","parameters":{"id":2144,"nodeType":"ParameterList","parameters":[],"src":"8161:2:14"},"returnParameters":{"id":2149,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2146,"mutability":"mutable","name":"reserve0","nameLocation":"8195:8:14","nodeType":"VariableDeclaration","scope":2150,"src":"8187:16:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2145,"name":"uint128","nodeType":"ElementaryTypeName","src":"8187:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":2148,"mutability":"mutable","name":"reserve1","nameLocation":"8213:8:14","nodeType":"VariableDeclaration","scope":2150,"src":"8205:16:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2147,"name":"uint128","nodeType":"ElementaryTypeName","src":"8205:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"8186:36:14"},"scope":2205,"src":"8141:82:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2151,"nodeType":"StructuredDocumentation","src":"8227:779:14","text":"@notice Returns the information about a position by the position's key\n @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n @param key The position's key is a packed concatenation of the owner address, bottomTick and topTick indexes\n @return liquidity The amount of liquidity in the position\n @return innerFeeGrowth0Token Fee growth of token0 inside the tick range as of the last mint/burn/poke\n @return innerFeeGrowth1Token Fee growth of token1 inside the tick range as of the last mint/burn/poke\n @return fees0 The computed amount of token0 owed to the position as of the last mint/burn/poke\n @return fees1 The computed amount of token1 owed to the position as of the last mint/burn/poke"},"functionSelector":"514ea4bf","id":2166,"implemented":false,"kind":"function","modifiers":[],"name":"positions","nameLocation":"9018:9:14","nodeType":"FunctionDefinition","parameters":{"id":2154,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2153,"mutability":"mutable","name":"key","nameLocation":"9041:3:14","nodeType":"VariableDeclaration","scope":2166,"src":"9033:11:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":2152,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9033:7:14","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"9027:21:14"},"returnParameters":{"id":2165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2156,"mutability":"mutable","name":"liquidity","nameLocation":"9080:9:14","nodeType":"VariableDeclaration","scope":2166,"src":"9072:17:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2155,"name":"uint256","nodeType":"ElementaryTypeName","src":"9072:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2158,"mutability":"mutable","name":"innerFeeGrowth0Token","nameLocation":"9099:20:14","nodeType":"VariableDeclaration","scope":2166,"src":"9091:28:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2157,"name":"uint256","nodeType":"ElementaryTypeName","src":"9091:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2160,"mutability":"mutable","name":"innerFeeGrowth1Token","nameLocation":"9129:20:14","nodeType":"VariableDeclaration","scope":2166,"src":"9121:28:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2159,"name":"uint256","nodeType":"ElementaryTypeName","src":"9121:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2162,"mutability":"mutable","name":"fees0","nameLocation":"9159:5:14","nodeType":"VariableDeclaration","scope":2166,"src":"9151:13:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2161,"name":"uint128","nodeType":"ElementaryTypeName","src":"9151:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":2164,"mutability":"mutable","name":"fees1","nameLocation":"9174:5:14","nodeType":"VariableDeclaration","scope":2166,"src":"9166:13:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2163,"name":"uint128","nodeType":"ElementaryTypeName","src":"9166:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"9071:109:14"},"scope":2205,"src":"9009:172:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2167,"nodeType":"StructuredDocumentation","src":"9185:355:14","text":"@notice The currently in range liquidity available to the pool\n @dev This value has no relationship to the total liquidity across all ticks.\n Returned value cannot exceed type(uint128).max\n @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n @return The current in range liquidity"},"functionSelector":"1a686502","id":2172,"implemented":false,"kind":"function","modifiers":[],"name":"liquidity","nameLocation":"9552:9:14","nodeType":"FunctionDefinition","parameters":{"id":2168,"nodeType":"ParameterList","parameters":[],"src":"9561:2:14"},"returnParameters":{"id":2171,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2170,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2172,"src":"9587:7:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2169,"name":"uint128","nodeType":"ElementaryTypeName","src":"9587:7:14","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"9586:9:14"},"scope":2205,"src":"9543:53:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2173,"nodeType":"StructuredDocumentation","src":"9600:436:14","text":"@notice The current tick spacing\n @dev Ticks can only be initialized by new mints at multiples of this value\n e.g.: a tickSpacing of 60 means ticks can be initialized every 60th tick, i.e., ..., -120, -60, 0, 60, 120, ...\n However, tickspacing can be changed after the ticks have been initialized.\n This value is an int24 to avoid casting even though it is always positive.\n @return The current tick spacing"},"functionSelector":"d0c93a7c","id":2178,"implemented":false,"kind":"function","modifiers":[],"name":"tickSpacing","nameLocation":"10048:11:14","nodeType":"FunctionDefinition","parameters":{"id":2174,"nodeType":"ParameterList","parameters":[],"src":"10059:2:14"},"returnParameters":{"id":2177,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2176,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2178,"src":"10085:5:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2175,"name":"int24","nodeType":"ElementaryTypeName","src":"10085:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"10084:7:14"},"scope":2205,"src":"10039:53:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2179,"nodeType":"StructuredDocumentation","src":"10096:228:14","text":"@notice The previous initialized tick before (or at) current global tick\n @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n @return The previous initialized tick"},"functionSelector":"050a4d21","id":2184,"implemented":false,"kind":"function","modifiers":[],"name":"prevTickGlobal","nameLocation":"10336:14:14","nodeType":"FunctionDefinition","parameters":{"id":2180,"nodeType":"ParameterList","parameters":[],"src":"10350:2:14"},"returnParameters":{"id":2183,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2182,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2184,"src":"10376:5:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2181,"name":"int24","nodeType":"ElementaryTypeName","src":"10376:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"10375:7:14"},"scope":2205,"src":"10327:56:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2185,"nodeType":"StructuredDocumentation","src":"10387:211:14","text":"@notice The next initialized tick after current global tick\n @dev **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n @return The next initialized tick"},"functionSelector":"d5c35a7e","id":2190,"implemented":false,"kind":"function","modifiers":[],"name":"nextTickGlobal","nameLocation":"10610:14:14","nodeType":"FunctionDefinition","parameters":{"id":2186,"nodeType":"ParameterList","parameters":[],"src":"10624:2:14"},"returnParameters":{"id":2189,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2188,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2190,"src":"10650:5:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2187,"name":"int24","nodeType":"ElementaryTypeName","src":"10650:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"10649:7:14"},"scope":2205,"src":"10601:56:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2191,"nodeType":"StructuredDocumentation","src":"10661:315:14","text":"@notice The root of tick search tree\n @dev Each bit corresponds to one node in the second layer of tick tree: '1' if node has at least one active bit.\n **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n @return The root of tick search tree as bitmap"},"functionSelector":"578b9a36","id":2196,"implemented":false,"kind":"function","modifiers":[],"name":"tickTreeRoot","nameLocation":"10988:12:14","nodeType":"FunctionDefinition","parameters":{"id":2192,"nodeType":"ParameterList","parameters":[],"src":"11000:2:14"},"returnParameters":{"id":2195,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2194,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2196,"src":"11026:6:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":2193,"name":"uint32","nodeType":"ElementaryTypeName","src":"11026:6:14","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"11025:8:14"},"scope":2205,"src":"10979:55:14","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2197,"nodeType":"StructuredDocumentation","src":"11038:347:14","text":"@notice The second layer of tick search tree\n @dev Each bit in node corresponds to one node in the leafs layer (`tickTable`) of tick tree: '1' if leaf has at least one active bit.\n **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\n @return The node of tick search tree second layer"},"functionSelector":"d8619037","id":2204,"implemented":false,"kind":"function","modifiers":[],"name":"tickTreeSecondLayer","nameLocation":"11397:19:14","nodeType":"FunctionDefinition","parameters":{"id":2200,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2199,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2204,"src":"11417:5:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":2198,"name":"int16","nodeType":"ElementaryTypeName","src":"11417:5:14","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"}],"src":"11416:7:14"},"returnParameters":{"id":2203,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2202,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2204,"src":"11447:7:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2201,"name":"uint256","nodeType":"ElementaryTypeName","src":"11447:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11446:9:14"},"scope":2205,"src":"11388:68:14","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":2206,"src":"475:10983:14","usedErrors":[],"usedEvents":[]}],"src":"45:11414:14"},"id":14},"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol","exportedSymbols":{"IAlgebraVaultFactory":[2233]},"id":2234,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":2207,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:15"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraVaultFactory","contractDependencies":[],"contractKind":"interface","documentation":{"id":2208,"nodeType":"StructuredDocumentation","src":"71:158:15","text":"@title The interface for the Algebra Vault Factory\n @notice This contract can be used for automatic vaults creation\n @dev Version: Algebra Integral"},"fullyImplemented":false,"id":2233,"linearizedBaseContracts":[2233],"name":"IAlgebraVaultFactory","nameLocation":"239:20:15","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":2209,"nodeType":"StructuredDocumentation","src":"264:189:15","text":"@notice returns address of the community fee vault for the pool\n @param pool the address of Algebra Integral pool\n @return communityFeeVault the address of community fee vault"},"functionSelector":"7570e389","id":2216,"implemented":false,"kind":"function","modifiers":[],"name":"getVaultForPool","nameLocation":"465:15:15","nodeType":"FunctionDefinition","parameters":{"id":2212,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2211,"mutability":"mutable","name":"pool","nameLocation":"489:4:15","nodeType":"VariableDeclaration","scope":2216,"src":"481:12:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2210,"name":"address","nodeType":"ElementaryTypeName","src":"481:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"480:14:15"},"returnParameters":{"id":2215,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2214,"mutability":"mutable","name":"communityFeeVault","nameLocation":"526:17:15","nodeType":"VariableDeclaration","scope":2216,"src":"518:25:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2213,"name":"address","nodeType":"ElementaryTypeName","src":"518:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"517:27:15"},"scope":2233,"src":"456:89:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2217,"nodeType":"StructuredDocumentation","src":"549:188:15","text":"@notice creates the community fee vault for the pool if needed\n @param pool the address of Algebra Integral pool\n @return communityFeeVault the address of community fee vault"},"functionSelector":"b8a1d3c6","id":2232,"implemented":false,"kind":"function","modifiers":[],"name":"createVaultForPool","nameLocation":"749:18:15","nodeType":"FunctionDefinition","parameters":{"id":2228,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2219,"mutability":"mutable","name":"pool","nameLocation":"781:4:15","nodeType":"VariableDeclaration","scope":2232,"src":"773:12:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2218,"name":"address","nodeType":"ElementaryTypeName","src":"773:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2221,"mutability":"mutable","name":"creator","nameLocation":"799:7:15","nodeType":"VariableDeclaration","scope":2232,"src":"791:15:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2220,"name":"address","nodeType":"ElementaryTypeName","src":"791:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2223,"mutability":"mutable","name":"deployer","nameLocation":"820:8:15","nodeType":"VariableDeclaration","scope":2232,"src":"812:16:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2222,"name":"address","nodeType":"ElementaryTypeName","src":"812:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2225,"mutability":"mutable","name":"token0","nameLocation":"842:6:15","nodeType":"VariableDeclaration","scope":2232,"src":"834:14:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2224,"name":"address","nodeType":"ElementaryTypeName","src":"834:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2227,"mutability":"mutable","name":"token1","nameLocation":"862:6:15","nodeType":"VariableDeclaration","scope":2232,"src":"854:14:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2226,"name":"address","nodeType":"ElementaryTypeName","src":"854:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"767:105:15"},"returnParameters":{"id":2231,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2230,"mutability":"mutable","name":"communityFeeVault","nameLocation":"899:17:15","nodeType":"VariableDeclaration","scope":2232,"src":"891:25:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2229,"name":"address","nodeType":"ElementaryTypeName","src":"891:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"890:27:15"},"scope":2233,"src":"740:178:15","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":2234,"src":"229:691:15","usedErrors":[],"usedEvents":[]}],"src":"45:876:15"},"id":15},"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol","exportedSymbols":{"Constants":[2288]},"id":2289,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":2235,"literals":["solidity",">=","0.5",".0","<","0.9",".0"],"nodeType":"PragmaDirective","src":"45:31:16"},{"abstract":false,"baseContracts":[],"canonicalName":"Constants","contractDependencies":[],"contractKind":"library","documentation":{"id":2236,"nodeType":"StructuredDocumentation","src":"78:166:16","text":"@title Contains common constants for Algebra contracts\n @dev Constants moved to the library, not the base contract, to further emphasize their constant nature"},"fullyImplemented":true,"id":2288,"linearizedBaseContracts":[2288],"name":"Constants","nameLocation":"252:9:16","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":2239,"mutability":"constant","name":"RESOLUTION","nameLocation":"290:10:16","nodeType":"VariableDeclaration","scope":2288,"src":"266:39:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2237,"name":"uint8","nodeType":"ElementaryTypeName","src":"266:5:16","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"3936","id":2238,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"303:2:16","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},"visibility":"internal"},{"constant":true,"id":2244,"mutability":"constant","name":"Q96","nameLocation":"335:3:16","nodeType":"VariableDeclaration","scope":2288,"src":"309:39:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2240,"name":"uint256","nodeType":"ElementaryTypeName","src":"309:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_79228162514264337593543950336_by_1","typeString":"int_const 79228162514264337593543950336"},"id":2243,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2241,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"341:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3936","id":2242,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"346:2:16","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},"src":"341:7:16","typeDescriptions":{"typeIdentifier":"t_rational_79228162514264337593543950336_by_1","typeString":"int_const 79228162514264337593543950336"}},"visibility":"internal"},{"constant":true,"id":2249,"mutability":"constant","name":"Q128","nameLocation":"378:4:16","nodeType":"VariableDeclaration","scope":2288,"src":"352:41:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2245,"name":"uint256","nodeType":"ElementaryTypeName","src":"352:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"},"id":2248,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2246,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"385:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"313238","id":2247,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"390:3:16","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"385:8:16","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}},"visibility":"internal"},{"constant":true,"id":2252,"mutability":"constant","name":"FEE_DENOMINATOR","nameLocation":"423:15:16","nodeType":"VariableDeclaration","scope":2288,"src":"398:46:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2250,"name":"uint24","nodeType":"ElementaryTypeName","src":"398:6:16","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"value":{"hexValue":"316536","id":2251,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"441:3:16","typeDescriptions":{"typeIdentifier":"t_rational_1000000_by_1","typeString":"int_const 1000000"},"value":"1e6"},"visibility":"internal"},{"constant":true,"id":2255,"mutability":"constant","name":"FLASH_FEE","nameLocation":"473:9:16","nodeType":"VariableDeclaration","scope":2288,"src":"448:43:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2253,"name":"uint16","nodeType":"ElementaryTypeName","src":"448:6:16","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"value":{"hexValue":"302e30316534","id":2254,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"485:6:16","typeDescriptions":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"},"value":"0.01e4"},"visibility":"internal"},{"constant":true,"id":2258,"mutability":"constant","name":"INIT_DEFAULT_FEE","nameLocation":"573:16:16","nodeType":"VariableDeclaration","scope":2288,"src":"548:50:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2256,"name":"uint16","nodeType":"ElementaryTypeName","src":"548:6:16","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"value":{"hexValue":"302e30356534","id":2257,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"592:6:16","typeDescriptions":{"typeIdentifier":"t_rational_500_by_1","typeString":"int_const 500"},"value":"0.05e4"},"visibility":"internal"},{"constant":true,"id":2261,"mutability":"constant","name":"MAX_DEFAULT_FEE","nameLocation":"684:15:16","nodeType":"VariableDeclaration","scope":2288,"src":"659:46:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2259,"name":"uint16","nodeType":"ElementaryTypeName","src":"659:6:16","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"value":{"hexValue":"356534","id":2260,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"702:3:16","typeDescriptions":{"typeIdentifier":"t_rational_50000_by_1","typeString":"int_const 50000"},"value":"5e4"},"visibility":"internal"},{"constant":true,"id":2264,"mutability":"constant","name":"INIT_DEFAULT_TICK_SPACING","nameLocation":"787:25:16","nodeType":"VariableDeclaration","scope":2288,"src":"763:54:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2262,"name":"int24","nodeType":"ElementaryTypeName","src":"763:5:16","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"hexValue":"3630","id":2263,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"815:2:16","typeDescriptions":{"typeIdentifier":"t_rational_60_by_1","typeString":"int_const 60"},"value":"60"},"visibility":"internal"},{"constant":true,"id":2267,"mutability":"constant","name":"MAX_TICK_SPACING","nameLocation":"845:16:16","nodeType":"VariableDeclaration","scope":2288,"src":"821:46:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2265,"name":"int24","nodeType":"ElementaryTypeName","src":"821:5:16","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"hexValue":"353030","id":2266,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"864:3:16","typeDescriptions":{"typeIdentifier":"t_rational_500_by_1","typeString":"int_const 500"},"value":"500"},"visibility":"internal"},{"constant":true,"id":2270,"mutability":"constant","name":"MIN_TICK_SPACING","nameLocation":"895:16:16","nodeType":"VariableDeclaration","scope":2288,"src":"871:44:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2268,"name":"int24","nodeType":"ElementaryTypeName","src":"871:5:16","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"hexValue":"31","id":2269,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"914:1:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"visibility":"internal"},{"constant":true,"id":2273,"mutability":"constant","name":"FEE_TRANSFER_FREQUENCY","nameLocation":"1028:22:16","nodeType":"VariableDeclaration","scope":2288,"src":"1003:57:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":2271,"name":"uint32","nodeType":"ElementaryTypeName","src":"1003:6:16","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"value":{"hexValue":"38","id":2272,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1053:7:16","subdenomination":"hours","typeDescriptions":{"typeIdentifier":"t_rational_28800_by_1","typeString":"int_const 28800"},"value":"8"},"visibility":"internal"},{"constant":true,"id":2276,"mutability":"constant","name":"MAX_LIQUIDITY_PER_TICK","nameLocation":"1133:22:16","nodeType":"VariableDeclaration","scope":2288,"src":"1107:84:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2274,"name":"uint128","nodeType":"ElementaryTypeName","src":"1107:7:16","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"value":{"hexValue":"313931373537363338353337353237363438343930373532383936313938353533","id":2275,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1158:33:16","typeDescriptions":{"typeIdentifier":"t_rational_191757638537527648490752896198553_by_1","typeString":"int_const 1917...(25 digits omitted)...8553"},"value":"191757638537527648490752896198553"},"visibility":"internal"},{"constant":true,"id":2279,"mutability":"constant","name":"MAX_COMMUNITY_FEE","nameLocation":"1221:17:16","nodeType":"VariableDeclaration","scope":2288,"src":"1196:48:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2277,"name":"uint16","nodeType":"ElementaryTypeName","src":"1196:6:16","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"value":{"hexValue":"316533","id":2278,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1241:3:16","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1e3"},"visibility":"internal"},{"constant":true,"id":2282,"mutability":"constant","name":"COMMUNITY_FEE_DENOMINATOR","nameLocation":"1282:25:16","nodeType":"VariableDeclaration","scope":2288,"src":"1256:57:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2280,"name":"uint256","nodeType":"ElementaryTypeName","src":"1256:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"316533","id":2281,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1310:3:16","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1e3"},"visibility":"internal"},{"constant":true,"id":2287,"mutability":"constant","name":"POOLS_ADMINISTRATOR_ROLE","nameLocation":"1387:24:16","nodeType":"VariableDeclaration","scope":2288,"src":"1361:85:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":2283,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1361:7:16","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"504f4f4c535f41444d494e4953545241544f52","id":2285,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1424:21:16","typeDescriptions":{"typeIdentifier":"t_stringliteral_b73ce166ead2f8e9add217713a7989e4edfba9625f71dfd2516204bb67ad3442","typeString":"literal_string \"POOLS_ADMINISTRATOR\""},"value":"POOLS_ADMINISTRATOR"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_b73ce166ead2f8e9add217713a7989e4edfba9625f71dfd2516204bb67ad3442","typeString":"literal_string \"POOLS_ADMINISTRATOR\""}],"id":2284,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1414:9:16","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":2286,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1414:32:16","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"scope":2289,"src":"244:1205:16","usedErrors":[],"usedEvents":[]}],"src":"45:1405:16"},"id":16},"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol","exportedSymbols":{"FullMath":[2495]},"id":2496,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2290,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"32:23:17"},{"abstract":false,"baseContracts":[],"canonicalName":"FullMath","contractDependencies":[],"contractKind":"library","documentation":{"id":2291,"nodeType":"StructuredDocumentation","src":"57:297:17","text":"@title Contains 512-bit math functions\n @notice Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\n @dev Handles \"phantom overflow\" i.e., allows multiplication and division where an intermediate value overflows 256 bits"},"fullyImplemented":true,"id":2495,"linearizedBaseContracts":[2495],"name":"FullMath","nameLocation":"362:8:17","nodeType":"ContractDefinition","nodes":[{"body":{"id":2412,"nodeType":"Block","src":"825:3390:17","statements":[{"id":2411,"nodeType":"UncheckedBlock","src":"831:3380:17","statements":[{"assignments":[2304],"declarations":[{"constant":false,"id":2304,"mutability":"mutable","name":"prod0","nameLocation":"1150:5:17","nodeType":"VariableDeclaration","scope":2411,"src":"1142:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2303,"name":"uint256","nodeType":"ElementaryTypeName","src":"1142:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2308,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2305,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2294,"src":"1158:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2306,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2296,"src":"1162:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1158:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1142:21:17"},{"assignments":[2310],"declarations":[{"constant":false,"id":2310,"mutability":"mutable","name":"prod1","nameLocation":"1224:5:17","nodeType":"VariableDeclaration","scope":2411,"src":"1216:13:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2309,"name":"uint256","nodeType":"ElementaryTypeName","src":"1216:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2311,"nodeType":"VariableDeclarationStatement","src":"1216:13:17"},{"AST":{"nodeType":"YulBlock","src":"1290:100:17","statements":[{"nodeType":"YulVariableDeclaration","src":"1300:30:17","value":{"arguments":[{"name":"a","nodeType":"YulIdentifier","src":"1317:1:17"},{"name":"b","nodeType":"YulIdentifier","src":"1320:1:17"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1327:1:17","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"1323:3:17"},"nodeType":"YulFunctionCall","src":"1323:6:17"}],"functionName":{"name":"mulmod","nodeType":"YulIdentifier","src":"1310:6:17"},"nodeType":"YulFunctionCall","src":"1310:20:17"},"variables":[{"name":"mm","nodeType":"YulTypedName","src":"1304:2:17","type":""}]},{"nodeType":"YulAssignment","src":"1339:43:17","value":{"arguments":[{"arguments":[{"name":"mm","nodeType":"YulIdentifier","src":"1356:2:17"},{"name":"prod0","nodeType":"YulIdentifier","src":"1360:5:17"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1352:3:17"},"nodeType":"YulFunctionCall","src":"1352:14:17"},{"arguments":[{"name":"mm","nodeType":"YulIdentifier","src":"1371:2:17"},{"name":"prod0","nodeType":"YulIdentifier","src":"1375:5:17"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1368:2:17"},"nodeType":"YulFunctionCall","src":"1368:13:17"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1348:3:17"},"nodeType":"YulFunctionCall","src":"1348:34:17"},"variableNames":[{"name":"prod1","nodeType":"YulIdentifier","src":"1339:5:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2294,"isOffset":false,"isSlot":false,"src":"1317:1:17","valueSize":1},{"declaration":2296,"isOffset":false,"isSlot":false,"src":"1320:1:17","valueSize":1},{"declaration":2304,"isOffset":false,"isSlot":false,"src":"1360:5:17","valueSize":1},{"declaration":2304,"isOffset":false,"isSlot":false,"src":"1375:5:17","valueSize":1},{"declaration":2310,"isOffset":false,"isSlot":false,"src":"1339:5:17","valueSize":1}],"id":2312,"nodeType":"InlineAssembly","src":"1281:109:17"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2316,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2314,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"1497:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":2315,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2310,"src":"1511:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1497:19:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2313,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1489:7:17","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":2317,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1489:28:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2318,"nodeType":"ExpressionStatement","src":"1489:28:17"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2319,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2310,"src":"1586:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2320,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1595:1:17","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1586:10:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2326,"nodeType":"IfStatement","src":"1582:121:17","trueBody":{"id":2325,"nodeType":"Block","src":"1598:105:17","statements":[{"AST":{"nodeType":"YulBlock","src":"1617:55:17","statements":[{"nodeType":"YulAssignment","src":"1629:33:17","value":{"arguments":[{"name":"prod0","nodeType":"YulIdentifier","src":"1643:5:17"},{"name":"denominator","nodeType":"YulIdentifier","src":"1650:11:17"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"1639:3:17"},"nodeType":"YulFunctionCall","src":"1639:23:17"},"variableNames":[{"name":"result","nodeType":"YulIdentifier","src":"1629:6:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2298,"isOffset":false,"isSlot":false,"src":"1650:11:17","valueSize":1},{"declaration":2304,"isOffset":false,"isSlot":false,"src":"1643:5:17","valueSize":1},{"declaration":2301,"isOffset":false,"isSlot":false,"src":"1629:6:17","valueSize":1}],"id":2322,"nodeType":"InlineAssembly","src":"1608:64:17"},{"expression":{"id":2323,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2301,"src":"1688:6:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2302,"id":2324,"nodeType":"Return","src":"1681:13:17"}]}},{"AST":{"nodeType":"YulBlock","src":"2032:149:17","statements":[{"nodeType":"YulVariableDeclaration","src":"2042:42:17","value":{"arguments":[{"name":"a","nodeType":"YulIdentifier","src":"2066:1:17"},{"name":"b","nodeType":"YulIdentifier","src":"2069:1:17"},{"name":"denominator","nodeType":"YulIdentifier","src":"2072:11:17"}],"functionName":{"name":"mulmod","nodeType":"YulIdentifier","src":"2059:6:17"},"nodeType":"YulFunctionCall","src":"2059:25:17"},"variables":[{"name":"remainder","nodeType":"YulTypedName","src":"2046:9:17","type":""}]},{"nodeType":"YulAssignment","src":"2093:41:17","value":{"arguments":[{"name":"prod1","nodeType":"YulIdentifier","src":"2106:5:17"},{"arguments":[{"name":"remainder","nodeType":"YulIdentifier","src":"2116:9:17"},{"name":"prod0","nodeType":"YulIdentifier","src":"2127:5:17"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2113:2:17"},"nodeType":"YulFunctionCall","src":"2113:20:17"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2102:3:17"},"nodeType":"YulFunctionCall","src":"2102:32:17"},"variableNames":[{"name":"prod1","nodeType":"YulIdentifier","src":"2093:5:17"}]},{"nodeType":"YulAssignment","src":"2143:30:17","value":{"arguments":[{"name":"prod0","nodeType":"YulIdentifier","src":"2156:5:17"},{"name":"remainder","nodeType":"YulIdentifier","src":"2163:9:17"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2152:3:17"},"nodeType":"YulFunctionCall","src":"2152:21:17"},"variableNames":[{"name":"prod0","nodeType":"YulIdentifier","src":"2143:5:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2294,"isOffset":false,"isSlot":false,"src":"2066:1:17","valueSize":1},{"declaration":2296,"isOffset":false,"isSlot":false,"src":"2069:1:17","valueSize":1},{"declaration":2298,"isOffset":false,"isSlot":false,"src":"2072:11:17","valueSize":1},{"declaration":2304,"isOffset":false,"isSlot":false,"src":"2127:5:17","valueSize":1},{"declaration":2304,"isOffset":false,"isSlot":false,"src":"2143:5:17","valueSize":1},{"declaration":2304,"isOffset":false,"isSlot":false,"src":"2156:5:17","valueSize":1},{"declaration":2310,"isOffset":false,"isSlot":false,"src":"2093:5:17","valueSize":1},{"declaration":2310,"isOffset":false,"isSlot":false,"src":"2106:5:17","valueSize":1}],"id":2327,"nodeType":"InlineAssembly","src":"2023:158:17"},{"assignments":[2329],"declarations":[{"constant":false,"id":2329,"mutability":"mutable","name":"twos","nameLocation":"2330:4:17","nodeType":"VariableDeclaration","scope":2411,"src":"2322:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2328,"name":"uint256","nodeType":"ElementaryTypeName","src":"2322:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2336,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2335,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2332,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"30","id":2330,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2338:1:17","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":2331,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"2342:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2338:15:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2333,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2337:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":2334,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"2357:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2337:31:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2322:46:17"},{"AST":{"nodeType":"YulBlock","src":"2429:55:17","statements":[{"nodeType":"YulAssignment","src":"2439:37:17","value":{"arguments":[{"name":"denominator","nodeType":"YulIdentifier","src":"2458:11:17"},{"name":"twos","nodeType":"YulIdentifier","src":"2471:4:17"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"2454:3:17"},"nodeType":"YulFunctionCall","src":"2454:22:17"},"variableNames":[{"name":"denominator","nodeType":"YulIdentifier","src":"2439:11:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2298,"isOffset":false,"isSlot":false,"src":"2439:11:17","valueSize":1},{"declaration":2298,"isOffset":false,"isSlot":false,"src":"2458:11:17","valueSize":1},{"declaration":2329,"isOffset":false,"isSlot":false,"src":"2471:4:17","valueSize":1}],"id":2337,"nodeType":"InlineAssembly","src":"2420:64:17"},{"AST":{"nodeType":"YulBlock","src":"2553:43:17","statements":[{"nodeType":"YulAssignment","src":"2563:25:17","value":{"arguments":[{"name":"prod0","nodeType":"YulIdentifier","src":"2576:5:17"},{"name":"twos","nodeType":"YulIdentifier","src":"2583:4:17"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"2572:3:17"},"nodeType":"YulFunctionCall","src":"2572:16:17"},"variableNames":[{"name":"prod0","nodeType":"YulIdentifier","src":"2563:5:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2304,"isOffset":false,"isSlot":false,"src":"2563:5:17","valueSize":1},{"declaration":2304,"isOffset":false,"isSlot":false,"src":"2576:5:17","valueSize":1},{"declaration":2329,"isOffset":false,"isSlot":false,"src":"2583:4:17","valueSize":1}],"id":2338,"nodeType":"InlineAssembly","src":"2544:52:17"},{"AST":{"nodeType":"YulBlock","src":"2776:57:17","statements":[{"nodeType":"YulAssignment","src":"2786:39:17","value":{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2806:1:17","type":"","value":"0"},{"name":"twos","nodeType":"YulIdentifier","src":"2809:4:17"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2802:3:17"},"nodeType":"YulFunctionCall","src":"2802:12:17"},{"name":"twos","nodeType":"YulIdentifier","src":"2816:4:17"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"2798:3:17"},"nodeType":"YulFunctionCall","src":"2798:23:17"},{"kind":"number","nodeType":"YulLiteral","src":"2823:1:17","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2794:3:17"},"nodeType":"YulFunctionCall","src":"2794:31:17"},"variableNames":[{"name":"twos","nodeType":"YulIdentifier","src":"2786:4:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2329,"isOffset":false,"isSlot":false,"src":"2786:4:17","valueSize":1},{"declaration":2329,"isOffset":false,"isSlot":false,"src":"2809:4:17","valueSize":1},{"declaration":2329,"isOffset":false,"isSlot":false,"src":"2816:4:17","valueSize":1}],"id":2339,"nodeType":"InlineAssembly","src":"2767:66:17"},{"expression":{"id":2344,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2340,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2304,"src":"2840:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2343,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2341,"name":"prod1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2310,"src":"2849:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2342,"name":"twos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2329,"src":"2857:4:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2849:12:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2840:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2345,"nodeType":"ExpressionStatement","src":"2840:21:17"},{"assignments":[2347],"declarations":[{"constant":false,"id":2347,"mutability":"mutable","name":"inv","nameLocation":"3191:3:17","nodeType":"VariableDeclaration","scope":2411,"src":"3183:11:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2346,"name":"uint256","nodeType":"ElementaryTypeName","src":"3183:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2354,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2353,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"33","id":2348,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3198:1:17","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2349,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"3202:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3198:15:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2351,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3197:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"hexValue":"32","id":2352,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3217:1:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"3197:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3183:35:17"},{"expression":{"id":2361,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2355,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3425:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2360,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2356,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3432:1:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2359,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2357,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"3436:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2358,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3450:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3436:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3432:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3425:28:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2362,"nodeType":"ExpressionStatement","src":"3425:28:17"},{"expression":{"id":2369,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2363,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3481:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2368,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2364,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3488:1:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2367,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2365,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"3492:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2366,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3506:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3492:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3488:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3481:28:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2370,"nodeType":"ExpressionStatement","src":"3481:28:17"},{"expression":{"id":2377,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2371,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3538:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2376,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2372,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3545:1:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2375,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2373,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"3549:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2374,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3563:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3549:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3545:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3538:28:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2378,"nodeType":"ExpressionStatement","src":"3538:28:17"},{"expression":{"id":2385,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2379,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3595:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2384,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2380,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3602:1:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2383,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2381,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"3606:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2382,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3620:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3606:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3602:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3595:28:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2386,"nodeType":"ExpressionStatement","src":"3595:28:17"},{"expression":{"id":2393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2387,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3652:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2392,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2388,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3659:1:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2389,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"3663:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2390,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3677:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3663:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3659:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3652:28:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2394,"nodeType":"ExpressionStatement","src":"3652:28:17"},{"expression":{"id":2401,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2395,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3710:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2400,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":2396,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3717:1:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2399,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2397,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"3721:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2398,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"3735:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3721:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3717:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3710:28:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2402,"nodeType":"ExpressionStatement","src":"3710:28:17"},{"expression":{"id":2407,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2403,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2301,"src":"4163:6:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2406,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2404,"name":"prod0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2304,"src":"4172:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2405,"name":"inv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2347,"src":"4180:3:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4172:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4163:20:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2408,"nodeType":"ExpressionStatement","src":"4163:20:17"},{"expression":{"id":2409,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2301,"src":"4198:6:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2302,"id":2410,"nodeType":"Return","src":"4191:13:17"}]}]},"documentation":{"id":2292,"nodeType":"StructuredDocumentation","src":"375:349:17","text":"@notice Calculates floor(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n @param a The multiplicand\n @param b The multiplier\n @param denominator The divisor\n @return result The 256-bit result\n @dev Credit to Remco Bloemen under MIT license https://xn--2-umb.com/21/muldiv"},"id":2413,"implemented":true,"kind":"function","modifiers":[],"name":"mulDiv","nameLocation":"736:6:17","nodeType":"FunctionDefinition","parameters":{"id":2299,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2294,"mutability":"mutable","name":"a","nameLocation":"751:1:17","nodeType":"VariableDeclaration","scope":2413,"src":"743:9:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2293,"name":"uint256","nodeType":"ElementaryTypeName","src":"743:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2296,"mutability":"mutable","name":"b","nameLocation":"762:1:17","nodeType":"VariableDeclaration","scope":2413,"src":"754:9:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2295,"name":"uint256","nodeType":"ElementaryTypeName","src":"754:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2298,"mutability":"mutable","name":"denominator","nameLocation":"773:11:17","nodeType":"VariableDeclaration","scope":2413,"src":"765:19:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2297,"name":"uint256","nodeType":"ElementaryTypeName","src":"765:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"742:43:17"},"returnParameters":{"id":2302,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2301,"mutability":"mutable","name":"result","nameLocation":"817:6:17","nodeType":"VariableDeclaration","scope":2413,"src":"809:14:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2300,"name":"uint256","nodeType":"ElementaryTypeName","src":"809:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"808:16:17"},"scope":2495,"src":"727:3488:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2481,"nodeType":"Block","src":"4593:413:17","statements":[{"id":2480,"nodeType":"UncheckedBlock","src":"4599:403:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":2439,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2427,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2425,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2416,"src":"4621:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2426,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4626:1:17","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4621:6:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2435,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":2432,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2428,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2423,"src":"4633:6:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2431,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2429,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2416,"src":"4642:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":2430,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2418,"src":"4646:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4642:5:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4633:14:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2433,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4632:16:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":2434,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2416,"src":"4651:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4632:20:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":2436,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2418,"src":"4656:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4632:25:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":2438,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4631:27:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4621:37:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2478,"nodeType":"Block","src":"4821:175:17","statements":[{"expression":{"id":2454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2448,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2423,"src":"4831:6:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2450,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2416,"src":"4847:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2451,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2418,"src":"4850:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2452,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2420,"src":"4853:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2449,"name":"mulDiv","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2413,"src":"4840:6:17","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":2453,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4840:25:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4831:34:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2455,"nodeType":"ExpressionStatement","src":"4831:34:17"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2462,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2457,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2416,"src":"4886:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2458,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2418,"src":"4889:1:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2459,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2420,"src":"4892:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2456,"name":"mulmod","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-16,"src":"4879:6:17","typeDescriptions":{"typeIdentifier":"t_function_mulmod_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":2460,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4879:25:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2461,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4907:1:17","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4879:29:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2477,"nodeType":"IfStatement","src":"4875:113:17","trueBody":{"id":2476,"nodeType":"Block","src":"4910:78:17","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2470,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2464,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2423,"src":"4930:6:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"arguments":[{"id":2467,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4944:7:17","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2466,"name":"uint256","nodeType":"ElementaryTypeName","src":"4944:7:17","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":2465,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4939:4:17","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":2468,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4939:13:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":2469,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4953:3:17","memberName":"max","nodeType":"MemberAccess","src":"4939:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4930:26:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2463,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"4922:7:17","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":2471,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4922:35:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2472,"nodeType":"ExpressionStatement","src":"4922:35:17"},{"expression":{"id":2474,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"4969:8:17","subExpression":{"id":2473,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2423,"src":"4969:6:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2475,"nodeType":"ExpressionStatement","src":"4969:8:17"}]}}]},"id":2479,"nodeType":"IfStatement","src":"4617:379:17","trueBody":{"id":2447,"nodeType":"Block","src":"4660:155:17","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2441,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2420,"src":"4678:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2442,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4692:1:17","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4678:15:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2440,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"4670:7:17","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":2444,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4670:24:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2445,"nodeType":"ExpressionStatement","src":"4670:24:17"},{"AST":{"nodeType":"YulBlock","src":"4713:94:17","statements":[{"nodeType":"YulAssignment","src":"4725:72:17","value":{"arguments":[{"arguments":[{"name":"result","nodeType":"YulIdentifier","src":"4743:6:17"},{"name":"denominator","nodeType":"YulIdentifier","src":"4751:11:17"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"4739:3:17"},"nodeType":"YulFunctionCall","src":"4739:24:17"},{"arguments":[{"arguments":[{"name":"result","nodeType":"YulIdentifier","src":"4772:6:17"},{"name":"denominator","nodeType":"YulIdentifier","src":"4780:11:17"}],"functionName":{"name":"mod","nodeType":"YulIdentifier","src":"4768:3:17"},"nodeType":"YulFunctionCall","src":"4768:24:17"},{"kind":"number","nodeType":"YulLiteral","src":"4794:1:17","type":"","value":"0"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"4765:2:17"},"nodeType":"YulFunctionCall","src":"4765:31:17"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4735:3:17"},"nodeType":"YulFunctionCall","src":"4735:62:17"},"variableNames":[{"name":"result","nodeType":"YulIdentifier","src":"4725:6:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2420,"isOffset":false,"isSlot":false,"src":"4751:11:17","valueSize":1},{"declaration":2420,"isOffset":false,"isSlot":false,"src":"4780:11:17","valueSize":1},{"declaration":2423,"isOffset":false,"isSlot":false,"src":"4725:6:17","valueSize":1},{"declaration":2423,"isOffset":false,"isSlot":false,"src":"4743:6:17","valueSize":1},{"declaration":2423,"isOffset":false,"isSlot":false,"src":"4772:6:17","valueSize":1}],"id":2446,"nodeType":"InlineAssembly","src":"4704:103:17"}]}}]}]},"documentation":{"id":2414,"nodeType":"StructuredDocumentation","src":"4219:263:17","text":"@notice Calculates ceil(a×b÷denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\n @param a The multiplicand\n @param b The multiplier\n @param denominator The divisor\n @return result The 256-bit result"},"id":2482,"implemented":true,"kind":"function","modifiers":[],"name":"mulDivRoundingUp","nameLocation":"4494:16:17","nodeType":"FunctionDefinition","parameters":{"id":2421,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2416,"mutability":"mutable","name":"a","nameLocation":"4519:1:17","nodeType":"VariableDeclaration","scope":2482,"src":"4511:9:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2415,"name":"uint256","nodeType":"ElementaryTypeName","src":"4511:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2418,"mutability":"mutable","name":"b","nameLocation":"4530:1:17","nodeType":"VariableDeclaration","scope":2482,"src":"4522:9:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2417,"name":"uint256","nodeType":"ElementaryTypeName","src":"4522:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2420,"mutability":"mutable","name":"denominator","nameLocation":"4541:11:17","nodeType":"VariableDeclaration","scope":2482,"src":"4533:19:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2419,"name":"uint256","nodeType":"ElementaryTypeName","src":"4533:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4510:43:17"},"returnParameters":{"id":2424,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2423,"mutability":"mutable","name":"result","nameLocation":"4585:6:17","nodeType":"VariableDeclaration","scope":2482,"src":"4577:14:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2422,"name":"uint256","nodeType":"ElementaryTypeName","src":"4577:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4576:16:17"},"scope":2495,"src":"4485:521:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2493,"nodeType":"Block","src":"5308:70:17","statements":[{"AST":{"nodeType":"YulBlock","src":"5323:51:17","statements":[{"nodeType":"YulAssignment","src":"5331:37:17","value":{"arguments":[{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"5344:1:17"},{"name":"y","nodeType":"YulIdentifier","src":"5347:1:17"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"5340:3:17"},"nodeType":"YulFunctionCall","src":"5340:9:17"},{"arguments":[{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"5358:1:17"},{"name":"y","nodeType":"YulIdentifier","src":"5361:1:17"}],"functionName":{"name":"mod","nodeType":"YulIdentifier","src":"5354:3:17"},"nodeType":"YulFunctionCall","src":"5354:9:17"},{"kind":"number","nodeType":"YulLiteral","src":"5365:1:17","type":"","value":"0"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5351:2:17"},"nodeType":"YulFunctionCall","src":"5351:16:17"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5336:3:17"},"nodeType":"YulFunctionCall","src":"5336:32:17"},"variableNames":[{"name":"z","nodeType":"YulIdentifier","src":"5331:1:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2485,"isOffset":false,"isSlot":false,"src":"5344:1:17","valueSize":1},{"declaration":2485,"isOffset":false,"isSlot":false,"src":"5358:1:17","valueSize":1},{"declaration":2487,"isOffset":false,"isSlot":false,"src":"5347:1:17","valueSize":1},{"declaration":2487,"isOffset":false,"isSlot":false,"src":"5361:1:17","valueSize":1},{"declaration":2490,"isOffset":false,"isSlot":false,"src":"5331:1:17","valueSize":1}],"id":2492,"nodeType":"InlineAssembly","src":"5314:60:17"}]},"documentation":{"id":2483,"nodeType":"StructuredDocumentation","src":"5010:210:17","text":"@notice Returns ceil(x / y)\n @dev division by 0 has unspecified behavior, and must be checked externally\n @param x The dividend\n @param y The divisor\n @return z The quotient, ceil(x / y)"},"id":2494,"implemented":true,"kind":"function","modifiers":[],"name":"unsafeDivRoundingUp","nameLocation":"5232:19:17","nodeType":"FunctionDefinition","parameters":{"id":2488,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2485,"mutability":"mutable","name":"x","nameLocation":"5260:1:17","nodeType":"VariableDeclaration","scope":2494,"src":"5252:9:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2484,"name":"uint256","nodeType":"ElementaryTypeName","src":"5252:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2487,"mutability":"mutable","name":"y","nameLocation":"5271:1:17","nodeType":"VariableDeclaration","scope":2494,"src":"5263:9:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2486,"name":"uint256","nodeType":"ElementaryTypeName","src":"5263:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5251:22:17"},"returnParameters":{"id":2491,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2490,"mutability":"mutable","name":"z","nameLocation":"5305:1:17","nodeType":"VariableDeclaration","scope":2494,"src":"5297:9:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2489,"name":"uint256","nodeType":"ElementaryTypeName","src":"5297:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5296:11:17"},"scope":2495,"src":"5223:155:17","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":2496,"src":"354:5026:17","usedErrors":[],"usedEvents":[]}],"src":"32:5349:17"},"id":17},"@cryptoalgebra/integral-core/contracts/libraries/LiquidityMath.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/LiquidityMath.sol","exportedSymbols":{"Constants":[2288],"FullMath":[2495],"IAlgebraPoolErrors":[1793],"LiquidityMath":[2676],"SafeCast":[2857],"TickMath":[3957],"TokenDeltaMath":[4165]},"id":2677,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":2497,"literals":["solidity",">=","0.8",".4","<","0.9",".0"],"nodeType":"PragmaDirective","src":"45:31:18"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"../interfaces/pool/IAlgebraPoolErrors.sol","id":2498,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2677,"sourceUnit":1794,"src":"78:51:18","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol","file":"./TickMath.sol","id":2499,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2677,"sourceUnit":3958,"src":"130:24:18","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol","file":"./TokenDeltaMath.sol","id":2500,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2677,"sourceUnit":4166,"src":"155:30:18","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"LiquidityMath","contractDependencies":[],"contractKind":"library","documentation":{"id":2501,"nodeType":"StructuredDocumentation","src":"187:171:18","text":"@title Math library for liquidity\n @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/blob/main/contracts/libraries"},"fullyImplemented":true,"id":2676,"linearizedBaseContracts":[2676],"name":"LiquidityMath","nameLocation":"366:13:18","nodeType":"ContractDefinition","nodes":[{"body":{"id":2553,"nodeType":"Block","src":"695:231:18","statements":[{"id":2552,"nodeType":"UncheckedBlock","src":"701:221:18","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":2513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2511,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2506,"src":"723:1:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":2512,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"727:1:18","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"723:5:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2550,"nodeType":"Block","src":"827:89:18","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":2543,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":2540,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2533,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2509,"src":"842:1:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":2539,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2534,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2504,"src":"846:1:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"id":2537,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2506,"src":"858:1:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":2536,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"850:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":2535,"name":"uint128","nodeType":"ElementaryTypeName","src":"850:7:18","typeDescriptions":{}}},"id":2538,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"850:10:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"846:14:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"842:18:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"id":2541,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"841:20:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":2542,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2504,"src":"864:1:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"841:24:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2549,"nodeType":"IfStatement","src":"837:70:18","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2544,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"874:18:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":2546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"893:12:18","memberName":"liquidityAdd","nodeType":"MemberAccess","referencedDeclaration":1765,"src":"874:31:18","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":2547,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"874:33:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2548,"nodeType":"RevertStatement","src":"867:40:18"}}]},"id":2551,"nodeType":"IfStatement","src":"719:197:18","trueBody":{"id":2532,"nodeType":"Block","src":"730:91:18","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":2525,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":2522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2514,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2509,"src":"745:1:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint128","typeString":"uint128"},"id":2521,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2515,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2504,"src":"749:1:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[{"id":2519,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"761:2:18","subExpression":{"id":2518,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2506,"src":"762:1:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":2517,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"753:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":2516,"name":"uint128","nodeType":"ElementaryTypeName","src":"753:7:18","typeDescriptions":{}}},"id":2520,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"753:11:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"749:15:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"745:19:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"id":2523,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"744:21:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":2524,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2504,"src":"769:1:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"744:26:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2531,"nodeType":"IfStatement","src":"740:72:18","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2526,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"779:18:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":2528,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"798:12:18","memberName":"liquiditySub","nodeType":"MemberAccess","referencedDeclaration":1762,"src":"779:31:18","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":2529,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"779:33:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2530,"nodeType":"RevertStatement","src":"772:40:18"}}]}}]}]},"documentation":{"id":2502,"nodeType":"StructuredDocumentation","src":"384:235:18","text":"@notice Add a signed liquidity delta to liquidity and revert if it overflows or underflows\n @param x The liquidity before change\n @param y The delta by which liquidity should be changed\n @return z The liquidity delta"},"id":2554,"implemented":true,"kind":"function","modifiers":[],"name":"addDelta","nameLocation":"631:8:18","nodeType":"FunctionDefinition","parameters":{"id":2507,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2504,"mutability":"mutable","name":"x","nameLocation":"648:1:18","nodeType":"VariableDeclaration","scope":2554,"src":"640:9:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2503,"name":"uint128","nodeType":"ElementaryTypeName","src":"640:7:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":2506,"mutability":"mutable","name":"y","nameLocation":"658:1:18","nodeType":"VariableDeclaration","scope":2554,"src":"651:8:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":2505,"name":"int128","nodeType":"ElementaryTypeName","src":"651:6:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"639:21:18"},"returnParameters":{"id":2510,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2509,"mutability":"mutable","name":"z","nameLocation":"692:1:18","nodeType":"VariableDeclaration","scope":2554,"src":"684:9:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2508,"name":"uint128","nodeType":"ElementaryTypeName","src":"684:7:18","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"683:11:18"},"scope":2676,"src":"622:304:18","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2674,"nodeType":"Block","src":"1169:1095:18","statements":[{"assignments":[2574],"declarations":[{"constant":false,"id":2574,"mutability":"mutable","name":"priceAtBottomTick","nameLocation":"1183:17:18","nodeType":"VariableDeclaration","scope":2674,"src":"1175:25:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":2573,"name":"uint160","nodeType":"ElementaryTypeName","src":"1175:7:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"id":2579,"initialValue":{"arguments":[{"id":2577,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2556,"src":"1231:10:18","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":2575,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"1203:8:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":2576,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1212:18:18","memberName":"getSqrtRatioAtTick","nodeType":"MemberAccess","referencedDeclaration":3815,"src":"1203:27:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":2578,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1203:39:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"VariableDeclarationStatement","src":"1175:67:18"},{"assignments":[2581],"declarations":[{"constant":false,"id":2581,"mutability":"mutable","name":"priceAtTopTick","nameLocation":"1256:14:18","nodeType":"VariableDeclaration","scope":2674,"src":"1248:22:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":2580,"name":"uint160","nodeType":"ElementaryTypeName","src":"1248:7:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"id":2586,"initialValue":{"arguments":[{"id":2584,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"1301:7:18","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":2582,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"1273:8:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":2583,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1282:18:18","memberName":"getSqrtRatioAtTick","nodeType":"MemberAccess","referencedDeclaration":3815,"src":"1273:27:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":2585,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1273:36:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"VariableDeclarationStatement","src":"1248:61:18"},{"assignments":[2588],"declarations":[{"constant":false,"id":2588,"mutability":"mutable","name":"amount0Int","nameLocation":"1323:10:18","nodeType":"VariableDeclaration","scope":2674,"src":"1316:17:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2587,"name":"int256","nodeType":"ElementaryTypeName","src":"1316:6:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":2589,"nodeType":"VariableDeclarationStatement","src":"1316:17:18"},{"assignments":[2591],"declarations":[{"constant":false,"id":2591,"mutability":"mutable","name":"amount1Int","nameLocation":"1346:10:18","nodeType":"VariableDeclaration","scope":2674,"src":"1339:17:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2590,"name":"int256","nodeType":"ElementaryTypeName","src":"1339:6:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":2592,"nodeType":"VariableDeclarationStatement","src":"1339:17:18"},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":2595,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2593,"name":"currentTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2562,"src":"1366:11:18","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":2594,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2556,"src":"1380:10:18","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"1366:24:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":2608,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2606,"name":"currentTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2562,"src":"1612:11:18","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":2607,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"1626:7:18","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"1612:21:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2641,"nodeType":"Block","src":"1888:210:18","statements":[{"expression":{"id":2639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2632,"name":"amount1Int","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2591,"src":"1998:10:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2635,"name":"priceAtBottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2574,"src":"2041:17:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2636,"name":"priceAtTopTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2581,"src":"2060:14:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2637,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2560,"src":"2076:14:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":2633,"name":"TokenDeltaMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4165,"src":"2011:14:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TokenDeltaMath_$4165_$","typeString":"type(library TokenDeltaMath)"}},"id":2634,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2026:14:18","memberName":"getToken1Delta","nodeType":"MemberAccess","referencedDeclaration":4164,"src":"2011:29:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_int128_$returns$_t_int256_$","typeString":"function (uint160,uint160,int128) pure returns (int256)"}},"id":2638,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2011:80:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1998:93:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":2640,"nodeType":"ExpressionStatement","src":"1998:93:18"}]},"id":2642,"nodeType":"IfStatement","src":"1608:490:18","trueBody":{"id":2631,"nodeType":"Block","src":"1635:247:18","statements":[{"expression":{"id":2616,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2609,"name":"amount0Int","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2588,"src":"1643:10:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2612,"name":"currentPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2564,"src":"1686:12:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2613,"name":"priceAtTopTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2581,"src":"1700:14:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2614,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2560,"src":"1716:14:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":2610,"name":"TokenDeltaMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4165,"src":"1656:14:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TokenDeltaMath_$4165_$","typeString":"type(library TokenDeltaMath)"}},"id":2611,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1671:14:18","memberName":"getToken0Delta","nodeType":"MemberAccess","referencedDeclaration":4119,"src":"1656:29:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_int128_$returns$_t_int256_$","typeString":"function (uint160,uint160,int128) pure returns (int256)"}},"id":2615,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1656:75:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1643:88:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":2617,"nodeType":"ExpressionStatement","src":"1643:88:18"},{"expression":{"id":2625,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2618,"name":"amount1Int","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2591,"src":"1739:10:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2621,"name":"priceAtBottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2574,"src":"1782:17:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2622,"name":"currentPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2564,"src":"1801:12:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2623,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2560,"src":"1815:14:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":2619,"name":"TokenDeltaMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4165,"src":"1752:14:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TokenDeltaMath_$4165_$","typeString":"type(library TokenDeltaMath)"}},"id":2620,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1767:14:18","memberName":"getToken1Delta","nodeType":"MemberAccess","referencedDeclaration":4164,"src":"1752:29:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_int128_$returns$_t_int256_$","typeString":"function (uint160,uint160,int128) pure returns (int256)"}},"id":2624,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1752:78:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1739:91:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":2626,"nodeType":"ExpressionStatement","src":"1739:91:18"},{"expression":{"id":2629,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2627,"name":"globalLiquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2571,"src":"1838:20:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2628,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2560,"src":"1861:14:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"1838:37:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":2630,"nodeType":"ExpressionStatement","src":"1838:37:18"}]}},"id":2643,"nodeType":"IfStatement","src":"1362:736:18","trueBody":{"id":2605,"nodeType":"Block","src":"1392:210:18","statements":[{"expression":{"id":2603,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2596,"name":"amount0Int","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2588,"src":"1502:10:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2599,"name":"priceAtBottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2574,"src":"1545:17:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2600,"name":"priceAtTopTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2581,"src":"1564:14:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":2601,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2560,"src":"1580:14:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":2597,"name":"TokenDeltaMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4165,"src":"1515:14:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TokenDeltaMath_$4165_$","typeString":"type(library TokenDeltaMath)"}},"id":2598,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1530:14:18","memberName":"getToken0Delta","nodeType":"MemberAccess","referencedDeclaration":4119,"src":"1515:29:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_int128_$returns$_t_int256_$","typeString":"function (uint160,uint160,int128) pure returns (int256)"}},"id":2602,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1515:80:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1502:93:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":2604,"nodeType":"ExpressionStatement","src":"1502:93:18"}]}},{"id":2673,"nodeType":"UncheckedBlock","src":"2104:156:18","statements":[{"expression":{"id":2671,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":2644,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2567,"src":"2123:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2645,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2569,"src":"2132:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2646,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"2122:18:18","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":2649,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2647,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2560,"src":"2143:14:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":2648,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2160:1:18","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2143:18:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"components":[{"arguments":[{"id":2663,"name":"amount0Int","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2588,"src":"2220:10:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":2662,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2212:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2661,"name":"uint256","nodeType":"ElementaryTypeName","src":"2212:7:18","typeDescriptions":{}}},"id":2664,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2212:19:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":2667,"name":"amount1Int","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2591,"src":"2241:10:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":2666,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2233:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2665,"name":"uint256","nodeType":"ElementaryTypeName","src":"2233:7:18","typeDescriptions":{}}},"id":2668,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2233:19:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2669,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2211:42:18","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"id":2670,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"2143:110:18","trueExpression":{"components":[{"arguments":[{"id":2653,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"2173:11:18","subExpression":{"id":2652,"name":"amount0Int","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2588,"src":"2174:10:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":2651,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2165:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2650,"name":"uint256","nodeType":"ElementaryTypeName","src":"2165:7:18","typeDescriptions":{}}},"id":2654,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2165:20:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":2658,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"2195:11:18","subExpression":{"id":2657,"name":"amount1Int","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2591,"src":"2196:10:18","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":2656,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2187:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2655,"name":"uint256","nodeType":"ElementaryTypeName","src":"2187:7:18","typeDescriptions":{}}},"id":2659,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2187:20:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":2660,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2164:44:18","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"src":"2122:131:18","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2672,"nodeType":"ExpressionStatement","src":"2122:131:18"}]}]},"id":2675,"implemented":true,"kind":"function","modifiers":[],"name":"getAmountsForLiquidity","nameLocation":"939:22:18","nodeType":"FunctionDefinition","parameters":{"id":2565,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2556,"mutability":"mutable","name":"bottomTick","nameLocation":"973:10:18","nodeType":"VariableDeclaration","scope":2675,"src":"967:16:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2555,"name":"int24","nodeType":"ElementaryTypeName","src":"967:5:18","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2558,"mutability":"mutable","name":"topTick","nameLocation":"995:7:18","nodeType":"VariableDeclaration","scope":2675,"src":"989:13:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2557,"name":"int24","nodeType":"ElementaryTypeName","src":"989:5:18","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2560,"mutability":"mutable","name":"liquidityDelta","nameLocation":"1015:14:18","nodeType":"VariableDeclaration","scope":2675,"src":"1008:21:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":2559,"name":"int128","nodeType":"ElementaryTypeName","src":"1008:6:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":2562,"mutability":"mutable","name":"currentTick","nameLocation":"1041:11:18","nodeType":"VariableDeclaration","scope":2675,"src":"1035:17:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2561,"name":"int24","nodeType":"ElementaryTypeName","src":"1035:5:18","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2564,"mutability":"mutable","name":"currentPrice","nameLocation":"1066:12:18","nodeType":"VariableDeclaration","scope":2675,"src":"1058:20:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":2563,"name":"uint160","nodeType":"ElementaryTypeName","src":"1058:7:18","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"961:121:18"},"returnParameters":{"id":2572,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2567,"mutability":"mutable","name":"amount0","nameLocation":"1114:7:18","nodeType":"VariableDeclaration","scope":2675,"src":"1106:15:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2566,"name":"uint256","nodeType":"ElementaryTypeName","src":"1106:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2569,"mutability":"mutable","name":"amount1","nameLocation":"1131:7:18","nodeType":"VariableDeclaration","scope":2675,"src":"1123:15:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2568,"name":"uint256","nodeType":"ElementaryTypeName","src":"1123:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2571,"mutability":"mutable","name":"globalLiquidityDelta","nameLocation":"1147:20:18","nodeType":"VariableDeclaration","scope":2675,"src":"1140:27:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":2570,"name":"int128","nodeType":"ElementaryTypeName","src":"1140:6:18","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"1105:63:18"},"scope":2676,"src":"930:1334:18","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":2677,"src":"358:1908:18","usedErrors":[],"usedEvents":[]}],"src":"45:2222:18"},"id":18},"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","exportedSymbols":{"IAlgebraPoolErrors":[1793],"Plugins":[2748]},"id":2749,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":2678,"literals":["solidity",">=","0.8",".4","<","0.9",".0"],"nodeType":"PragmaDirective","src":"45:31:19"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"../interfaces/pool/IAlgebraPoolErrors.sol","id":2679,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2749,"sourceUnit":1794,"src":"78:51:19","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Plugins","contractDependencies":[],"contractKind":"library","documentation":{"id":2680,"nodeType":"StructuredDocumentation","src":"131:180:19","text":"@title Contains logic and constants for interacting with the plugin through hooks\n @dev Allows pool to check which hooks are enabled, as well as control the return selector"},"fullyImplemented":true,"id":2748,"linearizedBaseContracts":[2748],"name":"Plugins","nameLocation":"319:7:19","nodeType":"ContractDefinition","nodes":[{"body":{"id":2690,"nodeType":"Block","src":"415:70:19","statements":[{"AST":{"nodeType":"YulBlock","src":"430:51:19","statements":[{"nodeType":"YulAssignment","src":"438:37:19","value":{"arguments":[{"arguments":[{"name":"pluginConfig","nodeType":"YulIdentifier","src":"452:12:19"},{"name":"flag","nodeType":"YulIdentifier","src":"466:4:19"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"448:3:19"},"nodeType":"YulFunctionCall","src":"448:23:19"},{"kind":"number","nodeType":"YulLiteral","src":"473:1:19","type":"","value":"0"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"445:2:19"},"nodeType":"YulFunctionCall","src":"445:30:19"},"variableNames":[{"name":"res","nodeType":"YulIdentifier","src":"438:3:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2684,"isOffset":false,"isSlot":false,"src":"466:4:19","valueSize":1},{"declaration":2682,"isOffset":false,"isSlot":false,"src":"452:12:19","valueSize":1},{"declaration":2687,"isOffset":false,"isSlot":false,"src":"438:3:19","valueSize":1}],"id":2689,"nodeType":"InlineAssembly","src":"421:60:19"}]},"id":2691,"implemented":true,"kind":"function","modifiers":[],"name":"hasFlag","nameLocation":"340:7:19","nodeType":"FunctionDefinition","parameters":{"id":2685,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2682,"mutability":"mutable","name":"pluginConfig","nameLocation":"354:12:19","nodeType":"VariableDeclaration","scope":2691,"src":"348:18:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2681,"name":"uint8","nodeType":"ElementaryTypeName","src":"348:5:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":2684,"mutability":"mutable","name":"flag","nameLocation":"376:4:19","nodeType":"VariableDeclaration","scope":2691,"src":"368:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2683,"name":"uint256","nodeType":"ElementaryTypeName","src":"368:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"347:34:19"},"returnParameters":{"id":2688,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2687,"mutability":"mutable","name":"res","nameLocation":"410:3:19","nodeType":"VariableDeclaration","scope":2691,"src":"405:8:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2686,"name":"bool","nodeType":"ElementaryTypeName","src":"405:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"404:10:19"},"scope":2748,"src":"331:154:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2708,"nodeType":"Block","src":"567:108:19","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":2700,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2698,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2693,"src":"577:8:19","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":2699,"name":"expectedSelector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2695,"src":"589:16:19","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"577:28:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2707,"nodeType":"IfStatement","src":"573:97:19","trueBody":{"errorCall":{"arguments":[{"id":2704,"name":"expectedSelector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2695,"src":"653:16:19","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":2701,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"614:18:19","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":2703,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"633:19:19","memberName":"invalidHookResponse","nodeType":"MemberAccess","referencedDeclaration":1759,"src":"614:38:19","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_bytes4_$returns$__$","typeString":"function (bytes4) pure"}},"id":2705,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"614:56:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2706,"nodeType":"RevertStatement","src":"607:63:19"}}]},"id":2709,"implemented":true,"kind":"function","modifiers":[],"name":"shouldReturn","nameLocation":"498:12:19","nodeType":"FunctionDefinition","parameters":{"id":2696,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2693,"mutability":"mutable","name":"selector","nameLocation":"518:8:19","nodeType":"VariableDeclaration","scope":2709,"src":"511:15:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2692,"name":"bytes4","nodeType":"ElementaryTypeName","src":"511:6:19","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":2695,"mutability":"mutable","name":"expectedSelector","nameLocation":"535:16:19","nodeType":"VariableDeclaration","scope":2709,"src":"528:23:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2694,"name":"bytes4","nodeType":"ElementaryTypeName","src":"528:6:19","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"510:42:19"},"returnParameters":{"id":2697,"nodeType":"ParameterList","parameters":[],"src":"567:0:19"},"scope":2748,"src":"489:186:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"constant":true,"id":2712,"mutability":"constant","name":"BEFORE_SWAP_FLAG","nameLocation":"705:16:19","nodeType":"VariableDeclaration","scope":2748,"src":"679:46:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2710,"name":"uint256","nodeType":"ElementaryTypeName","src":"679:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31","id":2711,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"724:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"visibility":"internal"},{"constant":true,"id":2717,"mutability":"constant","name":"AFTER_SWAP_FLAG","nameLocation":"755:15:19","nodeType":"VariableDeclaration","scope":2748,"src":"729:50:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2713,"name":"uint256","nodeType":"ElementaryTypeName","src":"729:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"id":2716,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2714,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"773:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"31","id":2715,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"778:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"773:6:19","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}},"visibility":"internal"},{"constant":true,"id":2722,"mutability":"constant","name":"BEFORE_POSITION_MODIFY_FLAG","nameLocation":"809:27:19","nodeType":"VariableDeclaration","scope":2748,"src":"783:62:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2718,"name":"uint256","nodeType":"ElementaryTypeName","src":"783:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"id":2721,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2719,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"839:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"32","id":2720,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"844:1:19","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"839:6:19","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}},"visibility":"internal"},{"constant":true,"id":2727,"mutability":"constant","name":"AFTER_POSITION_MODIFY_FLAG","nameLocation":"875:26:19","nodeType":"VariableDeclaration","scope":2748,"src":"849:61:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2723,"name":"uint256","nodeType":"ElementaryTypeName","src":"849:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"id":2726,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2724,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"904:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"33","id":2725,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"909:1:19","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"904:6:19","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"}},"visibility":"internal"},{"constant":true,"id":2732,"mutability":"constant","name":"BEFORE_FLASH_FLAG","nameLocation":"940:17:19","nodeType":"VariableDeclaration","scope":2748,"src":"914:52:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2728,"name":"uint256","nodeType":"ElementaryTypeName","src":"914:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"id":2731,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2729,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"960:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"34","id":2730,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"965:1:19","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"960:6:19","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"}},"visibility":"internal"},{"constant":true,"id":2737,"mutability":"constant","name":"AFTER_FLASH_FLAG","nameLocation":"996:16:19","nodeType":"VariableDeclaration","scope":2748,"src":"970:51:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2733,"name":"uint256","nodeType":"ElementaryTypeName","src":"970:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"id":2736,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2734,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1015:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"35","id":2735,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1020:1:19","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"1015:6:19","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"}},"visibility":"internal"},{"constant":true,"id":2742,"mutability":"constant","name":"AFTER_INIT_FLAG","nameLocation":"1051:15:19","nodeType":"VariableDeclaration","scope":2748,"src":"1025:50:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2738,"name":"uint256","nodeType":"ElementaryTypeName","src":"1025:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"id":2741,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2739,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1069:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"36","id":2740,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1074:1:19","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},"src":"1069:6:19","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"}},"visibility":"internal"},{"constant":true,"id":2747,"mutability":"constant","name":"DYNAMIC_FEE","nameLocation":"1105:11:19","nodeType":"VariableDeclaration","scope":2748,"src":"1079:46:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2743,"name":"uint256","nodeType":"ElementaryTypeName","src":"1079:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"id":2746,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":2744,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1119:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"37","id":2745,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1124:1:19","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},"src":"1119:6:19","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"}},"visibility":"internal"}],"scope":2749,"src":"311:817:19","usedErrors":[],"usedEvents":[]}],"src":"45:1084:19"},"id":19},"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol","exportedSymbols":{"SafeCast":[2857]},"id":2858,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":2750,"literals":["solidity",">=","0.5",".0","<","0.9",".0"],"nodeType":"PragmaDirective","src":"45:31:20"},{"abstract":false,"baseContracts":[],"canonicalName":"SafeCast","contractDependencies":[],"contractKind":"library","documentation":{"id":2751,"nodeType":"StructuredDocumentation","src":"78:227:20","text":"@title Safe casting methods\n @notice Contains methods for safely casting between types\n @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/blob/main/contracts/libraries"},"fullyImplemented":true,"id":2857,"linearizedBaseContracts":[2857],"name":"SafeCast","nameLocation":"313:8:20","nodeType":"ContractDefinition","nodes":[{"body":{"id":2771,"nodeType":"Block","src":"553:41:20","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2768,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":2765,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2760,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2757,"src":"568:1:20","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2763,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2754,"src":"580:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2762,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"572:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":2761,"name":"uint160","nodeType":"ElementaryTypeName","src":"572:7:20","typeDescriptions":{}}},"id":2764,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"572:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"568:14:20","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"id":2766,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"567:16:20","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":2767,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2754,"src":"587:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"567:21:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2759,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"559:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":2769,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"559:30:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2770,"nodeType":"ExpressionStatement","src":"559:30:20"}]},"documentation":{"id":2752,"nodeType":"StructuredDocumentation","src":"326:160:20","text":"@notice Cast a uint256 to a uint160, revert on overflow\n @param y The uint256 to be downcasted\n @return z The downcasted integer, now type uint160"},"id":2772,"implemented":true,"kind":"function","modifiers":[],"name":"toUint160","nameLocation":"498:9:20","nodeType":"FunctionDefinition","parameters":{"id":2755,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2754,"mutability":"mutable","name":"y","nameLocation":"516:1:20","nodeType":"VariableDeclaration","scope":2772,"src":"508:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2753,"name":"uint256","nodeType":"ElementaryTypeName","src":"508:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"507:11:20"},"returnParameters":{"id":2758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2757,"mutability":"mutable","name":"z","nameLocation":"550:1:20","nodeType":"VariableDeclaration","scope":2772,"src":"542:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":2756,"name":"uint160","nodeType":"ElementaryTypeName","src":"542:7:20","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"541:11:20"},"scope":2857,"src":"489:105:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2792,"nodeType":"Block","src":"825:41:20","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2789,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":2786,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2781,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2778,"src":"840:1:20","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2784,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2775,"src":"852:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2783,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"844:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":2782,"name":"uint128","nodeType":"ElementaryTypeName","src":"844:7:20","typeDescriptions":{}}},"id":2785,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"844:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"840:14:20","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"id":2787,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"839:16:20","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":2788,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2775,"src":"859:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"839:21:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2780,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"831:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":2790,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"831:30:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2791,"nodeType":"ExpressionStatement","src":"831:30:20"}]},"documentation":{"id":2773,"nodeType":"StructuredDocumentation","src":"598:160:20","text":"@notice Cast a uint256 to a uint128, revert on overflow\n @param y The uint256 to be downcasted\n @return z The downcasted integer, now type uint128"},"id":2793,"implemented":true,"kind":"function","modifiers":[],"name":"toUint128","nameLocation":"770:9:20","nodeType":"FunctionDefinition","parameters":{"id":2776,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2775,"mutability":"mutable","name":"y","nameLocation":"788:1:20","nodeType":"VariableDeclaration","scope":2793,"src":"780:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2774,"name":"uint256","nodeType":"ElementaryTypeName","src":"780:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"779:11:20"},"returnParameters":{"id":2779,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2778,"mutability":"mutable","name":"z","nameLocation":"822:1:20","nodeType":"VariableDeclaration","scope":2793,"src":"814:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2777,"name":"uint128","nodeType":"ElementaryTypeName","src":"814:7:20","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"813:11:20"},"scope":2857,"src":"761:105:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2813,"nodeType":"Block","src":"1103:40:20","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":2810,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":2807,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2802,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2799,"src":"1118:1:20","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2805,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2796,"src":"1129:1:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":2804,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1122:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":2803,"name":"int128","nodeType":"ElementaryTypeName","src":"1122:6:20","typeDescriptions":{}}},"id":2806,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1122:9:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"1118:13:20","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"id":2808,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1117:15:20","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":2809,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2796,"src":"1136:1:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1117:20:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2801,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1109:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":2811,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1109:29:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2812,"nodeType":"ExpressionStatement","src":"1109:29:20"}]},"documentation":{"id":2794,"nodeType":"StructuredDocumentation","src":"870:169:20","text":"@notice Cast a int256 to a int128, revert on overflow or underflow\n @param y The int256 to be downcasted\n @return z The downcasted integer, now type int128"},"id":2814,"implemented":true,"kind":"function","modifiers":[],"name":"toInt128","nameLocation":"1051:8:20","nodeType":"FunctionDefinition","parameters":{"id":2797,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2796,"mutability":"mutable","name":"y","nameLocation":"1067:1:20","nodeType":"VariableDeclaration","scope":2814,"src":"1060:8:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2795,"name":"int256","nodeType":"ElementaryTypeName","src":"1060:6:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1059:10:20"},"returnParameters":{"id":2800,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2799,"mutability":"mutable","name":"z","nameLocation":"1100:1:20","nodeType":"VariableDeclaration","scope":2814,"src":"1093:8:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":2798,"name":"int128","nodeType":"ElementaryTypeName","src":"1093:6:20","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"1092:10:20"},"scope":2857,"src":"1042:101:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2834,"nodeType":"Block","src":"1370:40:20","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":2831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":2828,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2823,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2820,"src":"1385:1:20","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2826,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2817,"src":"1396:1:20","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":2825,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1389:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":2824,"name":"int128","nodeType":"ElementaryTypeName","src":"1389:6:20","typeDescriptions":{}}},"id":2827,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1389:9:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"1385:13:20","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"id":2829,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1384:15:20","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"hexValue":"30","id":2830,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1403:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1384:20:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2822,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1376:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":2832,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1376:29:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2833,"nodeType":"ExpressionStatement","src":"1376:29:20"}]},"documentation":{"id":2815,"nodeType":"StructuredDocumentation","src":"1147:158:20","text":"@notice Cast a uint128 to a int128, revert on overflow\n @param y The uint128 to be downcasted\n @return z The downcasted integer, now type int128"},"id":2835,"implemented":true,"kind":"function","modifiers":[],"name":"toInt128","nameLocation":"1317:8:20","nodeType":"FunctionDefinition","parameters":{"id":2818,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2817,"mutability":"mutable","name":"y","nameLocation":"1334:1:20","nodeType":"VariableDeclaration","scope":2835,"src":"1326:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":2816,"name":"uint128","nodeType":"ElementaryTypeName","src":"1326:7:20","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1325:11:20"},"returnParameters":{"id":2821,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2820,"mutability":"mutable","name":"z","nameLocation":"1367:1:20","nodeType":"VariableDeclaration","scope":2835,"src":"1360:8:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":2819,"name":"int128","nodeType":"ElementaryTypeName","src":"1360:6:20","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"1359:10:20"},"scope":2857,"src":"1308:102:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2855,"nodeType":"Block","src":"1629:40:20","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":2852,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"id":2849,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2844,"name":"z","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2841,"src":"1644:1:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":2847,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2838,"src":"1655:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2846,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1648:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":2845,"name":"int256","nodeType":"ElementaryTypeName","src":"1648:6:20","typeDescriptions":{}}},"id":2848,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1648:9:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1644:13:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":2850,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1643:15:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"hexValue":"30","id":2851,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1662:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1643:20:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2843,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1635:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":2853,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1635:29:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2854,"nodeType":"ExpressionStatement","src":"1635:29:20"}]},"documentation":{"id":2836,"nodeType":"StructuredDocumentation","src":"1414:150:20","text":"@notice Cast a uint256 to a int256, revert on overflow\n @param y The uint256 to be casted\n @return z The casted integer, now type int256"},"id":2856,"implemented":true,"kind":"function","modifiers":[],"name":"toInt256","nameLocation":"1576:8:20","nodeType":"FunctionDefinition","parameters":{"id":2839,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2838,"mutability":"mutable","name":"y","nameLocation":"1593:1:20","nodeType":"VariableDeclaration","scope":2856,"src":"1585:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2837,"name":"uint256","nodeType":"ElementaryTypeName","src":"1585:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1584:11:20"},"returnParameters":{"id":2842,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2841,"mutability":"mutable","name":"z","nameLocation":"1626:1:20","nodeType":"VariableDeclaration","scope":2856,"src":"1619:8:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2840,"name":"int256","nodeType":"ElementaryTypeName","src":"1619:6:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1618:10:20"},"scope":2857,"src":"1567:102:20","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":2858,"src":"305:1366:20","usedErrors":[],"usedEvents":[]}],"src":"45:1627:20"},"id":20},"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol","exportedSymbols":{"IAlgebraPoolErrors":[1793],"SafeTransfer":[2885]},"id":2886,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2859,"literals":["solidity",">=","0.8",".4","<","0.9",".0"],"nodeType":"PragmaDirective","src":"32:31:21"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"../interfaces/pool/IAlgebraPoolErrors.sol","id":2860,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2886,"sourceUnit":1794,"src":"65:51:21","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SafeTransfer","contractDependencies":[],"contractKind":"library","documentation":{"id":2861,"nodeType":"StructuredDocumentation","src":"118:403:21","text":"@title SafeTransfer\n @notice Safe ERC20 transfer library that gracefully handles missing return values.\n @dev Credit to Solmate under MIT license: https://github.com/transmissions11/solmate/blob/ed67feda67b24fdeff8ad1032360f0ee6047ba0a/src/utils/SafeTransferLib.sol\n @dev Please note that this library does not check if the token has a code! That responsibility is delegated to the caller."},"fullyImplemented":true,"id":2885,"linearizedBaseContracts":[2885],"name":"SafeTransfer","nameLocation":"529:12:21","nodeType":"ContractDefinition","nodes":[{"body":{"id":2883,"nodeType":"Block","src":"939:893:21","statements":[{"assignments":[2872],"declarations":[{"constant":false,"id":2872,"mutability":"mutable","name":"success","nameLocation":"950:7:21","nodeType":"VariableDeclaration","scope":2883,"src":"945:12:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2871,"name":"bool","nodeType":"ElementaryTypeName","src":"945:4:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":2873,"nodeType":"VariableDeclarationStatement","src":"945:12:21"},{"AST":{"nodeType":"YulBlock","src":"972:793:21","statements":[{"nodeType":"YulVariableDeclaration","src":"980:36:21","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1011:4:21","type":"","value":"0x40"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1005:5:21"},"nodeType":"YulFunctionCall","src":"1005:11:21"},"variables":[{"name":"freeMemoryPointer","nodeType":"YulTypedName","src":"984:17:21","type":""}]},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1067:4:21","type":"","value":"0x00"},{"kind":"number","nodeType":"YulLiteral","src":"1073:66:21","type":"","value":"0xa9059cbb00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1060:6:21"},"nodeType":"YulFunctionCall","src":"1060:80:21"},"nodeType":"YulExpressionStatement","src":"1060:80:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1194:4:21","type":"","value":"0x04"},{"arguments":[{"name":"to","nodeType":"YulIdentifier","src":"1204:2:21"},{"kind":"number","nodeType":"YulLiteral","src":"1208:42:21","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1200:3:21"},"nodeType":"YulFunctionCall","src":"1200:51:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1187:6:21"},"nodeType":"YulFunctionCall","src":"1187:65:21"},"nodeType":"YulExpressionStatement","src":"1187:65:21"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1297:4:21","type":"","value":"0x24"},{"name":"amount","nodeType":"YulIdentifier","src":"1303:6:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1290:6:21"},"nodeType":"YulFunctionCall","src":"1290:20:21"},"nodeType":"YulExpressionStatement","src":"1290:20:21"},{"nodeType":"YulAssignment","src":"1388:50:21","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nodeType":"YulIdentifier","src":"1404:3:21"},"nodeType":"YulFunctionCall","src":"1404:5:21"},{"name":"token","nodeType":"YulIdentifier","src":"1411:5:21"},{"kind":"number","nodeType":"YulLiteral","src":"1418:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1421:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1424:4:21","type":"","value":"0x44"},{"kind":"number","nodeType":"YulLiteral","src":"1430:1:21","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1433:4:21","type":"","value":"0x20"}],"functionName":{"name":"call","nodeType":"YulIdentifier","src":"1399:4:21"},"nodeType":"YulFunctionCall","src":"1399:39:21"},"variableNames":[{"name":"success","nodeType":"YulIdentifier","src":"1388:7:21"}]},{"nodeType":"YulAssignment","src":"1445:243:21","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1603:1:21","type":"","value":"0"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1597:5:21"},"nodeType":"YulFunctionCall","src":"1597:8:21"},{"kind":"number","nodeType":"YulLiteral","src":"1607:1:21","type":"","value":"1"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1594:2:21"},"nodeType":"YulFunctionCall","src":"1594:15:21"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nodeType":"YulIdentifier","src":"1614:14:21"},"nodeType":"YulFunctionCall","src":"1614:16:21"},{"kind":"number","nodeType":"YulLiteral","src":"1632:2:21","type":"","value":"32"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1611:2:21"},"nodeType":"YulFunctionCall","src":"1611:24:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1590:3:21"},"nodeType":"YulFunctionCall","src":"1590:46:21"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nodeType":"YulIdentifier","src":"1645:14:21"},"nodeType":"YulFunctionCall","src":"1645:16:21"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1638:6:21"},"nodeType":"YulFunctionCall","src":"1638:24:21"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"1587:2:21"},"nodeType":"YulFunctionCall","src":"1587:76:21"},{"name":"success","nodeType":"YulIdentifier","src":"1673:7:21"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1456:3:21"},"nodeType":"YulFunctionCall","src":"1456:232:21"},"variableNames":[{"name":"success","nodeType":"YulIdentifier","src":"1445:7:21"}]},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1702:4:21","type":"","value":"0x40"},{"name":"freeMemoryPointer","nodeType":"YulIdentifier","src":"1708:17:21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1695:6:21"},"nodeType":"YulFunctionCall","src":"1695:31:21"},"nodeType":"YulExpressionStatement","src":"1695:31:21"}]},"evmVersion":"paris","externalReferences":[{"declaration":2868,"isOffset":false,"isSlot":false,"src":"1303:6:21","valueSize":1},{"declaration":2872,"isOffset":false,"isSlot":false,"src":"1388:7:21","valueSize":1},{"declaration":2872,"isOffset":false,"isSlot":false,"src":"1445:7:21","valueSize":1},{"declaration":2872,"isOffset":false,"isSlot":false,"src":"1673:7:21","valueSize":1},{"declaration":2866,"isOffset":false,"isSlot":false,"src":"1204:2:21","valueSize":1},{"declaration":2864,"isOffset":false,"isSlot":false,"src":"1411:5:21","valueSize":1}],"id":2874,"nodeType":"InlineAssembly","src":"963:802:21"},{"condition":{"id":2876,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"1775:8:21","subExpression":{"id":2875,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2872,"src":"1776:7:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2882,"nodeType":"IfStatement","src":"1771:56:21","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2877,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"1792:18:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":2879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1811:14:21","memberName":"transferFailed","nodeType":"MemberAccess","referencedDeclaration":1786,"src":"1792:33:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":2880,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1792:35:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2881,"nodeType":"RevertStatement","src":"1785:42:21"}}]},"documentation":{"id":2862,"nodeType":"StructuredDocumentation","src":"546:316:21","text":"@notice Transfers tokens to a recipient\n @dev Calls transfer on token contract, errors with transferFailed() if transfer fails\n @param token The contract address of the token which will be transferred\n @param to The recipient of the transfer\n @param amount The amount of the token to transfer"},"id":2884,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransfer","nameLocation":"874:12:21","nodeType":"FunctionDefinition","parameters":{"id":2869,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2864,"mutability":"mutable","name":"token","nameLocation":"895:5:21","nodeType":"VariableDeclaration","scope":2884,"src":"887:13:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2863,"name":"address","nodeType":"ElementaryTypeName","src":"887:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2866,"mutability":"mutable","name":"to","nameLocation":"910:2:21","nodeType":"VariableDeclaration","scope":2884,"src":"902:10:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2865,"name":"address","nodeType":"ElementaryTypeName","src":"902:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2868,"mutability":"mutable","name":"amount","nameLocation":"922:6:21","nodeType":"VariableDeclaration","scope":2884,"src":"914:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2867,"name":"uint256","nodeType":"ElementaryTypeName","src":"914:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"886:43:21"},"returnParameters":{"id":2870,"nodeType":"ParameterList","parameters":[],"src":"939:0:21"},"scope":2885,"src":"865:967:21","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":2886,"src":"521:1313:21","usedErrors":[],"usedEvents":[]}],"src":"32:1803:21"},"id":21},"@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol","exportedSymbols":{"Constants":[2288],"FullMath":[2495],"IAlgebraPoolErrors":[1793],"LiquidityMath":[2676],"SafeCast":[2857],"TickManagement":[3428],"TickMath":[3957],"TokenDeltaMath":[4165]},"id":3429,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":2887,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"37:24:22"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"../interfaces/pool/IAlgebraPoolErrors.sol","id":2888,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3429,"sourceUnit":1794,"src":"63:51:22","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol","file":"./TickMath.sol","id":2889,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3429,"sourceUnit":3958,"src":"116:24:22","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/LiquidityMath.sol","file":"./LiquidityMath.sol","id":2890,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3429,"sourceUnit":2677,"src":"141:29:22","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol","file":"./Constants.sol","id":2891,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3429,"sourceUnit":2289,"src":"171:25:22","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"TickManagement","contractDependencies":[],"contractKind":"library","documentation":{"id":2892,"nodeType":"StructuredDocumentation","src":"198:197:22","text":"@title Library for managing and interacting with ticks\n @notice Contains functions for managing tick processes and relevant calculations\n @dev Ticks are organized as a doubly linked list"},"fullyImplemented":true,"id":3428,"linearizedBaseContracts":[3428],"name":"TickManagement","nameLocation":"403:14:22","nodeType":"ContractDefinition","nodes":[{"canonicalName":"TickManagement.Tick","id":2905,"members":[{"constant":false,"id":2894,"mutability":"mutable","name":"liquidityTotal","nameLocation":"502:14:22","nodeType":"VariableDeclaration","scope":2905,"src":"494:22:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2893,"name":"uint256","nodeType":"ElementaryTypeName","src":"494:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2896,"mutability":"mutable","name":"liquidityDelta","nameLocation":"587:14:22","nodeType":"VariableDeclaration","scope":2905,"src":"580:21:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":2895,"name":"int128","nodeType":"ElementaryTypeName","src":"580:6:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":2898,"mutability":"mutable","name":"prevTick","nameLocation":"705:8:22","nodeType":"VariableDeclaration","scope":2905,"src":"699:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2897,"name":"int24","nodeType":"ElementaryTypeName","src":"699:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2900,"mutability":"mutable","name":"nextTick","nameLocation":"725:8:22","nodeType":"VariableDeclaration","scope":2905,"src":"719:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2899,"name":"int24","nodeType":"ElementaryTypeName","src":"719:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2902,"mutability":"mutable","name":"outerFeeGrowth0Token","nameLocation":"952:20:22","nodeType":"VariableDeclaration","scope":2905,"src":"944:28:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2901,"name":"uint256","nodeType":"ElementaryTypeName","src":"944:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2904,"mutability":"mutable","name":"outerFeeGrowth1Token","nameLocation":"986:20:22","nodeType":"VariableDeclaration","scope":2905,"src":"978:28:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2903,"name":"uint256","nodeType":"ElementaryTypeName","src":"978:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"Tick","nameLocation":"483:4:22","nodeType":"StructDefinition","scope":3428,"src":"476:535:22","visibility":"public"},{"body":{"id":2941,"nodeType":"Block","src":"1094:266:22","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":2915,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2912,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2909,"src":"1104:7:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"id":2913,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"1114:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":2914,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1123:8:22","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":3442,"src":"1114:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"1104:27:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2921,"nodeType":"IfStatement","src":"1100:76:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2916,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"1140:18:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":2918,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1159:15:22","memberName":"topTickAboveMAX","nodeType":"MemberAccess","referencedDeclaration":1774,"src":"1140:34:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":2919,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1140:36:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2920,"nodeType":"RevertStatement","src":"1133:43:22"}},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":2924,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2922,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2909,"src":"1186:7:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":2923,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2907,"src":"1197:10:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"1186:21:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2930,"nodeType":"IfStatement","src":"1182:81:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2925,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"1216:18:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":2927,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1235:26:22","memberName":"topTickLowerOrEqBottomTick","nodeType":"MemberAccess","referencedDeclaration":1768,"src":"1216:45:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":2928,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1216:47:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2929,"nodeType":"RevertStatement","src":"1209:54:22"}},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":2934,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2931,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2907,"src":"1273:10:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":2932,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"1286:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":2933,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1295:8:22","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":3437,"src":"1286:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"1273:30:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2940,"nodeType":"IfStatement","src":"1269:86:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2935,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"1312:18:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":2937,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1331:22:22","memberName":"bottomTickLowerThanMIN","nodeType":"MemberAccess","referencedDeclaration":1771,"src":"1312:41:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":2938,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1312:43:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2939,"nodeType":"RevertStatement","src":"1305:50:22"}}]},"id":2942,"implemented":true,"kind":"function","modifiers":[],"name":"checkTickRangeValidity","nameLocation":"1024:22:22","nodeType":"FunctionDefinition","parameters":{"id":2910,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2907,"mutability":"mutable","name":"bottomTick","nameLocation":"1053:10:22","nodeType":"VariableDeclaration","scope":2942,"src":"1047:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2906,"name":"int24","nodeType":"ElementaryTypeName","src":"1047:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2909,"mutability":"mutable","name":"topTick","nameLocation":"1071:7:22","nodeType":"VariableDeclaration","scope":2942,"src":"1065:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2908,"name":"int24","nodeType":"ElementaryTypeName","src":"1065:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1046:33:22"},"returnParameters":{"id":2911,"nodeType":"ParameterList","parameters":[],"src":"1094:0:22"},"scope":3428,"src":"1015:345:22","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3042,"nodeType":"Block","src":"2402:823:22","statements":[{"assignments":[2967],"declarations":[{"constant":false,"id":2967,"mutability":"mutable","name":"lower","nameLocation":"2421:5:22","nodeType":"VariableDeclaration","scope":3042,"src":"2408:18:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"},"typeName":{"id":2966,"nodeType":"UserDefinedTypeName","pathNode":{"id":2965,"name":"Tick","nameLocations":["2408:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"2408:4:22"},"referencedDeclaration":2905,"src":"2408:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}},"visibility":"internal"}],"id":2971,"initialValue":{"baseExpression":{"id":2968,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2948,"src":"2429:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":2970,"indexExpression":{"id":2969,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2950,"src":"2434:10:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2429:16:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"nodeType":"VariableDeclarationStatement","src":"2408:37:22"},{"assignments":[2974],"declarations":[{"constant":false,"id":2974,"mutability":"mutable","name":"upper","nameLocation":"2464:5:22","nodeType":"VariableDeclaration","scope":3042,"src":"2451:18:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"},"typeName":{"id":2973,"nodeType":"UserDefinedTypeName","pathNode":{"id":2972,"name":"Tick","nameLocations":["2451:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"2451:4:22"},"referencedDeclaration":2905,"src":"2451:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}},"visibility":"internal"}],"id":2978,"initialValue":{"baseExpression":{"id":2975,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2948,"src":"2472:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":2977,"indexExpression":{"id":2976,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2952,"src":"2477:7:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2472:13:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"nodeType":"VariableDeclarationStatement","src":"2451:34:22"},{"id":3041,"nodeType":"UncheckedBlock","src":"2492:729:22","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":2981,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2979,"name":"currentTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2954,"src":"2514:11:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":2980,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2952,"src":"2528:7:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"2514:21:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":3039,"nodeType":"Block","src":"3030:185:22","statements":[{"expression":{"id":3029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3023,"name":"innerFeeGrowth0Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2961,"src":"3040:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":3024,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2974,"src":"3063:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3025,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3069:20:22","memberName":"outerFeeGrowth0Token","nodeType":"MemberAccess","referencedDeclaration":2902,"src":"3063:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":3026,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2967,"src":"3092:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3027,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3098:20:22","memberName":"outerFeeGrowth0Token","nodeType":"MemberAccess","referencedDeclaration":2902,"src":"3092:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3063:55:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3040:78:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3030,"nodeType":"ExpressionStatement","src":"3040:78:22"},{"expression":{"id":3037,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3031,"name":"innerFeeGrowth1Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2963,"src":"3128:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3036,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":3032,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2974,"src":"3151:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3033,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3157:20:22","memberName":"outerFeeGrowth1Token","nodeType":"MemberAccess","referencedDeclaration":2904,"src":"3151:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":3034,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2967,"src":"3180:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3035,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3186:20:22","memberName":"outerFeeGrowth1Token","nodeType":"MemberAccess","referencedDeclaration":2904,"src":"3180:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3151:55:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3128:78:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3038,"nodeType":"ExpressionStatement","src":"3128:78:22"}]},"id":3040,"nodeType":"IfStatement","src":"2510:705:22","trueBody":{"id":3022,"nodeType":"Block","src":"2537:487:22","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":2984,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2982,"name":"currentTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2954,"src":"2551:11:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":2983,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2950,"src":"2566:10:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"2551:25:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":3010,"nodeType":"Block","src":"2763:133:22","statements":[{"expression":{"id":3003,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3000,"name":"innerFeeGrowth0Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2961,"src":"2775:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":3001,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2967,"src":"2798:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3002,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2804:20:22","memberName":"outerFeeGrowth0Token","nodeType":"MemberAccess","referencedDeclaration":2902,"src":"2798:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2775:49:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3004,"nodeType":"ExpressionStatement","src":"2775:49:22"},{"expression":{"id":3008,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3005,"name":"innerFeeGrowth1Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2963,"src":"2836:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":3006,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2967,"src":"2859:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3007,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2865:20:22","memberName":"outerFeeGrowth1Token","nodeType":"MemberAccess","referencedDeclaration":2904,"src":"2859:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2836:49:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3009,"nodeType":"ExpressionStatement","src":"2836:49:22"}]},"id":3011,"nodeType":"IfStatement","src":"2547:349:22","trueBody":{"id":2999,"nodeType":"Block","src":"2578:179:22","statements":[{"expression":{"id":2990,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2985,"name":"innerFeeGrowth0Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2961,"src":"2590:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2989,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2986,"name":"totalFeeGrowth0Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2956,"src":"2613:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":2987,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2967,"src":"2636:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":2988,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2642:20:22","memberName":"outerFeeGrowth0Token","nodeType":"MemberAccess","referencedDeclaration":2902,"src":"2636:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2613:49:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2590:72:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2991,"nodeType":"ExpressionStatement","src":"2590:72:22"},{"expression":{"id":2997,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2992,"name":"innerFeeGrowth1Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2963,"src":"2674:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2996,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2993,"name":"totalFeeGrowth1Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2958,"src":"2697:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":2994,"name":"lower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2967,"src":"2720:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":2995,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2726:20:22","memberName":"outerFeeGrowth1Token","nodeType":"MemberAccess","referencedDeclaration":2904,"src":"2720:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2697:49:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2674:72:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2998,"nodeType":"ExpressionStatement","src":"2674:72:22"}]}},{"expression":{"id":3015,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3012,"name":"innerFeeGrowth0Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2961,"src":"2905:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"expression":{"id":3013,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2974,"src":"2929:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3014,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2935:20:22","memberName":"outerFeeGrowth0Token","nodeType":"MemberAccess","referencedDeclaration":2902,"src":"2929:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2905:50:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3016,"nodeType":"ExpressionStatement","src":"2905:50:22"},{"expression":{"id":3020,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3017,"name":"innerFeeGrowth1Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2963,"src":"2965:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"expression":{"id":3018,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2974,"src":"2989:5:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3019,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2995:20:22","memberName":"outerFeeGrowth1Token","nodeType":"MemberAccess","referencedDeclaration":2904,"src":"2989:26:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2965:50:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3021,"nodeType":"ExpressionStatement","src":"2965:50:22"}]}}]}]},"documentation":{"id":2943,"nodeType":"StructuredDocumentation","src":"1364:748:22","text":"@notice Retrieves fee growth data\n @param self The mapping containing all tick information for initialized ticks\n @param bottomTick The lower tick boundary of the position\n @param topTick The upper tick boundary of the position\n @param currentTick The current tick\n @param totalFeeGrowth0Token The all-time global fee growth, per unit of liquidity, in token0\n @param totalFeeGrowth1Token The all-time global fee growth, per unit of liquidity, in token1\n @return innerFeeGrowth0Token The all-time fee growth in token0, per unit of liquidity, inside the position's tick boundaries\n @return innerFeeGrowth1Token The all-time fee growth in token1, per unit of liquidity, inside the position's tick boundaries"},"id":3043,"implemented":true,"kind":"function","modifiers":[],"name":"getInnerFeeGrowth","nameLocation":"2124:17:22","nodeType":"FunctionDefinition","parameters":{"id":2959,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2948,"mutability":"mutable","name":"self","nameLocation":"2178:4:22","nodeType":"VariableDeclaration","scope":3043,"src":"2147:35:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"typeName":{"id":2947,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":2944,"name":"int24","nodeType":"ElementaryTypeName","src":"2155:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Mapping","src":"2147:22:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":2946,"nodeType":"UserDefinedTypeName","pathNode":{"id":2945,"name":"Tick","nameLocations":["2164:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"2164:4:22"},"referencedDeclaration":2905,"src":"2164:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}}},"visibility":"internal"},{"constant":false,"id":2950,"mutability":"mutable","name":"bottomTick","nameLocation":"2194:10:22","nodeType":"VariableDeclaration","scope":3043,"src":"2188:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2949,"name":"int24","nodeType":"ElementaryTypeName","src":"2188:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2952,"mutability":"mutable","name":"topTick","nameLocation":"2216:7:22","nodeType":"VariableDeclaration","scope":3043,"src":"2210:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2951,"name":"int24","nodeType":"ElementaryTypeName","src":"2210:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2954,"mutability":"mutable","name":"currentTick","nameLocation":"2235:11:22","nodeType":"VariableDeclaration","scope":3043,"src":"2229:17:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":2953,"name":"int24","nodeType":"ElementaryTypeName","src":"2229:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":2956,"mutability":"mutable","name":"totalFeeGrowth0Token","nameLocation":"2260:20:22","nodeType":"VariableDeclaration","scope":3043,"src":"2252:28:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2955,"name":"uint256","nodeType":"ElementaryTypeName","src":"2252:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2958,"mutability":"mutable","name":"totalFeeGrowth1Token","nameLocation":"2294:20:22","nodeType":"VariableDeclaration","scope":3043,"src":"2286:28:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2957,"name":"uint256","nodeType":"ElementaryTypeName","src":"2286:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2141:177:22"},"returnParameters":{"id":2964,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2961,"mutability":"mutable","name":"innerFeeGrowth0Token","nameLocation":"2350:20:22","nodeType":"VariableDeclaration","scope":3043,"src":"2342:28:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2960,"name":"uint256","nodeType":"ElementaryTypeName","src":"2342:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2963,"mutability":"mutable","name":"innerFeeGrowth1Token","nameLocation":"2380:20:22","nodeType":"VariableDeclaration","scope":3043,"src":"2372:28:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2962,"name":"uint256","nodeType":"ElementaryTypeName","src":"2372:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2341:60:22"},"scope":3428,"src":"2115:1110:22","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":3167,"nodeType":"Block","src":"4306:1025:22","statements":[{"assignments":[3068],"declarations":[{"constant":false,"id":3068,"mutability":"mutable","name":"data","nameLocation":"4325:4:22","nodeType":"VariableDeclaration","scope":3167,"src":"4312:17:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"},"typeName":{"id":3067,"nodeType":"UserDefinedTypeName","pathNode":{"id":3066,"name":"Tick","nameLocations":["4312:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"4312:4:22"},"referencedDeclaration":2905,"src":"4312:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}},"visibility":"internal"}],"id":3072,"initialValue":{"baseExpression":{"id":3069,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3049,"src":"4332:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3071,"indexExpression":{"id":3070,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3051,"src":"4337:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4332:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"nodeType":"VariableDeclarationStatement","src":"4312:30:22"},{"assignments":[3074],"declarations":[{"constant":false,"id":3074,"mutability":"mutable","name":"liquidityTotalBefore","nameLocation":"4357:20:22","nodeType":"VariableDeclaration","scope":3167,"src":"4349:28:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3073,"name":"uint256","nodeType":"ElementaryTypeName","src":"4349:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3077,"initialValue":{"expression":{"id":3075,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3068,"src":"4380:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3076,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4385:14:22","memberName":"liquidityTotal","nodeType":"MemberAccess","referencedDeclaration":2894,"src":"4380:19:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4349:50:22"},{"assignments":[3079],"declarations":[{"constant":false,"id":3079,"mutability":"mutable","name":"liquidityTotalAfter","nameLocation":"4413:19:22","nodeType":"VariableDeclaration","scope":3167,"src":"4405:27:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3078,"name":"uint256","nodeType":"ElementaryTypeName","src":"4405:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3088,"initialValue":{"arguments":[{"arguments":[{"id":3084,"name":"liquidityTotalBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3074,"src":"4466:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3083,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4458:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":3082,"name":"uint128","nodeType":"ElementaryTypeName","src":"4458:7:22","typeDescriptions":{}}},"id":3085,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4458:29:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"id":3086,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3055,"src":"4489:14:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_int128","typeString":"int128"}],"expression":{"id":3080,"name":"LiquidityMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2676,"src":"4435:13:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_LiquidityMath_$2676_$","typeString":"type(library LiquidityMath)"}},"id":3081,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4449:8:22","memberName":"addDelta","nodeType":"MemberAccess","referencedDeclaration":2554,"src":"4435:22:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint128_$_t_int128_$returns$_t_uint128_$","typeString":"function (uint128,int128) pure returns (uint128)"}},"id":3087,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4435:69:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"nodeType":"VariableDeclarationStatement","src":"4405:99:22"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3092,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3089,"name":"liquidityTotalAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3079,"src":"4514:19:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"id":3090,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2288,"src":"4536:9:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$2288_$","typeString":"type(library Constants)"}},"id":3091,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4546:22:22","memberName":"MAX_LIQUIDITY_PER_TICK","nodeType":"MemberAccess","referencedDeclaration":2276,"src":"4536:32:22","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"4514:54:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3098,"nodeType":"IfStatement","src":"4510:105:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3093,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"4577:18:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":3095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4596:17:22","memberName":"liquidityOverflow","nodeType":"MemberAccess","referencedDeclaration":1777,"src":"4577:36:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":3096,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4577:38:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3097,"nodeType":"RevertStatement","src":"4570:45:22"}},{"assignments":[3100],"declarations":[{"constant":false,"id":3100,"mutability":"mutable","name":"liquidityDeltaBefore","nameLocation":"4629:20:22","nodeType":"VariableDeclaration","scope":3167,"src":"4622:27:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":3099,"name":"int128","nodeType":"ElementaryTypeName","src":"4622:6:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"id":3103,"initialValue":{"expression":{"id":3101,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3068,"src":"4652:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3102,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4657:14:22","memberName":"liquidityDelta","nodeType":"MemberAccess","referencedDeclaration":2896,"src":"4652:19:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"VariableDeclarationStatement","src":"4622:49:22"},{"expression":{"id":3127,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":3104,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3068,"src":"4788:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3106,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4793:14:22","memberName":"liquidityDelta","nodeType":"MemberAccess","referencedDeclaration":2896,"src":"4788:19:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":3107,"name":"upper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3061,"src":"4810:5:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3124,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3121,"name":"liquidityDeltaBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3100,"src":"4888:20:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":3120,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4881:6:22","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":3119,"name":"int256","nodeType":"ElementaryTypeName","src":"4881:6:22","typeDescriptions":{}}},"id":3122,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4881:28:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":3123,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3055,"src":"4912:14:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"4881:45:22","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":3118,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4874:6:22","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":3117,"name":"int128","nodeType":"ElementaryTypeName","src":"4874:6:22","typeDescriptions":{}}},"id":3125,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4874:53:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":3126,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"4810:117:22","trueExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3115,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3112,"name":"liquidityDeltaBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3100,"src":"4832:20:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":3111,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4825:6:22","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":3110,"name":"int256","nodeType":"ElementaryTypeName","src":"4825:6:22","typeDescriptions":{}}},"id":3113,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4825:28:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":3114,"name":"liquidityDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3055,"src":"4856:14:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"4825:45:22","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":3109,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4818:6:22","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":3108,"name":"int128","nodeType":"ElementaryTypeName","src":"4818:6:22","typeDescriptions":{}}},"id":3116,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4818:53:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"4788:139:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":3128,"nodeType":"ExpressionStatement","src":"4788:139:22"},{"expression":{"id":3133,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":3129,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3068,"src":"4933:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3131,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4938:14:22","memberName":"liquidityTotal","nodeType":"MemberAccess","referencedDeclaration":2894,"src":"4933:19:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":3132,"name":"liquidityTotalAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3079,"src":"4955:19:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4933:41:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3134,"nodeType":"ExpressionStatement","src":"4933:41:22"},{"expression":{"id":3140,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3135,"name":"flipped","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3064,"src":"4981:7:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3138,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3136,"name":"liquidityTotalAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3079,"src":"4992:19:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":3137,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5015:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4992:24:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":3139,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4991:26:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4981:36:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3141,"nodeType":"ExpressionStatement","src":"4981:36:22"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3144,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3142,"name":"liquidityTotalBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3074,"src":"5027:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":3143,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5051:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5027:25:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3166,"nodeType":"IfStatement","src":"5023:304:22","trueBody":{"id":3165,"nodeType":"Block","src":"5054:273:22","statements":[{"expression":{"id":3148,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3145,"name":"flipped","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3064,"src":"5062:7:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":3147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5072:8:22","subExpression":{"id":3146,"name":"flipped","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3064,"src":"5073:7:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5062:18:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3149,"nodeType":"ExpressionStatement","src":"5062:18:22"},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3152,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3150,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3051,"src":"5198:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":3151,"name":"currentTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3053,"src":"5206:11:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"5198:19:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3164,"nodeType":"IfStatement","src":"5194:126:22","trueBody":{"expression":{"id":3162,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":3153,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3068,"src":"5220:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3155,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"5225:20:22","memberName":"outerFeeGrowth0Token","nodeType":"MemberAccess","referencedDeclaration":2902,"src":"5220:25:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":3156,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3068,"src":"5247:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3157,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"5252:20:22","memberName":"outerFeeGrowth1Token","nodeType":"MemberAccess","referencedDeclaration":2904,"src":"5247:25:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3158,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"5219:54:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":3159,"name":"totalFeeGrowth0Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3057,"src":"5277:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3160,"name":"totalFeeGrowth1Token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3059,"src":"5299:20:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3161,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5276:44:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"src":"5219:101:22","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3163,"nodeType":"ExpressionStatement","src":"5219:101:22"}}]}}]},"documentation":{"id":3044,"nodeType":"StructuredDocumentation","src":"3229:831:22","text":"@notice Updates a tick and returns true if the tick was flipped from initialized to uninitialized, or vice versa\n @param self The mapping containing all tick information for initialized ticks\n @param tick The tick that will be updated\n @param currentTick The current tick\n @param liquidityDelta A new amount of liquidity to be added (subtracted) when tick is crossed from left to right (right to left)\n @param totalFeeGrowth0Token The all-time global fee growth, per unit of liquidity, in token0\n @param totalFeeGrowth1Token The all-time global fee growth, per unit of liquidity, in token1\n @param upper True for updating a position's upper tick, or false for updating a position's lower tick\n @return flipped Whether the tick was flipped from initialized to uninitialized, or vice versa"},"id":3168,"implemented":true,"kind":"function","modifiers":[],"name":"update","nameLocation":"4072:6:22","nodeType":"FunctionDefinition","parameters":{"id":3062,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3049,"mutability":"mutable","name":"self","nameLocation":"4115:4:22","nodeType":"VariableDeclaration","scope":3168,"src":"4084:35:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"typeName":{"id":3048,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":3045,"name":"int24","nodeType":"ElementaryTypeName","src":"4092:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Mapping","src":"4084:22:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":3047,"nodeType":"UserDefinedTypeName","pathNode":{"id":3046,"name":"Tick","nameLocations":["4101:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"4101:4:22"},"referencedDeclaration":2905,"src":"4101:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}}},"visibility":"internal"},{"constant":false,"id":3051,"mutability":"mutable","name":"tick","nameLocation":"4131:4:22","nodeType":"VariableDeclaration","scope":3168,"src":"4125:10:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3050,"name":"int24","nodeType":"ElementaryTypeName","src":"4125:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3053,"mutability":"mutable","name":"currentTick","nameLocation":"4147:11:22","nodeType":"VariableDeclaration","scope":3168,"src":"4141:17:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3052,"name":"int24","nodeType":"ElementaryTypeName","src":"4141:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3055,"mutability":"mutable","name":"liquidityDelta","nameLocation":"4171:14:22","nodeType":"VariableDeclaration","scope":3168,"src":"4164:21:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":3054,"name":"int128","nodeType":"ElementaryTypeName","src":"4164:6:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":3057,"mutability":"mutable","name":"totalFeeGrowth0Token","nameLocation":"4199:20:22","nodeType":"VariableDeclaration","scope":3168,"src":"4191:28:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3056,"name":"uint256","nodeType":"ElementaryTypeName","src":"4191:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3059,"mutability":"mutable","name":"totalFeeGrowth1Token","nameLocation":"4233:20:22","nodeType":"VariableDeclaration","scope":3168,"src":"4225:28:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3058,"name":"uint256","nodeType":"ElementaryTypeName","src":"4225:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3061,"mutability":"mutable","name":"upper","nameLocation":"4264:5:22","nodeType":"VariableDeclaration","scope":3168,"src":"4259:10:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3060,"name":"bool","nodeType":"ElementaryTypeName","src":"4259:4:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4078:195:22"},"returnParameters":{"id":3065,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3064,"mutability":"mutable","name":"flipped","nameLocation":"4297:7:22","nodeType":"VariableDeclaration","scope":3168,"src":"4292:12:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3063,"name":"bool","nodeType":"ElementaryTypeName","src":"4292:4:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4291:14:22"},"scope":3428,"src":"4063:1268:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3222,"nodeType":"Block","src":"6165:272:22","statements":[{"assignments":[3191],"declarations":[{"constant":false,"id":3191,"mutability":"mutable","name":"data","nameLocation":"6184:4:22","nodeType":"VariableDeclaration","scope":3222,"src":"6171:17:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"},"typeName":{"id":3190,"nodeType":"UserDefinedTypeName","pathNode":{"id":3189,"name":"Tick","nameLocations":["6171:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"6171:4:22"},"referencedDeclaration":2905,"src":"6171:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}},"visibility":"internal"}],"id":3195,"initialValue":{"baseExpression":{"id":3192,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3174,"src":"6191:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3194,"indexExpression":{"id":3193,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3176,"src":"6196:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6191:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"nodeType":"VariableDeclarationStatement","src":"6171:30:22"},{"id":3213,"nodeType":"UncheckedBlock","src":"6207:162:22","statements":[{"expression":{"id":3211,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":3196,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3191,"src":"6226:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3198,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6231:20:22","memberName":"outerFeeGrowth1Token","nodeType":"MemberAccess","referencedDeclaration":2904,"src":"6226:25:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":3199,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3191,"src":"6253:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3200,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6258:20:22","memberName":"outerFeeGrowth0Token","nodeType":"MemberAccess","referencedDeclaration":2902,"src":"6253:25:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3201,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"6225:54:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3205,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3202,"name":"feeGrowth1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3180,"src":"6283:10:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":3203,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3191,"src":"6296:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3204,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6301:20:22","memberName":"outerFeeGrowth1Token","nodeType":"MemberAccess","referencedDeclaration":2904,"src":"6296:25:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6283:38:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3209,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3206,"name":"feeGrowth0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3178,"src":"6323:10:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"expression":{"id":3207,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3191,"src":"6336:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3208,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6341:20:22","memberName":"outerFeeGrowth0Token","nodeType":"MemberAccess","referencedDeclaration":2902,"src":"6336:25:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6323:38:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3210,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6282:80:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"src":"6225:137:22","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3212,"nodeType":"ExpressionStatement","src":"6225:137:22"}]},{"expression":{"components":[{"expression":{"id":3214,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3191,"src":"6382:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3215,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6387:14:22","memberName":"liquidityDelta","nodeType":"MemberAccess","referencedDeclaration":2896,"src":"6382:19:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"expression":{"id":3216,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3191,"src":"6403:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3217,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6408:8:22","memberName":"prevTick","nodeType":"MemberAccess","referencedDeclaration":2898,"src":"6403:13:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":3218,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3191,"src":"6418:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick storage pointer"}},"id":3219,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6423:8:22","memberName":"nextTick","nodeType":"MemberAccess","referencedDeclaration":2900,"src":"6418:13:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3220,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6381:51:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int128_$_t_int24_$_t_int24_$","typeString":"tuple(int128,int24,int24)"}},"functionReturnParameters":3188,"id":3221,"nodeType":"Return","src":"6374:58:22"}]},"documentation":{"id":3169,"nodeType":"StructuredDocumentation","src":"5335:630:22","text":"@notice Transitions to next tick as needed by price movement\n @param self The mapping containing all tick information for initialized ticks\n @param tick The destination tick of the transition\n @param feeGrowth0 The all-time global fee growth, per unit of liquidity, in token0\n @param feeGrowth1 The all-time global fee growth, per unit of liquidity, in token1\n @return liquidityDelta The amount of liquidity added (subtracted) when tick is crossed from left to right (right to left)\n @return prevTick The previous active tick before _tick_\n @return nextTick The next active tick after _tick_"},"id":3223,"implemented":true,"kind":"function","modifiers":[],"name":"cross","nameLocation":"5977:5:22","nodeType":"FunctionDefinition","parameters":{"id":3181,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3174,"mutability":"mutable","name":"self","nameLocation":"6019:4:22","nodeType":"VariableDeclaration","scope":3223,"src":"5988:35:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"typeName":{"id":3173,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":3170,"name":"int24","nodeType":"ElementaryTypeName","src":"5996:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Mapping","src":"5988:22:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":3172,"nodeType":"UserDefinedTypeName","pathNode":{"id":3171,"name":"Tick","nameLocations":["6005:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"6005:4:22"},"referencedDeclaration":2905,"src":"6005:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}}},"visibility":"internal"},{"constant":false,"id":3176,"mutability":"mutable","name":"tick","nameLocation":"6035:4:22","nodeType":"VariableDeclaration","scope":3223,"src":"6029:10:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3175,"name":"int24","nodeType":"ElementaryTypeName","src":"6029:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3178,"mutability":"mutable","name":"feeGrowth0","nameLocation":"6053:10:22","nodeType":"VariableDeclaration","scope":3223,"src":"6045:18:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3177,"name":"uint256","nodeType":"ElementaryTypeName","src":"6045:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3180,"mutability":"mutable","name":"feeGrowth1","nameLocation":"6077:10:22","nodeType":"VariableDeclaration","scope":3223,"src":"6069:18:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3179,"name":"uint256","nodeType":"ElementaryTypeName","src":"6069:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5982:109:22"},"returnParameters":{"id":3188,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3183,"mutability":"mutable","name":"liquidityDelta","nameLocation":"6117:14:22","nodeType":"VariableDeclaration","scope":3223,"src":"6110:21:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":3182,"name":"int128","nodeType":"ElementaryTypeName","src":"6110:6:22","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":3185,"mutability":"mutable","name":"prevTick","nameLocation":"6139:8:22","nodeType":"VariableDeclaration","scope":3223,"src":"6133:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3184,"name":"int24","nodeType":"ElementaryTypeName","src":"6133:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3187,"mutability":"mutable","name":"nextTick","nameLocation":"6155:8:22","nodeType":"VariableDeclaration","scope":3223,"src":"6149:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3186,"name":"int24","nodeType":"ElementaryTypeName","src":"6149:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"6109:55:22"},"scope":3428,"src":"5968:469:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3268,"nodeType":"Block","src":"6645:235:22","statements":[{"expression":{"id":3248,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"baseExpression":{"id":3232,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3229,"src":"6652:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3235,"indexExpression":{"expression":{"id":3233,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"6657:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3234,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6666:8:22","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":3437,"src":"6657:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6652:23:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3236,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6676:8:22","memberName":"prevTick","nodeType":"MemberAccess","referencedDeclaration":2898,"src":"6652:32:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"baseExpression":{"id":3237,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3229,"src":"6686:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3240,"indexExpression":{"expression":{"id":3238,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"6691:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3239,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6700:8:22","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":3437,"src":"6691:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6686:23:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3241,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6710:8:22","memberName":"nextTick","nodeType":"MemberAccess","referencedDeclaration":2900,"src":"6686:32:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3242,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"6651:68:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"expression":{"id":3243,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"6723:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3244,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6732:8:22","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":3437,"src":"6723:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":3245,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"6742:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3246,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6751:8:22","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":3442,"src":"6742:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3247,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"6722:38:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"src":"6651:109:22","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3249,"nodeType":"ExpressionStatement","src":"6651:109:22"},{"expression":{"id":3266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"baseExpression":{"id":3250,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3229,"src":"6767:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3253,"indexExpression":{"expression":{"id":3251,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"6772:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3252,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6781:8:22","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":3442,"src":"6772:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6767:23:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3254,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6791:8:22","memberName":"prevTick","nodeType":"MemberAccess","referencedDeclaration":2898,"src":"6767:32:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"baseExpression":{"id":3255,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3229,"src":"6801:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3258,"indexExpression":{"expression":{"id":3256,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"6806:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3257,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6815:8:22","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":3442,"src":"6806:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6801:23:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3259,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6825:8:22","memberName":"nextTick","nodeType":"MemberAccess","referencedDeclaration":2900,"src":"6801:32:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3260,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"6766:68:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"expression":{"id":3261,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"6838:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3262,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6847:8:22","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":3437,"src":"6838:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"id":3263,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"6857:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3264,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6866:8:22","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":3442,"src":"6857:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3265,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"6837:38:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"src":"6766:109:22","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3267,"nodeType":"ExpressionStatement","src":"6766:109:22"}]},"documentation":{"id":3224,"nodeType":"StructuredDocumentation","src":"6441:132:22","text":"@notice Used for initial setup of ticks list\n @param self The mapping containing all tick information for initialized ticks"},"id":3269,"implemented":true,"kind":"function","modifiers":[],"name":"initTickState","nameLocation":"6585:13:22","nodeType":"FunctionDefinition","parameters":{"id":3230,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3229,"mutability":"mutable","name":"self","nameLocation":"6630:4:22","nodeType":"VariableDeclaration","scope":3269,"src":"6599:35:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"typeName":{"id":3228,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":3225,"name":"int24","nodeType":"ElementaryTypeName","src":"6607:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Mapping","src":"6599:22:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":3227,"nodeType":"UserDefinedTypeName","pathNode":{"id":3226,"name":"Tick","nameLocations":["6616:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"6616:4:22"},"referencedDeclaration":2905,"src":"6616:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}}},"visibility":"internal"}],"src":"6598:37:22"},"returnParameters":{"id":3231,"nodeType":"ParameterList","parameters":[],"src":"6645:0:22"},"scope":3428,"src":"6576:304:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3356,"nodeType":"Block","src":"7302:521:22","statements":[{"expression":{"id":3296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":3284,"name":"prevTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3280,"src":"7309:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":3285,"name":"nextTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3282,"src":"7319:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3286,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"7308:20:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"expression":{"baseExpression":{"id":3287,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3275,"src":"7332:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3289,"indexExpression":{"id":3288,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"7337:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7332:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3290,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7343:8:22","memberName":"prevTick","nodeType":"MemberAccess","referencedDeclaration":2898,"src":"7332:19:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"baseExpression":{"id":3291,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3275,"src":"7353:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3293,"indexExpression":{"id":3292,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"7358:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7353:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3294,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7364:8:22","memberName":"nextTick","nodeType":"MemberAccess","referencedDeclaration":2900,"src":"7353:19:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3295,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7331:42:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"src":"7308:65:22","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3297,"nodeType":"ExpressionStatement","src":"7308:65:22"},{"expression":{"id":3301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"7379:17:22","subExpression":{"baseExpression":{"id":3298,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3275,"src":"7386:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3300,"indexExpression":{"id":3299,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"7391:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7386:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3302,"nodeType":"ExpressionStatement","src":"7379:17:22"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3306,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3303,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"7407:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":3304,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"7415:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3305,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7424:8:22","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":3437,"src":"7415:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"7407:25:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3310,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3307,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"7436:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":3308,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"7444:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3309,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7453:8:22","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":3442,"src":"7444:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"7436:25:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7407:54:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":3350,"nodeType":"Block","src":"7613:173:22","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3327,"name":"prevTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3280,"src":"7625:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":3328,"name":"nextTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3282,"src":"7637:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"7625:20:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3335,"nodeType":"IfStatement","src":"7621:74:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3330,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"7654:18:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":3332,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7673:20:22","memberName":"tickIsNotInitialized","nodeType":"MemberAccess","referencedDeclaration":1780,"src":"7654:39:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":3333,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7654:41:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3334,"nodeType":"RevertStatement","src":"7647:48:22"}},{"expression":{"id":3341,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":3336,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3275,"src":"7703:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3338,"indexExpression":{"id":3337,"name":"prevTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3280,"src":"7708:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7703:14:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3339,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"7718:8:22","memberName":"nextTick","nodeType":"MemberAccess","referencedDeclaration":2900,"src":"7703:23:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":3340,"name":"nextTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3282,"src":"7729:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"7703:34:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":3342,"nodeType":"ExpressionStatement","src":"7703:34:22"},{"expression":{"id":3348,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":3343,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3275,"src":"7745:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3345,"indexExpression":{"id":3344,"name":"nextTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3282,"src":"7750:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7745:14:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3346,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"7760:8:22","memberName":"prevTick","nodeType":"MemberAccess","referencedDeclaration":2898,"src":"7745:23:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":3347,"name":"prevTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3280,"src":"7771:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"7745:34:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":3349,"nodeType":"ExpressionStatement","src":"7745:34:22"}]},"id":3351,"nodeType":"IfStatement","src":"7403:383:22","trueBody":{"id":3326,"nodeType":"Block","src":"7463:144:22","statements":[{"expression":{"id":3324,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"baseExpression":{"id":3312,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3275,"src":"7536:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3314,"indexExpression":{"id":3313,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"7541:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7536:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3315,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"7547:8:22","memberName":"prevTick","nodeType":"MemberAccess","referencedDeclaration":2898,"src":"7536:19:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"baseExpression":{"id":3316,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3275,"src":"7557:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3318,"indexExpression":{"id":3317,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"7562:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7557:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3319,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"7568:8:22","memberName":"nextTick","nodeType":"MemberAccess","referencedDeclaration":2900,"src":"7557:19:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3320,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"7535:42:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":3321,"name":"prevTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3280,"src":"7581:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":3322,"name":"nextTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3282,"src":"7591:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3323,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7580:20:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"src":"7535:65:22","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3325,"nodeType":"ExpressionStatement","src":"7535:65:22"}]}},{"expression":{"components":[{"id":3352,"name":"prevTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3280,"src":"7799:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":3353,"name":"nextTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3282,"src":"7809:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3354,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7798:20:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"functionReturnParameters":3283,"id":3355,"nodeType":"Return","src":"7791:27:22"}]},"documentation":{"id":3270,"nodeType":"StructuredDocumentation","src":"6884:296:22","text":"@notice Removes tick from the linked list\n @param self The mapping containing all tick information for initialized ticks\n @param tick The tick that will be removed\n @return prevTick The previous active tick before _tick_\n @return nextTick The next active tick after _tick_"},"id":3357,"implemented":true,"kind":"function","modifiers":[],"name":"removeTick","nameLocation":"7192:10:22","nodeType":"FunctionDefinition","parameters":{"id":3278,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3275,"mutability":"mutable","name":"self","nameLocation":"7234:4:22","nodeType":"VariableDeclaration","scope":3357,"src":"7203:35:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"typeName":{"id":3274,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":3271,"name":"int24","nodeType":"ElementaryTypeName","src":"7211:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Mapping","src":"7203:22:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":3273,"nodeType":"UserDefinedTypeName","pathNode":{"id":3272,"name":"Tick","nameLocations":["7220:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"7220:4:22"},"referencedDeclaration":2905,"src":"7220:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}}},"visibility":"internal"},{"constant":false,"id":3277,"mutability":"mutable","name":"tick","nameLocation":"7246:4:22","nodeType":"VariableDeclaration","scope":3357,"src":"7240:10:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3276,"name":"int24","nodeType":"ElementaryTypeName","src":"7240:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"7202:49:22"},"returnParameters":{"id":3283,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3280,"mutability":"mutable","name":"prevTick","nameLocation":"7276:8:22","nodeType":"VariableDeclaration","scope":3357,"src":"7270:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3279,"name":"int24","nodeType":"ElementaryTypeName","src":"7270:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3282,"mutability":"mutable","name":"nextTick","nameLocation":"7292:8:22","nodeType":"VariableDeclaration","scope":3357,"src":"7286:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3281,"name":"int24","nodeType":"ElementaryTypeName","src":"7286:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"7269:32:22"},"scope":3428,"src":"7183:640:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":3426,"nodeType":"Block","src":"8230:314:22","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3380,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3375,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3372,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3365,"src":"8240:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":3373,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"8248:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3374,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8257:8:22","memberName":"MIN_TICK","nodeType":"MemberAccess","referencedDeclaration":3437,"src":"8248:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8240:25:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3379,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3376,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3365,"src":"8269:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":3377,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"8277:8:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":3378,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8286:8:22","memberName":"MAX_TICK","nodeType":"MemberAccess","referencedDeclaration":3442,"src":"8277:17:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8269:25:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"8240:54:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3382,"nodeType":"IfStatement","src":"8236:67:22","trueBody":{"functionReturnParameters":3371,"id":3381,"nodeType":"Return","src":"8296:7:22"}},{"condition":{"id":3391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"8312:37:22","subExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3385,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3383,"name":"prevTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3367,"src":"8314:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3384,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3365,"src":"8325:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8314:15:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3388,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3386,"name":"nextTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3369,"src":"8333:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":3387,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3365,"src":"8344:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8333:15:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"8314:34:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":3390,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8313:36:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3397,"nodeType":"IfStatement","src":"8308:87:22","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3392,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"8358:18:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":3394,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8377:16:22","memberName":"tickInvalidLinks","nodeType":"MemberAccess","referencedDeclaration":1783,"src":"8358:35:22","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":3395,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8358:37:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3396,"nodeType":"RevertStatement","src":"8351:44:22"}},{"expression":{"id":3410,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"baseExpression":{"id":3398,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3363,"src":"8402:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3400,"indexExpression":{"id":3399,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3365,"src":"8407:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8402:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3401,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"8413:8:22","memberName":"prevTick","nodeType":"MemberAccess","referencedDeclaration":2898,"src":"8402:19:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"expression":{"baseExpression":{"id":3402,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3363,"src":"8423:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3404,"indexExpression":{"id":3403,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3365,"src":"8428:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8423:10:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3405,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"8434:8:22","memberName":"nextTick","nodeType":"MemberAccess","referencedDeclaration":2900,"src":"8423:19:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3406,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"8401:42:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":3407,"name":"prevTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3367,"src":"8447:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":3408,"name":"nextTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3369,"src":"8457:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3409,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8446:20:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int24_$_t_int24_$","typeString":"tuple(int24,int24)"}},"src":"8401:65:22","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3411,"nodeType":"ExpressionStatement","src":"8401:65:22"},{"expression":{"id":3417,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":3412,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3363,"src":"8473:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3414,"indexExpression":{"id":3413,"name":"prevTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3367,"src":"8478:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8473:14:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3415,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"8488:8:22","memberName":"nextTick","nodeType":"MemberAccess","referencedDeclaration":2900,"src":"8473:23:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":3416,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3365,"src":"8499:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8473:30:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":3418,"nodeType":"ExpressionStatement","src":"8473:30:22"},{"expression":{"id":3424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":3419,"name":"self","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3363,"src":"8509:4:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick storage ref)"}},"id":3421,"indexExpression":{"id":3420,"name":"nextTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3369,"src":"8514:8:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8509:14:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage","typeString":"struct TickManagement.Tick storage ref"}},"id":3422,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"8524:8:22","memberName":"prevTick","nodeType":"MemberAccess","referencedDeclaration":2898,"src":"8509:23:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":3423,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3365,"src":"8535:4:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8509:30:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":3425,"nodeType":"ExpressionStatement","src":"8509:30:22"}]},"documentation":{"id":3358,"nodeType":"StructuredDocumentation","src":"7827:290:22","text":"@notice Adds tick to the linked list\n @param self The mapping containing all tick information for initialized ticks\n @param tick The tick that will be inserted\n @param prevTick The previous active tick before _tick_\n @param nextTick The next active tick after _tick_"},"id":3427,"implemented":true,"kind":"function","modifiers":[],"name":"insertTick","nameLocation":"8129:10:22","nodeType":"FunctionDefinition","parameters":{"id":3370,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3363,"mutability":"mutable","name":"self","nameLocation":"8171:4:22","nodeType":"VariableDeclaration","scope":3427,"src":"8140:35:22","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"typeName":{"id":3362,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":3359,"name":"int24","nodeType":"ElementaryTypeName","src":"8148:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Mapping","src":"8140:22:22","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":3361,"nodeType":"UserDefinedTypeName","pathNode":{"id":3360,"name":"Tick","nameLocations":["8157:4:22"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"8157:4:22"},"referencedDeclaration":2905,"src":"8157:4:22","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}}},"visibility":"internal"},{"constant":false,"id":3365,"mutability":"mutable","name":"tick","nameLocation":"8183:4:22","nodeType":"VariableDeclaration","scope":3427,"src":"8177:10:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3364,"name":"int24","nodeType":"ElementaryTypeName","src":"8177:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3367,"mutability":"mutable","name":"prevTick","nameLocation":"8195:8:22","nodeType":"VariableDeclaration","scope":3427,"src":"8189:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3366,"name":"int24","nodeType":"ElementaryTypeName","src":"8189:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":3369,"mutability":"mutable","name":"nextTick","nameLocation":"8211:8:22","nodeType":"VariableDeclaration","scope":3427,"src":"8205:14:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3368,"name":"int24","nodeType":"ElementaryTypeName","src":"8205:5:22","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"8139:81:22"},"returnParameters":{"id":3371,"nodeType":"ParameterList","parameters":[],"src":"8230:0:22"},"scope":3428,"src":"8120:424:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":3429,"src":"395:8151:22","usedErrors":[],"usedEvents":[]}],"src":"37:8510:22"},"id":22},"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol","exportedSymbols":{"IAlgebraPoolErrors":[1793],"TickMath":[3957]},"id":3958,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":3430,"literals":["solidity",">=","0.8",".4","<","0.9",".0"],"nodeType":"PragmaDirective","src":"45:31:23"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"../interfaces/pool/IAlgebraPoolErrors.sol","id":3431,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3958,"sourceUnit":1794,"src":"78:51:23","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"TickMath","contractDependencies":[],"contractKind":"library","documentation":{"id":3432,"nodeType":"StructuredDocumentation","src":"131:368:23","text":"@title Math library for computing sqrt prices from ticks and vice versa\n @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports\n prices between 2**-128 and 2**128\n @dev Credit to Uniswap Labs under GPL-2.0-or-later license:\n https://github.com/Uniswap/v3-core/blob/main/contracts/libraries"},"fullyImplemented":true,"id":3957,"linearizedBaseContracts":[3957],"name":"TickMath","nameLocation":"507:8:23","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":3433,"nodeType":"StructuredDocumentation","src":"520:108:23","text":"@dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128"},"id":3437,"mutability":"constant","name":"MIN_TICK","nameLocation":"655:8:23","nodeType":"VariableDeclaration","scope":3957,"src":"631:42:23","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3434,"name":"int24","nodeType":"ElementaryTypeName","src":"631:5:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"id":3436,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"666:7:23","subExpression":{"hexValue":"383837323732","id":3435,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"667:6:23","typeDescriptions":{"typeIdentifier":"t_rational_887272_by_1","typeString":"int_const 887272"},"value":"887272"},"typeDescriptions":{"typeIdentifier":"t_rational_minus_887272_by_1","typeString":"int_const -887272"}},"visibility":"internal"},{"constant":true,"documentation":{"id":3438,"nodeType":"StructuredDocumentation","src":"677:107:23","text":"@dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128"},"id":3442,"mutability":"constant","name":"MAX_TICK","nameLocation":"811:8:23","nodeType":"VariableDeclaration","scope":3957,"src":"787:44:23","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3439,"name":"int24","nodeType":"ElementaryTypeName","src":"787:5:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"value":{"id":3441,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"822:9:23","subExpression":{"id":3440,"name":"MIN_TICK","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3437,"src":"823:8:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":true,"documentation":{"id":3443,"nodeType":"StructuredDocumentation","src":"836:116:23","text":"@dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)"},"id":3446,"mutability":"constant","name":"MIN_SQRT_RATIO","nameLocation":"981:14:23","nodeType":"VariableDeclaration","scope":3957,"src":"955:53:23","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3444,"name":"uint160","nodeType":"ElementaryTypeName","src":"955:7:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"hexValue":"34323935313238373339","id":3445,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"998:10:23","typeDescriptions":{"typeIdentifier":"t_rational_4295128739_by_1","typeString":"int_const 4295128739"},"value":"4295128739"},"visibility":"internal"},{"constant":true,"documentation":{"id":3447,"nodeType":"StructuredDocumentation","src":"1012:116:23","text":"@dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)"},"id":3450,"mutability":"constant","name":"MAX_SQRT_RATIO","nameLocation":"1157:14:23","nodeType":"VariableDeclaration","scope":3957,"src":"1131:92:23","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3448,"name":"uint160","nodeType":"ElementaryTypeName","src":"1131:7:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"value":{"hexValue":"31343631343436373033343835323130313033323837323733303532323033393838383232333738373233393730333432","id":3449,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1174:49:23","typeDescriptions":{"typeIdentifier":"t_rational_1461446703485210103287273052203988822378723970342_by_1","typeString":"int_const 1461...(41 digits omitted)...0342"},"value":"1461446703485210103287273052203988822378723970342"},"visibility":"internal"},{"body":{"id":3814,"nodeType":"Block","src":"1591:2618:23","statements":[{"id":3813,"nodeType":"UncheckedBlock","src":"1597:2608:23","statements":[{"assignments":[3459],"declarations":[{"constant":false,"id":3459,"mutability":"mutable","name":"absTickMask","nameLocation":"1644:11:23","nodeType":"VariableDeclaration","scope":3813,"src":"1638:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3458,"name":"int24","nodeType":"ElementaryTypeName","src":"1638:5:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":3466,"initialValue":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3465,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3460,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3453,"src":"1658:4:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_23_by_1","typeString":"int_const 23"},"id":3463,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3234","id":3461,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1667:2:23","typeDescriptions":{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},"value":"24"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":3462,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1672:1:23","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1667:6:23","typeDescriptions":{"typeIdentifier":"t_rational_23_by_1","typeString":"int_const 23"}}],"id":3464,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1666:8:23","typeDescriptions":{"typeIdentifier":"t_rational_23_by_1","typeString":"int_const 23"}},"src":"1658:16:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"1638:36:23"},{"assignments":[3468],"declarations":[{"constant":false,"id":3468,"mutability":"mutable","name":"absTick","nameLocation":"1690:7:23","nodeType":"VariableDeclaration","scope":3813,"src":"1682:15:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3467,"name":"uint256","nodeType":"ElementaryTypeName","src":"1682:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3478,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3476,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3473,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3471,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3453,"src":"1708:4:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":3472,"name":"absTickMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"1715:11:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"1708:18:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"id":3474,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1707:20:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":3475,"name":"absTickMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3459,"src":"1730:11:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"1707:34:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"id":3470,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1700:6:23","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":3469,"name":"uint24","nodeType":"ElementaryTypeName","src":"1700:6:23","typeDescriptions":{}}},"id":3477,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1700:42:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"VariableDeclarationStatement","src":"1682:60:23"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3479,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"1754:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"arguments":[{"id":3482,"name":"MAX_TICK","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3442,"src":"1771:8:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"id":3481,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1764:6:23","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":3480,"name":"uint24","nodeType":"ElementaryTypeName","src":"1764:6:23","typeDescriptions":{}}},"id":3483,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1764:16:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"1754:26:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3490,"nodeType":"IfStatement","src":"1750:74:23","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3485,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"1789:18:23","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":3487,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1808:14:23","memberName":"tickOutOfRange","nodeType":"MemberAccess","referencedDeclaration":1789,"src":"1789:33:23","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":3488,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1789:35:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3489,"nodeType":"RevertStatement","src":"1782:42:23"}},{"assignments":[3492],"declarations":[{"constant":false,"id":3492,"mutability":"mutable","name":"ratio","nameLocation":"1841:5:23","nodeType":"VariableDeclaration","scope":3813,"src":"1833:13:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3491,"name":"uint256","nodeType":"ElementaryTypeName","src":"1833:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3494,"initialValue":{"hexValue":"3078313030303030303030303030303030303030303030303030303030303030303030","id":3493,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1849:35:23","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"},"value":"0x100000000000000000000000000000000"},"nodeType":"VariableDeclarationStatement","src":"1833:51:23"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3499,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3497,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3495,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"1896:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307831","id":3496,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1906:3:23","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"0x1"},"src":"1896:13:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3498,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1913:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1896:18:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3504,"nodeType":"IfStatement","src":"1892:66:23","trueBody":{"expression":{"id":3502,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3500,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"1916:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"30786666666362393333626436666164333761613264313632643161353934303031","id":3501,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1924:34:23","typeDescriptions":{"typeIdentifier":"t_rational_340265354078544963557816517032075149313_by_1","typeString":"int_const 3402...(31 digits omitted)...9313"},"value":"0xfffcb933bd6fad37aa2d162d1a594001"},"src":"1916:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3503,"nodeType":"ExpressionStatement","src":"1916:42:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3509,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3507,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3505,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"1970:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307832","id":3506,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1980:3:23","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"0x2"},"src":"1970:13:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3508,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1987:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1970:18:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3519,"nodeType":"IfStatement","src":"1966:83:23","trueBody":{"expression":{"id":3517,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3510,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"1990:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3516,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3511,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"1999:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666663937323732333733643431333235396134363939303538306532313361","id":3512,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2007:34:23","typeDescriptions":{"typeIdentifier":"t_rational_340248342086729790484326174814286782778_by_1","typeString":"int_const 3402...(31 digits omitted)...2778"},"value":"0xfff97272373d413259a46990580e213a"},"src":"1999:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3514,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1998:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3515,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2046:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"1998:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1990:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3518,"nodeType":"ExpressionStatement","src":"1990:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3524,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3520,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2061:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307834","id":3521,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2071:3:23","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"0x4"},"src":"2061:13:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3523,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2078:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2061:18:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3534,"nodeType":"IfStatement","src":"2057:83:23","trueBody":{"expression":{"id":3532,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3525,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2081:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3531,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3528,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3526,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2090:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666663265353066356636353639333265663132333537636633633766646363","id":3527,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2098:34:23","typeDescriptions":{"typeIdentifier":"t_rational_340214320654664324051920982716015181260_by_1","typeString":"int_const 3402...(31 digits omitted)...1260"},"value":"0xfff2e50f5f656932ef12357cf3c7fdcc"},"src":"2090:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3529,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2089:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3530,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2137:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2089:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2081:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3533,"nodeType":"ExpressionStatement","src":"2081:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3539,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3537,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3535,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2152:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307838","id":3536,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2162:3:23","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"0x8"},"src":"2152:13:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3538,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2169:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2152:18:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3549,"nodeType":"IfStatement","src":"2148:83:23","trueBody":{"expression":{"id":3547,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3540,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2172:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3543,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3541,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2181:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666653563616361376531306534653631633336323465616130393431636430","id":3542,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2189:34:23","typeDescriptions":{"typeIdentifier":"t_rational_340146287995602323631171512101879684304_by_1","typeString":"int_const 3401...(31 digits omitted)...4304"},"value":"0xffe5caca7e10e4e61c3624eaa0941cd0"},"src":"2181:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3544,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2180:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3545,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2228:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2180:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2172:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3548,"nodeType":"ExpressionStatement","src":"2172:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3554,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3552,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3550,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2243:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783130","id":3551,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2253:4:23","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"0x10"},"src":"2243:14:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3553,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2261:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2243:19:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3564,"nodeType":"IfStatement","src":"2239:84:23","trueBody":{"expression":{"id":3562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3555,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2264:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3561,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3558,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3556,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2273:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666636239383433643630663631353963396462353838333563393236363434","id":3557,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2281:34:23","typeDescriptions":{"typeIdentifier":"t_rational_340010263488231146823593991679159461444_by_1","typeString":"int_const 3400...(31 digits omitted)...1444"},"value":"0xffcb9843d60f6159c9db58835c926644"},"src":"2273:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3559,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2272:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3560,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2320:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2272:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2264:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3563,"nodeType":"ExpressionStatement","src":"2264:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3569,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3567,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3565,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2335:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783230","id":3566,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2345:4:23","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"0x20"},"src":"2335:14:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3568,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2353:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2335:19:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3579,"nodeType":"IfStatement","src":"2331:84:23","trueBody":{"expression":{"id":3577,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3570,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2356:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3576,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3573,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3571,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2365:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666393733623431666139386330383134373265363839366466623235346330","id":3572,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2373:34:23","typeDescriptions":{"typeIdentifier":"t_rational_339738377640345403697157401104375502016_by_1","typeString":"int_const 3397...(31 digits omitted)...2016"},"value":"0xff973b41fa98c081472e6896dfb254c0"},"src":"2365:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3574,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2364:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3575,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2412:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2364:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2356:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3578,"nodeType":"ExpressionStatement","src":"2356:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3584,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3582,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3580,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2427:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783430","id":3581,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2437:4:23","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"0x40"},"src":"2427:14:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3583,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2445:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2427:19:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3594,"nodeType":"IfStatement","src":"2423:84:23","trueBody":{"expression":{"id":3592,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3585,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2448:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3591,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3588,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3586,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2457:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786666326561313634363663393661333834336563373862333236623532383631","id":3587,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2465:34:23","typeDescriptions":{"typeIdentifier":"t_rational_339195258003219555707034227454543997025_by_1","typeString":"int_const 3391...(31 digits omitted)...7025"},"value":"0xff2ea16466c96a3843ec78b326b52861"},"src":"2457:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3589,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2456:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3590,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2504:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2456:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2448:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3593,"nodeType":"ExpressionStatement","src":"2448:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3599,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3597,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3595,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2519:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783830","id":3596,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2529:4:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"0x80"},"src":"2519:14:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3598,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2537:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2519:19:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3609,"nodeType":"IfStatement","src":"2515:84:23","trueBody":{"expression":{"id":3607,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3600,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2540:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3606,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3603,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3601,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2549:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786665356465653034366139396132613831316334363166313936396333303533","id":3602,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2557:34:23","typeDescriptions":{"typeIdentifier":"t_rational_338111622100601834656805679988414885971_by_1","typeString":"int_const 3381...(31 digits omitted)...5971"},"value":"0xfe5dee046a99a2a811c461f1969c3053"},"src":"2549:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3604,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2548:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3605,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2596:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2548:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2540:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3608,"nodeType":"ExpressionStatement","src":"2540:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3614,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3612,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3610,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2611:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"3078313030","id":3611,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2621:5:23","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"value":"0x100"},"src":"2611:15:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3613,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2630:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2611:20:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3624,"nodeType":"IfStatement","src":"2607:85:23","trueBody":{"expression":{"id":3622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3615,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2633:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3621,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3618,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3616,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2642:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786663626538366337393030613838616564636666633833623437396161336134","id":3617,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2650:34:23","typeDescriptions":{"typeIdentifier":"t_rational_335954724994790223023589805789778977700_by_1","typeString":"int_const 3359...(31 digits omitted)...7700"},"value":"0xfcbe86c7900a88aedcffc83b479aa3a4"},"src":"2642:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3619,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2641:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3620,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2689:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2641:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2633:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3623,"nodeType":"ExpressionStatement","src":"2633:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3629,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3625,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2704:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"3078323030","id":3626,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2714:5:23","typeDescriptions":{"typeIdentifier":"t_rational_512_by_1","typeString":"int_const 512"},"value":"0x200"},"src":"2704:15:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3628,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2723:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2704:20:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3639,"nodeType":"IfStatement","src":"2700:85:23","trueBody":{"expression":{"id":3637,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3630,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2726:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3636,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3633,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3631,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2735:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786639383761373235336163343133313736663262303734636637383135653534","id":3632,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2743:34:23","typeDescriptions":{"typeIdentifier":"t_rational_331682121138379247127172139078559817300_by_1","typeString":"int_const 3316...(31 digits omitted)...7300"},"value":"0xf987a7253ac413176f2b074cf7815e54"},"src":"2735:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3634,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2734:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3635,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2782:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2734:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2726:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3638,"nodeType":"ExpressionStatement","src":"2726:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3644,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3642,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3640,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2797:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"3078343030","id":3641,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2807:5:23","typeDescriptions":{"typeIdentifier":"t_rational_1024_by_1","typeString":"int_const 1024"},"value":"0x400"},"src":"2797:15:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3643,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2816:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2797:20:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3654,"nodeType":"IfStatement","src":"2793:85:23","trueBody":{"expression":{"id":3652,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3645,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2819:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3651,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3648,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3646,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2828:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786633333932623038323262373030303539343063376133393865346237306633","id":3647,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2836:34:23","typeDescriptions":{"typeIdentifier":"t_rational_323299236684853023288211250268160618739_by_1","typeString":"int_const 3232...(31 digits omitted)...8739"},"value":"0xf3392b0822b70005940c7a398e4b70f3"},"src":"2828:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3649,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2827:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3650,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2875:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2827:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2819:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3653,"nodeType":"ExpressionStatement","src":"2819:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3659,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3657,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3655,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2890:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"3078383030","id":3656,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2900:5:23","typeDescriptions":{"typeIdentifier":"t_rational_2048_by_1","typeString":"int_const 2048"},"value":"0x800"},"src":"2890:15:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3658,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2909:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2890:20:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3669,"nodeType":"IfStatement","src":"2886:85:23","trueBody":{"expression":{"id":3667,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3660,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2912:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3666,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3663,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3661,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"2921:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786537313539343735613263323962373434336232396337666136653838396439","id":3662,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2929:34:23","typeDescriptions":{"typeIdentifier":"t_rational_307163716377032989948697243942600083929_by_1","typeString":"int_const 3071...(31 digits omitted)...3929"},"value":"0xe7159475a2c29b7443b29c7fa6e889d9"},"src":"2921:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3664,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2920:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3665,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2968:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"2920:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2912:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3668,"nodeType":"ExpressionStatement","src":"2912:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3674,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3672,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3670,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"2983:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307831303030","id":3671,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2993:6:23","typeDescriptions":{"typeIdentifier":"t_rational_4096_by_1","typeString":"int_const 4096"},"value":"0x1000"},"src":"2983:16:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3673,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3003:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2983:21:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3684,"nodeType":"IfStatement","src":"2979:86:23","trueBody":{"expression":{"id":3682,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3675,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3006:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3681,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3676,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3015:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786430393766336264666432303232623838343561643866373932616135383235","id":3677,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3023:34:23","typeDescriptions":{"typeIdentifier":"t_rational_277268403626896220162999269216087595045_by_1","typeString":"int_const 2772...(31 digits omitted)...5045"},"value":"0xd097f3bdfd2022b8845ad8f792aa5825"},"src":"3015:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3679,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3014:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3680,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3062:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"3014:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3006:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3683,"nodeType":"ExpressionStatement","src":"3006:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3689,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3687,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3685,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"3077:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307832303030","id":3686,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3087:6:23","typeDescriptions":{"typeIdentifier":"t_rational_8192_by_1","typeString":"int_const 8192"},"value":"0x2000"},"src":"3077:16:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3688,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3097:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3077:21:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3699,"nodeType":"IfStatement","src":"3073:86:23","trueBody":{"expression":{"id":3697,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3690,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3100:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3696,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3693,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3691,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3109:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30786139663734363436326438373066646638613635646331663930653036316535","id":3692,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3117:34:23","typeDescriptions":{"typeIdentifier":"t_rational_225923453940442621947126027127485391333_by_1","typeString":"int_const 2259...(31 digits omitted)...1333"},"value":"0xa9f746462d870fdf8a65dc1f90e061e5"},"src":"3109:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3694,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3108:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3695,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3156:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"3108:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3100:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3698,"nodeType":"ExpressionStatement","src":"3100:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3704,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3700,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"3171:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307834303030","id":3701,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3181:6:23","typeDescriptions":{"typeIdentifier":"t_rational_16384_by_1","typeString":"int_const 16384"},"value":"0x4000"},"src":"3171:16:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3703,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3191:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3171:21:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3714,"nodeType":"IfStatement","src":"3167:86:23","trueBody":{"expression":{"id":3712,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3705,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3194:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3711,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3708,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3706,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3203:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30783730643836396131353664326131623839306262336466363262616633326637","id":3707,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3211:34:23","typeDescriptions":{"typeIdentifier":"t_rational_149997214084966997727330242082538205943_by_1","typeString":"int_const 1499...(31 digits omitted)...5943"},"value":"0x70d869a156d2a1b890bb3df62baf32f7"},"src":"3203:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3709,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3202:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3710,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3250:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"3202:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3194:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3713,"nodeType":"ExpressionStatement","src":"3194:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3719,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3717,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3715,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"3265:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307838303030","id":3716,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3275:6:23","typeDescriptions":{"typeIdentifier":"t_rational_32768_by_1","typeString":"int_const 32768"},"value":"0x8000"},"src":"3265:16:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3718,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3285:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3265:21:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3729,"nodeType":"IfStatement","src":"3261:86:23","trueBody":{"expression":{"id":3727,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3720,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3288:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3726,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3723,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3721,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3297:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30783331626531333566393764303866643938313233313530353534326663666136","id":3722,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3305:34:23","typeDescriptions":{"typeIdentifier":"t_rational_66119101136024775622716233608466517926_by_1","typeString":"int_const 6611...(30 digits omitted)...7926"},"value":"0x31be135f97d08fd981231505542fcfa6"},"src":"3297:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3724,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3296:44:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3725,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3344:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"3296:51:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3288:59:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3728,"nodeType":"ExpressionStatement","src":"3288:59:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3734,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3732,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3730,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"3359:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783130303030","id":3731,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3369:7:23","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"},"value":"0x10000"},"src":"3359:17:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3733,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3380:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3359:22:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3744,"nodeType":"IfStatement","src":"3355:86:23","trueBody":{"expression":{"id":3742,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3735,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3383:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3738,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3736,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3392:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"307839616135303862356237613834653163363737646535346633653939626339","id":3737,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3400:33:23","typeDescriptions":{"typeIdentifier":"t_rational_12847376061809297530290974190478138313_by_1","typeString":"int_const 1284...(30 digits omitted)...8313"},"value":"0x9aa508b5b7a84e1c677de54f3e99bc9"},"src":"3392:41:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3739,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3391:43:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3740,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3438:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"3391:50:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3383:58:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3743,"nodeType":"ExpressionStatement","src":"3383:58:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3749,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3747,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3745,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"3453:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783230303030","id":3746,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3463:7:23","typeDescriptions":{"typeIdentifier":"t_rational_131072_by_1","typeString":"int_const 131072"},"value":"0x20000"},"src":"3453:17:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3748,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3474:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3453:22:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3759,"nodeType":"IfStatement","src":"3449:85:23","trueBody":{"expression":{"id":3757,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3750,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3477:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3756,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3753,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3751,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3486:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3078356436616638646564623831313936363939633332393232356565363034","id":3752,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3494:32:23","typeDescriptions":{"typeIdentifier":"t_rational_485053260817066172746253684029974020_by_1","typeString":"int_const 4850...(28 digits omitted)...4020"},"value":"0x5d6af8dedb81196699c329225ee604"},"src":"3486:40:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3754,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3485:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3755,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3531:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"3485:49:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3477:57:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3758,"nodeType":"ExpressionStatement","src":"3477:57:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3762,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3760,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"3546:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"hexValue":"30783430303030","id":3761,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3557:7:23","typeDescriptions":{"typeIdentifier":"t_rational_262144_by_1","typeString":"int_const 262144"},"value":"0x40000"},"src":"3546:18:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3794,"nodeType":"IfStatement","src":"3542:214:23","trueBody":{"id":3793,"nodeType":"Block","src":"3566:190:23","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3767,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3765,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3763,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"3580:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783430303030","id":3764,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3590:7:23","typeDescriptions":{"typeIdentifier":"t_rational_262144_by_1","typeString":"int_const 262144"},"value":"0x40000"},"src":"3580:17:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3766,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3601:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3580:22:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3777,"nodeType":"IfStatement","src":"3576:83:23","trueBody":{"expression":{"id":3775,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3768,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3604:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3774,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3771,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3769,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3613:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"307832323136653538346635666131656139323630343162656466653938","id":3770,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3621:30:23","typeDescriptions":{"typeIdentifier":"t_rational_691415978906521570653435304214168_by_1","typeString":"int_const 6914...(25 digits omitted)...4168"},"value":"0x2216e584f5fa1ea926041bedfe98"},"src":"3613:38:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3772,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3612:40:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3773,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3656:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"3612:47:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3604:55:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3776,"nodeType":"ExpressionStatement","src":"3604:55:23"}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3782,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3780,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3778,"name":"absTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3468,"src":"3673:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30783830303030","id":3779,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3683:7:23","typeDescriptions":{"typeIdentifier":"t_rational_524288_by_1","typeString":"int_const 524288"},"value":"0x80000"},"src":"3673:17:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3781,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3694:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3673:22:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3792,"nodeType":"IfStatement","src":"3669:78:23","trueBody":{"expression":{"id":3790,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3783,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3697:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3789,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3786,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3784,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"3706:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"30783438613137303339316637646334323434346538666132","id":3785,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3714:25:23","typeDescriptions":{"typeIdentifier":"t_rational_1404880482679654955896180642_by_1","typeString":"int_const 1404880482679654955896180642"},"value":"0x48a170391f7dc42444e8fa2"},"src":"3706:33:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3787,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3705:35:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3788,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3744:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"3705:42:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3697:50:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3791,"nodeType":"ExpressionStatement","src":"3697:50:23"}}]}},{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3797,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3795,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3453,"src":"3768:4:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":3796,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3775:1:23","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3768:8:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3800,"nodeType":"IfStatement","src":"3764:90:23","trueBody":{"id":3799,"nodeType":"Block","src":"3778:76:23","statements":[{"AST":{"nodeType":"YulBlock","src":"3797:49:23","statements":[{"nodeType":"YulAssignment","src":"3809:27:23","value":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3826:1:23","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3822:3:23"},"nodeType":"YulFunctionCall","src":"3822:6:23"},{"name":"ratio","nodeType":"YulIdentifier","src":"3830:5:23"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"3818:3:23"},"nodeType":"YulFunctionCall","src":"3818:18:23"},"variableNames":[{"name":"ratio","nodeType":"YulIdentifier","src":"3809:5:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3492,"isOffset":false,"isSlot":false,"src":"3809:5:23","valueSize":1},{"declaration":3492,"isOffset":false,"isSlot":false,"src":"3830:5:23","valueSize":1}],"id":3798,"nodeType":"InlineAssembly","src":"3788:58:23"}]}},{"expression":{"id":3811,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3801,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3456,"src":"4155:5:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3809,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3806,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3804,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3492,"src":"4172:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"30784646464646464646","id":3805,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4180:10:23","typeDescriptions":{"typeIdentifier":"t_rational_4294967295_by_1","typeString":"int_const 4294967295"},"value":"0xFFFFFFFF"},"src":"4172:18:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3807,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4171:20:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"3332","id":3808,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4195:2:23","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"4171:26:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3803,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4163:7:23","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":3802,"name":"uint160","nodeType":"ElementaryTypeName","src":"4163:7:23","typeDescriptions":{}}},"id":3810,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4163:35:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"4155:43:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":3812,"nodeType":"ExpressionStatement","src":"4155:43:23"}]}]},"documentation":{"id":3451,"nodeType":"StructuredDocumentation","src":"1228:282:23","text":"@notice Calculates sqrt(1.0001^tick) * 2^96\n @dev Throws if |tick| > max tick\n @param tick The input tick for the above formula\n @return price A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)\n at the given tick"},"id":3815,"implemented":true,"kind":"function","modifiers":[],"name":"getSqrtRatioAtTick","nameLocation":"1522:18:23","nodeType":"FunctionDefinition","parameters":{"id":3454,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3453,"mutability":"mutable","name":"tick","nameLocation":"1547:4:23","nodeType":"VariableDeclaration","scope":3815,"src":"1541:10:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3452,"name":"int24","nodeType":"ElementaryTypeName","src":"1541:5:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1540:12:23"},"returnParameters":{"id":3457,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3456,"mutability":"mutable","name":"price","nameLocation":"1584:5:23","nodeType":"VariableDeclaration","scope":3815,"src":"1576:13:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3455,"name":"uint160","nodeType":"ElementaryTypeName","src":"1576:7:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1575:15:23"},"scope":3957,"src":"1513:2696:23","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3955,"nodeType":"Block","src":"4680:3796:23","statements":[{"id":3954,"nodeType":"UncheckedBlock","src":"4686:3786:23","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3829,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":3825,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3823,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3818,"src":"4806:5:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3824,"name":"MIN_SQRT_RATIO","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3446,"src":"4814:14:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"4806:22:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":3828,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3826,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3818,"src":"4832:5:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":3827,"name":"MAX_SQRT_RATIO","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3450,"src":"4841:14:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"4832:23:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4806:49:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3835,"nodeType":"IfStatement","src":"4802:98:23","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":3830,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"4864:18:23","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":3832,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4883:15:23","memberName":"priceOutOfRange","nodeType":"MemberAccess","referencedDeclaration":1792,"src":"4864:34:23","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":3833,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4864:36:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3834,"nodeType":"RevertStatement","src":"4857:43:23"}},{"assignments":[3837],"declarations":[{"constant":false,"id":3837,"mutability":"mutable","name":"ratio","nameLocation":"4916:5:23","nodeType":"VariableDeclaration","scope":3954,"src":"4908:13:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3836,"name":"uint256","nodeType":"ElementaryTypeName","src":"4908:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3844,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3843,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3840,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3818,"src":"4932:5:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":3839,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4924:7:23","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":3838,"name":"uint256","nodeType":"ElementaryTypeName","src":"4924:7:23","typeDescriptions":{}}},"id":3841,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4924:14:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3332","id":3842,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4942:2:23","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"4924:20:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4908:36:23"},{"assignments":[3846],"declarations":[{"constant":false,"id":3846,"mutability":"mutable","name":"r","nameLocation":"4961:1:23","nodeType":"VariableDeclaration","scope":3954,"src":"4953:9:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3845,"name":"uint256","nodeType":"ElementaryTypeName","src":"4953:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3848,"initialValue":{"id":3847,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3837,"src":"4965:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4953:17:23"},{"assignments":[3850],"declarations":[{"constant":false,"id":3850,"mutability":"mutable","name":"msb","nameLocation":"4986:3:23","nodeType":"VariableDeclaration","scope":3954,"src":"4978:11:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3849,"name":"uint256","nodeType":"ElementaryTypeName","src":"4978:7:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3851,"nodeType":"VariableDeclarationStatement","src":"4978:11:23"},{"AST":{"nodeType":"YulBlock","src":"5007:125:23","statements":[{"nodeType":"YulVariableDeclaration","src":"5017:58:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5030:1:23","type":"","value":"7"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"5036:1:23"},{"kind":"number","nodeType":"YulLiteral","src":"5039:34:23","type":"","value":"0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5033:2:23"},"nodeType":"YulFunctionCall","src":"5033:41:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5026:3:23"},"nodeType":"YulFunctionCall","src":"5026:49:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"5021:1:23","type":""}]},{"nodeType":"YulAssignment","src":"5084:17:23","value":{"arguments":[{"name":"msb","nodeType":"YulIdentifier","src":"5094:3:23"},{"name":"f","nodeType":"YulIdentifier","src":"5099:1:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"5091:2:23"},"nodeType":"YulFunctionCall","src":"5091:10:23"},"variableNames":[{"name":"msb","nodeType":"YulIdentifier","src":"5084:3:23"}]},{"nodeType":"YulAssignment","src":"5110:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"5119:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"5122:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"5115:3:23"},"nodeType":"YulFunctionCall","src":"5115:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"5110:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5084:3:23","valueSize":1},{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5094:3:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5036:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5110:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5122:1:23","valueSize":1}],"id":3852,"nodeType":"InlineAssembly","src":"4998:134:23"},{"AST":{"nodeType":"YulBlock","src":"5148:109:23","statements":[{"nodeType":"YulVariableDeclaration","src":"5158:42:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5171:1:23","type":"","value":"6"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"5177:1:23"},{"kind":"number","nodeType":"YulLiteral","src":"5180:18:23","type":"","value":"0xFFFFFFFFFFFFFFFF"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5174:2:23"},"nodeType":"YulFunctionCall","src":"5174:25:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5167:3:23"},"nodeType":"YulFunctionCall","src":"5167:33:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"5162:1:23","type":""}]},{"nodeType":"YulAssignment","src":"5209:17:23","value":{"arguments":[{"name":"msb","nodeType":"YulIdentifier","src":"5219:3:23"},{"name":"f","nodeType":"YulIdentifier","src":"5224:1:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"5216:2:23"},"nodeType":"YulFunctionCall","src":"5216:10:23"},"variableNames":[{"name":"msb","nodeType":"YulIdentifier","src":"5209:3:23"}]},{"nodeType":"YulAssignment","src":"5235:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"5244:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"5247:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"5240:3:23"},"nodeType":"YulFunctionCall","src":"5240:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"5235:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5209:3:23","valueSize":1},{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5219:3:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5177:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5235:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5247:1:23","valueSize":1}],"id":3853,"nodeType":"InlineAssembly","src":"5139:118:23"},{"AST":{"nodeType":"YulBlock","src":"5273:101:23","statements":[{"nodeType":"YulVariableDeclaration","src":"5283:34:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5296:1:23","type":"","value":"5"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"5302:1:23"},{"kind":"number","nodeType":"YulLiteral","src":"5305:10:23","type":"","value":"0xFFFFFFFF"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5299:2:23"},"nodeType":"YulFunctionCall","src":"5299:17:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5292:3:23"},"nodeType":"YulFunctionCall","src":"5292:25:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"5287:1:23","type":""}]},{"nodeType":"YulAssignment","src":"5326:17:23","value":{"arguments":[{"name":"msb","nodeType":"YulIdentifier","src":"5336:3:23"},{"name":"f","nodeType":"YulIdentifier","src":"5341:1:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"5333:2:23"},"nodeType":"YulFunctionCall","src":"5333:10:23"},"variableNames":[{"name":"msb","nodeType":"YulIdentifier","src":"5326:3:23"}]},{"nodeType":"YulAssignment","src":"5352:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"5361:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"5364:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"5357:3:23"},"nodeType":"YulFunctionCall","src":"5357:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"5352:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5326:3:23","valueSize":1},{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5336:3:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5302:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5352:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5364:1:23","valueSize":1}],"id":3854,"nodeType":"InlineAssembly","src":"5264:110:23"},{"AST":{"nodeType":"YulBlock","src":"5390:97:23","statements":[{"nodeType":"YulVariableDeclaration","src":"5400:30:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5413:1:23","type":"","value":"4"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"5419:1:23"},{"kind":"number","nodeType":"YulLiteral","src":"5422:6:23","type":"","value":"0xFFFF"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5416:2:23"},"nodeType":"YulFunctionCall","src":"5416:13:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5409:3:23"},"nodeType":"YulFunctionCall","src":"5409:21:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"5404:1:23","type":""}]},{"nodeType":"YulAssignment","src":"5439:17:23","value":{"arguments":[{"name":"msb","nodeType":"YulIdentifier","src":"5449:3:23"},{"name":"f","nodeType":"YulIdentifier","src":"5454:1:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"5446:2:23"},"nodeType":"YulFunctionCall","src":"5446:10:23"},"variableNames":[{"name":"msb","nodeType":"YulIdentifier","src":"5439:3:23"}]},{"nodeType":"YulAssignment","src":"5465:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"5474:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"5477:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"5470:3:23"},"nodeType":"YulFunctionCall","src":"5470:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"5465:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5439:3:23","valueSize":1},{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5449:3:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5419:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5465:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5477:1:23","valueSize":1}],"id":3855,"nodeType":"InlineAssembly","src":"5381:106:23"},{"AST":{"nodeType":"YulBlock","src":"5503:95:23","statements":[{"nodeType":"YulVariableDeclaration","src":"5513:28:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5526:1:23","type":"","value":"3"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"5532:1:23"},{"kind":"number","nodeType":"YulLiteral","src":"5535:4:23","type":"","value":"0xFF"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5529:2:23"},"nodeType":"YulFunctionCall","src":"5529:11:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5522:3:23"},"nodeType":"YulFunctionCall","src":"5522:19:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"5517:1:23","type":""}]},{"nodeType":"YulAssignment","src":"5550:17:23","value":{"arguments":[{"name":"msb","nodeType":"YulIdentifier","src":"5560:3:23"},{"name":"f","nodeType":"YulIdentifier","src":"5565:1:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"5557:2:23"},"nodeType":"YulFunctionCall","src":"5557:10:23"},"variableNames":[{"name":"msb","nodeType":"YulIdentifier","src":"5550:3:23"}]},{"nodeType":"YulAssignment","src":"5576:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"5585:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"5588:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"5581:3:23"},"nodeType":"YulFunctionCall","src":"5581:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"5576:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5550:3:23","valueSize":1},{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5560:3:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5532:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5576:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5588:1:23","valueSize":1}],"id":3856,"nodeType":"InlineAssembly","src":"5494:104:23"},{"AST":{"nodeType":"YulBlock","src":"5614:94:23","statements":[{"nodeType":"YulVariableDeclaration","src":"5624:27:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5637:1:23","type":"","value":"2"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"5643:1:23"},{"kind":"number","nodeType":"YulLiteral","src":"5646:3:23","type":"","value":"0xF"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5640:2:23"},"nodeType":"YulFunctionCall","src":"5640:10:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5633:3:23"},"nodeType":"YulFunctionCall","src":"5633:18:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"5628:1:23","type":""}]},{"nodeType":"YulAssignment","src":"5660:17:23","value":{"arguments":[{"name":"msb","nodeType":"YulIdentifier","src":"5670:3:23"},{"name":"f","nodeType":"YulIdentifier","src":"5675:1:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"5667:2:23"},"nodeType":"YulFunctionCall","src":"5667:10:23"},"variableNames":[{"name":"msb","nodeType":"YulIdentifier","src":"5660:3:23"}]},{"nodeType":"YulAssignment","src":"5686:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"5695:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"5698:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"5691:3:23"},"nodeType":"YulFunctionCall","src":"5691:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"5686:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5660:3:23","valueSize":1},{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5670:3:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5643:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5686:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5698:1:23","valueSize":1}],"id":3857,"nodeType":"InlineAssembly","src":"5605:103:23"},{"AST":{"nodeType":"YulBlock","src":"5724:94:23","statements":[{"nodeType":"YulVariableDeclaration","src":"5734:27:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5747:1:23","type":"","value":"1"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"5753:1:23"},{"kind":"number","nodeType":"YulLiteral","src":"5756:3:23","type":"","value":"0x3"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5750:2:23"},"nodeType":"YulFunctionCall","src":"5750:10:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5743:3:23"},"nodeType":"YulFunctionCall","src":"5743:18:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"5738:1:23","type":""}]},{"nodeType":"YulAssignment","src":"5770:17:23","value":{"arguments":[{"name":"msb","nodeType":"YulIdentifier","src":"5780:3:23"},{"name":"f","nodeType":"YulIdentifier","src":"5785:1:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"5777:2:23"},"nodeType":"YulFunctionCall","src":"5777:10:23"},"variableNames":[{"name":"msb","nodeType":"YulIdentifier","src":"5770:3:23"}]},{"nodeType":"YulAssignment","src":"5796:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"5805:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"5808:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"5801:3:23"},"nodeType":"YulFunctionCall","src":"5801:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"5796:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5770:3:23","valueSize":1},{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5780:3:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5753:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5796:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5808:1:23","valueSize":1}],"id":3858,"nodeType":"InlineAssembly","src":"5715:103:23"},{"AST":{"nodeType":"YulBlock","src":"5834:63:23","statements":[{"nodeType":"YulVariableDeclaration","src":"5844:19:23","value":{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"5856:1:23"},{"kind":"number","nodeType":"YulLiteral","src":"5859:3:23","type":"","value":"0x1"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5853:2:23"},"nodeType":"YulFunctionCall","src":"5853:10:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"5848:1:23","type":""}]},{"nodeType":"YulAssignment","src":"5872:17:23","value":{"arguments":[{"name":"msb","nodeType":"YulIdentifier","src":"5882:3:23"},{"name":"f","nodeType":"YulIdentifier","src":"5887:1:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"5879:2:23"},"nodeType":"YulFunctionCall","src":"5879:10:23"},"variableNames":[{"name":"msb","nodeType":"YulIdentifier","src":"5872:3:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5872:3:23","valueSize":1},{"declaration":3850,"isOffset":false,"isSlot":false,"src":"5882:3:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"5856:1:23","valueSize":1}],"id":3859,"nodeType":"InlineAssembly","src":"5825:72:23"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3860,"name":"msb","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3850,"src":"5909:3:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"hexValue":"313238","id":3861,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5916:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"5909:10:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"expression":{"id":3879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3872,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3846,"src":"5958:1:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3878,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3873,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3837,"src":"5962:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3876,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"313237","id":3874,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5972:3:23","typeDescriptions":{"typeIdentifier":"t_rational_127_by_1","typeString":"int_const 127"},"value":"127"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":3875,"name":"msb","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3850,"src":"5978:3:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5972:9:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3877,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5971:11:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5962:20:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5958:24:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3880,"nodeType":"ExpressionStatement","src":"5958:24:23"},"id":3881,"nodeType":"IfStatement","src":"5905:77:23","trueBody":{"expression":{"id":3870,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3863,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3846,"src":"5921:1:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3869,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3864,"name":"ratio","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3837,"src":"5925:5:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3867,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3865,"name":"msb","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3850,"src":"5935:3:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"313237","id":3866,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5941:3:23","typeDescriptions":{"typeIdentifier":"t_rational_127_by_1","typeString":"int_const 127"},"value":"127"},"src":"5935:9:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3868,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5934:11:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5925:20:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5921:24:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3871,"nodeType":"ExpressionStatement","src":"5921:24:23"}},{"assignments":[3883],"declarations":[{"constant":false,"id":3883,"mutability":"mutable","name":"log_2","nameLocation":"5998:5:23","nodeType":"VariableDeclaration","scope":3954,"src":"5991:12:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3882,"name":"int256","nodeType":"ElementaryTypeName","src":"5991:6:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":3893,"initialValue":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3892,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3889,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3886,"name":"msb","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3850,"src":"6014:3:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3885,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6007:6:23","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":3884,"name":"int256","nodeType":"ElementaryTypeName","src":"6007:6:23","typeDescriptions":{}}},"id":3887,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6007:11:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"313238","id":3888,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6021:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"6007:17:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":3890,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6006:19:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3634","id":3891,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6029:2:23","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"6006:25:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"5991:40:23"},{"AST":{"nodeType":"YulBlock","src":"6049:133:23","statements":[{"nodeType":"YulAssignment","src":"6059:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6068:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"6077:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6080:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"6073:3:23"},"nodeType":"YulFunctionCall","src":"6073:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6064:3:23"},"nodeType":"YulFunctionCall","src":"6064:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6059:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"6092:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6105:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"6110:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6101:3:23"},"nodeType":"YulFunctionCall","src":"6101:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"6096:1:23","type":""}]},{"nodeType":"YulAssignment","src":"6121:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"6133:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6144:2:23","type":"","value":"63"},{"name":"f","nodeType":"YulIdentifier","src":"6148:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"6140:3:23"},"nodeType":"YulFunctionCall","src":"6140:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"6130:2:23"},"nodeType":"YulFunctionCall","src":"6130:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"6121:5:23"}]},{"nodeType":"YulAssignment","src":"6160:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"6169:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6172:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6165:3:23"},"nodeType":"YulFunctionCall","src":"6165:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6160:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6121:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6133:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6059:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6077:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6080:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6110:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6160:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6172:1:23","valueSize":1}],"id":3894,"nodeType":"InlineAssembly","src":"6040:142:23"},{"AST":{"nodeType":"YulBlock","src":"6198:133:23","statements":[{"nodeType":"YulAssignment","src":"6208:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6217:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"6226:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6229:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"6222:3:23"},"nodeType":"YulFunctionCall","src":"6222:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6213:3:23"},"nodeType":"YulFunctionCall","src":"6213:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6208:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"6241:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6254:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"6259:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6250:3:23"},"nodeType":"YulFunctionCall","src":"6250:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"6245:1:23","type":""}]},{"nodeType":"YulAssignment","src":"6270:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"6282:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6293:2:23","type":"","value":"62"},{"name":"f","nodeType":"YulIdentifier","src":"6297:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"6289:3:23"},"nodeType":"YulFunctionCall","src":"6289:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"6279:2:23"},"nodeType":"YulFunctionCall","src":"6279:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"6270:5:23"}]},{"nodeType":"YulAssignment","src":"6309:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"6318:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6321:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6314:3:23"},"nodeType":"YulFunctionCall","src":"6314:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6309:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6270:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6282:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6208:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6226:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6229:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6259:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6309:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6321:1:23","valueSize":1}],"id":3895,"nodeType":"InlineAssembly","src":"6189:142:23"},{"AST":{"nodeType":"YulBlock","src":"6347:133:23","statements":[{"nodeType":"YulAssignment","src":"6357:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6366:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"6375:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6378:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"6371:3:23"},"nodeType":"YulFunctionCall","src":"6371:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6362:3:23"},"nodeType":"YulFunctionCall","src":"6362:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6357:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"6390:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6403:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"6408:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6399:3:23"},"nodeType":"YulFunctionCall","src":"6399:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"6394:1:23","type":""}]},{"nodeType":"YulAssignment","src":"6419:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"6431:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6442:2:23","type":"","value":"61"},{"name":"f","nodeType":"YulIdentifier","src":"6446:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"6438:3:23"},"nodeType":"YulFunctionCall","src":"6438:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"6428:2:23"},"nodeType":"YulFunctionCall","src":"6428:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"6419:5:23"}]},{"nodeType":"YulAssignment","src":"6458:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"6467:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6470:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6463:3:23"},"nodeType":"YulFunctionCall","src":"6463:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6458:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6419:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6431:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6357:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6375:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6378:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6408:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6458:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6470:1:23","valueSize":1}],"id":3896,"nodeType":"InlineAssembly","src":"6338:142:23"},{"AST":{"nodeType":"YulBlock","src":"6496:133:23","statements":[{"nodeType":"YulAssignment","src":"6506:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6515:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"6524:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6527:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"6520:3:23"},"nodeType":"YulFunctionCall","src":"6520:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6511:3:23"},"nodeType":"YulFunctionCall","src":"6511:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6506:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"6539:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6552:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"6557:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6548:3:23"},"nodeType":"YulFunctionCall","src":"6548:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"6543:1:23","type":""}]},{"nodeType":"YulAssignment","src":"6568:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"6580:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6591:2:23","type":"","value":"60"},{"name":"f","nodeType":"YulIdentifier","src":"6595:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"6587:3:23"},"nodeType":"YulFunctionCall","src":"6587:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"6577:2:23"},"nodeType":"YulFunctionCall","src":"6577:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"6568:5:23"}]},{"nodeType":"YulAssignment","src":"6607:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"6616:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6619:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6612:3:23"},"nodeType":"YulFunctionCall","src":"6612:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6607:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6568:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6580:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6506:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6524:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6527:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6557:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6607:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6619:1:23","valueSize":1}],"id":3897,"nodeType":"InlineAssembly","src":"6487:142:23"},{"AST":{"nodeType":"YulBlock","src":"6645:133:23","statements":[{"nodeType":"YulAssignment","src":"6655:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6664:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"6673:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6676:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"6669:3:23"},"nodeType":"YulFunctionCall","src":"6669:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6660:3:23"},"nodeType":"YulFunctionCall","src":"6660:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6655:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"6688:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6701:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"6706:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6697:3:23"},"nodeType":"YulFunctionCall","src":"6697:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"6692:1:23","type":""}]},{"nodeType":"YulAssignment","src":"6717:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"6729:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6740:2:23","type":"","value":"59"},{"name":"f","nodeType":"YulIdentifier","src":"6744:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"6736:3:23"},"nodeType":"YulFunctionCall","src":"6736:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"6726:2:23"},"nodeType":"YulFunctionCall","src":"6726:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"6717:5:23"}]},{"nodeType":"YulAssignment","src":"6756:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"6765:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6768:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6761:3:23"},"nodeType":"YulFunctionCall","src":"6761:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6756:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6717:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6729:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6655:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6673:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6676:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6706:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6756:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6768:1:23","valueSize":1}],"id":3898,"nodeType":"InlineAssembly","src":"6636:142:23"},{"AST":{"nodeType":"YulBlock","src":"6794:133:23","statements":[{"nodeType":"YulAssignment","src":"6804:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6813:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"6822:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6825:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"6818:3:23"},"nodeType":"YulFunctionCall","src":"6818:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6809:3:23"},"nodeType":"YulFunctionCall","src":"6809:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6804:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"6837:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6850:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"6855:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6846:3:23"},"nodeType":"YulFunctionCall","src":"6846:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"6841:1:23","type":""}]},{"nodeType":"YulAssignment","src":"6866:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"6878:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6889:2:23","type":"","value":"58"},{"name":"f","nodeType":"YulIdentifier","src":"6893:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"6885:3:23"},"nodeType":"YulFunctionCall","src":"6885:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"6875:2:23"},"nodeType":"YulFunctionCall","src":"6875:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"6866:5:23"}]},{"nodeType":"YulAssignment","src":"6905:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"6914:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6917:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6910:3:23"},"nodeType":"YulFunctionCall","src":"6910:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6905:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6866:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"6878:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6804:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6822:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6825:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6855:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6905:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6917:1:23","valueSize":1}],"id":3899,"nodeType":"InlineAssembly","src":"6785:142:23"},{"AST":{"nodeType":"YulBlock","src":"6943:133:23","statements":[{"nodeType":"YulAssignment","src":"6953:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6962:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"6971:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"6974:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"6967:3:23"},"nodeType":"YulFunctionCall","src":"6967:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6958:3:23"},"nodeType":"YulFunctionCall","src":"6958:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"6953:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"6986:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6999:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"7004:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"6995:3:23"},"nodeType":"YulFunctionCall","src":"6995:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"6990:1:23","type":""}]},{"nodeType":"YulAssignment","src":"7015:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"7027:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7038:2:23","type":"","value":"57"},{"name":"f","nodeType":"YulIdentifier","src":"7042:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7034:3:23"},"nodeType":"YulFunctionCall","src":"7034:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"7024:2:23"},"nodeType":"YulFunctionCall","src":"7024:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"7015:5:23"}]},{"nodeType":"YulAssignment","src":"7054:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"7063:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7066:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7059:3:23"},"nodeType":"YulFunctionCall","src":"7059:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7054:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7015:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7027:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6953:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6971:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"6974:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7004:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7054:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7066:1:23","valueSize":1}],"id":3900,"nodeType":"InlineAssembly","src":"6934:142:23"},{"AST":{"nodeType":"YulBlock","src":"7092:133:23","statements":[{"nodeType":"YulAssignment","src":"7102:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7111:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"7120:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7123:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"7116:3:23"},"nodeType":"YulFunctionCall","src":"7116:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7107:3:23"},"nodeType":"YulFunctionCall","src":"7107:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7102:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"7135:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7148:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"7153:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7144:3:23"},"nodeType":"YulFunctionCall","src":"7144:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"7139:1:23","type":""}]},{"nodeType":"YulAssignment","src":"7164:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"7176:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7187:2:23","type":"","value":"56"},{"name":"f","nodeType":"YulIdentifier","src":"7191:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7183:3:23"},"nodeType":"YulFunctionCall","src":"7183:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"7173:2:23"},"nodeType":"YulFunctionCall","src":"7173:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"7164:5:23"}]},{"nodeType":"YulAssignment","src":"7203:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"7212:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7215:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7208:3:23"},"nodeType":"YulFunctionCall","src":"7208:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7203:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7164:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7176:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7102:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7120:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7123:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7153:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7203:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7215:1:23","valueSize":1}],"id":3901,"nodeType":"InlineAssembly","src":"7083:142:23"},{"AST":{"nodeType":"YulBlock","src":"7241:133:23","statements":[{"nodeType":"YulAssignment","src":"7251:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7260:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"7269:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7272:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"7265:3:23"},"nodeType":"YulFunctionCall","src":"7265:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7256:3:23"},"nodeType":"YulFunctionCall","src":"7256:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7251:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"7284:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7297:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"7302:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7293:3:23"},"nodeType":"YulFunctionCall","src":"7293:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"7288:1:23","type":""}]},{"nodeType":"YulAssignment","src":"7313:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"7325:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7336:2:23","type":"","value":"55"},{"name":"f","nodeType":"YulIdentifier","src":"7340:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7332:3:23"},"nodeType":"YulFunctionCall","src":"7332:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"7322:2:23"},"nodeType":"YulFunctionCall","src":"7322:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"7313:5:23"}]},{"nodeType":"YulAssignment","src":"7352:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"7361:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7364:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7357:3:23"},"nodeType":"YulFunctionCall","src":"7357:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7352:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7313:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7325:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7251:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7269:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7272:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7302:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7352:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7364:1:23","valueSize":1}],"id":3902,"nodeType":"InlineAssembly","src":"7232:142:23"},{"AST":{"nodeType":"YulBlock","src":"7390:133:23","statements":[{"nodeType":"YulAssignment","src":"7400:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7409:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"7418:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7421:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"7414:3:23"},"nodeType":"YulFunctionCall","src":"7414:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7405:3:23"},"nodeType":"YulFunctionCall","src":"7405:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7400:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"7433:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7446:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"7451:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7442:3:23"},"nodeType":"YulFunctionCall","src":"7442:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"7437:1:23","type":""}]},{"nodeType":"YulAssignment","src":"7462:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"7474:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7485:2:23","type":"","value":"54"},{"name":"f","nodeType":"YulIdentifier","src":"7489:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7481:3:23"},"nodeType":"YulFunctionCall","src":"7481:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"7471:2:23"},"nodeType":"YulFunctionCall","src":"7471:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"7462:5:23"}]},{"nodeType":"YulAssignment","src":"7501:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"7510:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7513:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7506:3:23"},"nodeType":"YulFunctionCall","src":"7506:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7501:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7462:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7474:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7400:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7418:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7421:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7451:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7501:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7513:1:23","valueSize":1}],"id":3903,"nodeType":"InlineAssembly","src":"7381:142:23"},{"AST":{"nodeType":"YulBlock","src":"7539:133:23","statements":[{"nodeType":"YulAssignment","src":"7549:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7558:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"7567:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7570:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"7563:3:23"},"nodeType":"YulFunctionCall","src":"7563:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7554:3:23"},"nodeType":"YulFunctionCall","src":"7554:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7549:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"7582:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7595:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"7600:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7591:3:23"},"nodeType":"YulFunctionCall","src":"7591:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"7586:1:23","type":""}]},{"nodeType":"YulAssignment","src":"7611:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"7623:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7634:2:23","type":"","value":"53"},{"name":"f","nodeType":"YulIdentifier","src":"7638:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7630:3:23"},"nodeType":"YulFunctionCall","src":"7630:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"7620:2:23"},"nodeType":"YulFunctionCall","src":"7620:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"7611:5:23"}]},{"nodeType":"YulAssignment","src":"7650:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"7659:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7662:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7655:3:23"},"nodeType":"YulFunctionCall","src":"7655:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7650:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7611:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7623:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7549:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7567:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7570:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7600:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7650:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7662:1:23","valueSize":1}],"id":3904,"nodeType":"InlineAssembly","src":"7530:142:23"},{"AST":{"nodeType":"YulBlock","src":"7688:133:23","statements":[{"nodeType":"YulAssignment","src":"7698:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7707:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"7716:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7719:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"7712:3:23"},"nodeType":"YulFunctionCall","src":"7712:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7703:3:23"},"nodeType":"YulFunctionCall","src":"7703:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7698:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"7731:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7744:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"7749:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7740:3:23"},"nodeType":"YulFunctionCall","src":"7740:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"7735:1:23","type":""}]},{"nodeType":"YulAssignment","src":"7760:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"7772:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7783:2:23","type":"","value":"52"},{"name":"f","nodeType":"YulIdentifier","src":"7787:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7779:3:23"},"nodeType":"YulFunctionCall","src":"7779:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"7769:2:23"},"nodeType":"YulFunctionCall","src":"7769:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"7760:5:23"}]},{"nodeType":"YulAssignment","src":"7799:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"7808:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7811:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7804:3:23"},"nodeType":"YulFunctionCall","src":"7804:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7799:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7760:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7772:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7698:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7716:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7719:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7749:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7799:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7811:1:23","valueSize":1}],"id":3905,"nodeType":"InlineAssembly","src":"7679:142:23"},{"AST":{"nodeType":"YulBlock","src":"7837:133:23","statements":[{"nodeType":"YulAssignment","src":"7847:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7856:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"7865:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7868:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"7861:3:23"},"nodeType":"YulFunctionCall","src":"7861:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7852:3:23"},"nodeType":"YulFunctionCall","src":"7852:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7847:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"7880:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7893:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"7898:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7889:3:23"},"nodeType":"YulFunctionCall","src":"7889:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"7884:1:23","type":""}]},{"nodeType":"YulAssignment","src":"7909:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"7921:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7932:2:23","type":"","value":"51"},{"name":"f","nodeType":"YulIdentifier","src":"7936:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7928:3:23"},"nodeType":"YulFunctionCall","src":"7928:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"7918:2:23"},"nodeType":"YulFunctionCall","src":"7918:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"7909:5:23"}]},{"nodeType":"YulAssignment","src":"7948:14:23","value":{"arguments":[{"name":"f","nodeType":"YulIdentifier","src":"7957:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"7960:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7953:3:23"},"nodeType":"YulFunctionCall","src":"7953:9:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7948:1:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7909:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"7921:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7847:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7865:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7868:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7898:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7948:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7960:1:23","valueSize":1}],"id":3906,"nodeType":"InlineAssembly","src":"7828:142:23"},{"AST":{"nodeType":"YulBlock","src":"7986:110:23","statements":[{"nodeType":"YulAssignment","src":"7996:24:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8005:3:23","type":"","value":"127"},{"arguments":[{"name":"r","nodeType":"YulIdentifier","src":"8014:1:23"},{"name":"r","nodeType":"YulIdentifier","src":"8017:1:23"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"8010:3:23"},"nodeType":"YulFunctionCall","src":"8010:9:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"8001:3:23"},"nodeType":"YulFunctionCall","src":"8001:19:23"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"7996:1:23"}]},{"nodeType":"YulVariableDeclaration","src":"8029:20:23","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8042:3:23","type":"","value":"128"},{"name":"r","nodeType":"YulIdentifier","src":"8047:1:23"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"8038:3:23"},"nodeType":"YulFunctionCall","src":"8038:11:23"},"variables":[{"name":"f","nodeType":"YulTypedName","src":"8033:1:23","type":""}]},{"nodeType":"YulAssignment","src":"8058:30:23","value":{"arguments":[{"name":"log_2","nodeType":"YulIdentifier","src":"8070:5:23"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8081:2:23","type":"","value":"50"},{"name":"f","nodeType":"YulIdentifier","src":"8085:1:23"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"8077:3:23"},"nodeType":"YulFunctionCall","src":"8077:10:23"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"8067:2:23"},"nodeType":"YulFunctionCall","src":"8067:21:23"},"variableNames":[{"name":"log_2","nodeType":"YulIdentifier","src":"8058:5:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3883,"isOffset":false,"isSlot":false,"src":"8058:5:23","valueSize":1},{"declaration":3883,"isOffset":false,"isSlot":false,"src":"8070:5:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"7996:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"8014:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"8017:1:23","valueSize":1},{"declaration":3846,"isOffset":false,"isSlot":false,"src":"8047:1:23","valueSize":1}],"id":3907,"nodeType":"InlineAssembly","src":"7977:119:23"},{"assignments":[3909],"declarations":[{"constant":false,"id":3909,"mutability":"mutable","name":"log_sqrt10001","nameLocation":"8111:13:23","nodeType":"VariableDeclaration","scope":3954,"src":"8104:20:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3908,"name":"int256","nodeType":"ElementaryTypeName","src":"8104:6:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":3913,"initialValue":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3912,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3910,"name":"log_2","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3883,"src":"8127:5:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"323535373338393538393939363033383236333437313431","id":3911,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8135:24:23","typeDescriptions":{"typeIdentifier":"t_rational_255738958999603826347141_by_1","typeString":"int_const 255738958999603826347141"},"value":"255738958999603826347141"},"src":"8127:32:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"8104:55:23"},{"assignments":[3915],"declarations":[{"constant":false,"id":3915,"mutability":"mutable","name":"tickLow","nameLocation":"8192:7:23","nodeType":"VariableDeclaration","scope":3954,"src":"8186:13:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3914,"name":"int24","nodeType":"ElementaryTypeName","src":"8186:5:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":3925,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3923,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3920,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3918,"name":"log_sqrt10001","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3909,"src":"8209:13:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"33343032393932393536383039313332343138353936313430313030363630323437323130","id":3919,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8225:37:23","typeDescriptions":{"typeIdentifier":"t_rational_3402992956809132418596140100660247210_by_1","typeString":"int_const 3402...(29 digits omitted)...7210"},"value":"3402992956809132418596140100660247210"},"src":"8209:53:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":3921,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8208:55:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3922,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8267:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"8208:62:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":3917,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8202:5:23","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":3916,"name":"int24","nodeType":"ElementaryTypeName","src":"8202:5:23","typeDescriptions":{}}},"id":3924,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8202:69:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"8186:85:23"},{"assignments":[3927],"declarations":[{"constant":false,"id":3927,"mutability":"mutable","name":"tickHi","nameLocation":"8285:6:23","nodeType":"VariableDeclaration","scope":3954,"src":"8279:12:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3926,"name":"int24","nodeType":"ElementaryTypeName","src":"8279:5:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":3937,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3935,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3932,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3930,"name":"log_sqrt10001","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3909,"src":"8301:13:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"323931333339343634373731393839363232393037303237363231313533333938303838343935","id":3931,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8317:39:23","typeDescriptions":{"typeIdentifier":"t_rational_291339464771989622907027621153398088495_by_1","typeString":"int_const 2913...(31 digits omitted)...8495"},"value":"291339464771989622907027621153398088495"},"src":"8301:55:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":3933,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8300:57:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"313238","id":3934,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8361:3:23","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"8300:64:23","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":3929,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8294:5:23","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":3928,"name":"int24","nodeType":"ElementaryTypeName","src":"8294:5:23","typeDescriptions":{}}},"id":3936,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8294:71:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"8279:86:23"},{"expression":{"id":3952,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3938,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3821,"src":"8374:4:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":3941,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3939,"name":"tickLow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3915,"src":"8381:7:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":3940,"name":"tickHi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3927,"src":"8392:6:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8381:17:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"condition":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":3947,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3944,"name":"tickHi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3927,"src":"8430:6:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"id":3943,"name":"getSqrtRatioAtTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3815,"src":"8411:18:23","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":3945,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8411:26:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":3946,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3818,"src":"8441:5:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"8411:35:23","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":3949,"name":"tickLow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3915,"src":"8458:7:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":3950,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"8411:54:23","trueExpression":{"id":3948,"name":"tickHi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3927,"src":"8449:6:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":3951,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"8381:84:23","trueExpression":{"id":3942,"name":"tickLow","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3915,"src":"8401:7:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8374:91:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":3953,"nodeType":"ExpressionStatement","src":"8374:91:23"}]}]},"documentation":{"id":3816,"nodeType":"StructuredDocumentation","src":"4213:386:23","text":"@notice Calculates the greatest tick value such that getRatioAtTick(tick) <= ratio\n @dev Throws in case price < MIN_SQRT_RATIO, as MIN_SQRT_RATIO is the lowest value getRatioAtTick may\n ever return.\n @param price The sqrt ratio for which to compute the tick as a Q64.96\n @return tick The greatest tick for which the ratio is less than or equal to the input ratio"},"id":3956,"implemented":true,"kind":"function","modifiers":[],"name":"getTickAtSqrtRatio","nameLocation":"4611:18:23","nodeType":"FunctionDefinition","parameters":{"id":3819,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3818,"mutability":"mutable","name":"price","nameLocation":"4638:5:23","nodeType":"VariableDeclaration","scope":3956,"src":"4630:13:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3817,"name":"uint160","nodeType":"ElementaryTypeName","src":"4630:7:23","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"4629:15:23"},"returnParameters":{"id":3822,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3821,"mutability":"mutable","name":"tick","nameLocation":"4674:4:23","nodeType":"VariableDeclaration","scope":3956,"src":"4668:10:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":3820,"name":"int24","nodeType":"ElementaryTypeName","src":"4668:5:23","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"4667:12:23"},"scope":3957,"src":"4602:3874:23","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":3958,"src":"499:7979:23","usedErrors":[],"usedEvents":[]}],"src":"45:8434:23"},"id":23},"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol","exportedSymbols":{"Constants":[2288],"FullMath":[2495],"SafeCast":[2857],"TokenDeltaMath":[4165]},"id":4166,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":3959,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"37:24:24"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol","file":"./SafeCast.sol","id":3960,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4166,"sourceUnit":2858,"src":"63:24:24","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol","file":"./FullMath.sol","id":3961,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4166,"sourceUnit":2496,"src":"88:24:24","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol","file":"./Constants.sol","id":3962,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4166,"sourceUnit":2289,"src":"113:25:24","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"TokenDeltaMath","contractDependencies":[],"contractKind":"library","documentation":{"id":3963,"nodeType":"StructuredDocumentation","src":"140:167:24","text":"@title Functions based on Q64.96 sqrt price and liquidity\n @notice Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas"},"fullyImplemented":true,"id":4165,"linearizedBaseContracts":[4165],"name":"TokenDeltaMath","nameLocation":"315:14:24","nodeType":"ContractDefinition","nodes":[{"global":false,"id":3966,"libraryName":{"id":3964,"name":"SafeCast","nameLocations":["340:8:24"],"nodeType":"IdentifierPath","referencedDeclaration":2857,"src":"340:8:24"},"nodeType":"UsingForDirective","src":"334:27:24","typeName":{"id":3965,"name":"uint256","nodeType":"ElementaryTypeName","src":"353:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"body":{"id":4026,"nodeType":"Block","src":"961:491:24","statements":[{"id":4025,"nodeType":"UncheckedBlock","src":"967:481:24","statements":[{"assignments":[3981],"declarations":[{"constant":false,"id":3981,"mutability":"mutable","name":"priceDelta","nameLocation":"993:10:24","nodeType":"VariableDeclaration","scope":4025,"src":"985:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3980,"name":"uint256","nodeType":"ElementaryTypeName","src":"985:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3985,"initialValue":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":3984,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3982,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3971,"src":"1006:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":3983,"name":"priceLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3969,"src":"1019:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"1006:23:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"VariableDeclarationStatement","src":"985:44:24"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3989,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3987,"name":"priceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3981,"src":"1045:10:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3988,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3971,"src":"1058:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"1045:23:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":3986,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1037:7:24","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":3990,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1037:32:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":3991,"nodeType":"ExpressionStatement","src":"1037:32:24"},{"assignments":[3993],"declarations":[{"constant":false,"id":3993,"mutability":"mutable","name":"liquidityShifted","nameLocation":"1123:16:24","nodeType":"VariableDeclaration","scope":4025,"src":"1115:24:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3992,"name":"uint256","nodeType":"ElementaryTypeName","src":"1115:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4001,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3996,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3973,"src":"1150:9:24","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":3995,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1142:7:24","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":3994,"name":"uint256","nodeType":"ElementaryTypeName","src":"1142:7:24","typeDescriptions":{}}},"id":3997,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1142:18:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"expression":{"id":3998,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2288,"src":"1164:9:24","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$2288_$","typeString":"type(library Constants)"}},"id":3999,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1174:10:24","memberName":"RESOLUTION","nodeType":"MemberAccess","referencedDeclaration":2239,"src":"1164:20:24","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1142:42:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1115:69:24"},{"expression":{"id":4023,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4002,"name":"token0Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3978,"src":"1193:11:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":4003,"name":"roundUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3975,"src":"1207:7:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4021,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":4016,"name":"priceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3981,"src":"1387:10:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4017,"name":"liquidityShifted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3993,"src":"1399:16:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4018,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3971,"src":"1417:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4014,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2495,"src":"1371:8:24","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$2495_$","typeString":"type(library FullMath)"}},"id":4015,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1380:6:24","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":2413,"src":"1371:15:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":4019,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1371:57:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":4020,"name":"priceLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3969,"src":"1431:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"1371:70:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4022,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1207:234:24","trueExpression":{"arguments":[{"arguments":[{"id":4008,"name":"priceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3981,"src":"1280:10:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4009,"name":"liquidityShifted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3993,"src":"1292:16:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4010,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3971,"src":"1310:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4006,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2495,"src":"1254:8:24","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$2495_$","typeString":"type(library FullMath)"}},"id":4007,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1263:16:24","memberName":"mulDivRoundingUp","nodeType":"MemberAccess","referencedDeclaration":2482,"src":"1254:25:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":4011,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1254:67:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4012,"name":"priceLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3969,"src":"1323:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":4004,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2495,"src":"1225:8:24","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$2495_$","typeString":"type(library FullMath)"}},"id":4005,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1234:19:24","memberName":"unsafeDivRoundingUp","nodeType":"MemberAccess","referencedDeclaration":2494,"src":"1225:28:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":4013,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1225:109:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1193:248:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4024,"nodeType":"ExpressionStatement","src":"1193:248:24"}]}]},"documentation":{"id":3967,"nodeType":"StructuredDocumentation","src":"365:452:24","text":"@notice Gets the token0 delta between two prices\n @dev Calculates liquidity / sqrt(lower) - liquidity / sqrt(upper)\n @param priceLower A Q64.96 sqrt price\n @param priceUpper Another Q64.96 sqrt price\n @param liquidity The amount of usable liquidity\n @param roundUp Whether to round the amount up or down\n @return token0Delta Amount of token0 required to cover a position of size liquidity between the two passed prices"},"id":4027,"implemented":true,"kind":"function","modifiers":[],"name":"getToken0Delta","nameLocation":"829:14:24","nodeType":"FunctionDefinition","parameters":{"id":3976,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3969,"mutability":"mutable","name":"priceLower","nameLocation":"852:10:24","nodeType":"VariableDeclaration","scope":4027,"src":"844:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3968,"name":"uint160","nodeType":"ElementaryTypeName","src":"844:7:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":3971,"mutability":"mutable","name":"priceUpper","nameLocation":"872:10:24","nodeType":"VariableDeclaration","scope":4027,"src":"864:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":3970,"name":"uint160","nodeType":"ElementaryTypeName","src":"864:7:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":3973,"mutability":"mutable","name":"liquidity","nameLocation":"892:9:24","nodeType":"VariableDeclaration","scope":4027,"src":"884:17:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":3972,"name":"uint128","nodeType":"ElementaryTypeName","src":"884:7:24","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":3975,"mutability":"mutable","name":"roundUp","nameLocation":"908:7:24","nodeType":"VariableDeclaration","scope":4027,"src":"903:12:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3974,"name":"bool","nodeType":"ElementaryTypeName","src":"903:4:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"843:73:24"},"returnParameters":{"id":3979,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3978,"mutability":"mutable","name":"token0Delta","nameLocation":"948:11:24","nodeType":"VariableDeclaration","scope":4027,"src":"940:19:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3977,"name":"uint256","nodeType":"ElementaryTypeName","src":"940:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"939:21:24"},"scope":4165,"src":"820:632:24","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4073,"nodeType":"Block","src":"2043:271:24","statements":[{"id":4072,"nodeType":"UncheckedBlock","src":"2049:261:24","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":4044,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4042,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4032,"src":"2075:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":4043,"name":"priceLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4030,"src":"2089:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"2075:24:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4041,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2067:7:24","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":4045,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2067:33:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4046,"nodeType":"ExpressionStatement","src":"2067:33:24"},{"assignments":[4048],"declarations":[{"constant":false,"id":4048,"mutability":"mutable","name":"priceDelta","nameLocation":"2116:10:24","nodeType":"VariableDeclaration","scope":4072,"src":"2108:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4047,"name":"uint256","nodeType":"ElementaryTypeName","src":"2108:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4052,"initialValue":{"commonType":{"typeIdentifier":"t_uint160","typeString":"uint160"},"id":4051,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4049,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4032,"src":"2129:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":4050,"name":"priceLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4030,"src":"2142:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"2129:23:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"VariableDeclarationStatement","src":"2108:44:24"},{"expression":{"id":4070,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4053,"name":"token1Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4039,"src":"2160:11:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"id":4054,"name":"roundUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4036,"src":"2174:7:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":4064,"name":"priceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4048,"src":"2266:10:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4065,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4034,"src":"2278:9:24","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"expression":{"id":4066,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2288,"src":"2289:9:24","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$2288_$","typeString":"type(library Constants)"}},"id":4067,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2299:3:24","memberName":"Q96","nodeType":"MemberAccess","referencedDeclaration":2244,"src":"2289:13:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":4062,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2495,"src":"2250:8:24","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$2495_$","typeString":"type(library FullMath)"}},"id":4063,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2259:6:24","memberName":"mulDiv","nodeType":"MemberAccess","referencedDeclaration":2413,"src":"2250:15:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":4068,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2250:53:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"2174:129:24","trueExpression":{"arguments":[{"id":4057,"name":"priceDelta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4048,"src":"2210:10:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4058,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4034,"src":"2222:9:24","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"expression":{"id":4059,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2288,"src":"2233:9:24","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$2288_$","typeString":"type(library Constants)"}},"id":4060,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2243:3:24","memberName":"Q96","nodeType":"MemberAccess","referencedDeclaration":2244,"src":"2233:13:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":4055,"name":"FullMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2495,"src":"2184:8:24","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FullMath_$2495_$","typeString":"type(library FullMath)"}},"id":4056,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2193:16:24","memberName":"mulDivRoundingUp","nodeType":"MemberAccess","referencedDeclaration":2482,"src":"2184:25:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":4061,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2184:63:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2160:143:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4071,"nodeType":"ExpressionStatement","src":"2160:143:24"}]}]},"documentation":{"id":4028,"nodeType":"StructuredDocumentation","src":"1456:443:24","text":"@notice Gets the token1 delta between two prices\n @dev Calculates liquidity * (sqrt(upper) - sqrt(lower))\n @param priceLower A Q64.96 sqrt price\n @param priceUpper Another Q64.96 sqrt price\n @param liquidity The amount of usable liquidity\n @param roundUp Whether to round the amount up, or down\n @return token1Delta Amount of token1 required to cover a position of size liquidity between the two passed prices"},"id":4074,"implemented":true,"kind":"function","modifiers":[],"name":"getToken1Delta","nameLocation":"1911:14:24","nodeType":"FunctionDefinition","parameters":{"id":4037,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4030,"mutability":"mutable","name":"priceLower","nameLocation":"1934:10:24","nodeType":"VariableDeclaration","scope":4074,"src":"1926:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4029,"name":"uint160","nodeType":"ElementaryTypeName","src":"1926:7:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":4032,"mutability":"mutable","name":"priceUpper","nameLocation":"1954:10:24","nodeType":"VariableDeclaration","scope":4074,"src":"1946:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4031,"name":"uint160","nodeType":"ElementaryTypeName","src":"1946:7:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":4034,"mutability":"mutable","name":"liquidity","nameLocation":"1974:9:24","nodeType":"VariableDeclaration","scope":4074,"src":"1966:17:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":4033,"name":"uint128","nodeType":"ElementaryTypeName","src":"1966:7:24","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":4036,"mutability":"mutable","name":"roundUp","nameLocation":"1990:7:24","nodeType":"VariableDeclaration","scope":4074,"src":"1985:12:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4035,"name":"bool","nodeType":"ElementaryTypeName","src":"1985:4:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1925:73:24"},"returnParameters":{"id":4040,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4039,"mutability":"mutable","name":"token1Delta","nameLocation":"2030:11:24","nodeType":"VariableDeclaration","scope":4074,"src":"2022:19:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4038,"name":"uint256","nodeType":"ElementaryTypeName","src":"2022:7:24","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2021:21:24"},"scope":4165,"src":"1902:412:24","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4118,"nodeType":"Block","src":"2782:238:24","statements":[{"id":4117,"nodeType":"UncheckedBlock","src":"2788:228:24","statements":[{"expression":{"id":4115,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4086,"name":"token0Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4084,"src":"2806:11:24","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":4089,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4087,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4081,"src":"2820:9:24","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"hexValue":"30","id":4088,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2833:1:24","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2820:14:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":4113,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"2931:78:24","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":4102,"name":"priceLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4077,"src":"2947:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":4103,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4079,"src":"2959:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":4107,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"2979:10:24","subExpression":{"id":4106,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4081,"src":"2980:9:24","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":4105,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2971:7:24","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":4104,"name":"uint128","nodeType":"ElementaryTypeName","src":"2971:7:24","typeDescriptions":{}}},"id":4108,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2971:19:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"66616c7365","id":4109,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2992:5:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4101,"name":"getToken0Delta","nodeType":"Identifier","overloadedDeclarations":[4027,4119],"referencedDeclaration":4027,"src":"2932:14:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":4110,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2932:66:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4111,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2999:8:24","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":2856,"src":"2932:75:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":4112,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2932:77:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":4114,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"2820:189:24","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":4091,"name":"priceLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4077,"src":"2860:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":4092,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4079,"src":"2872:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":4095,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4081,"src":"2892:9:24","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":4094,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2884:7:24","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":4093,"name":"uint128","nodeType":"ElementaryTypeName","src":"2884:7:24","typeDescriptions":{}}},"id":4096,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2884:18:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"74727565","id":4097,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2904:4:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4090,"name":"getToken0Delta","nodeType":"Identifier","overloadedDeclarations":[4027,4119],"referencedDeclaration":4027,"src":"2845:14:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":4098,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2845:64:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4099,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2910:8:24","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":2856,"src":"2845:73:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":4100,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2845:75:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"2806:203:24","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":4116,"nodeType":"ExpressionStatement","src":"2806:203:24"}]}]},"documentation":{"id":4075,"nodeType":"StructuredDocumentation","src":"2318:336:24","text":"@notice Helper that gets signed token0 delta\n @param priceLower A Q64.96 sqrt price\n @param priceUpper Another Q64.96 sqrt price\n @param liquidity The change in liquidity for which to compute the token0 delta\n @return token0Delta Amount of token0 corresponding to the passed liquidityDelta between the two prices"},"id":4119,"implemented":true,"kind":"function","modifiers":[],"name":"getToken0Delta","nameLocation":"2666:14:24","nodeType":"FunctionDefinition","parameters":{"id":4082,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4077,"mutability":"mutable","name":"priceLower","nameLocation":"2689:10:24","nodeType":"VariableDeclaration","scope":4119,"src":"2681:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4076,"name":"uint160","nodeType":"ElementaryTypeName","src":"2681:7:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":4079,"mutability":"mutable","name":"priceUpper","nameLocation":"2709:10:24","nodeType":"VariableDeclaration","scope":4119,"src":"2701:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4078,"name":"uint160","nodeType":"ElementaryTypeName","src":"2701:7:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":4081,"mutability":"mutable","name":"liquidity","nameLocation":"2728:9:24","nodeType":"VariableDeclaration","scope":4119,"src":"2721:16:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":4080,"name":"int128","nodeType":"ElementaryTypeName","src":"2721:6:24","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"2680:58:24"},"returnParameters":{"id":4085,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4084,"mutability":"mutable","name":"token0Delta","nameLocation":"2769:11:24","nodeType":"VariableDeclaration","scope":4119,"src":"2762:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4083,"name":"int256","nodeType":"ElementaryTypeName","src":"2762:6:24","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"2761:20:24"},"scope":4165,"src":"2657:363:24","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4163,"nodeType":"Block","src":"3488:238:24","statements":[{"id":4162,"nodeType":"UncheckedBlock","src":"3494:228:24","statements":[{"expression":{"id":4160,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4131,"name":"token1Delta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4129,"src":"3512:11:24","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"commonType":{"typeIdentifier":"t_int128","typeString":"int128"},"id":4134,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4132,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4126,"src":"3526:9:24","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"hexValue":"30","id":4133,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3539:1:24","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3526:14:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":4158,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"3637:78:24","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":4147,"name":"priceLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4122,"src":"3653:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":4148,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4124,"src":"3665:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":4152,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"3685:10:24","subExpression":{"id":4151,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4126,"src":"3686:9:24","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":4150,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3677:7:24","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":4149,"name":"uint128","nodeType":"ElementaryTypeName","src":"3677:7:24","typeDescriptions":{}}},"id":4153,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3677:19:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"66616c7365","id":4154,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3698:5:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4146,"name":"getToken1Delta","nodeType":"Identifier","overloadedDeclarations":[4074,4164],"referencedDeclaration":4074,"src":"3638:14:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":4155,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3638:66:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4156,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3705:8:24","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":2856,"src":"3638:75:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":4157,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3638:77:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":4159,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"3526:189:24","trueExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":4136,"name":"priceLower","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4122,"src":"3566:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":4137,"name":"priceUpper","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4124,"src":"3578:10:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"arguments":[{"id":4140,"name":"liquidity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4126,"src":"3598:9:24","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int128","typeString":"int128"}],"id":4139,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3590:7:24","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":4138,"name":"uint128","nodeType":"ElementaryTypeName","src":"3590:7:24","typeDescriptions":{}}},"id":4141,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3590:18:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},{"hexValue":"74727565","id":4142,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3610:4:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_uint128","typeString":"uint128"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4135,"name":"getToken1Delta","nodeType":"Identifier","overloadedDeclarations":[4074,4164],"referencedDeclaration":4074,"src":"3551:14:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$_t_uint160_$_t_uint128_$_t_bool_$returns$_t_uint256_$","typeString":"function (uint160,uint160,uint128,bool) pure returns (uint256)"}},"id":4143,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3551:64:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4144,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3616:8:24","memberName":"toInt256","nodeType":"MemberAccess","referencedDeclaration":2856,"src":"3551:73:24","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_int256_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (int256)"}},"id":4145,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3551:75:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"3512:203:24","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":4161,"nodeType":"ExpressionStatement","src":"3512:203:24"}]}]},"documentation":{"id":4120,"nodeType":"StructuredDocumentation","src":"3024:336:24","text":"@notice Helper that gets signed token1 delta\n @param priceLower A Q64.96 sqrt price\n @param priceUpper Another Q64.96 sqrt price\n @param liquidity The change in liquidity for which to compute the token1 delta\n @return token1Delta Amount of token1 corresponding to the passed liquidityDelta between the two prices"},"id":4164,"implemented":true,"kind":"function","modifiers":[],"name":"getToken1Delta","nameLocation":"3372:14:24","nodeType":"FunctionDefinition","parameters":{"id":4127,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4122,"mutability":"mutable","name":"priceLower","nameLocation":"3395:10:24","nodeType":"VariableDeclaration","scope":4164,"src":"3387:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4121,"name":"uint160","nodeType":"ElementaryTypeName","src":"3387:7:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":4124,"mutability":"mutable","name":"priceUpper","nameLocation":"3415:10:24","nodeType":"VariableDeclaration","scope":4164,"src":"3407:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":4123,"name":"uint160","nodeType":"ElementaryTypeName","src":"3407:7:24","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":4126,"mutability":"mutable","name":"liquidity","nameLocation":"3434:9:24","nodeType":"VariableDeclaration","scope":4164,"src":"3427:16:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":4125,"name":"int128","nodeType":"ElementaryTypeName","src":"3427:6:24","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"3386:58:24"},"returnParameters":{"id":4130,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4129,"mutability":"mutable","name":"token1Delta","nameLocation":"3475:11:24","nodeType":"VariableDeclaration","scope":4164,"src":"3468:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":4128,"name":"int256","nodeType":"ElementaryTypeName","src":"3468:6:24","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"3467:20:24"},"scope":4165,"src":"3363:363:24","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":4166,"src":"307:3421:24","usedErrors":[],"usedEvents":[]}],"src":"37:3692:24"},"id":24},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","exportedSymbols":{"AddressUpgradeable":[4664],"Initializable":[4334]},"id":4335,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4167,"literals":["solidity","^","0.8",".2"],"nodeType":"PragmaDirective","src":"113:23:25"},{"absolutePath":"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol","file":"../../utils/AddressUpgradeable.sol","id":4168,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4335,"sourceUnit":4665,"src":"138:44:25","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[],"canonicalName":"Initializable","contractDependencies":[],"contractKind":"contract","documentation":{"id":4169,"nodeType":"StructuredDocumentation","src":"184:2209:25","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 ```solidity\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":4334,"linearizedBaseContracts":[4334],"name":"Initializable","nameLocation":"2412:13:25","nodeType":"ContractDefinition","nodes":[{"constant":false,"documentation":{"id":4170,"nodeType":"StructuredDocumentation","src":"2432:109:25","text":" @dev Indicates that the contract has been initialized.\n @custom:oz-retyped-from bool"},"id":4172,"mutability":"mutable","name":"_initialized","nameLocation":"2560:12:25","nodeType":"VariableDeclaration","scope":4334,"src":"2546:26:25","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4171,"name":"uint8","nodeType":"ElementaryTypeName","src":"2546:5:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"private"},{"constant":false,"documentation":{"id":4173,"nodeType":"StructuredDocumentation","src":"2579:91:25","text":" @dev Indicates that the contract is in the process of being initialized."},"id":4175,"mutability":"mutable","name":"_initializing","nameLocation":"2688:13:25","nodeType":"VariableDeclaration","scope":4334,"src":"2675:26:25","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4174,"name":"bool","nodeType":"ElementaryTypeName","src":"2675:4:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"private"},{"anonymous":false,"documentation":{"id":4176,"nodeType":"StructuredDocumentation","src":"2708:90:25","text":" @dev Triggered when the contract has been initialized or reinitialized."},"eventSelector":"7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498","id":4180,"name":"Initialized","nameLocation":"2809:11:25","nodeType":"EventDefinition","parameters":{"id":4179,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4178,"indexed":false,"mutability":"mutable","name":"version","nameLocation":"2827:7:25","nodeType":"VariableDeclaration","scope":4180,"src":"2821:13:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4177,"name":"uint8","nodeType":"ElementaryTypeName","src":"2821:5:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"2820:15:25"},"src":"2803:33:25"},{"body":{"id":4235,"nodeType":"Block","src":"3269:483:25","statements":[{"assignments":[4184],"declarations":[{"constant":false,"id":4184,"mutability":"mutable","name":"isTopLevelCall","nameLocation":"3284:14:25","nodeType":"VariableDeclaration","scope":4235,"src":"3279:19:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4183,"name":"bool","nodeType":"ElementaryTypeName","src":"3279:4:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":4187,"initialValue":{"id":4186,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3301:14:25","subExpression":{"id":4185,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4175,"src":"3302:13:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"3279:36:25"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4193,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4189,"name":"isTopLevelCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4184,"src":"3347:14:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4192,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4190,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"3365:12:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"31","id":4191,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3380:1:25","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3365:16:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3347:34:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":4194,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3346:36:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4206,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3387:45:25","subExpression":{"arguments":[{"arguments":[{"id":4199,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3426:4:25","typeDescriptions":{"typeIdentifier":"t_contract$_Initializable_$4334","typeString":"contract Initializable"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Initializable_$4334","typeString":"contract Initializable"}],"id":4198,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3418:7:25","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4197,"name":"address","nodeType":"ElementaryTypeName","src":"3418:7:25","typeDescriptions":{}}},"id":4200,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3418:13:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":4195,"name":"AddressUpgradeable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4664,"src":"3388:18:25","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_AddressUpgradeable_$4664_$","typeString":"type(library AddressUpgradeable)"}},"id":4196,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3407:10:25","memberName":"isContract","nodeType":"MemberAccess","referencedDeclaration":4352,"src":"3388:29:25","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":4201,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3388:44:25","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":4205,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4203,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"3436:12:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"31","id":4204,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3452:1:25","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3436:17:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3387:66:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":4207,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3386:68:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3346:108:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564","id":4209,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3468:48:25","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":4188,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"3325:7:25","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4210,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3325:201:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4211,"nodeType":"ExpressionStatement","src":"3325:201:25"},{"expression":{"id":4214,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4212,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"3536:12:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"31","id":4213,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3551:1:25","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3536:16:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":4215,"nodeType":"ExpressionStatement","src":"3536:16:25"},{"condition":{"id":4216,"name":"isTopLevelCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4184,"src":"3566:14:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4222,"nodeType":"IfStatement","src":"3562:65:25","trueBody":{"id":4221,"nodeType":"Block","src":"3582:45:25","statements":[{"expression":{"id":4219,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4217,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4175,"src":"3596:13:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":4218,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3612:4:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"3596:20:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4220,"nodeType":"ExpressionStatement","src":"3596:20:25"}]}},{"id":4223,"nodeType":"PlaceholderStatement","src":"3636:1:25"},{"condition":{"id":4224,"name":"isTopLevelCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4184,"src":"3651:14:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4234,"nodeType":"IfStatement","src":"3647:99:25","trueBody":{"id":4233,"nodeType":"Block","src":"3667:79:25","statements":[{"expression":{"id":4227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4225,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4175,"src":"3681:13:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":4226,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3697:5:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"3681:21:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4228,"nodeType":"ExpressionStatement","src":"3681:21:25"},{"eventCall":{"arguments":[{"hexValue":"31","id":4230,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3733:1:25","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":4229,"name":"Initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4180,"src":"3721:11:25","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":4231,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3721:14:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4232,"nodeType":"EmitStatement","src":"3716:19:25"}]}}]},"documentation":{"id":4181,"nodeType":"StructuredDocumentation","src":"2842:399:25","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.\n Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\n constructor.\n Emits an {Initialized} event."},"id":4236,"name":"initializer","nameLocation":"3255:11:25","nodeType":"ModifierDefinition","parameters":{"id":4182,"nodeType":"ParameterList","parameters":[],"src":"3266:2:25"},"src":"3246:506:25","virtual":false,"visibility":"internal"},{"body":{"id":4268,"nodeType":"Block","src":"4863:255:25","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4247,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4243,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"4881:14:25","subExpression":{"id":4242,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4175,"src":"4882:13:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4246,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4244,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"4899:12:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":4245,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4239,"src":"4914:7:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4899:22:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4881:40:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564","id":4248,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4923:48:25","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":4241,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"4873:7:25","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4249,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4873:99:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4250,"nodeType":"ExpressionStatement","src":"4873:99:25"},{"expression":{"id":4253,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4251,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"4982:12:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":4252,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4239,"src":"4997:7:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4982:22:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":4254,"nodeType":"ExpressionStatement","src":"4982:22:25"},{"expression":{"id":4257,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4255,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4175,"src":"5014:13:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":4256,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5030:4:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"5014:20:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4258,"nodeType":"ExpressionStatement","src":"5014:20:25"},{"id":4259,"nodeType":"PlaceholderStatement","src":"5044:1:25"},{"expression":{"id":4262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4260,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4175,"src":"5055:13:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":4261,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5071:5:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"5055:21:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4263,"nodeType":"ExpressionStatement","src":"5055:21:25"},{"eventCall":{"arguments":[{"id":4265,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4239,"src":"5103:7:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":4264,"name":"Initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4180,"src":"5091:11:25","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":4266,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5091:20:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4267,"nodeType":"EmitStatement","src":"5086:25:25"}]},"documentation":{"id":4237,"nodeType":"StructuredDocumentation","src":"3758:1062:25","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 A reinitializer may be used after the original initialization step. This is essential to configure modules that\n are added through upgrades and that require initialization.\n When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n cannot be nested. If one is invoked in the context of another, execution will revert.\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 WARNING: setting the version to 255 will prevent any future reinitialization.\n Emits an {Initialized} event."},"id":4269,"name":"reinitializer","nameLocation":"4834:13:25","nodeType":"ModifierDefinition","parameters":{"id":4240,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4239,"mutability":"mutable","name":"version","nameLocation":"4854:7:25","nodeType":"VariableDeclaration","scope":4269,"src":"4848:13:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4238,"name":"uint8","nodeType":"ElementaryTypeName","src":"4848:5:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"4847:15:25"},"src":"4825:293:25","virtual":false,"visibility":"internal"},{"body":{"id":4278,"nodeType":"Block","src":"5356:97:25","statements":[{"expression":{"arguments":[{"id":4273,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4175,"src":"5374:13:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e7472616374206973206e6f7420696e697469616c697a696e67","id":4274,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5389:45:25","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":4272,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5366:7:25","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4275,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5366:69:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4276,"nodeType":"ExpressionStatement","src":"5366:69:25"},{"id":4277,"nodeType":"PlaceholderStatement","src":"5445:1:25"}]},"documentation":{"id":4270,"nodeType":"StructuredDocumentation","src":"5124:199:25","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":4279,"name":"onlyInitializing","nameLocation":"5337:16:25","nodeType":"ModifierDefinition","parameters":{"id":4271,"nodeType":"ParameterList","parameters":[],"src":"5353:2:25"},"src":"5328:125:25","virtual":false,"visibility":"internal"},{"body":{"id":4314,"nodeType":"Block","src":"5988:231:25","statements":[{"expression":{"arguments":[{"id":4285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"6006:14:25","subExpression":{"id":4284,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4175,"src":"6007:13:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320696e697469616c697a696e67","id":4286,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6022:41:25","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":4283,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5998:7:25","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4287,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5998:66:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4288,"nodeType":"ExpressionStatement","src":"5998:66:25"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4295,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4289,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"6078:12:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"arguments":[{"id":4292,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6099:5:25","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":4291,"name":"uint8","nodeType":"ElementaryTypeName","src":"6099:5:25","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":4290,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6094:4:25","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4293,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6094:11:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":4294,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6106:3:25","memberName":"max","nodeType":"MemberAccess","src":"6094:15:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6078:31:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4313,"nodeType":"IfStatement","src":"6074:139:25","trueBody":{"id":4312,"nodeType":"Block","src":"6111:102:25","statements":[{"expression":{"id":4302,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4296,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"6125:12:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"arguments":[{"id":4299,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6145:5:25","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":4298,"name":"uint8","nodeType":"ElementaryTypeName","src":"6145:5:25","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":4297,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6140:4:25","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4300,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6140:11:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":4301,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6152:3:25","memberName":"max","nodeType":"MemberAccess","src":"6140:15:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6125:30:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":4303,"nodeType":"ExpressionStatement","src":"6125:30:25"},{"eventCall":{"arguments":[{"expression":{"arguments":[{"id":4307,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6191:5:25","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":4306,"name":"uint8","nodeType":"ElementaryTypeName","src":"6191:5:25","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":4305,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6186:4:25","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6186:11:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":4309,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6198:3:25","memberName":"max","nodeType":"MemberAccess","src":"6186:15:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":4304,"name":"Initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4180,"src":"6174:11:25","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":4310,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6174:28:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4311,"nodeType":"EmitStatement","src":"6169:33:25"}]}}]},"documentation":{"id":4280,"nodeType":"StructuredDocumentation","src":"5459:475:25","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.\n Emits an {Initialized} event the first time it is successfully executed."},"id":4315,"implemented":true,"kind":"function","modifiers":[],"name":"_disableInitializers","nameLocation":"5948:20:25","nodeType":"FunctionDefinition","parameters":{"id":4281,"nodeType":"ParameterList","parameters":[],"src":"5968:2:25"},"returnParameters":{"id":4282,"nodeType":"ParameterList","parameters":[],"src":"5988:0:25"},"scope":4334,"src":"5939:280:25","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":4323,"nodeType":"Block","src":"6393:36:25","statements":[{"expression":{"id":4321,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"6410:12:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":4320,"id":4322,"nodeType":"Return","src":"6403:19:25"}]},"documentation":{"id":4316,"nodeType":"StructuredDocumentation","src":"6225:99:25","text":" @dev Returns the highest version that has been initialized. See {reinitializer}."},"id":4324,"implemented":true,"kind":"function","modifiers":[],"name":"_getInitializedVersion","nameLocation":"6338:22:25","nodeType":"FunctionDefinition","parameters":{"id":4317,"nodeType":"ParameterList","parameters":[],"src":"6360:2:25"},"returnParameters":{"id":4320,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4319,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4324,"src":"6386:5:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4318,"name":"uint8","nodeType":"ElementaryTypeName","src":"6386:5:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"6385:7:25"},"scope":4334,"src":"6329:100:25","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4332,"nodeType":"Block","src":"6601:37:25","statements":[{"expression":{"id":4330,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4175,"src":"6618:13:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":4329,"id":4331,"nodeType":"Return","src":"6611:20:25"}]},"documentation":{"id":4325,"nodeType":"StructuredDocumentation","src":"6435:105:25","text":" @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}."},"id":4333,"implemented":true,"kind":"function","modifiers":[],"name":"_isInitializing","nameLocation":"6554:15:25","nodeType":"FunctionDefinition","parameters":{"id":4326,"nodeType":"ParameterList","parameters":[],"src":"6569:2:25"},"returnParameters":{"id":4329,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4328,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4333,"src":"6595:4:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4327,"name":"bool","nodeType":"ElementaryTypeName","src":"6595:4:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6594:6:25"},"scope":4334,"src":"6545:93:25","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":4335,"src":"2394:4246:25","usedErrors":[],"usedEvents":[4180]}],"src":"113:6528:25"},"id":25},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol","exportedSymbols":{"AddressUpgradeable":[4664]},"id":4665,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4336,"literals":["solidity","^","0.8",".1"],"nodeType":"PragmaDirective","src":"101:23:26"},{"abstract":false,"baseContracts":[],"canonicalName":"AddressUpgradeable","contractDependencies":[],"contractKind":"library","documentation":{"id":4337,"nodeType":"StructuredDocumentation","src":"126:67:26","text":" @dev Collection of functions related to the address type"},"fullyImplemented":true,"id":4664,"linearizedBaseContracts":[4664],"name":"AddressUpgradeable","nameLocation":"202:18:26","nodeType":"ContractDefinition","nodes":[{"body":{"id":4351,"nodeType":"Block","src":"1489:254:26","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4349,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":4345,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4340,"src":"1713:7:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4346,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1721:4:26","memberName":"code","nodeType":"MemberAccess","src":"1713:12:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4347,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1726:6:26","memberName":"length","nodeType":"MemberAccess","src":"1713:19:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":4348,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1735:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1713:23:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":4344,"id":4350,"nodeType":"Return","src":"1706:30:26"}]},"documentation":{"id":4338,"nodeType":"StructuredDocumentation","src":"227:1191:26","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 Furthermore, `isContract` will also return true if the target contract within\n the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n which only has an effect at the end of a transaction.\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":4352,"implemented":true,"kind":"function","modifiers":[],"name":"isContract","nameLocation":"1432:10:26","nodeType":"FunctionDefinition","parameters":{"id":4341,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4340,"mutability":"mutable","name":"account","nameLocation":"1451:7:26","nodeType":"VariableDeclaration","scope":4352,"src":"1443:15:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4339,"name":"address","nodeType":"ElementaryTypeName","src":"1443:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1442:17:26"},"returnParameters":{"id":4344,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4343,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4352,"src":"1483:4:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4342,"name":"bool","nodeType":"ElementaryTypeName","src":"1483:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1482:6:26"},"scope":4664,"src":"1423:320:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4385,"nodeType":"Block","src":"2729:241:26","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4367,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":4363,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2755:4:26","typeDescriptions":{"typeIdentifier":"t_contract$_AddressUpgradeable_$4664","typeString":"library AddressUpgradeable"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_AddressUpgradeable_$4664","typeString":"library AddressUpgradeable"}],"id":4362,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2747:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4361,"name":"address","nodeType":"ElementaryTypeName","src":"2747:7:26","typeDescriptions":{}}},"id":4364,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2747:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4365,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2761:7:26","memberName":"balance","nodeType":"MemberAccess","src":"2747:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":4366,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4357,"src":"2772:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2747:31:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e6365","id":4368,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2780:31:26","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":4360,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2739:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4369,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2739:73:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4370,"nodeType":"ExpressionStatement","src":"2739:73:26"},{"assignments":[4372,null],"declarations":[{"constant":false,"id":4372,"mutability":"mutable","name":"success","nameLocation":"2829:7:26","nodeType":"VariableDeclaration","scope":4385,"src":"2824:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4371,"name":"bool","nodeType":"ElementaryTypeName","src":"2824:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},null],"id":4379,"initialValue":{"arguments":[{"hexValue":"","id":4377,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2872:2:26","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":4373,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"2842:9:26","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":4374,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2852:4:26","memberName":"call","nodeType":"MemberAccess","src":"2842:14:26","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":4376,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":4375,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4357,"src":"2864:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"2842:29:26","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":4378,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2842:33:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"2823:52:26"},{"expression":{"arguments":[{"id":4381,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4372,"src":"2893:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564","id":4382,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2902:60:26","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":4380,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2885:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4383,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2885:78:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4384,"nodeType":"ExpressionStatement","src":"2885:78:26"}]},"documentation":{"id":4353,"nodeType":"StructuredDocumentation","src":"1749:904:26","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://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]."},"id":4386,"implemented":true,"kind":"function","modifiers":[],"name":"sendValue","nameLocation":"2667:9:26","nodeType":"FunctionDefinition","parameters":{"id":4358,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4355,"mutability":"mutable","name":"recipient","nameLocation":"2693:9:26","nodeType":"VariableDeclaration","scope":4386,"src":"2677:25:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"},"typeName":{"id":4354,"name":"address","nodeType":"ElementaryTypeName","src":"2677:15:26","stateMutability":"payable","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"visibility":"internal"},{"constant":false,"id":4357,"mutability":"mutable","name":"amount","nameLocation":"2712:6:26","nodeType":"VariableDeclaration","scope":4386,"src":"2704:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4356,"name":"uint256","nodeType":"ElementaryTypeName","src":"2704:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2676:43:26"},"returnParameters":{"id":4359,"nodeType":"ParameterList","parameters":[],"src":"2729:0:26"},"scope":4664,"src":"2658:312:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4403,"nodeType":"Block","src":"3801:96:26","statements":[{"expression":{"arguments":[{"id":4397,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4389,"src":"3840:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4398,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4391,"src":"3848:4:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":4399,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3854:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564","id":4400,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3857:32:26","typeDescriptions":{"typeIdentifier":"t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df","typeString":"literal_string \"Address: low-level call failed\""},"value":"Address: low-level call failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df","typeString":"literal_string \"Address: low-level call failed\""}],"id":4396,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[4444,4488],"referencedDeclaration":4488,"src":"3818:21:26","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":4401,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3818:72:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4395,"id":4402,"nodeType":"Return","src":"3811:79:26"}]},"documentation":{"id":4387,"nodeType":"StructuredDocumentation","src":"2976:731:26","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":4404,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"3721:12:26","nodeType":"FunctionDefinition","parameters":{"id":4392,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4389,"mutability":"mutable","name":"target","nameLocation":"3742:6:26","nodeType":"VariableDeclaration","scope":4404,"src":"3734:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4388,"name":"address","nodeType":"ElementaryTypeName","src":"3734:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4391,"mutability":"mutable","name":"data","nameLocation":"3763:4:26","nodeType":"VariableDeclaration","scope":4404,"src":"3750:17:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4390,"name":"bytes","nodeType":"ElementaryTypeName","src":"3750:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3733:35:26"},"returnParameters":{"id":4395,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4394,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4404,"src":"3787:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4393,"name":"bytes","nodeType":"ElementaryTypeName","src":"3787:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3786:14:26"},"scope":4664,"src":"3712:185:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4423,"nodeType":"Block","src":"4266:76:26","statements":[{"expression":{"arguments":[{"id":4417,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4407,"src":"4305:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4418,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4409,"src":"4313:4:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":4419,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4319:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":4420,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4411,"src":"4322:12:26","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":4416,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[4444,4488],"referencedDeclaration":4488,"src":"4283:21:26","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":4421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4283:52:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4415,"id":4422,"nodeType":"Return","src":"4276:59:26"}]},"documentation":{"id":4405,"nodeType":"StructuredDocumentation","src":"3903:211:26","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":4424,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"4128:12:26","nodeType":"FunctionDefinition","parameters":{"id":4412,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4407,"mutability":"mutable","name":"target","nameLocation":"4158:6:26","nodeType":"VariableDeclaration","scope":4424,"src":"4150:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4406,"name":"address","nodeType":"ElementaryTypeName","src":"4150:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4409,"mutability":"mutable","name":"data","nameLocation":"4187:4:26","nodeType":"VariableDeclaration","scope":4424,"src":"4174:17:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4408,"name":"bytes","nodeType":"ElementaryTypeName","src":"4174:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4411,"mutability":"mutable","name":"errorMessage","nameLocation":"4215:12:26","nodeType":"VariableDeclaration","scope":4424,"src":"4201:26:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4410,"name":"string","nodeType":"ElementaryTypeName","src":"4201:6:26","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"4140:93:26"},"returnParameters":{"id":4415,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4414,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4424,"src":"4252:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4413,"name":"bytes","nodeType":"ElementaryTypeName","src":"4252:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4251:14:26"},"scope":4664,"src":"4119:223:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4443,"nodeType":"Block","src":"4817:111:26","statements":[{"expression":{"arguments":[{"id":4437,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4427,"src":"4856:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4438,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4429,"src":"4864:4:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4439,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4431,"src":"4870:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564","id":4440,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4877:43:26","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":4436,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[4444,4488],"referencedDeclaration":4488,"src":"4834:21:26","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":4441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4834:87:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4435,"id":4442,"nodeType":"Return","src":"4827:94:26"}]},"documentation":{"id":4425,"nodeType":"StructuredDocumentation","src":"4348:351:26","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":4444,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"4713:21:26","nodeType":"FunctionDefinition","parameters":{"id":4432,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4427,"mutability":"mutable","name":"target","nameLocation":"4743:6:26","nodeType":"VariableDeclaration","scope":4444,"src":"4735:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4426,"name":"address","nodeType":"ElementaryTypeName","src":"4735:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4429,"mutability":"mutable","name":"data","nameLocation":"4764:4:26","nodeType":"VariableDeclaration","scope":4444,"src":"4751:17:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4428,"name":"bytes","nodeType":"ElementaryTypeName","src":"4751:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4431,"mutability":"mutable","name":"value","nameLocation":"4778:5:26","nodeType":"VariableDeclaration","scope":4444,"src":"4770:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4430,"name":"uint256","nodeType":"ElementaryTypeName","src":"4770:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4734:50:26"},"returnParameters":{"id":4435,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4434,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4444,"src":"4803:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4433,"name":"bytes","nodeType":"ElementaryTypeName","src":"4803:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4802:14:26"},"scope":4664,"src":"4704:224:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4487,"nodeType":"Block","src":"5355:267:26","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4465,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":4461,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"5381:4:26","typeDescriptions":{"typeIdentifier":"t_contract$_AddressUpgradeable_$4664","typeString":"library AddressUpgradeable"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_AddressUpgradeable_$4664","typeString":"library AddressUpgradeable"}],"id":4460,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5373:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4459,"name":"address","nodeType":"ElementaryTypeName","src":"5373:7:26","typeDescriptions":{}}},"id":4462,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5373:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5387:7:26","memberName":"balance","nodeType":"MemberAccess","src":"5373:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":4464,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"5398:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5373:30:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c","id":4466,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5405:40:26","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":4458,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5365:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4467,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5365:81:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4468,"nodeType":"ExpressionStatement","src":"5365:81:26"},{"assignments":[4470,4472],"declarations":[{"constant":false,"id":4470,"mutability":"mutable","name":"success","nameLocation":"5462:7:26","nodeType":"VariableDeclaration","scope":4487,"src":"5457:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4469,"name":"bool","nodeType":"ElementaryTypeName","src":"5457:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4472,"mutability":"mutable","name":"returndata","nameLocation":"5484:10:26","nodeType":"VariableDeclaration","scope":4487,"src":"5471:23:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4471,"name":"bytes","nodeType":"ElementaryTypeName","src":"5471:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":4479,"initialValue":{"arguments":[{"id":4477,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4449,"src":"5524:4:26","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":4473,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4447,"src":"5498:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4474,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5505:4:26","memberName":"call","nodeType":"MemberAccess","src":"5498:11:26","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":4476,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":4475,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4451,"src":"5517:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"5498:25:26","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":4478,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5498:31:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"5456:73:26"},{"expression":{"arguments":[{"id":4481,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4447,"src":"5573:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4482,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4470,"src":"5581:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":4483,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4472,"src":"5590:10:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4484,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4453,"src":"5602:12:26","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4480,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4619,"src":"5546:26:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory,string memory) view returns (bytes memory)"}},"id":4485,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5546:69:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4457,"id":4486,"nodeType":"Return","src":"5539:76:26"}]},"documentation":{"id":4445,"nodeType":"StructuredDocumentation","src":"4934:237:26","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":4488,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"5185:21:26","nodeType":"FunctionDefinition","parameters":{"id":4454,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4447,"mutability":"mutable","name":"target","nameLocation":"5224:6:26","nodeType":"VariableDeclaration","scope":4488,"src":"5216:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4446,"name":"address","nodeType":"ElementaryTypeName","src":"5216:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4449,"mutability":"mutable","name":"data","nameLocation":"5253:4:26","nodeType":"VariableDeclaration","scope":4488,"src":"5240:17:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4448,"name":"bytes","nodeType":"ElementaryTypeName","src":"5240:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4451,"mutability":"mutable","name":"value","nameLocation":"5275:5:26","nodeType":"VariableDeclaration","scope":4488,"src":"5267:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4450,"name":"uint256","nodeType":"ElementaryTypeName","src":"5267:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4453,"mutability":"mutable","name":"errorMessage","nameLocation":"5304:12:26","nodeType":"VariableDeclaration","scope":4488,"src":"5290:26:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4452,"name":"string","nodeType":"ElementaryTypeName","src":"5290:6:26","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"5206:116:26"},"returnParameters":{"id":4457,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4456,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4488,"src":"5341:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4455,"name":"bytes","nodeType":"ElementaryTypeName","src":"5341:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5340:14:26"},"scope":4664,"src":"5176:446:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4504,"nodeType":"Block","src":"5899:97:26","statements":[{"expression":{"arguments":[{"id":4499,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4491,"src":"5935:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4500,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4493,"src":"5943:4:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564","id":4501,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5949:39:26","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":4498,"name":"functionStaticCall","nodeType":"Identifier","overloadedDeclarations":[4505,4534],"referencedDeclaration":4534,"src":"5916:18:26","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":4502,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5916:73:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4497,"id":4503,"nodeType":"Return","src":"5909:80:26"}]},"documentation":{"id":4489,"nodeType":"StructuredDocumentation","src":"5628:166:26","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":4505,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"5808:18:26","nodeType":"FunctionDefinition","parameters":{"id":4494,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4491,"mutability":"mutable","name":"target","nameLocation":"5835:6:26","nodeType":"VariableDeclaration","scope":4505,"src":"5827:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4490,"name":"address","nodeType":"ElementaryTypeName","src":"5827:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4493,"mutability":"mutable","name":"data","nameLocation":"5856:4:26","nodeType":"VariableDeclaration","scope":4505,"src":"5843:17:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4492,"name":"bytes","nodeType":"ElementaryTypeName","src":"5843:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5826:35:26"},"returnParameters":{"id":4497,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4496,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4505,"src":"5885:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4495,"name":"bytes","nodeType":"ElementaryTypeName","src":"5885:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5884:14:26"},"scope":4664,"src":"5799:197:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4533,"nodeType":"Block","src":"6338:168:26","statements":[{"assignments":[4518,4520],"declarations":[{"constant":false,"id":4518,"mutability":"mutable","name":"success","nameLocation":"6354:7:26","nodeType":"VariableDeclaration","scope":4533,"src":"6349:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4517,"name":"bool","nodeType":"ElementaryTypeName","src":"6349:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4520,"mutability":"mutable","name":"returndata","nameLocation":"6376:10:26","nodeType":"VariableDeclaration","scope":4533,"src":"6363:23:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4519,"name":"bytes","nodeType":"ElementaryTypeName","src":"6363:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":4525,"initialValue":{"arguments":[{"id":4523,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4510,"src":"6408:4:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":4521,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4508,"src":"6390:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6397:10:26","memberName":"staticcall","nodeType":"MemberAccess","src":"6390:17:26","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":4524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6390:23:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"6348:65:26"},{"expression":{"arguments":[{"id":4527,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4508,"src":"6457:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4528,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4518,"src":"6465:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":4529,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4520,"src":"6474:10:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4530,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4512,"src":"6486:12:26","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4526,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4619,"src":"6430:26:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory,string memory) view returns (bytes memory)"}},"id":4531,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6430:69:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4516,"id":4532,"nodeType":"Return","src":"6423:76:26"}]},"documentation":{"id":4506,"nodeType":"StructuredDocumentation","src":"6002:173:26","text":" @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":4534,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"6189:18:26","nodeType":"FunctionDefinition","parameters":{"id":4513,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4508,"mutability":"mutable","name":"target","nameLocation":"6225:6:26","nodeType":"VariableDeclaration","scope":4534,"src":"6217:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4507,"name":"address","nodeType":"ElementaryTypeName","src":"6217:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4510,"mutability":"mutable","name":"data","nameLocation":"6254:4:26","nodeType":"VariableDeclaration","scope":4534,"src":"6241:17:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4509,"name":"bytes","nodeType":"ElementaryTypeName","src":"6241:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4512,"mutability":"mutable","name":"errorMessage","nameLocation":"6282:12:26","nodeType":"VariableDeclaration","scope":4534,"src":"6268:26:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4511,"name":"string","nodeType":"ElementaryTypeName","src":"6268:6:26","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"6207:93:26"},"returnParameters":{"id":4516,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4515,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4534,"src":"6324:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4514,"name":"bytes","nodeType":"ElementaryTypeName","src":"6324:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6323:14:26"},"scope":4664,"src":"6180:326:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4550,"nodeType":"Block","src":"6782:101:26","statements":[{"expression":{"arguments":[{"id":4545,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4537,"src":"6820:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4546,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4539,"src":"6828:4:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564","id":4547,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6834:41:26","typeDescriptions":{"typeIdentifier":"t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398","typeString":"literal_string \"Address: low-level delegate call failed\""},"value":"Address: low-level delegate call failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398","typeString":"literal_string \"Address: low-level delegate call failed\""}],"id":4544,"name":"functionDelegateCall","nodeType":"Identifier","overloadedDeclarations":[4551,4580],"referencedDeclaration":4580,"src":"6799:20:26","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":4548,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6799:77:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4543,"id":4549,"nodeType":"Return","src":"6792:84:26"}]},"documentation":{"id":4535,"nodeType":"StructuredDocumentation","src":"6512:168:26","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"},"id":4551,"implemented":true,"kind":"function","modifiers":[],"name":"functionDelegateCall","nameLocation":"6694:20:26","nodeType":"FunctionDefinition","parameters":{"id":4540,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4537,"mutability":"mutable","name":"target","nameLocation":"6723:6:26","nodeType":"VariableDeclaration","scope":4551,"src":"6715:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4536,"name":"address","nodeType":"ElementaryTypeName","src":"6715:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4539,"mutability":"mutable","name":"data","nameLocation":"6744:4:26","nodeType":"VariableDeclaration","scope":4551,"src":"6731:17:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4538,"name":"bytes","nodeType":"ElementaryTypeName","src":"6731:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6714:35:26"},"returnParameters":{"id":4543,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4542,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4551,"src":"6768:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4541,"name":"bytes","nodeType":"ElementaryTypeName","src":"6768:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6767:14:26"},"scope":4664,"src":"6685:198:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4579,"nodeType":"Block","src":"7224:170:26","statements":[{"assignments":[4564,4566],"declarations":[{"constant":false,"id":4564,"mutability":"mutable","name":"success","nameLocation":"7240:7:26","nodeType":"VariableDeclaration","scope":4579,"src":"7235:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4563,"name":"bool","nodeType":"ElementaryTypeName","src":"7235:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4566,"mutability":"mutable","name":"returndata","nameLocation":"7262:10:26","nodeType":"VariableDeclaration","scope":4579,"src":"7249:23:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4565,"name":"bytes","nodeType":"ElementaryTypeName","src":"7249:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":4571,"initialValue":{"arguments":[{"id":4569,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4556,"src":"7296:4:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":4567,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4554,"src":"7276:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4568,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7283:12:26","memberName":"delegatecall","nodeType":"MemberAccess","src":"7276:19:26","typeDescriptions":{"typeIdentifier":"t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) returns (bool,bytes memory)"}},"id":4570,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7276:25:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"7234:67:26"},{"expression":{"arguments":[{"id":4573,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4554,"src":"7345:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4574,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4564,"src":"7353:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":4575,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4566,"src":"7362:10:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4576,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4558,"src":"7374:12:26","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4572,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4619,"src":"7318:26:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory,string memory) view returns (bytes memory)"}},"id":4577,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7318:69:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4562,"id":4578,"nodeType":"Return","src":"7311:76:26"}]},"documentation":{"id":4552,"nodeType":"StructuredDocumentation","src":"6889:175:26","text":" @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"},"id":4580,"implemented":true,"kind":"function","modifiers":[],"name":"functionDelegateCall","nameLocation":"7078:20:26","nodeType":"FunctionDefinition","parameters":{"id":4559,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4554,"mutability":"mutable","name":"target","nameLocation":"7116:6:26","nodeType":"VariableDeclaration","scope":4580,"src":"7108:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4553,"name":"address","nodeType":"ElementaryTypeName","src":"7108:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4556,"mutability":"mutable","name":"data","nameLocation":"7145:4:26","nodeType":"VariableDeclaration","scope":4580,"src":"7132:17:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4555,"name":"bytes","nodeType":"ElementaryTypeName","src":"7132:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4558,"mutability":"mutable","name":"errorMessage","nameLocation":"7173:12:26","nodeType":"VariableDeclaration","scope":4580,"src":"7159:26:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4557,"name":"string","nodeType":"ElementaryTypeName","src":"7159:6:26","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"7098:93:26"},"returnParameters":{"id":4562,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4561,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4580,"src":"7210:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4560,"name":"bytes","nodeType":"ElementaryTypeName","src":"7210:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7209:14:26"},"scope":4664,"src":"7069:325:26","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4618,"nodeType":"Block","src":"7876:434:26","statements":[{"condition":{"id":4594,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4585,"src":"7890:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":4616,"nodeType":"Block","src":"8246:58:26","statements":[{"expression":{"arguments":[{"id":4612,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4587,"src":"8268:10:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4613,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4589,"src":"8280:12:26","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4611,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4663,"src":"8260:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$","typeString":"function (bytes memory,string memory) pure"}},"id":4614,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8260:33:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4615,"nodeType":"ExpressionStatement","src":"8260:33:26"}]},"id":4617,"nodeType":"IfStatement","src":"7886:418:26","trueBody":{"id":4610,"nodeType":"Block","src":"7899:341:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4598,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4595,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4587,"src":"7917:10:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4596,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7928:6:26","memberName":"length","nodeType":"MemberAccess","src":"7917:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":4597,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7938:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7917:22:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4607,"nodeType":"IfStatement","src":"7913:286:26","trueBody":{"id":4606,"nodeType":"Block","src":"7941:258:26","statements":[{"expression":{"arguments":[{"arguments":[{"id":4601,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4583,"src":"8143:6:26","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":4600,"name":"isContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4352,"src":"8132:10:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":4602,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8132:18:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374","id":4603,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"8152:31:26","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":4599,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"8124:7:26","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4604,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8124:60:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4605,"nodeType":"ExpressionStatement","src":"8124:60:26"}]}},{"expression":{"id":4608,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4587,"src":"8219:10:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4593,"id":4609,"nodeType":"Return","src":"8212:17:26"}]}}]},"documentation":{"id":4581,"nodeType":"StructuredDocumentation","src":"7400:277:26","text":" @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n _Available since v4.8._"},"id":4619,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResultFromTarget","nameLocation":"7691:26:26","nodeType":"FunctionDefinition","parameters":{"id":4590,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4583,"mutability":"mutable","name":"target","nameLocation":"7735:6:26","nodeType":"VariableDeclaration","scope":4619,"src":"7727:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4582,"name":"address","nodeType":"ElementaryTypeName","src":"7727:7:26","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4585,"mutability":"mutable","name":"success","nameLocation":"7756:7:26","nodeType":"VariableDeclaration","scope":4619,"src":"7751:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4584,"name":"bool","nodeType":"ElementaryTypeName","src":"7751:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4587,"mutability":"mutable","name":"returndata","nameLocation":"7786:10:26","nodeType":"VariableDeclaration","scope":4619,"src":"7773:23:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4586,"name":"bytes","nodeType":"ElementaryTypeName","src":"7773:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4589,"mutability":"mutable","name":"errorMessage","nameLocation":"7820:12:26","nodeType":"VariableDeclaration","scope":4619,"src":"7806:26:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4588,"name":"string","nodeType":"ElementaryTypeName","src":"7806:6:26","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"7717:121:26"},"returnParameters":{"id":4593,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4592,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4619,"src":"7862:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4591,"name":"bytes","nodeType":"ElementaryTypeName","src":"7862:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7861:14:26"},"scope":4664,"src":"7682:628:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4642,"nodeType":"Block","src":"8691:135:26","statements":[{"condition":{"id":4631,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4622,"src":"8705:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":4640,"nodeType":"Block","src":"8762:58:26","statements":[{"expression":{"arguments":[{"id":4636,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4624,"src":"8784:10:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4637,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4626,"src":"8796:12:26","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4635,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4663,"src":"8776:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$","typeString":"function (bytes memory,string memory) pure"}},"id":4638,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8776:33:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4639,"nodeType":"ExpressionStatement","src":"8776:33:26"}]},"id":4641,"nodeType":"IfStatement","src":"8701:119:26","trueBody":{"id":4634,"nodeType":"Block","src":"8714:42:26","statements":[{"expression":{"id":4632,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4624,"src":"8735:10:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":4630,"id":4633,"nodeType":"Return","src":"8728:17:26"}]}}]},"documentation":{"id":4620,"nodeType":"StructuredDocumentation","src":"8316:210:26","text":" @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n revert reason or using the provided one.\n _Available since v4.3._"},"id":4643,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResult","nameLocation":"8540:16:26","nodeType":"FunctionDefinition","parameters":{"id":4627,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4622,"mutability":"mutable","name":"success","nameLocation":"8571:7:26","nodeType":"VariableDeclaration","scope":4643,"src":"8566:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4621,"name":"bool","nodeType":"ElementaryTypeName","src":"8566:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4624,"mutability":"mutable","name":"returndata","nameLocation":"8601:10:26","nodeType":"VariableDeclaration","scope":4643,"src":"8588:23:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4623,"name":"bytes","nodeType":"ElementaryTypeName","src":"8588:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4626,"mutability":"mutable","name":"errorMessage","nameLocation":"8635:12:26","nodeType":"VariableDeclaration","scope":4643,"src":"8621:26:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4625,"name":"string","nodeType":"ElementaryTypeName","src":"8621:6:26","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"8556:97:26"},"returnParameters":{"id":4630,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4629,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4643,"src":"8677:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4628,"name":"bytes","nodeType":"ElementaryTypeName","src":"8677:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8676:14:26"},"scope":4664,"src":"8531:295:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4662,"nodeType":"Block","src":"8915:457:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4653,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4650,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4645,"src":"8991:10:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4651,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9002:6:26","memberName":"length","nodeType":"MemberAccess","src":"8991:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":4652,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9011:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8991:21:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":4660,"nodeType":"Block","src":"9321:45:26","statements":[{"expression":{"arguments":[{"id":4657,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4647,"src":"9342:12:26","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4656,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"9335:6:26","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":4658,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9335:20:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4659,"nodeType":"ExpressionStatement","src":"9335:20:26"}]},"id":4661,"nodeType":"IfStatement","src":"8987:379:26","trueBody":{"id":4655,"nodeType":"Block","src":"9014:301:26","statements":[{"AST":{"nodeType":"YulBlock","src":"9172:133:26","statements":[{"nodeType":"YulVariableDeclaration","src":"9190:40:26","value":{"arguments":[{"name":"returndata","nodeType":"YulIdentifier","src":"9219:10:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"9213:5:26"},"nodeType":"YulFunctionCall","src":"9213:17:26"},"variables":[{"name":"returndata_size","nodeType":"YulTypedName","src":"9194:15:26","type":""}]},{"expression":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9258:2:26","type":"","value":"32"},{"name":"returndata","nodeType":"YulIdentifier","src":"9262:10:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9254:3:26"},"nodeType":"YulFunctionCall","src":"9254:19:26"},{"name":"returndata_size","nodeType":"YulIdentifier","src":"9275:15:26"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9247:6:26"},"nodeType":"YulFunctionCall","src":"9247:44:26"},"nodeType":"YulExpressionStatement","src":"9247:44:26"}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":4645,"isOffset":false,"isSlot":false,"src":"9219:10:26","valueSize":1},{"declaration":4645,"isOffset":false,"isSlot":false,"src":"9262:10:26","valueSize":1}],"id":4654,"nodeType":"InlineAssembly","src":"9163:142:26"}]}}]},"id":4663,"implemented":true,"kind":"function","modifiers":[],"name":"_revert","nameLocation":"8841:7:26","nodeType":"FunctionDefinition","parameters":{"id":4648,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4645,"mutability":"mutable","name":"returndata","nameLocation":"8862:10:26","nodeType":"VariableDeclaration","scope":4663,"src":"8849:23:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4644,"name":"bytes","nodeType":"ElementaryTypeName","src":"8849:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4647,"mutability":"mutable","name":"errorMessage","nameLocation":"8888:12:26","nodeType":"VariableDeclaration","scope":4663,"src":"8874:26:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4646,"name":"string","nodeType":"ElementaryTypeName","src":"8874:6:26","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"8848:53:26"},"returnParameters":{"id":4649,"nodeType":"ParameterList","parameters":[],"src":"8915:0:26"},"scope":4664,"src":"8832:540:26","stateMutability":"pure","virtual":false,"visibility":"private"}],"scope":4665,"src":"194:9180:26","usedErrors":[],"usedEvents":[]}],"src":"101:9274:26"},"id":26},"@openzeppelin/contracts/access/Ownable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/access/Ownable.sol","exportedSymbols":{"Context":[5667],"Ownable":[4777]},"id":4778,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4666,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"102:23:27"},{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","file":"../utils/Context.sol","id":4667,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4778,"sourceUnit":5668,"src":"127:30:27","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":4669,"name":"Context","nameLocations":["683:7:27"],"nodeType":"IdentifierPath","referencedDeclaration":5667,"src":"683:7:27"},"id":4670,"nodeType":"InheritanceSpecifier","src":"683:7:27"}],"canonicalName":"Ownable","contractDependencies":[],"contractKind":"contract","documentation":{"id":4668,"nodeType":"StructuredDocumentation","src":"159:494:27","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":4777,"linearizedBaseContracts":[4777,5667],"name":"Ownable","nameLocation":"672:7:27","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":4672,"mutability":"mutable","name":"_owner","nameLocation":"713:6:27","nodeType":"VariableDeclaration","scope":4777,"src":"697:22:27","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4671,"name":"address","nodeType":"ElementaryTypeName","src":"697:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"private"},{"anonymous":false,"eventSelector":"8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0","id":4678,"name":"OwnershipTransferred","nameLocation":"732:20:27","nodeType":"EventDefinition","parameters":{"id":4677,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4674,"indexed":true,"mutability":"mutable","name":"previousOwner","nameLocation":"769:13:27","nodeType":"VariableDeclaration","scope":4678,"src":"753:29:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4673,"name":"address","nodeType":"ElementaryTypeName","src":"753:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4676,"indexed":true,"mutability":"mutable","name":"newOwner","nameLocation":"800:8:27","nodeType":"VariableDeclaration","scope":4678,"src":"784:24:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4675,"name":"address","nodeType":"ElementaryTypeName","src":"784:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"752:57:27"},"src":"726:84:27"},{"body":{"id":4687,"nodeType":"Block","src":"926:49:27","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":4683,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5657,"src":"955:10:27","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":4684,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"955:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":4682,"name":"_transferOwnership","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4776,"src":"936:18:27","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":4685,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"936:32:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4686,"nodeType":"ExpressionStatement","src":"936:32:27"}]},"documentation":{"id":4679,"nodeType":"StructuredDocumentation","src":"816:91:27","text":" @dev Initializes the contract setting the deployer as the initial owner."},"id":4688,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":4680,"nodeType":"ParameterList","parameters":[],"src":"923:2:27"},"returnParameters":{"id":4681,"nodeType":"ParameterList","parameters":[],"src":"926:0:27"},"scope":4777,"src":"912:63:27","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4695,"nodeType":"Block","src":"1084:41:27","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":4691,"name":"_checkOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4719,"src":"1094:11:27","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":4692,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1094:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4693,"nodeType":"ExpressionStatement","src":"1094:13:27"},{"id":4694,"nodeType":"PlaceholderStatement","src":"1117:1:27"}]},"documentation":{"id":4689,"nodeType":"StructuredDocumentation","src":"981:77:27","text":" @dev Throws if called by any account other than the owner."},"id":4696,"name":"onlyOwner","nameLocation":"1072:9:27","nodeType":"ModifierDefinition","parameters":{"id":4690,"nodeType":"ParameterList","parameters":[],"src":"1081:2:27"},"src":"1063:62:27","virtual":false,"visibility":"internal"},{"body":{"id":4704,"nodeType":"Block","src":"1256:30:27","statements":[{"expression":{"id":4702,"name":"_owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4672,"src":"1273:6:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":4701,"id":4703,"nodeType":"Return","src":"1266:13:27"}]},"documentation":{"id":4697,"nodeType":"StructuredDocumentation","src":"1131:65:27","text":" @dev Returns the address of the current owner."},"functionSelector":"8da5cb5b","id":4705,"implemented":true,"kind":"function","modifiers":[],"name":"owner","nameLocation":"1210:5:27","nodeType":"FunctionDefinition","parameters":{"id":4698,"nodeType":"ParameterList","parameters":[],"src":"1215:2:27"},"returnParameters":{"id":4701,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4700,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4705,"src":"1247:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4699,"name":"address","nodeType":"ElementaryTypeName","src":"1247:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1246:9:27"},"scope":4777,"src":"1201:85:27","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":4718,"nodeType":"Block","src":"1404:85:27","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":4714,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":4710,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4705,"src":"1422:5:27","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":4711,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1422:7:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":4712,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5657,"src":"1433:10:27","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":4713,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1433:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1422:23:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572","id":4715,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1447:34:27","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":4709,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1414:7:27","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4716,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1414:68:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4717,"nodeType":"ExpressionStatement","src":"1414:68:27"}]},"documentation":{"id":4706,"nodeType":"StructuredDocumentation","src":"1292:62:27","text":" @dev Throws if the sender is not the owner."},"id":4719,"implemented":true,"kind":"function","modifiers":[],"name":"_checkOwner","nameLocation":"1368:11:27","nodeType":"FunctionDefinition","parameters":{"id":4707,"nodeType":"ParameterList","parameters":[],"src":"1379:2:27"},"returnParameters":{"id":4708,"nodeType":"ParameterList","parameters":[],"src":"1404:0:27"},"scope":4777,"src":"1359:130:27","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":4732,"nodeType":"Block","src":"1878:47:27","statements":[{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":4728,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1915:1:27","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":4727,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1907:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4726,"name":"address","nodeType":"ElementaryTypeName","src":"1907:7:27","typeDescriptions":{}}},"id":4729,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1907:10:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":4725,"name":"_transferOwnership","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4776,"src":"1888:18:27","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":4730,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1888:30:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4731,"nodeType":"ExpressionStatement","src":"1888:30:27"}]},"documentation":{"id":4720,"nodeType":"StructuredDocumentation","src":"1495:324:27","text":" @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby disabling any functionality that is only available to the owner."},"functionSelector":"715018a6","id":4733,"implemented":true,"kind":"function","modifiers":[{"id":4723,"kind":"modifierInvocation","modifierName":{"id":4722,"name":"onlyOwner","nameLocations":["1868:9:27"],"nodeType":"IdentifierPath","referencedDeclaration":4696,"src":"1868:9:27"},"nodeType":"ModifierInvocation","src":"1868:9:27"}],"name":"renounceOwnership","nameLocation":"1833:17:27","nodeType":"FunctionDefinition","parameters":{"id":4721,"nodeType":"ParameterList","parameters":[],"src":"1850:2:27"},"returnParameters":{"id":4724,"nodeType":"ParameterList","parameters":[],"src":"1878:0:27"},"scope":4777,"src":"1824:101:27","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":4755,"nodeType":"Block","src":"2144:128:27","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":4747,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4742,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4736,"src":"2162:8:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":4745,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2182:1:27","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":4744,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2174:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4743,"name":"address","nodeType":"ElementaryTypeName","src":"2174:7:27","typeDescriptions":{}}},"id":4746,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2174:10:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2162:22:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373","id":4748,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2186:40:27","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":4741,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2154:7:27","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4749,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2154:73:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4750,"nodeType":"ExpressionStatement","src":"2154:73:27"},{"expression":{"arguments":[{"id":4752,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4736,"src":"2256:8:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":4751,"name":"_transferOwnership","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4776,"src":"2237:18:27","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":4753,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2237:28:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4754,"nodeType":"ExpressionStatement","src":"2237:28:27"}]},"documentation":{"id":4734,"nodeType":"StructuredDocumentation","src":"1931:138:27","text":" @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner."},"functionSelector":"f2fde38b","id":4756,"implemented":true,"kind":"function","modifiers":[{"id":4739,"kind":"modifierInvocation","modifierName":{"id":4738,"name":"onlyOwner","nameLocations":["2134:9:27"],"nodeType":"IdentifierPath","referencedDeclaration":4696,"src":"2134:9:27"},"nodeType":"ModifierInvocation","src":"2134:9:27"}],"name":"transferOwnership","nameLocation":"2083:17:27","nodeType":"FunctionDefinition","parameters":{"id":4737,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4736,"mutability":"mutable","name":"newOwner","nameLocation":"2109:8:27","nodeType":"VariableDeclaration","scope":4756,"src":"2101:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4735,"name":"address","nodeType":"ElementaryTypeName","src":"2101:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2100:18:27"},"returnParameters":{"id":4740,"nodeType":"ParameterList","parameters":[],"src":"2144:0:27"},"scope":4777,"src":"2074:198:27","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":4775,"nodeType":"Block","src":"2489:124:27","statements":[{"assignments":[4763],"declarations":[{"constant":false,"id":4763,"mutability":"mutable","name":"oldOwner","nameLocation":"2507:8:27","nodeType":"VariableDeclaration","scope":4775,"src":"2499:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4762,"name":"address","nodeType":"ElementaryTypeName","src":"2499:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":4765,"initialValue":{"id":4764,"name":"_owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4672,"src":"2518:6:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"2499:25:27"},{"expression":{"id":4768,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4766,"name":"_owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4672,"src":"2534:6:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":4767,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4759,"src":"2543:8:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2534:17:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4769,"nodeType":"ExpressionStatement","src":"2534:17:27"},{"eventCall":{"arguments":[{"id":4771,"name":"oldOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4763,"src":"2587:8:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4772,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4759,"src":"2597:8:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":4770,"name":"OwnershipTransferred","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4678,"src":"2566:20:27","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":4773,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2566:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4774,"nodeType":"EmitStatement","src":"2561:45:27"}]},"documentation":{"id":4757,"nodeType":"StructuredDocumentation","src":"2278:143:27","text":" @dev Transfers ownership of the contract to a new account (`newOwner`).\n Internal function without access restriction."},"id":4776,"implemented":true,"kind":"function","modifiers":[],"name":"_transferOwnership","nameLocation":"2435:18:27","nodeType":"FunctionDefinition","parameters":{"id":4760,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4759,"mutability":"mutable","name":"newOwner","nameLocation":"2462:8:27","nodeType":"VariableDeclaration","scope":4776,"src":"2454:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4758,"name":"address","nodeType":"ElementaryTypeName","src":"2454:7:27","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2453:18:27"},"returnParameters":{"id":4761,"nodeType":"ParameterList","parameters":[],"src":"2489:0:27"},"scope":4777,"src":"2426:187:27","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":4778,"src":"654:1961:27","usedErrors":[],"usedEvents":[4678]}],"src":"102:2514:27"},"id":27},"@openzeppelin/contracts/interfaces/IERC1967.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/interfaces/IERC1967.sol","exportedSymbols":{"IERC1967":[4798]},"id":4799,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4779,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"107:23:28"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC1967","contractDependencies":[],"contractKind":"interface","documentation":{"id":4780,"nodeType":"StructuredDocumentation","src":"132:133:28","text":" @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n _Available since v4.8.3._"},"fullyImplemented":true,"id":4798,"linearizedBaseContracts":[4798],"name":"IERC1967","nameLocation":"276:8:28","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":4781,"nodeType":"StructuredDocumentation","src":"291:68:28","text":" @dev Emitted when the implementation is upgraded."},"eventSelector":"bc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b","id":4785,"name":"Upgraded","nameLocation":"370:8:28","nodeType":"EventDefinition","parameters":{"id":4784,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4783,"indexed":true,"mutability":"mutable","name":"implementation","nameLocation":"395:14:28","nodeType":"VariableDeclaration","scope":4785,"src":"379:30:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4782,"name":"address","nodeType":"ElementaryTypeName","src":"379:7:28","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"378:32:28"},"src":"364:47:28"},{"anonymous":false,"documentation":{"id":4786,"nodeType":"StructuredDocumentation","src":"417:67:28","text":" @dev Emitted when the admin account has changed."},"eventSelector":"7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f","id":4792,"name":"AdminChanged","nameLocation":"495:12:28","nodeType":"EventDefinition","parameters":{"id":4791,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4788,"indexed":false,"mutability":"mutable","name":"previousAdmin","nameLocation":"516:13:28","nodeType":"VariableDeclaration","scope":4792,"src":"508:21:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4787,"name":"address","nodeType":"ElementaryTypeName","src":"508:7:28","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4790,"indexed":false,"mutability":"mutable","name":"newAdmin","nameLocation":"539:8:28","nodeType":"VariableDeclaration","scope":4792,"src":"531:16:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4789,"name":"address","nodeType":"ElementaryTypeName","src":"531:7:28","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"507:41:28"},"src":"489:60:28"},{"anonymous":false,"documentation":{"id":4793,"nodeType":"StructuredDocumentation","src":"555:59:28","text":" @dev Emitted when the beacon is changed."},"eventSelector":"1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e","id":4797,"name":"BeaconUpgraded","nameLocation":"625:14:28","nodeType":"EventDefinition","parameters":{"id":4796,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4795,"indexed":true,"mutability":"mutable","name":"beacon","nameLocation":"656:6:28","nodeType":"VariableDeclaration","scope":4797,"src":"640:22:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4794,"name":"address","nodeType":"ElementaryTypeName","src":"640:7:28","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"639:24:28"},"src":"619:45:28"}],"scope":4799,"src":"266:400:28","usedErrors":[],"usedEvents":[4785,4792,4797]}],"src":"107:560:28"},"id":28},"@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/interfaces/draft-IERC1822.sol","exportedSymbols":{"IERC1822Proxiable":[4808]},"id":4809,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4800,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"113:23:29"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC1822Proxiable","contractDependencies":[],"contractKind":"interface","documentation":{"id":4801,"nodeType":"StructuredDocumentation","src":"138:203:29","text":" @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n proxy whose upgrades are fully controlled by the current implementation."},"fullyImplemented":false,"id":4808,"linearizedBaseContracts":[4808],"name":"IERC1822Proxiable","nameLocation":"352:17:29","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":4802,"nodeType":"StructuredDocumentation","src":"376:438:29","text":" @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n address.\n IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n function revert if invoked through a proxy."},"functionSelector":"52d1902d","id":4807,"implemented":false,"kind":"function","modifiers":[],"name":"proxiableUUID","nameLocation":"828:13:29","nodeType":"FunctionDefinition","parameters":{"id":4803,"nodeType":"ParameterList","parameters":[],"src":"841:2:29"},"returnParameters":{"id":4806,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4805,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4807,"src":"867:7:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4804,"name":"bytes32","nodeType":"ElementaryTypeName","src":"867:7:29","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"866:9:29"},"scope":4808,"src":"819:57:29","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":4809,"src":"342:536:29","usedErrors":[],"usedEvents":[]}],"src":"113:766:29"},"id":29},"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol","exportedSymbols":{"Address":[5645],"ERC1967Upgrade":[5112],"IBeacon":[5240],"IERC1822Proxiable":[4808],"IERC1967":[4798],"StorageSlot":[5777]},"id":5113,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4810,"literals":["solidity","^","0.8",".2"],"nodeType":"PragmaDirective","src":"116:23:30"},{"absolutePath":"@openzeppelin/contracts/proxy/beacon/IBeacon.sol","file":"../beacon/IBeacon.sol","id":4811,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5113,"sourceUnit":5241,"src":"141:31:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/interfaces/IERC1967.sol","file":"../../interfaces/IERC1967.sol","id":4812,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5113,"sourceUnit":4799,"src":"173:39:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/interfaces/draft-IERC1822.sol","file":"../../interfaces/draft-IERC1822.sol","id":4813,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5113,"sourceUnit":4809,"src":"213:45:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Address.sol","file":"../../utils/Address.sol","id":4814,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5113,"sourceUnit":5646,"src":"259:33:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/StorageSlot.sol","file":"../../utils/StorageSlot.sol","id":4815,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5113,"sourceUnit":5778,"src":"293:37:30","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":4817,"name":"IERC1967","nameLocations":["553:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":4798,"src":"553:8:30"},"id":4818,"nodeType":"InheritanceSpecifier","src":"553:8:30"}],"canonicalName":"ERC1967Upgrade","contractDependencies":[],"contractKind":"contract","documentation":{"id":4816,"nodeType":"StructuredDocumentation","src":"332:184:30","text":" @dev This abstract contract provides getters and event emitting update functions for\n https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n _Available since v4.1._"},"fullyImplemented":true,"id":5112,"linearizedBaseContracts":[5112,4798],"name":"ERC1967Upgrade","nameLocation":"535:14:30","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":4821,"mutability":"constant","name":"_ROLLBACK_SLOT","nameLocation":"672:14:30","nodeType":"VariableDeclaration","scope":5112,"src":"647:108:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4819,"name":"bytes32","nodeType":"ElementaryTypeName","src":"647:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307834393130666466613136666564333236306564306537313437663763633664613131613630323038623562393430366431326136333536313466666439313433","id":4820,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"689:66:30","typeDescriptions":{"typeIdentifier":"t_rational_33048860383849004559742813297059419343339852917517107368639918720169455489347_by_1","typeString":"int_const 3304...(69 digits omitted)...9347"},"value":"0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143"},"visibility":"private"},{"constant":true,"documentation":{"id":4822,"nodeType":"StructuredDocumentation","src":"762:214:30","text":" @dev Storage slot with the address of the current implementation.\n This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1, and is\n validated in the constructor."},"id":4825,"mutability":"constant","name":"_IMPLEMENTATION_SLOT","nameLocation":"1007:20:30","nodeType":"VariableDeclaration","scope":5112,"src":"981:115:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4823,"name":"bytes32","nodeType":"ElementaryTypeName","src":"981:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307833363038393461313362613161333231303636376338323834393264623938646361336532303736636333373335613932306133636135303564333832626263","id":4824,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1030:66:30","typeDescriptions":{"typeIdentifier":"t_rational_24440054405305269366569402256811496959409073762505157381672968839269610695612_by_1","typeString":"int_const 2444...(69 digits omitted)...5612"},"value":"0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc"},"visibility":"internal"},{"body":{"id":4837,"nodeType":"Block","src":"1237:78:30","statements":[{"expression":{"expression":{"arguments":[{"id":4833,"name":"_IMPLEMENTATION_SLOT","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4825,"src":"1281:20:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":4831,"name":"StorageSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5777,"src":"1254:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StorageSlot_$5777_$","typeString":"type(library StorageSlot)"}},"id":4832,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1266:14:30","memberName":"getAddressSlot","nodeType":"MemberAccess","referencedDeclaration":5699,"src":"1254:26:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$5673_storage_ptr_$","typeString":"function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)"}},"id":4834,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1254:48:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_AddressSlot_$5673_storage_ptr","typeString":"struct StorageSlot.AddressSlot storage pointer"}},"id":4835,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1303:5:30","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":5672,"src":"1254:54:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":4830,"id":4836,"nodeType":"Return","src":"1247:61:30"}]},"documentation":{"id":4826,"nodeType":"StructuredDocumentation","src":"1103:67:30","text":" @dev Returns the current implementation address."},"id":4838,"implemented":true,"kind":"function","modifiers":[],"name":"_getImplementation","nameLocation":"1184:18:30","nodeType":"FunctionDefinition","parameters":{"id":4827,"nodeType":"ParameterList","parameters":[],"src":"1202:2:30"},"returnParameters":{"id":4830,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4829,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4838,"src":"1228:7:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4828,"name":"address","nodeType":"ElementaryTypeName","src":"1228:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1227:9:30"},"scope":5112,"src":"1175:140:30","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4861,"nodeType":"Block","src":"1469:196:30","statements":[{"expression":{"arguments":[{"arguments":[{"id":4847,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4841,"src":"1506:17:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":4845,"name":"Address","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5645,"src":"1487:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Address_$5645_$","typeString":"type(library Address)"}},"id":4846,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1495:10:30","memberName":"isContract","nodeType":"MemberAccess","referencedDeclaration":5333,"src":"1487:18:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":4848,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1487:37:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"455243313936373a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374","id":4849,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1526:47:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65","typeString":"literal_string \"ERC1967: new implementation is not a contract\""},"value":"ERC1967: new implementation is not a contract"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_972b7028e8de0bff0d553b3264eba2312ec98a552add05e58853b313f9f4ac65","typeString":"literal_string \"ERC1967: new implementation is not a contract\""}],"id":4844,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1479:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4850,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1479:95:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4851,"nodeType":"ExpressionStatement","src":"1479:95:30"},{"expression":{"id":4859,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"arguments":[{"id":4855,"name":"_IMPLEMENTATION_SLOT","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4825,"src":"1611:20:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":4852,"name":"StorageSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5777,"src":"1584:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StorageSlot_$5777_$","typeString":"type(library StorageSlot)"}},"id":4854,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1596:14:30","memberName":"getAddressSlot","nodeType":"MemberAccess","referencedDeclaration":5699,"src":"1584:26:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$5673_storage_ptr_$","typeString":"function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)"}},"id":4856,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1584:48:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_AddressSlot_$5673_storage_ptr","typeString":"struct StorageSlot.AddressSlot storage pointer"}},"id":4857,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"1633:5:30","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":5672,"src":"1584:54:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":4858,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4841,"src":"1641:17:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1584:74:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4860,"nodeType":"ExpressionStatement","src":"1584:74:30"}]},"documentation":{"id":4839,"nodeType":"StructuredDocumentation","src":"1321:80:30","text":" @dev Stores a new address in the EIP1967 implementation slot."},"id":4862,"implemented":true,"kind":"function","modifiers":[],"name":"_setImplementation","nameLocation":"1415:18:30","nodeType":"FunctionDefinition","parameters":{"id":4842,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4841,"mutability":"mutable","name":"newImplementation","nameLocation":"1442:17:30","nodeType":"VariableDeclaration","scope":4862,"src":"1434:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4840,"name":"address","nodeType":"ElementaryTypeName","src":"1434:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1433:27:30"},"returnParameters":{"id":4843,"nodeType":"ParameterList","parameters":[],"src":"1469:0:30"},"scope":5112,"src":"1406:259:30","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":4876,"nodeType":"Block","src":"1827:96:30","statements":[{"expression":{"arguments":[{"id":4869,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4865,"src":"1856:17:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":4868,"name":"_setImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4862,"src":"1837:18:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":4870,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1837:37:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4871,"nodeType":"ExpressionStatement","src":"1837:37:30"},{"eventCall":{"arguments":[{"id":4873,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4865,"src":"1898:17:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":4872,"name":"Upgraded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4785,"src":"1889:8:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":4874,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1889:27:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4875,"nodeType":"EmitStatement","src":"1884:32:30"}]},"documentation":{"id":4863,"nodeType":"StructuredDocumentation","src":"1671:95:30","text":" @dev Perform implementation upgrade\n Emits an {Upgraded} event."},"id":4877,"implemented":true,"kind":"function","modifiers":[],"name":"_upgradeTo","nameLocation":"1780:10:30","nodeType":"FunctionDefinition","parameters":{"id":4866,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4865,"mutability":"mutable","name":"newImplementation","nameLocation":"1799:17:30","nodeType":"VariableDeclaration","scope":4877,"src":"1791:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4864,"name":"address","nodeType":"ElementaryTypeName","src":"1791:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1790:27:30"},"returnParameters":{"id":4867,"nodeType":"ParameterList","parameters":[],"src":"1827:0:30"},"scope":5112,"src":"1771:152:30","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4906,"nodeType":"Block","src":"2155:167:30","statements":[{"expression":{"arguments":[{"id":4888,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4880,"src":"2176:17:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":4887,"name":"_upgradeTo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4877,"src":"2165:10:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":4889,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2165:29:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4890,"nodeType":"ExpressionStatement","src":"2165:29:30"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4896,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4894,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4891,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4882,"src":"2208:4:30","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4892,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2213:6:30","memberName":"length","nodeType":"MemberAccess","src":"2208:11:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":4893,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2222:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2208:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"id":4895,"name":"forceCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4884,"src":"2227:9:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2208:28:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4905,"nodeType":"IfStatement","src":"2204:112:30","trueBody":{"id":4904,"nodeType":"Block","src":"2238:78:30","statements":[{"expression":{"arguments":[{"id":4900,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4880,"src":"2281:17:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4901,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4882,"src":"2300:4:30","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":4897,"name":"Address","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5645,"src":"2252:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Address_$5645_$","typeString":"type(library Address)"}},"id":4899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2260:20:30","memberName":"functionDelegateCall","nodeType":"MemberAccess","referencedDeclaration":5532,"src":"2252:28:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory) returns (bytes memory)"}},"id":4902,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2252:53:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4903,"nodeType":"ExpressionStatement","src":"2252:53:30"}]}}]},"documentation":{"id":4878,"nodeType":"StructuredDocumentation","src":"1929:123:30","text":" @dev Perform implementation upgrade with additional setup call.\n Emits an {Upgraded} event."},"id":4907,"implemented":true,"kind":"function","modifiers":[],"name":"_upgradeToAndCall","nameLocation":"2066:17:30","nodeType":"FunctionDefinition","parameters":{"id":4885,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4880,"mutability":"mutable","name":"newImplementation","nameLocation":"2092:17:30","nodeType":"VariableDeclaration","scope":4907,"src":"2084:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4879,"name":"address","nodeType":"ElementaryTypeName","src":"2084:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4882,"mutability":"mutable","name":"data","nameLocation":"2124:4:30","nodeType":"VariableDeclaration","scope":4907,"src":"2111:17:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4881,"name":"bytes","nodeType":"ElementaryTypeName","src":"2111:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4884,"mutability":"mutable","name":"forceCall","nameLocation":"2135:9:30","nodeType":"VariableDeclaration","scope":4907,"src":"2130:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4883,"name":"bool","nodeType":"ElementaryTypeName","src":"2130:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2083:62:30"},"returnParameters":{"id":4886,"nodeType":"ParameterList","parameters":[],"src":"2155:0:30"},"scope":5112,"src":"2057:265:30","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4959,"nodeType":"Block","src":"2596:820:30","statements":[{"condition":{"expression":{"arguments":[{"id":4919,"name":"_ROLLBACK_SLOT","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4821,"src":"2937:14:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":4917,"name":"StorageSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5777,"src":"2910:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StorageSlot_$5777_$","typeString":"type(library StorageSlot)"}},"id":4918,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2922:14:30","memberName":"getBooleanSlot","nodeType":"MemberAccess","referencedDeclaration":5710,"src":"2910:26:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$returns$_t_struct$_BooleanSlot_$5676_storage_ptr_$","typeString":"function (bytes32) pure returns (struct StorageSlot.BooleanSlot storage pointer)"}},"id":4920,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2910:42:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_BooleanSlot_$5676_storage_ptr","typeString":"struct StorageSlot.BooleanSlot storage pointer"}},"id":4921,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2953:5:30","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":5675,"src":"2910:48:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":4957,"nodeType":"Block","src":"3028:382:30","statements":[{"clauses":[{"block":{"id":4942,"nodeType":"Block","src":"3122:115:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"id":4938,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4936,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4933,"src":"3148:4:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":4937,"name":"_IMPLEMENTATION_SLOT","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4825,"src":"3156:20:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3148:28:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"45524331393637557067726164653a20756e737570706f727465642070726f786961626c6555554944","id":4939,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3178:43:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_76b6b6debfc5febf101145a79ecf0b0d2e89e397dfdab2bca99888370411152c","typeString":"literal_string \"ERC1967Upgrade: unsupported proxiableUUID\""},"value":"ERC1967Upgrade: unsupported proxiableUUID"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_76b6b6debfc5febf101145a79ecf0b0d2e89e397dfdab2bca99888370411152c","typeString":"literal_string \"ERC1967Upgrade: unsupported proxiableUUID\""}],"id":4935,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"3140:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4940,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3140:82:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4941,"nodeType":"ExpressionStatement","src":"3140:82:30"}]},"errorName":"","id":4943,"nodeType":"TryCatchClause","parameters":{"id":4934,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4933,"mutability":"mutable","name":"slot","nameLocation":"3116:4:30","nodeType":"VariableDeclaration","scope":4943,"src":"3108:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4932,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3108:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3107:14:30"},"src":"3099:138:30"},{"block":{"id":4948,"nodeType":"Block","src":"3244:89:30","statements":[{"expression":{"arguments":[{"hexValue":"45524331393637557067726164653a206e657720696d706c656d656e746174696f6e206973206e6f742055555053","id":4945,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3269:48:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_8e8e2fbcb586f700b5b14e2c4a650c8d83b9773c31c5fe8962070ea544e11f24","typeString":"literal_string \"ERC1967Upgrade: new implementation is not UUPS\""},"value":"ERC1967Upgrade: new implementation is not UUPS"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8e8e2fbcb586f700b5b14e2c4a650c8d83b9773c31c5fe8962070ea544e11f24","typeString":"literal_string \"ERC1967Upgrade: new implementation is not UUPS\""}],"id":4944,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"3262:6:30","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":4946,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3262:56:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4947,"nodeType":"ExpressionStatement","src":"3262:56:30"}]},"errorName":"","id":4949,"nodeType":"TryCatchClause","src":"3238:95:30"}],"externalCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":4928,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4910,"src":"3064:17:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":4927,"name":"IERC1822Proxiable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4808,"src":"3046:17:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC1822Proxiable_$4808_$","typeString":"type(contract IERC1822Proxiable)"}},"id":4929,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3046:36:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC1822Proxiable_$4808","typeString":"contract IERC1822Proxiable"}},"id":4930,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3083:13:30","memberName":"proxiableUUID","nodeType":"MemberAccess","referencedDeclaration":4807,"src":"3046:50:30","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_bytes32_$","typeString":"function () view external returns (bytes32)"}},"id":4931,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3046:52:30","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":4950,"nodeType":"TryStatement","src":"3042:291:30"},{"expression":{"arguments":[{"id":4952,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4910,"src":"3364:17:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":4953,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4912,"src":"3383:4:30","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4954,"name":"forceCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4914,"src":"3389:9:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":4951,"name":"_upgradeToAndCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4907,"src":"3346:17:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bool_$returns$__$","typeString":"function (address,bytes memory,bool)"}},"id":4955,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3346:53:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4956,"nodeType":"ExpressionStatement","src":"3346:53:30"}]},"id":4958,"nodeType":"IfStatement","src":"2906:504:30","trueBody":{"id":4926,"nodeType":"Block","src":"2960:62:30","statements":[{"expression":{"arguments":[{"id":4923,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4910,"src":"2993:17:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":4922,"name":"_setImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4862,"src":"2974:18:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":4924,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2974:37:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4925,"nodeType":"ExpressionStatement","src":"2974:37:30"}]}}]},"documentation":{"id":4908,"nodeType":"StructuredDocumentation","src":"2328:161:30","text":" @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\n Emits an {Upgraded} event."},"id":4960,"implemented":true,"kind":"function","modifiers":[],"name":"_upgradeToAndCallUUPS","nameLocation":"2503:21:30","nodeType":"FunctionDefinition","parameters":{"id":4915,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4910,"mutability":"mutable","name":"newImplementation","nameLocation":"2533:17:30","nodeType":"VariableDeclaration","scope":4960,"src":"2525:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4909,"name":"address","nodeType":"ElementaryTypeName","src":"2525:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4912,"mutability":"mutable","name":"data","nameLocation":"2565:4:30","nodeType":"VariableDeclaration","scope":4960,"src":"2552:17:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4911,"name":"bytes","nodeType":"ElementaryTypeName","src":"2552:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4914,"mutability":"mutable","name":"forceCall","nameLocation":"2576:9:30","nodeType":"VariableDeclaration","scope":4960,"src":"2571:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4913,"name":"bool","nodeType":"ElementaryTypeName","src":"2571:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2524:62:30"},"returnParameters":{"id":4916,"nodeType":"ParameterList","parameters":[],"src":"2596:0:30"},"scope":5112,"src":"2494:922:30","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"constant":true,"documentation":{"id":4961,"nodeType":"StructuredDocumentation","src":"3422:189:30","text":" @dev Storage slot with the admin of the contract.\n This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1, and is\n validated in the constructor."},"id":4964,"mutability":"constant","name":"_ADMIN_SLOT","nameLocation":"3642:11:30","nodeType":"VariableDeclaration","scope":5112,"src":"3616:106:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4962,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3616:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307862353331323736383461353638623331373361653133623966386136303136653234336536336236653865653131373864366137313738353062356436313033","id":4963,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3656:66:30","typeDescriptions":{"typeIdentifier":"t_rational_81955473079516046949633743016697847541294818689821282749996681496272635257091_by_1","typeString":"int_const 8195...(69 digits omitted)...7091"},"value":"0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103"},"visibility":"internal"},{"body":{"id":4976,"nodeType":"Block","src":"3837:69:30","statements":[{"expression":{"expression":{"arguments":[{"id":4972,"name":"_ADMIN_SLOT","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4964,"src":"3881:11:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":4970,"name":"StorageSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5777,"src":"3854:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StorageSlot_$5777_$","typeString":"type(library StorageSlot)"}},"id":4971,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3866:14:30","memberName":"getAddressSlot","nodeType":"MemberAccess","referencedDeclaration":5699,"src":"3854:26:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$5673_storage_ptr_$","typeString":"function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)"}},"id":4973,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3854:39:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_AddressSlot_$5673_storage_ptr","typeString":"struct StorageSlot.AddressSlot storage pointer"}},"id":4974,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3894:5:30","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":5672,"src":"3854:45:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":4969,"id":4975,"nodeType":"Return","src":"3847:52:30"}]},"documentation":{"id":4965,"nodeType":"StructuredDocumentation","src":"3729:50:30","text":" @dev Returns the current admin."},"id":4977,"implemented":true,"kind":"function","modifiers":[],"name":"_getAdmin","nameLocation":"3793:9:30","nodeType":"FunctionDefinition","parameters":{"id":4966,"nodeType":"ParameterList","parameters":[],"src":"3802:2:30"},"returnParameters":{"id":4969,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4968,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4977,"src":"3828:7:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4967,"name":"address","nodeType":"ElementaryTypeName","src":"3828:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3827:9:30"},"scope":5112,"src":"3784:122:30","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":5002,"nodeType":"Block","src":"4033:156:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":4989,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4984,"name":"newAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4980,"src":"4051:8:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":4987,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4071:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4986,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4063:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4985,"name":"address","nodeType":"ElementaryTypeName","src":"4063:7:30","typeDescriptions":{}}},"id":4988,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4063:10:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4051:22:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"455243313936373a206e65772061646d696e20697320746865207a65726f2061646472657373","id":4990,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4075:40:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_3820e16891102c1360a787e6e648431097d92537f969d458f5c94b56f8318be5","typeString":"literal_string \"ERC1967: new admin is the zero address\""},"value":"ERC1967: new admin is the zero address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_3820e16891102c1360a787e6e648431097d92537f969d458f5c94b56f8318be5","typeString":"literal_string \"ERC1967: new admin is the zero address\""}],"id":4983,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"4043:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":4991,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4043:73:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4992,"nodeType":"ExpressionStatement","src":"4043:73:30"},{"expression":{"id":5000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"arguments":[{"id":4996,"name":"_ADMIN_SLOT","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4964,"src":"4153:11:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":4993,"name":"StorageSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5777,"src":"4126:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StorageSlot_$5777_$","typeString":"type(library StorageSlot)"}},"id":4995,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4138:14:30","memberName":"getAddressSlot","nodeType":"MemberAccess","referencedDeclaration":5699,"src":"4126:26:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$5673_storage_ptr_$","typeString":"function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)"}},"id":4997,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4126:39:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_AddressSlot_$5673_storage_ptr","typeString":"struct StorageSlot.AddressSlot storage pointer"}},"id":4998,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4166:5:30","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":5672,"src":"4126:45:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":4999,"name":"newAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4980,"src":"4174:8:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4126:56:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5001,"nodeType":"ExpressionStatement","src":"4126:56:30"}]},"documentation":{"id":4978,"nodeType":"StructuredDocumentation","src":"3912:71:30","text":" @dev Stores a new address in the EIP1967 admin slot."},"id":5003,"implemented":true,"kind":"function","modifiers":[],"name":"_setAdmin","nameLocation":"3997:9:30","nodeType":"FunctionDefinition","parameters":{"id":4981,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4980,"mutability":"mutable","name":"newAdmin","nameLocation":"4015:8:30","nodeType":"VariableDeclaration","scope":5003,"src":"4007:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4979,"name":"address","nodeType":"ElementaryTypeName","src":"4007:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4006:18:30"},"returnParameters":{"id":4982,"nodeType":"ParameterList","parameters":[],"src":"4033:0:30"},"scope":5112,"src":"3988:201:30","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":5019,"nodeType":"Block","src":"4349:86:30","statements":[{"eventCall":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":5010,"name":"_getAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4977,"src":"4377:9:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":5011,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4377:11:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5012,"name":"newAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5006,"src":"4390:8:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":5009,"name":"AdminChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4792,"src":"4364:12:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":5013,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4364:35:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5014,"nodeType":"EmitStatement","src":"4359:40:30"},{"expression":{"arguments":[{"id":5016,"name":"newAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5006,"src":"4419:8:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5015,"name":"_setAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5003,"src":"4409:9:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":5017,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4409:19:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5018,"nodeType":"ExpressionStatement","src":"4409:19:30"}]},"documentation":{"id":5004,"nodeType":"StructuredDocumentation","src":"4195:100:30","text":" @dev Changes the admin of the proxy.\n Emits an {AdminChanged} event."},"id":5020,"implemented":true,"kind":"function","modifiers":[],"name":"_changeAdmin","nameLocation":"4309:12:30","nodeType":"FunctionDefinition","parameters":{"id":5007,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5006,"mutability":"mutable","name":"newAdmin","nameLocation":"4330:8:30","nodeType":"VariableDeclaration","scope":5020,"src":"4322:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5005,"name":"address","nodeType":"ElementaryTypeName","src":"4322:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4321:18:30"},"returnParameters":{"id":5008,"nodeType":"ParameterList","parameters":[],"src":"4349:0:30"},"scope":5112,"src":"4300:135:30","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"constant":true,"documentation":{"id":5021,"nodeType":"StructuredDocumentation","src":"4441:232:30","text":" @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor."},"id":5024,"mutability":"constant","name":"_BEACON_SLOT","nameLocation":"4704:12:30","nodeType":"VariableDeclaration","scope":5112,"src":"4678:107:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5022,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4678:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307861336630616437346535343233616562666438306433656634333436353738333335613961373261656165653539666636636233353832623335313333643530","id":5023,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4719:66:30","typeDescriptions":{"typeIdentifier":"t_rational_74152234768234802001998023604048924213078445070507226371336425913862612794704_by_1","typeString":"int_const 7415...(69 digits omitted)...4704"},"value":"0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50"},"visibility":"internal"},{"body":{"id":5036,"nodeType":"Block","src":"4902:70:30","statements":[{"expression":{"expression":{"arguments":[{"id":5032,"name":"_BEACON_SLOT","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5024,"src":"4946:12:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":5030,"name":"StorageSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5777,"src":"4919:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StorageSlot_$5777_$","typeString":"type(library StorageSlot)"}},"id":5031,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4931:14:30","memberName":"getAddressSlot","nodeType":"MemberAccess","referencedDeclaration":5699,"src":"4919:26:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$5673_storage_ptr_$","typeString":"function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)"}},"id":5033,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4919:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_AddressSlot_$5673_storage_ptr","typeString":"struct StorageSlot.AddressSlot storage pointer"}},"id":5034,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4960:5:30","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":5672,"src":"4919:46:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":5029,"id":5035,"nodeType":"Return","src":"4912:53:30"}]},"documentation":{"id":5025,"nodeType":"StructuredDocumentation","src":"4792:51:30","text":" @dev Returns the current beacon."},"id":5037,"implemented":true,"kind":"function","modifiers":[],"name":"_getBeacon","nameLocation":"4857:10:30","nodeType":"FunctionDefinition","parameters":{"id":5026,"nodeType":"ParameterList","parameters":[],"src":"4867:2:30"},"returnParameters":{"id":5029,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5028,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5037,"src":"4893:7:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5027,"name":"address","nodeType":"ElementaryTypeName","src":"4893:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4892:9:30"},"scope":5112,"src":"4848:124:30","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":5072,"nodeType":"Block","src":"5101:324:30","statements":[{"expression":{"arguments":[{"arguments":[{"id":5046,"name":"newBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5040,"src":"5138:9:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":5044,"name":"Address","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5645,"src":"5119:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Address_$5645_$","typeString":"type(library Address)"}},"id":5045,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5127:10:30","memberName":"isContract","nodeType":"MemberAccess","referencedDeclaration":5333,"src":"5119:18:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":5047,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5119:29:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"455243313936373a206e657720626561636f6e206973206e6f74206120636f6e7472616374","id":5048,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5150:39:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470","typeString":"literal_string \"ERC1967: new beacon is not a contract\""},"value":"ERC1967: new beacon is not a contract"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470","typeString":"literal_string \"ERC1967: new beacon is not a contract\""}],"id":5043,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5111:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":5049,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5111:79:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5050,"nodeType":"ExpressionStatement","src":"5111:79:30"},{"expression":{"arguments":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":5055,"name":"newBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5040,"src":"5248:9:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5054,"name":"IBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5240,"src":"5240:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IBeacon_$5240_$","typeString":"type(contract IBeacon)"}},"id":5056,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5240:18:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IBeacon_$5240","typeString":"contract IBeacon"}},"id":5057,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5259:14:30","memberName":"implementation","nodeType":"MemberAccess","referencedDeclaration":5239,"src":"5240:33:30","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_address_$","typeString":"function () view external returns (address)"}},"id":5058,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5240:35:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":5052,"name":"Address","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5645,"src":"5221:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Address_$5645_$","typeString":"type(library Address)"}},"id":5053,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5229:10:30","memberName":"isContract","nodeType":"MemberAccess","referencedDeclaration":5333,"src":"5221:18:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":5059,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5221:55:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"455243313936373a20626561636f6e20696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374","id":5060,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5290:50:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8","typeString":"literal_string \"ERC1967: beacon implementation is not a contract\""},"value":"ERC1967: beacon implementation is not a contract"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8","typeString":"literal_string \"ERC1967: beacon implementation is not a contract\""}],"id":5051,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5200:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":5061,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5200:150:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5062,"nodeType":"ExpressionStatement","src":"5200:150:30"},{"expression":{"id":5070,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"arguments":[{"id":5066,"name":"_BEACON_SLOT","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5024,"src":"5387:12:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":5063,"name":"StorageSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5777,"src":"5360:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StorageSlot_$5777_$","typeString":"type(library StorageSlot)"}},"id":5065,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5372:14:30","memberName":"getAddressSlot","nodeType":"MemberAccess","referencedDeclaration":5699,"src":"5360:26:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$returns$_t_struct$_AddressSlot_$5673_storage_ptr_$","typeString":"function (bytes32) pure returns (struct StorageSlot.AddressSlot storage pointer)"}},"id":5067,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5360:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_AddressSlot_$5673_storage_ptr","typeString":"struct StorageSlot.AddressSlot storage pointer"}},"id":5068,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"5401:5:30","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":5672,"src":"5360:46:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":5069,"name":"newBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5040,"src":"5409:9:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5360:58:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5071,"nodeType":"ExpressionStatement","src":"5360:58:30"}]},"documentation":{"id":5038,"nodeType":"StructuredDocumentation","src":"4978:71:30","text":" @dev Stores a new beacon in the EIP1967 beacon slot."},"id":5073,"implemented":true,"kind":"function","modifiers":[],"name":"_setBeacon","nameLocation":"5063:10:30","nodeType":"FunctionDefinition","parameters":{"id":5041,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5040,"mutability":"mutable","name":"newBeacon","nameLocation":"5082:9:30","nodeType":"VariableDeclaration","scope":5073,"src":"5074:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5039,"name":"address","nodeType":"ElementaryTypeName","src":"5074:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5073:19:30"},"returnParameters":{"id":5042,"nodeType":"ParameterList","parameters":[],"src":"5101:0:30"},"scope":5112,"src":"5054:371:30","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":5110,"nodeType":"Block","src":"5824:217:30","statements":[{"expression":{"arguments":[{"id":5084,"name":"newBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5076,"src":"5845:9:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5083,"name":"_setBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5073,"src":"5834:10:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":5085,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5834:21:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5086,"nodeType":"ExpressionStatement","src":"5834:21:30"},{"eventCall":{"arguments":[{"id":5088,"name":"newBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5076,"src":"5885:9:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5087,"name":"BeaconUpgraded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4797,"src":"5870:14:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":5089,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5870:25:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5090,"nodeType":"EmitStatement","src":"5865:30:30"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5096,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5094,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5091,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5078,"src":"5909:4:30","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5092,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5914:6:30","memberName":"length","nodeType":"MemberAccess","src":"5909:11:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5093,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5923:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5909:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"id":5095,"name":"forceCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5080,"src":"5928:9:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5909:28:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5109,"nodeType":"IfStatement","src":"5905:130:30","trueBody":{"id":5108,"nodeType":"Block","src":"5939:96:30","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":5101,"name":"newBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5076,"src":"5990:9:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5100,"name":"IBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5240,"src":"5982:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IBeacon_$5240_$","typeString":"type(contract IBeacon)"}},"id":5102,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5982:18:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IBeacon_$5240","typeString":"contract IBeacon"}},"id":5103,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6001:14:30","memberName":"implementation","nodeType":"MemberAccess","referencedDeclaration":5239,"src":"5982:33:30","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_address_$","typeString":"function () view external returns (address)"}},"id":5104,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5982:35:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5105,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5078,"src":"6019:4:30","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5097,"name":"Address","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5645,"src":"5953:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Address_$5645_$","typeString":"type(library Address)"}},"id":5099,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5961:20:30","memberName":"functionDelegateCall","nodeType":"MemberAccess","referencedDeclaration":5532,"src":"5953:28:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory) returns (bytes memory)"}},"id":5106,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5953:71:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5107,"nodeType":"ExpressionStatement","src":"5953:71:30"}]}}]},"documentation":{"id":5074,"nodeType":"StructuredDocumentation","src":"5431:292:30","text":" @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\n not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\n Emits a {BeaconUpgraded} event."},"id":5111,"implemented":true,"kind":"function","modifiers":[],"name":"_upgradeBeaconToAndCall","nameLocation":"5737:23:30","nodeType":"FunctionDefinition","parameters":{"id":5081,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5076,"mutability":"mutable","name":"newBeacon","nameLocation":"5769:9:30","nodeType":"VariableDeclaration","scope":5111,"src":"5761:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5075,"name":"address","nodeType":"ElementaryTypeName","src":"5761:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5078,"mutability":"mutable","name":"data","nameLocation":"5793:4:30","nodeType":"VariableDeclaration","scope":5111,"src":"5780:17:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5077,"name":"bytes","nodeType":"ElementaryTypeName","src":"5780:5:30","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5080,"mutability":"mutable","name":"forceCall","nameLocation":"5804:9:30","nodeType":"VariableDeclaration","scope":5111,"src":"5799:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5079,"name":"bool","nodeType":"ElementaryTypeName","src":"5799:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"5760:54:30"},"returnParameters":{"id":5082,"nodeType":"ParameterList","parameters":[],"src":"5824:0:30"},"scope":5112,"src":"5728:313:30","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":5113,"src":"517:5526:30","usedErrors":[],"usedEvents":[4785,4792,4797]}],"src":"116:5928:30"},"id":30},"@openzeppelin/contracts/proxy/Proxy.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/proxy/Proxy.sol","exportedSymbols":{"Proxy":[5164]},"id":5165,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5114,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"99:23:31"},{"abstract":true,"baseContracts":[],"canonicalName":"Proxy","contractDependencies":[],"contractKind":"contract","documentation":{"id":5115,"nodeType":"StructuredDocumentation","src":"124:598:31","text":" @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM\n instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to\n be specified by overriding the virtual {_implementation} function.\n Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a\n different contract through the {_delegate} function.\n The success and return data of the delegated call will be returned back to the caller of the proxy."},"fullyImplemented":false,"id":5164,"linearizedBaseContracts":[5164],"name":"Proxy","nameLocation":"741:5:31","nodeType":"ContractDefinition","nodes":[{"body":{"id":5122,"nodeType":"Block","src":"1008:835:31","statements":[{"AST":{"nodeType":"YulBlock","src":"1027:810:31","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1280:1:31","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1283:1:31","type":"","value":"0"},{"arguments":[],"functionName":{"name":"calldatasize","nodeType":"YulIdentifier","src":"1286:12:31"},"nodeType":"YulFunctionCall","src":"1286:14:31"}],"functionName":{"name":"calldatacopy","nodeType":"YulIdentifier","src":"1267:12:31"},"nodeType":"YulFunctionCall","src":"1267:34:31"},"nodeType":"YulExpressionStatement","src":"1267:34:31"},{"nodeType":"YulVariableDeclaration","src":"1428:74:31","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nodeType":"YulIdentifier","src":"1455:3:31"},"nodeType":"YulFunctionCall","src":"1455:5:31"},{"name":"implementation","nodeType":"YulIdentifier","src":"1462:14:31"},{"kind":"number","nodeType":"YulLiteral","src":"1478:1:31","type":"","value":"0"},{"arguments":[],"functionName":{"name":"calldatasize","nodeType":"YulIdentifier","src":"1481:12:31"},"nodeType":"YulFunctionCall","src":"1481:14:31"},{"kind":"number","nodeType":"YulLiteral","src":"1497:1:31","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1500:1:31","type":"","value":"0"}],"functionName":{"name":"delegatecall","nodeType":"YulIdentifier","src":"1442:12:31"},"nodeType":"YulFunctionCall","src":"1442:60:31"},"variables":[{"name":"result","nodeType":"YulTypedName","src":"1432:6:31","type":""}]},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1570:1:31","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1573:1:31","type":"","value":"0"},{"arguments":[],"functionName":{"name":"returndatasize","nodeType":"YulIdentifier","src":"1576:14:31"},"nodeType":"YulFunctionCall","src":"1576:16:31"}],"functionName":{"name":"returndatacopy","nodeType":"YulIdentifier","src":"1555:14:31"},"nodeType":"YulFunctionCall","src":"1555:38:31"},"nodeType":"YulExpressionStatement","src":"1555:38:31"},{"cases":[{"body":{"nodeType":"YulBlock","src":"1688:59:31","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1713:1:31","type":"","value":"0"},{"arguments":[],"functionName":{"name":"returndatasize","nodeType":"YulIdentifier","src":"1716:14:31"},"nodeType":"YulFunctionCall","src":"1716:16:31"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1706:6:31"},"nodeType":"YulFunctionCall","src":"1706:27:31"},"nodeType":"YulExpressionStatement","src":"1706:27:31"}]},"nodeType":"YulCase","src":"1681:66:31","value":{"kind":"number","nodeType":"YulLiteral","src":"1686:1:31","type":"","value":"0"}},{"body":{"nodeType":"YulBlock","src":"1768:59:31","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1793:1:31","type":"","value":"0"},{"arguments":[],"functionName":{"name":"returndatasize","nodeType":"YulIdentifier","src":"1796:14:31"},"nodeType":"YulFunctionCall","src":"1796:16:31"}],"functionName":{"name":"return","nodeType":"YulIdentifier","src":"1786:6:31"},"nodeType":"YulFunctionCall","src":"1786:27:31"},"nodeType":"YulExpressionStatement","src":"1786:27:31"}]},"nodeType":"YulCase","src":"1760:67:31","value":"default"}],"expression":{"name":"result","nodeType":"YulIdentifier","src":"1614:6:31"},"nodeType":"YulSwitch","src":"1607:220:31"}]},"evmVersion":"paris","externalReferences":[{"declaration":5118,"isOffset":false,"isSlot":false,"src":"1462:14:31","valueSize":1}],"id":5121,"nodeType":"InlineAssembly","src":"1018:819:31"}]},"documentation":{"id":5116,"nodeType":"StructuredDocumentation","src":"753:190:31","text":" @dev Delegates the current call to `implementation`.\n This function does not return to its internal call site, it will return directly to the external caller."},"id":5123,"implemented":true,"kind":"function","modifiers":[],"name":"_delegate","nameLocation":"957:9:31","nodeType":"FunctionDefinition","parameters":{"id":5119,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5118,"mutability":"mutable","name":"implementation","nameLocation":"975:14:31","nodeType":"VariableDeclaration","scope":5123,"src":"967:22:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5117,"name":"address","nodeType":"ElementaryTypeName","src":"967:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"966:24:31"},"returnParameters":{"id":5120,"nodeType":"ParameterList","parameters":[],"src":"1008:0:31"},"scope":5164,"src":"948:895:31","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"documentation":{"id":5124,"nodeType":"StructuredDocumentation","src":"1849:173:31","text":" @dev This is a virtual function that should be overridden so it returns the address to which the fallback function\n and {_fallback} should delegate."},"id":5129,"implemented":false,"kind":"function","modifiers":[],"name":"_implementation","nameLocation":"2036:15:31","nodeType":"FunctionDefinition","parameters":{"id":5125,"nodeType":"ParameterList","parameters":[],"src":"2051:2:31"},"returnParameters":{"id":5128,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5127,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5129,"src":"2085:7:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5126,"name":"address","nodeType":"ElementaryTypeName","src":"2085:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2084:9:31"},"scope":5164,"src":"2027:67:31","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":5141,"nodeType":"Block","src":"2360:72:31","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":5133,"name":"_beforeFallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5163,"src":"2370:15:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":5134,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2370:17:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5135,"nodeType":"ExpressionStatement","src":"2370:17:31"},{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":5137,"name":"_implementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5129,"src":"2407:15:31","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":5138,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2407:17:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5136,"name":"_delegate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5123,"src":"2397:9:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":5139,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2397:28:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5140,"nodeType":"ExpressionStatement","src":"2397:28:31"}]},"documentation":{"id":5130,"nodeType":"StructuredDocumentation","src":"2100:217:31","text":" @dev Delegates the current call to the address returned by `_implementation()`.\n This function does not return to its internal call site, it will return directly to the external caller."},"id":5142,"implemented":true,"kind":"function","modifiers":[],"name":"_fallback","nameLocation":"2331:9:31","nodeType":"FunctionDefinition","parameters":{"id":5131,"nodeType":"ParameterList","parameters":[],"src":"2340:2:31"},"returnParameters":{"id":5132,"nodeType":"ParameterList","parameters":[],"src":"2360:0:31"},"scope":5164,"src":"2322:110:31","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":5149,"nodeType":"Block","src":"2665:28:31","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":5146,"name":"_fallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5142,"src":"2675:9:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":5147,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2675:11:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5148,"nodeType":"ExpressionStatement","src":"2675:11:31"}]},"documentation":{"id":5143,"nodeType":"StructuredDocumentation","src":"2438:186:31","text":" @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other\n function in the contract matches the call data."},"id":5150,"implemented":true,"kind":"fallback","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":5144,"nodeType":"ParameterList","parameters":[],"src":"2637:2:31"},"returnParameters":{"id":5145,"nodeType":"ParameterList","parameters":[],"src":"2665:0:31"},"scope":5164,"src":"2629:64:31","stateMutability":"payable","virtual":true,"visibility":"external"},{"body":{"id":5157,"nodeType":"Block","src":"2888:28:31","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":5154,"name":"_fallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5142,"src":"2898:9:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":5155,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2898:11:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5156,"nodeType":"ExpressionStatement","src":"2898:11:31"}]},"documentation":{"id":5151,"nodeType":"StructuredDocumentation","src":"2699:149:31","text":" @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data\n is empty."},"id":5158,"implemented":true,"kind":"receive","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":5152,"nodeType":"ParameterList","parameters":[],"src":"2860:2:31"},"returnParameters":{"id":5153,"nodeType":"ParameterList","parameters":[],"src":"2888:0:31"},"scope":5164,"src":"2853:63:31","stateMutability":"payable","virtual":true,"visibility":"external"},{"body":{"id":5162,"nodeType":"Block","src":"3242:2:31","statements":[]},"documentation":{"id":5159,"nodeType":"StructuredDocumentation","src":"2922:271:31","text":" @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`\n call, or as part of the Solidity `fallback` or `receive` functions.\n If overridden should call `super._beforeFallback()`."},"id":5163,"implemented":true,"kind":"function","modifiers":[],"name":"_beforeFallback","nameLocation":"3207:15:31","nodeType":"FunctionDefinition","parameters":{"id":5160,"nodeType":"ParameterList","parameters":[],"src":"3222:2:31"},"returnParameters":{"id":5161,"nodeType":"ParameterList","parameters":[],"src":"3242:0:31"},"scope":5164,"src":"3198:46:31","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":5165,"src":"723:2523:31","usedErrors":[],"usedEvents":[]}],"src":"99:3148:31"},"id":31},"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol","exportedSymbols":{"Address":[5645],"BeaconProxy":[5230],"ERC1967Upgrade":[5112],"IBeacon":[5240],"IERC1822Proxiable":[4808],"IERC1967":[4798],"Proxy":[5164],"StorageSlot":[5777]},"id":5231,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5166,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"112:23:32"},{"absolutePath":"@openzeppelin/contracts/proxy/beacon/IBeacon.sol","file":"./IBeacon.sol","id":5167,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5231,"sourceUnit":5241,"src":"137:23:32","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/proxy/Proxy.sol","file":"../Proxy.sol","id":5168,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5231,"sourceUnit":5165,"src":"161:22:32","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol","file":"../ERC1967/ERC1967Upgrade.sol","id":5169,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5231,"sourceUnit":5113,"src":"184:39:32","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":5171,"name":"Proxy","nameLocations":["604:5:32"],"nodeType":"IdentifierPath","referencedDeclaration":5164,"src":"604:5:32"},"id":5172,"nodeType":"InheritanceSpecifier","src":"604:5:32"},{"baseName":{"id":5173,"name":"ERC1967Upgrade","nameLocations":["611:14:32"],"nodeType":"IdentifierPath","referencedDeclaration":5112,"src":"611:14:32"},"id":5174,"nodeType":"InheritanceSpecifier","src":"611:14:32"}],"canonicalName":"BeaconProxy","contractDependencies":[],"contractKind":"contract","documentation":{"id":5170,"nodeType":"StructuredDocumentation","src":"225:354:32","text":" @dev This contract implements a proxy that gets the implementation address for each call from an {UpgradeableBeacon}.\n The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't\n conflict with the storage layout of the implementation behind the proxy.\n _Available since v3.4._"},"fullyImplemented":true,"id":5230,"linearizedBaseContracts":[5230,5112,4798,5164],"name":"BeaconProxy","nameLocation":"589:11:32","nodeType":"ContractDefinition","nodes":[{"body":{"id":5188,"nodeType":"Block","src":"1115:61:32","statements":[{"expression":{"arguments":[{"id":5183,"name":"beacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5177,"src":"1149:6:32","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5184,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5179,"src":"1157:4:32","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"66616c7365","id":5185,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1163:5:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":5182,"name":"_upgradeBeaconToAndCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5111,"src":"1125:23:32","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bool_$returns$__$","typeString":"function (address,bytes memory,bool)"}},"id":5186,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1125:44:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5187,"nodeType":"ExpressionStatement","src":"1125:44:32"}]},"documentation":{"id":5175,"nodeType":"StructuredDocumentation","src":"632:423:32","text":" @dev Initializes the proxy with `beacon`.\n If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This\n will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity\n constructor.\n Requirements:\n - `beacon` must be a contract with the interface {IBeacon}."},"id":5189,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":5180,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5177,"mutability":"mutable","name":"beacon","nameLocation":"1080:6:32","nodeType":"VariableDeclaration","scope":5189,"src":"1072:14:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5176,"name":"address","nodeType":"ElementaryTypeName","src":"1072:7:32","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5179,"mutability":"mutable","name":"data","nameLocation":"1101:4:32","nodeType":"VariableDeclaration","scope":5189,"src":"1088:17:32","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5178,"name":"bytes","nodeType":"ElementaryTypeName","src":"1088:5:32","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1071:35:32"},"returnParameters":{"id":5181,"nodeType":"ParameterList","parameters":[],"src":"1115:0:32"},"scope":5230,"src":"1060:116:32","stateMutability":"payable","virtual":false,"visibility":"public"},{"body":{"id":5198,"nodeType":"Block","src":"1305:36:32","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":5195,"name":"_getBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5037,"src":"1322:10:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":5196,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1322:12:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":5194,"id":5197,"nodeType":"Return","src":"1315:19:32"}]},"documentation":{"id":5190,"nodeType":"StructuredDocumentation","src":"1182:59:32","text":" @dev Returns the current beacon address."},"id":5199,"implemented":true,"kind":"function","modifiers":[],"name":"_beacon","nameLocation":"1255:7:32","nodeType":"FunctionDefinition","parameters":{"id":5191,"nodeType":"ParameterList","parameters":[],"src":"1262:2:32"},"returnParameters":{"id":5194,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5193,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5199,"src":"1296:7:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5192,"name":"address","nodeType":"ElementaryTypeName","src":"1296:7:32","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1295:9:32"},"scope":5230,"src":"1246:95:32","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[5129],"body":{"id":5213,"nodeType":"Block","src":"1520:62:32","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":5207,"name":"_getBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5037,"src":"1545:10:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":5208,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1545:12:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5206,"name":"IBeacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5240,"src":"1537:7:32","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IBeacon_$5240_$","typeString":"type(contract IBeacon)"}},"id":5209,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1537:21:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IBeacon_$5240","typeString":"contract IBeacon"}},"id":5210,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1559:14:32","memberName":"implementation","nodeType":"MemberAccess","referencedDeclaration":5239,"src":"1537:36:32","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_address_$","typeString":"function () view external returns (address)"}},"id":5211,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1537:38:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":5205,"id":5212,"nodeType":"Return","src":"1530:45:32"}]},"documentation":{"id":5200,"nodeType":"StructuredDocumentation","src":"1347:92:32","text":" @dev Returns the current implementation address of the associated beacon."},"id":5214,"implemented":true,"kind":"function","modifiers":[],"name":"_implementation","nameLocation":"1453:15:32","nodeType":"FunctionDefinition","overrides":{"id":5202,"nodeType":"OverrideSpecifier","overrides":[],"src":"1493:8:32"},"parameters":{"id":5201,"nodeType":"ParameterList","parameters":[],"src":"1468:2:32"},"returnParameters":{"id":5205,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5204,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5214,"src":"1511:7:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5203,"name":"address","nodeType":"ElementaryTypeName","src":"1511:7:32","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1510:9:32"},"scope":5230,"src":"1444:138:32","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":5228,"nodeType":"Block","src":"2032:61:32","statements":[{"expression":{"arguments":[{"id":5223,"name":"beacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5217,"src":"2066:6:32","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5224,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5219,"src":"2074:4:32","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"66616c7365","id":5225,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2080:5:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":5222,"name":"_upgradeBeaconToAndCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5111,"src":"2042:23:32","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_bool_$returns$__$","typeString":"function (address,bytes memory,bool)"}},"id":5226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2042:44:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5227,"nodeType":"ExpressionStatement","src":"2042:44:32"}]},"documentation":{"id":5215,"nodeType":"StructuredDocumentation","src":"1588:367:32","text":" @dev Changes the proxy to use a new beacon. Deprecated: see {_upgradeBeaconToAndCall}.\n If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon.\n Requirements:\n - `beacon` must be a contract.\n - The implementation returned by `beacon` must be a contract."},"id":5229,"implemented":true,"kind":"function","modifiers":[],"name":"_setBeacon","nameLocation":"1969:10:32","nodeType":"FunctionDefinition","parameters":{"id":5220,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5217,"mutability":"mutable","name":"beacon","nameLocation":"1988:6:32","nodeType":"VariableDeclaration","scope":5229,"src":"1980:14:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5216,"name":"address","nodeType":"ElementaryTypeName","src":"1980:7:32","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5219,"mutability":"mutable","name":"data","nameLocation":"2009:4:32","nodeType":"VariableDeclaration","scope":5229,"src":"1996:17:32","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5218,"name":"bytes","nodeType":"ElementaryTypeName","src":"1996:5:32","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1979:35:32"},"returnParameters":{"id":5221,"nodeType":"ParameterList","parameters":[],"src":"2032:0:32"},"scope":5230,"src":"1960:133:32","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":5231,"src":"580:1515:32","usedErrors":[],"usedEvents":[4785,4792,4797]}],"src":"112:1984:32"},"id":32},"@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/proxy/beacon/IBeacon.sol","exportedSymbols":{"IBeacon":[5240]},"id":5241,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5232,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"93:23:33"},{"abstract":false,"baseContracts":[],"canonicalName":"IBeacon","contractDependencies":[],"contractKind":"interface","documentation":{"id":5233,"nodeType":"StructuredDocumentation","src":"118:79:33","text":" @dev This is the interface that {BeaconProxy} expects of its beacon."},"fullyImplemented":false,"id":5240,"linearizedBaseContracts":[5240],"name":"IBeacon","nameLocation":"208:7:33","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":5234,"nodeType":"StructuredDocumentation","src":"222:162:33","text":" @dev Must return an address that can be used as a delegate call target.\n {BeaconProxy} will check that this address is a contract."},"functionSelector":"5c60da1b","id":5239,"implemented":false,"kind":"function","modifiers":[],"name":"implementation","nameLocation":"398:14:33","nodeType":"FunctionDefinition","parameters":{"id":5235,"nodeType":"ParameterList","parameters":[],"src":"412:2:33"},"returnParameters":{"id":5238,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5237,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5239,"src":"438:7:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5236,"name":"address","nodeType":"ElementaryTypeName","src":"438:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"437:9:33"},"scope":5240,"src":"389:58:33","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":5241,"src":"198:251:33","usedErrors":[],"usedEvents":[]}],"src":"93:357:33"},"id":33},"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol","exportedSymbols":{"Address":[5645],"Context":[5667],"IBeacon":[5240],"Ownable":[4777],"UpgradeableBeacon":[5315]},"id":5316,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5242,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"103:23:34"},{"absolutePath":"@openzeppelin/contracts/proxy/beacon/IBeacon.sol","file":"./IBeacon.sol","id":5243,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5316,"sourceUnit":5241,"src":"128:23:34","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/access/Ownable.sol","file":"../../access/Ownable.sol","id":5244,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5316,"sourceUnit":4778,"src":"152:34:34","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Address.sol","file":"../../utils/Address.sol","id":5245,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5316,"sourceUnit":5646,"src":"187:33:34","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":5247,"name":"IBeacon","nameLocations":["573:7:34"],"nodeType":"IdentifierPath","referencedDeclaration":5240,"src":"573:7:34"},"id":5248,"nodeType":"InheritanceSpecifier","src":"573:7:34"},{"baseName":{"id":5249,"name":"Ownable","nameLocations":["582:7:34"],"nodeType":"IdentifierPath","referencedDeclaration":4777,"src":"582:7:34"},"id":5250,"nodeType":"InheritanceSpecifier","src":"582:7:34"}],"canonicalName":"UpgradeableBeacon","contractDependencies":[],"contractKind":"contract","documentation":{"id":5246,"nodeType":"StructuredDocumentation","src":"222:320:34","text":" @dev This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their\n implementation contract, which is where they will delegate all function calls.\n An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon."},"fullyImplemented":true,"id":5315,"linearizedBaseContracts":[5315,4777,5667,5240],"name":"UpgradeableBeacon","nameLocation":"552:17:34","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":5252,"mutability":"mutable","name":"_implementation","nameLocation":"612:15:34","nodeType":"VariableDeclaration","scope":5315,"src":"596:31:34","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5251,"name":"address","nodeType":"ElementaryTypeName","src":"596:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"private"},{"anonymous":false,"documentation":{"id":5253,"nodeType":"StructuredDocumentation","src":"634:90:34","text":" @dev Emitted when the implementation returned by the beacon is changed."},"eventSelector":"bc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b","id":5257,"name":"Upgraded","nameLocation":"735:8:34","nodeType":"EventDefinition","parameters":{"id":5256,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5255,"indexed":true,"mutability":"mutable","name":"implementation","nameLocation":"760:14:34","nodeType":"VariableDeclaration","scope":5257,"src":"744:30:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5254,"name":"address","nodeType":"ElementaryTypeName","src":"744:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"743:32:34"},"src":"729:47:34"},{"body":{"id":5267,"nodeType":"Block","src":"968:52:34","statements":[{"expression":{"arguments":[{"id":5264,"name":"implementation_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5260,"src":"997:15:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5263,"name":"_setImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5314,"src":"978:18:34","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":5265,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"978:35:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5266,"nodeType":"ExpressionStatement","src":"978:35:34"}]},"documentation":{"id":5258,"nodeType":"StructuredDocumentation","src":"782:144:34","text":" @dev Sets the address of the initial implementation, and the deployer account as the owner who can upgrade the\n beacon."},"id":5268,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":5261,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5260,"mutability":"mutable","name":"implementation_","nameLocation":"951:15:34","nodeType":"VariableDeclaration","scope":5268,"src":"943:23:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5259,"name":"address","nodeType":"ElementaryTypeName","src":"943:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"942:25:34"},"returnParameters":{"id":5262,"nodeType":"ParameterList","parameters":[],"src":"968:0:34"},"scope":5315,"src":"931:89:34","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[5239],"body":{"id":5277,"nodeType":"Block","src":"1171:39:34","statements":[{"expression":{"id":5275,"name":"_implementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5252,"src":"1188:15:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":5274,"id":5276,"nodeType":"Return","src":"1181:22:34"}]},"documentation":{"id":5269,"nodeType":"StructuredDocumentation","src":"1026:67:34","text":" @dev Returns the current implementation address."},"functionSelector":"5c60da1b","id":5278,"implemented":true,"kind":"function","modifiers":[],"name":"implementation","nameLocation":"1107:14:34","nodeType":"FunctionDefinition","overrides":{"id":5271,"nodeType":"OverrideSpecifier","overrides":[],"src":"1144:8:34"},"parameters":{"id":5270,"nodeType":"ParameterList","parameters":[],"src":"1121:2:34"},"returnParameters":{"id":5274,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5273,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5278,"src":"1162:7:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5272,"name":"address","nodeType":"ElementaryTypeName","src":"1162:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1161:9:34"},"scope":5315,"src":"1098:112:34","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":5294,"nodeType":"Block","src":"1540:96:34","statements":[{"expression":{"arguments":[{"id":5287,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5281,"src":"1569:17:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5286,"name":"_setImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5314,"src":"1550:18:34","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":5288,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1550:37:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5289,"nodeType":"ExpressionStatement","src":"1550:37:34"},{"eventCall":{"arguments":[{"id":5291,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5281,"src":"1611:17:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5290,"name":"Upgraded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5257,"src":"1602:8:34","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":5292,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1602:27:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5293,"nodeType":"EmitStatement","src":"1597:32:34"}]},"documentation":{"id":5279,"nodeType":"StructuredDocumentation","src":"1216:248:34","text":" @dev Upgrades the beacon to a new implementation.\n Emits an {Upgraded} event.\n Requirements:\n - msg.sender must be the owner of the contract.\n - `newImplementation` must be a contract."},"functionSelector":"3659cfe6","id":5295,"implemented":true,"kind":"function","modifiers":[{"id":5284,"kind":"modifierInvocation","modifierName":{"id":5283,"name":"onlyOwner","nameLocations":["1530:9:34"],"nodeType":"IdentifierPath","referencedDeclaration":4696,"src":"1530:9:34"},"nodeType":"ModifierInvocation","src":"1530:9:34"}],"name":"upgradeTo","nameLocation":"1478:9:34","nodeType":"FunctionDefinition","parameters":{"id":5282,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5281,"mutability":"mutable","name":"newImplementation","nameLocation":"1496:17:34","nodeType":"VariableDeclaration","scope":5295,"src":"1488:25:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5280,"name":"address","nodeType":"ElementaryTypeName","src":"1488:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1487:27:34"},"returnParameters":{"id":5285,"nodeType":"ParameterList","parameters":[],"src":"1540:0:34"},"scope":5315,"src":"1469:167:34","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":5313,"nodeType":"Block","src":"1874:163:34","statements":[{"expression":{"arguments":[{"arguments":[{"id":5304,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5298,"src":"1911:17:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":5302,"name":"Address","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5645,"src":"1892:7:34","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Address_$5645_$","typeString":"type(library Address)"}},"id":5303,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1900:10:34","memberName":"isContract","nodeType":"MemberAccess","referencedDeclaration":5333,"src":"1892:18:34","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":5305,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1892:37:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374","id":5306,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1931:53:34","typeDescriptions":{"typeIdentifier":"t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6","typeString":"literal_string \"UpgradeableBeacon: implementation is not a contract\""},"value":"UpgradeableBeacon: implementation is not a contract"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6","typeString":"literal_string \"UpgradeableBeacon: implementation is not a contract\""}],"id":5301,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1884:7:34","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":5307,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1884:101:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5308,"nodeType":"ExpressionStatement","src":"1884:101:34"},{"expression":{"id":5311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5309,"name":"_implementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5252,"src":"1995:15:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":5310,"name":"newImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5298,"src":"2013:17:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1995:35:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5312,"nodeType":"ExpressionStatement","src":"1995:35:34"}]},"documentation":{"id":5296,"nodeType":"StructuredDocumentation","src":"1642:164:34","text":" @dev Sets the implementation contract address for this beacon\n Requirements:\n - `newImplementation` must be a contract."},"id":5314,"implemented":true,"kind":"function","modifiers":[],"name":"_setImplementation","nameLocation":"1820:18:34","nodeType":"FunctionDefinition","parameters":{"id":5299,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5298,"mutability":"mutable","name":"newImplementation","nameLocation":"1847:17:34","nodeType":"VariableDeclaration","scope":5314,"src":"1839:25:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5297,"name":"address","nodeType":"ElementaryTypeName","src":"1839:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1838:27:34"},"returnParameters":{"id":5300,"nodeType":"ParameterList","parameters":[],"src":"1874:0:34"},"scope":5315,"src":"1811:226:34","stateMutability":"nonpayable","virtual":false,"visibility":"private"}],"scope":5316,"src":"543:1496:34","usedErrors":[],"usedEvents":[4678,5257]}],"src":"103:1937:34"},"id":34},"@openzeppelin/contracts/utils/Address.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Address.sol","exportedSymbols":{"Address":[5645]},"id":5646,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5317,"literals":["solidity","^","0.8",".1"],"nodeType":"PragmaDirective","src":"101:23:35"},{"abstract":false,"baseContracts":[],"canonicalName":"Address","contractDependencies":[],"contractKind":"library","documentation":{"id":5318,"nodeType":"StructuredDocumentation","src":"126:67:35","text":" @dev Collection of functions related to the address type"},"fullyImplemented":true,"id":5645,"linearizedBaseContracts":[5645],"name":"Address","nameLocation":"202:7:35","nodeType":"ContractDefinition","nodes":[{"body":{"id":5332,"nodeType":"Block","src":"1478:254:35","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5330,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":5326,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5321,"src":"1702:7:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1710:4:35","memberName":"code","nodeType":"MemberAccess","src":"1702:12:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5328,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1715:6:35","memberName":"length","nodeType":"MemberAccess","src":"1702:19:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5329,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1724:1:35","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1702:23:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":5325,"id":5331,"nodeType":"Return","src":"1695:30:35"}]},"documentation":{"id":5319,"nodeType":"StructuredDocumentation","src":"216:1191:35","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 Furthermore, `isContract` will also return true if the target contract within\n the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n which only has an effect at the end of a transaction.\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":5333,"implemented":true,"kind":"function","modifiers":[],"name":"isContract","nameLocation":"1421:10:35","nodeType":"FunctionDefinition","parameters":{"id":5322,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5321,"mutability":"mutable","name":"account","nameLocation":"1440:7:35","nodeType":"VariableDeclaration","scope":5333,"src":"1432:15:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5320,"name":"address","nodeType":"ElementaryTypeName","src":"1432:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1431:17:35"},"returnParameters":{"id":5325,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5324,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5333,"src":"1472:4:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5323,"name":"bool","nodeType":"ElementaryTypeName","src":"1472:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1471:6:35"},"scope":5645,"src":"1412:320:35","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":5366,"nodeType":"Block","src":"2718:241:35","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5348,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":5344,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2744:4:35","typeDescriptions":{"typeIdentifier":"t_contract$_Address_$5645","typeString":"library Address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Address_$5645","typeString":"library Address"}],"id":5343,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2736:7:35","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5342,"name":"address","nodeType":"ElementaryTypeName","src":"2736:7:35","typeDescriptions":{}}},"id":5345,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2736:13:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5346,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2750:7:35","memberName":"balance","nodeType":"MemberAccess","src":"2736:21:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":5347,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5338,"src":"2761:6:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2736:31:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e6365","id":5349,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2769:31:35","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":5341,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2728:7:35","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":5350,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2728:73:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5351,"nodeType":"ExpressionStatement","src":"2728:73:35"},{"assignments":[5353,null],"declarations":[{"constant":false,"id":5353,"mutability":"mutable","name":"success","nameLocation":"2818:7:35","nodeType":"VariableDeclaration","scope":5366,"src":"2813:12:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5352,"name":"bool","nodeType":"ElementaryTypeName","src":"2813:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},null],"id":5360,"initialValue":{"arguments":[{"hexValue":"","id":5358,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2861:2:35","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":5354,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5336,"src":"2831:9:35","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":5355,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2841:4:35","memberName":"call","nodeType":"MemberAccess","src":"2831:14:35","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":5357,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":5356,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5338,"src":"2853:6:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"2831:29:35","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":5359,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2831:33:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"2812:52:35"},{"expression":{"arguments":[{"id":5362,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5353,"src":"2882:7:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564","id":5363,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2891:60:35","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":5361,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2874:7:35","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":5364,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2874:78:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5365,"nodeType":"ExpressionStatement","src":"2874:78:35"}]},"documentation":{"id":5334,"nodeType":"StructuredDocumentation","src":"1738:904:35","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://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]."},"id":5367,"implemented":true,"kind":"function","modifiers":[],"name":"sendValue","nameLocation":"2656:9:35","nodeType":"FunctionDefinition","parameters":{"id":5339,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5336,"mutability":"mutable","name":"recipient","nameLocation":"2682:9:35","nodeType":"VariableDeclaration","scope":5367,"src":"2666:25:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"},"typeName":{"id":5335,"name":"address","nodeType":"ElementaryTypeName","src":"2666:15:35","stateMutability":"payable","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"visibility":"internal"},{"constant":false,"id":5338,"mutability":"mutable","name":"amount","nameLocation":"2701:6:35","nodeType":"VariableDeclaration","scope":5367,"src":"2693:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5337,"name":"uint256","nodeType":"ElementaryTypeName","src":"2693:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2665:43:35"},"returnParameters":{"id":5340,"nodeType":"ParameterList","parameters":[],"src":"2718:0:35"},"scope":5645,"src":"2647:312:35","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5384,"nodeType":"Block","src":"3790:96:35","statements":[{"expression":{"arguments":[{"id":5378,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5370,"src":"3829:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5379,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5372,"src":"3837:4:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":5380,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3843:1:35","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564","id":5381,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3846:32:35","typeDescriptions":{"typeIdentifier":"t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df","typeString":"literal_string \"Address: low-level call failed\""},"value":"Address: low-level call failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df","typeString":"literal_string \"Address: low-level call failed\""}],"id":5377,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[5425,5469],"referencedDeclaration":5469,"src":"3807:21:35","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":5382,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3807:72:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5376,"id":5383,"nodeType":"Return","src":"3800:79:35"}]},"documentation":{"id":5368,"nodeType":"StructuredDocumentation","src":"2965:731:35","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":5385,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"3710:12:35","nodeType":"FunctionDefinition","parameters":{"id":5373,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5370,"mutability":"mutable","name":"target","nameLocation":"3731:6:35","nodeType":"VariableDeclaration","scope":5385,"src":"3723:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5369,"name":"address","nodeType":"ElementaryTypeName","src":"3723:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5372,"mutability":"mutable","name":"data","nameLocation":"3752:4:35","nodeType":"VariableDeclaration","scope":5385,"src":"3739:17:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5371,"name":"bytes","nodeType":"ElementaryTypeName","src":"3739:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3722:35:35"},"returnParameters":{"id":5376,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5375,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5385,"src":"3776:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5374,"name":"bytes","nodeType":"ElementaryTypeName","src":"3776:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3775:14:35"},"scope":5645,"src":"3701:185:35","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5404,"nodeType":"Block","src":"4255:76:35","statements":[{"expression":{"arguments":[{"id":5398,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5388,"src":"4294:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5399,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5390,"src":"4302:4:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":5400,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4308:1:35","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":5401,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5392,"src":"4311:12:35","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":5397,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[5425,5469],"referencedDeclaration":5469,"src":"4272:21:35","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":5402,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4272:52:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5396,"id":5403,"nodeType":"Return","src":"4265:59:35"}]},"documentation":{"id":5386,"nodeType":"StructuredDocumentation","src":"3892:211:35","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":5405,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"4117:12:35","nodeType":"FunctionDefinition","parameters":{"id":5393,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5388,"mutability":"mutable","name":"target","nameLocation":"4147:6:35","nodeType":"VariableDeclaration","scope":5405,"src":"4139:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5387,"name":"address","nodeType":"ElementaryTypeName","src":"4139:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5390,"mutability":"mutable","name":"data","nameLocation":"4176:4:35","nodeType":"VariableDeclaration","scope":5405,"src":"4163:17:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5389,"name":"bytes","nodeType":"ElementaryTypeName","src":"4163:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5392,"mutability":"mutable","name":"errorMessage","nameLocation":"4204:12:35","nodeType":"VariableDeclaration","scope":5405,"src":"4190:26:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5391,"name":"string","nodeType":"ElementaryTypeName","src":"4190:6:35","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"4129:93:35"},"returnParameters":{"id":5396,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5395,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5405,"src":"4241:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5394,"name":"bytes","nodeType":"ElementaryTypeName","src":"4241:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4240:14:35"},"scope":5645,"src":"4108:223:35","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5424,"nodeType":"Block","src":"4806:111:35","statements":[{"expression":{"arguments":[{"id":5418,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5408,"src":"4845:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5419,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5410,"src":"4853:4:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":5420,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5412,"src":"4859:5:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564","id":5421,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4866:43:35","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":5417,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[5425,5469],"referencedDeclaration":5469,"src":"4823:21:35","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":5422,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4823:87:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5416,"id":5423,"nodeType":"Return","src":"4816:94:35"}]},"documentation":{"id":5406,"nodeType":"StructuredDocumentation","src":"4337:351:35","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":5425,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"4702:21:35","nodeType":"FunctionDefinition","parameters":{"id":5413,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5408,"mutability":"mutable","name":"target","nameLocation":"4732:6:35","nodeType":"VariableDeclaration","scope":5425,"src":"4724:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5407,"name":"address","nodeType":"ElementaryTypeName","src":"4724:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5410,"mutability":"mutable","name":"data","nameLocation":"4753:4:35","nodeType":"VariableDeclaration","scope":5425,"src":"4740:17:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5409,"name":"bytes","nodeType":"ElementaryTypeName","src":"4740:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5412,"mutability":"mutable","name":"value","nameLocation":"4767:5:35","nodeType":"VariableDeclaration","scope":5425,"src":"4759:13:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5411,"name":"uint256","nodeType":"ElementaryTypeName","src":"4759:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4723:50:35"},"returnParameters":{"id":5416,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5415,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5425,"src":"4792:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5414,"name":"bytes","nodeType":"ElementaryTypeName","src":"4792:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4791:14:35"},"scope":5645,"src":"4693:224:35","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5468,"nodeType":"Block","src":"5344:267:35","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5446,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":5442,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"5370:4:35","typeDescriptions":{"typeIdentifier":"t_contract$_Address_$5645","typeString":"library Address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Address_$5645","typeString":"library Address"}],"id":5441,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5362:7:35","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5440,"name":"address","nodeType":"ElementaryTypeName","src":"5362:7:35","typeDescriptions":{}}},"id":5443,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5362:13:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5444,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5376:7:35","memberName":"balance","nodeType":"MemberAccess","src":"5362:21:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":5445,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5432,"src":"5387:5:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5362:30:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c","id":5447,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5394:40:35","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":5439,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5354:7:35","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":5448,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5354:81:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5449,"nodeType":"ExpressionStatement","src":"5354:81:35"},{"assignments":[5451,5453],"declarations":[{"constant":false,"id":5451,"mutability":"mutable","name":"success","nameLocation":"5451:7:35","nodeType":"VariableDeclaration","scope":5468,"src":"5446:12:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5450,"name":"bool","nodeType":"ElementaryTypeName","src":"5446:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5453,"mutability":"mutable","name":"returndata","nameLocation":"5473:10:35","nodeType":"VariableDeclaration","scope":5468,"src":"5460:23:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5452,"name":"bytes","nodeType":"ElementaryTypeName","src":"5460:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5460,"initialValue":{"arguments":[{"id":5458,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5430,"src":"5513:4:35","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":5454,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5428,"src":"5487:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5455,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5494:4:35","memberName":"call","nodeType":"MemberAccess","src":"5487:11:35","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":5457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":5456,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5432,"src":"5506:5:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"5487:25:35","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":5459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5487:31:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"5445:73:35"},{"expression":{"arguments":[{"id":5462,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5428,"src":"5562:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5463,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5451,"src":"5570:7:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":5464,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5453,"src":"5579:10:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":5465,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5434,"src":"5591:12:35","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":5461,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5600,"src":"5535:26:35","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory,string memory) view returns (bytes memory)"}},"id":5466,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5535:69:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5438,"id":5467,"nodeType":"Return","src":"5528:76:35"}]},"documentation":{"id":5426,"nodeType":"StructuredDocumentation","src":"4923:237:35","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":5469,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"5174:21:35","nodeType":"FunctionDefinition","parameters":{"id":5435,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5428,"mutability":"mutable","name":"target","nameLocation":"5213:6:35","nodeType":"VariableDeclaration","scope":5469,"src":"5205:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5427,"name":"address","nodeType":"ElementaryTypeName","src":"5205:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5430,"mutability":"mutable","name":"data","nameLocation":"5242:4:35","nodeType":"VariableDeclaration","scope":5469,"src":"5229:17:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5429,"name":"bytes","nodeType":"ElementaryTypeName","src":"5229:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5432,"mutability":"mutable","name":"value","nameLocation":"5264:5:35","nodeType":"VariableDeclaration","scope":5469,"src":"5256:13:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5431,"name":"uint256","nodeType":"ElementaryTypeName","src":"5256:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5434,"mutability":"mutable","name":"errorMessage","nameLocation":"5293:12:35","nodeType":"VariableDeclaration","scope":5469,"src":"5279:26:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5433,"name":"string","nodeType":"ElementaryTypeName","src":"5279:6:35","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"5195:116:35"},"returnParameters":{"id":5438,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5437,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5469,"src":"5330:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5436,"name":"bytes","nodeType":"ElementaryTypeName","src":"5330:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5329:14:35"},"scope":5645,"src":"5165:446:35","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5485,"nodeType":"Block","src":"5888:97:35","statements":[{"expression":{"arguments":[{"id":5480,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5472,"src":"5924:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5481,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5474,"src":"5932:4:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564","id":5482,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5938:39:35","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":5479,"name":"functionStaticCall","nodeType":"Identifier","overloadedDeclarations":[5486,5515],"referencedDeclaration":5515,"src":"5905:18:35","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":5483,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5905:73:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5478,"id":5484,"nodeType":"Return","src":"5898:80:35"}]},"documentation":{"id":5470,"nodeType":"StructuredDocumentation","src":"5617:166:35","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":5486,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"5797:18:35","nodeType":"FunctionDefinition","parameters":{"id":5475,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5472,"mutability":"mutable","name":"target","nameLocation":"5824:6:35","nodeType":"VariableDeclaration","scope":5486,"src":"5816:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5471,"name":"address","nodeType":"ElementaryTypeName","src":"5816:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5474,"mutability":"mutable","name":"data","nameLocation":"5845:4:35","nodeType":"VariableDeclaration","scope":5486,"src":"5832:17:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5473,"name":"bytes","nodeType":"ElementaryTypeName","src":"5832:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5815:35:35"},"returnParameters":{"id":5478,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5477,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5486,"src":"5874:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5476,"name":"bytes","nodeType":"ElementaryTypeName","src":"5874:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5873:14:35"},"scope":5645,"src":"5788:197:35","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":5514,"nodeType":"Block","src":"6327:168:35","statements":[{"assignments":[5499,5501],"declarations":[{"constant":false,"id":5499,"mutability":"mutable","name":"success","nameLocation":"6343:7:35","nodeType":"VariableDeclaration","scope":5514,"src":"6338:12:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5498,"name":"bool","nodeType":"ElementaryTypeName","src":"6338:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5501,"mutability":"mutable","name":"returndata","nameLocation":"6365:10:35","nodeType":"VariableDeclaration","scope":5514,"src":"6352:23:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5500,"name":"bytes","nodeType":"ElementaryTypeName","src":"6352:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5506,"initialValue":{"arguments":[{"id":5504,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5491,"src":"6397:4:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5502,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5489,"src":"6379:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5503,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6386:10:35","memberName":"staticcall","nodeType":"MemberAccess","src":"6379:17:35","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":5505,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6379:23:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"6337:65:35"},{"expression":{"arguments":[{"id":5508,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5489,"src":"6446:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5509,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5499,"src":"6454:7:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":5510,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5501,"src":"6463:10:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":5511,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5493,"src":"6475:12:35","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":5507,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5600,"src":"6419:26:35","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory,string memory) view returns (bytes memory)"}},"id":5512,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6419:69:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5497,"id":5513,"nodeType":"Return","src":"6412:76:35"}]},"documentation":{"id":5487,"nodeType":"StructuredDocumentation","src":"5991:173:35","text":" @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":5515,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"6178:18:35","nodeType":"FunctionDefinition","parameters":{"id":5494,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5489,"mutability":"mutable","name":"target","nameLocation":"6214:6:35","nodeType":"VariableDeclaration","scope":5515,"src":"6206:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5488,"name":"address","nodeType":"ElementaryTypeName","src":"6206:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5491,"mutability":"mutable","name":"data","nameLocation":"6243:4:35","nodeType":"VariableDeclaration","scope":5515,"src":"6230:17:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5490,"name":"bytes","nodeType":"ElementaryTypeName","src":"6230:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5493,"mutability":"mutable","name":"errorMessage","nameLocation":"6271:12:35","nodeType":"VariableDeclaration","scope":5515,"src":"6257:26:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5492,"name":"string","nodeType":"ElementaryTypeName","src":"6257:6:35","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"6196:93:35"},"returnParameters":{"id":5497,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5496,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5515,"src":"6313:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5495,"name":"bytes","nodeType":"ElementaryTypeName","src":"6313:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6312:14:35"},"scope":5645,"src":"6169:326:35","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":5531,"nodeType":"Block","src":"6771:101:35","statements":[{"expression":{"arguments":[{"id":5526,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5518,"src":"6809:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5527,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5520,"src":"6817:4:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564","id":5528,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6823:41:35","typeDescriptions":{"typeIdentifier":"t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398","typeString":"literal_string \"Address: low-level delegate call failed\""},"value":"Address: low-level delegate call failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398","typeString":"literal_string \"Address: low-level delegate call failed\""}],"id":5525,"name":"functionDelegateCall","nodeType":"Identifier","overloadedDeclarations":[5532,5561],"referencedDeclaration":5561,"src":"6788:20:35","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":5529,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6788:77:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5524,"id":5530,"nodeType":"Return","src":"6781:84:35"}]},"documentation":{"id":5516,"nodeType":"StructuredDocumentation","src":"6501:168:35","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"},"id":5532,"implemented":true,"kind":"function","modifiers":[],"name":"functionDelegateCall","nameLocation":"6683:20:35","nodeType":"FunctionDefinition","parameters":{"id":5521,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5518,"mutability":"mutable","name":"target","nameLocation":"6712:6:35","nodeType":"VariableDeclaration","scope":5532,"src":"6704:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5517,"name":"address","nodeType":"ElementaryTypeName","src":"6704:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5520,"mutability":"mutable","name":"data","nameLocation":"6733:4:35","nodeType":"VariableDeclaration","scope":5532,"src":"6720:17:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5519,"name":"bytes","nodeType":"ElementaryTypeName","src":"6720:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6703:35:35"},"returnParameters":{"id":5524,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5523,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5532,"src":"6757:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5522,"name":"bytes","nodeType":"ElementaryTypeName","src":"6757:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6756:14:35"},"scope":5645,"src":"6674:198:35","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5560,"nodeType":"Block","src":"7213:170:35","statements":[{"assignments":[5545,5547],"declarations":[{"constant":false,"id":5545,"mutability":"mutable","name":"success","nameLocation":"7229:7:35","nodeType":"VariableDeclaration","scope":5560,"src":"7224:12:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5544,"name":"bool","nodeType":"ElementaryTypeName","src":"7224:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5547,"mutability":"mutable","name":"returndata","nameLocation":"7251:10:35","nodeType":"VariableDeclaration","scope":5560,"src":"7238:23:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5546,"name":"bytes","nodeType":"ElementaryTypeName","src":"7238:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5552,"initialValue":{"arguments":[{"id":5550,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5537,"src":"7285:4:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5548,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"7265:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7272:12:35","memberName":"delegatecall","nodeType":"MemberAccess","src":"7265:19:35","typeDescriptions":{"typeIdentifier":"t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) returns (bool,bytes memory)"}},"id":5551,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7265:25:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"7223:67:35"},{"expression":{"arguments":[{"id":5554,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"7334:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5555,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5545,"src":"7342:7:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":5556,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5547,"src":"7351:10:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":5557,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5539,"src":"7363:12:35","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":5553,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5600,"src":"7307:26:35","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bool,bytes memory,string memory) view returns (bytes memory)"}},"id":5558,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7307:69:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5543,"id":5559,"nodeType":"Return","src":"7300:76:35"}]},"documentation":{"id":5533,"nodeType":"StructuredDocumentation","src":"6878:175:35","text":" @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"},"id":5561,"implemented":true,"kind":"function","modifiers":[],"name":"functionDelegateCall","nameLocation":"7067:20:35","nodeType":"FunctionDefinition","parameters":{"id":5540,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5535,"mutability":"mutable","name":"target","nameLocation":"7105:6:35","nodeType":"VariableDeclaration","scope":5561,"src":"7097:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5534,"name":"address","nodeType":"ElementaryTypeName","src":"7097:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5537,"mutability":"mutable","name":"data","nameLocation":"7134:4:35","nodeType":"VariableDeclaration","scope":5561,"src":"7121:17:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5536,"name":"bytes","nodeType":"ElementaryTypeName","src":"7121:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5539,"mutability":"mutable","name":"errorMessage","nameLocation":"7162:12:35","nodeType":"VariableDeclaration","scope":5561,"src":"7148:26:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5538,"name":"string","nodeType":"ElementaryTypeName","src":"7148:6:35","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"7087:93:35"},"returnParameters":{"id":5543,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5542,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5561,"src":"7199:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5541,"name":"bytes","nodeType":"ElementaryTypeName","src":"7199:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7198:14:35"},"scope":5645,"src":"7058:325:35","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5599,"nodeType":"Block","src":"7865:434:35","statements":[{"condition":{"id":5575,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5566,"src":"7879:7:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":5597,"nodeType":"Block","src":"8235:58:35","statements":[{"expression":{"arguments":[{"id":5593,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5568,"src":"8257:10:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":5594,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5570,"src":"8269:12:35","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":5592,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5644,"src":"8249:7:35","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$","typeString":"function (bytes memory,string memory) pure"}},"id":5595,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8249:33:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5596,"nodeType":"ExpressionStatement","src":"8249:33:35"}]},"id":5598,"nodeType":"IfStatement","src":"7875:418:35","trueBody":{"id":5591,"nodeType":"Block","src":"7888:341:35","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5579,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5576,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5568,"src":"7906:10:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5577,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7917:6:35","memberName":"length","nodeType":"MemberAccess","src":"7906:17:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5578,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7927:1:35","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7906:22:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5588,"nodeType":"IfStatement","src":"7902:286:35","trueBody":{"id":5587,"nodeType":"Block","src":"7930:258:35","statements":[{"expression":{"arguments":[{"arguments":[{"id":5582,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5564,"src":"8132:6:35","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5581,"name":"isContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5333,"src":"8121:10:35","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":5583,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8121:18:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374","id":5584,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"8141:31:35","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":5580,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"8113:7:35","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":5585,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8113:60:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5586,"nodeType":"ExpressionStatement","src":"8113:60:35"}]}},{"expression":{"id":5589,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5568,"src":"8208:10:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5574,"id":5590,"nodeType":"Return","src":"8201:17:35"}]}}]},"documentation":{"id":5562,"nodeType":"StructuredDocumentation","src":"7389:277:35","text":" @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n _Available since v4.8._"},"id":5600,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResultFromTarget","nameLocation":"7680:26:35","nodeType":"FunctionDefinition","parameters":{"id":5571,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5564,"mutability":"mutable","name":"target","nameLocation":"7724:6:35","nodeType":"VariableDeclaration","scope":5600,"src":"7716:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5563,"name":"address","nodeType":"ElementaryTypeName","src":"7716:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5566,"mutability":"mutable","name":"success","nameLocation":"7745:7:35","nodeType":"VariableDeclaration","scope":5600,"src":"7740:12:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5565,"name":"bool","nodeType":"ElementaryTypeName","src":"7740:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5568,"mutability":"mutable","name":"returndata","nameLocation":"7775:10:35","nodeType":"VariableDeclaration","scope":5600,"src":"7762:23:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5567,"name":"bytes","nodeType":"ElementaryTypeName","src":"7762:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5570,"mutability":"mutable","name":"errorMessage","nameLocation":"7809:12:35","nodeType":"VariableDeclaration","scope":5600,"src":"7795:26:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5569,"name":"string","nodeType":"ElementaryTypeName","src":"7795:6:35","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"7706:121:35"},"returnParameters":{"id":5574,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5573,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5600,"src":"7851:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5572,"name":"bytes","nodeType":"ElementaryTypeName","src":"7851:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7850:14:35"},"scope":5645,"src":"7671:628:35","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":5623,"nodeType":"Block","src":"8680:135:35","statements":[{"condition":{"id":5612,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"8694:7:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":5621,"nodeType":"Block","src":"8751:58:35","statements":[{"expression":{"arguments":[{"id":5617,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5605,"src":"8773:10:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":5618,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5607,"src":"8785:12:35","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":5616,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5644,"src":"8765:7:35","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$","typeString":"function (bytes memory,string memory) pure"}},"id":5619,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8765:33:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5620,"nodeType":"ExpressionStatement","src":"8765:33:35"}]},"id":5622,"nodeType":"IfStatement","src":"8690:119:35","trueBody":{"id":5615,"nodeType":"Block","src":"8703:42:35","statements":[{"expression":{"id":5613,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5605,"src":"8724:10:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":5611,"id":5614,"nodeType":"Return","src":"8717:17:35"}]}}]},"documentation":{"id":5601,"nodeType":"StructuredDocumentation","src":"8305:210:35","text":" @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n revert reason or using the provided one.\n _Available since v4.3._"},"id":5624,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResult","nameLocation":"8529:16:35","nodeType":"FunctionDefinition","parameters":{"id":5608,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5603,"mutability":"mutable","name":"success","nameLocation":"8560:7:35","nodeType":"VariableDeclaration","scope":5624,"src":"8555:12:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5602,"name":"bool","nodeType":"ElementaryTypeName","src":"8555:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5605,"mutability":"mutable","name":"returndata","nameLocation":"8590:10:35","nodeType":"VariableDeclaration","scope":5624,"src":"8577:23:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5604,"name":"bytes","nodeType":"ElementaryTypeName","src":"8577:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5607,"mutability":"mutable","name":"errorMessage","nameLocation":"8624:12:35","nodeType":"VariableDeclaration","scope":5624,"src":"8610:26:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5606,"name":"string","nodeType":"ElementaryTypeName","src":"8610:6:35","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"8545:97:35"},"returnParameters":{"id":5611,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5610,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5624,"src":"8666:12:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5609,"name":"bytes","nodeType":"ElementaryTypeName","src":"8666:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8665:14:35"},"scope":5645,"src":"8520:295:35","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5643,"nodeType":"Block","src":"8904:457:35","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5634,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5631,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5626,"src":"8980:10:35","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5632,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8991:6:35","memberName":"length","nodeType":"MemberAccess","src":"8980:17:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5633,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9000:1:35","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8980:21:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":5641,"nodeType":"Block","src":"9310:45:35","statements":[{"expression":{"arguments":[{"id":5638,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5628,"src":"9331:12:35","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":5637,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"9324:6:35","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":5639,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9324:20:35","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5640,"nodeType":"ExpressionStatement","src":"9324:20:35"}]},"id":5642,"nodeType":"IfStatement","src":"8976:379:35","trueBody":{"id":5636,"nodeType":"Block","src":"9003:301:35","statements":[{"AST":{"nodeType":"YulBlock","src":"9161:133:35","statements":[{"nodeType":"YulVariableDeclaration","src":"9179:40:35","value":{"arguments":[{"name":"returndata","nodeType":"YulIdentifier","src":"9208:10:35"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"9202:5:35"},"nodeType":"YulFunctionCall","src":"9202:17:35"},"variables":[{"name":"returndata_size","nodeType":"YulTypedName","src":"9183:15:35","type":""}]},{"expression":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9247:2:35","type":"","value":"32"},{"name":"returndata","nodeType":"YulIdentifier","src":"9251:10:35"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9243:3:35"},"nodeType":"YulFunctionCall","src":"9243:19:35"},{"name":"returndata_size","nodeType":"YulIdentifier","src":"9264:15:35"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9236:6:35"},"nodeType":"YulFunctionCall","src":"9236:44:35"},"nodeType":"YulExpressionStatement","src":"9236:44:35"}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":5626,"isOffset":false,"isSlot":false,"src":"9208:10:35","valueSize":1},{"declaration":5626,"isOffset":false,"isSlot":false,"src":"9251:10:35","valueSize":1}],"id":5635,"nodeType":"InlineAssembly","src":"9152:142:35"}]}}]},"id":5644,"implemented":true,"kind":"function","modifiers":[],"name":"_revert","nameLocation":"8830:7:35","nodeType":"FunctionDefinition","parameters":{"id":5629,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5626,"mutability":"mutable","name":"returndata","nameLocation":"8851:10:35","nodeType":"VariableDeclaration","scope":5644,"src":"8838:23:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5625,"name":"bytes","nodeType":"ElementaryTypeName","src":"8838:5:35","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":5628,"mutability":"mutable","name":"errorMessage","nameLocation":"8877:12:35","nodeType":"VariableDeclaration","scope":5644,"src":"8863:26:35","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5627,"name":"string","nodeType":"ElementaryTypeName","src":"8863:6:35","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"8837:53:35"},"returnParameters":{"id":5630,"nodeType":"ParameterList","parameters":[],"src":"8904:0:35"},"scope":5645,"src":"8821:540:35","stateMutability":"pure","virtual":false,"visibility":"private"}],"scope":5646,"src":"194:9169:35","usedErrors":[],"usedEvents":[]}],"src":"101:9263:35"},"id":35},"@openzeppelin/contracts/utils/Context.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","exportedSymbols":{"Context":[5667]},"id":5668,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5647,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"86:23:36"},{"abstract":true,"baseContracts":[],"canonicalName":"Context","contractDependencies":[],"contractKind":"contract","documentation":{"id":5648,"nodeType":"StructuredDocumentation","src":"111:496:36","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":5667,"linearizedBaseContracts":[5667],"name":"Context","nameLocation":"626:7:36","nodeType":"ContractDefinition","nodes":[{"body":{"id":5656,"nodeType":"Block","src":"702:34:36","statements":[{"expression":{"expression":{"id":5653,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"719:3:36","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5654,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"723:6:36","memberName":"sender","nodeType":"MemberAccess","src":"719:10:36","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":5652,"id":5655,"nodeType":"Return","src":"712:17:36"}]},"id":5657,"implemented":true,"kind":"function","modifiers":[],"name":"_msgSender","nameLocation":"649:10:36","nodeType":"FunctionDefinition","parameters":{"id":5649,"nodeType":"ParameterList","parameters":[],"src":"659:2:36"},"returnParameters":{"id":5652,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5651,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5657,"src":"693:7:36","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5650,"name":"address","nodeType":"ElementaryTypeName","src":"693:7:36","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"692:9:36"},"scope":5667,"src":"640:96:36","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":5665,"nodeType":"Block","src":"809:32:36","statements":[{"expression":{"expression":{"id":5662,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"826:3:36","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":5663,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"830:4:36","memberName":"data","nodeType":"MemberAccess","src":"826:8:36","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"functionReturnParameters":5661,"id":5664,"nodeType":"Return","src":"819:15:36"}]},"id":5666,"implemented":true,"kind":"function","modifiers":[],"name":"_msgData","nameLocation":"751:8:36","nodeType":"FunctionDefinition","parameters":{"id":5658,"nodeType":"ParameterList","parameters":[],"src":"759:2:36"},"returnParameters":{"id":5661,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5660,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5666,"src":"793:14:36","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":5659,"name":"bytes","nodeType":"ElementaryTypeName","src":"793:5:36","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"792:16:36"},"scope":5667,"src":"742:99:36","stateMutability":"view","virtual":true,"visibility":"internal"}],"scope":5668,"src":"608:235:36","usedErrors":[],"usedEvents":[]}],"src":"86:758:36"},"id":36},"@openzeppelin/contracts/utils/StorageSlot.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/StorageSlot.sol","exportedSymbols":{"StorageSlot":[5777]},"id":5778,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5669,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"193:23:37"},{"abstract":false,"baseContracts":[],"canonicalName":"StorageSlot","contractDependencies":[],"contractKind":"library","documentation":{"id":5670,"nodeType":"StructuredDocumentation","src":"218:1201:37","text":" @dev Library for reading and writing primitive types to specific storage slots.\n Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n This library helps with reading and writing to such slots without the need for inline assembly.\n The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n Example usage to set ERC1967 implementation slot:\n ```solidity\n contract ERC1967 {\n     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n     function _getImplementation() internal view returns (address) {\n         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n     }\n     function _setImplementation(address newImplementation) internal {\n         require(Address.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\n         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n     }\n }\n ```\n _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._\n _Available since v4.9 for `string`, `bytes`._"},"fullyImplemented":true,"id":5777,"linearizedBaseContracts":[5777],"name":"StorageSlot","nameLocation":"1428:11:37","nodeType":"ContractDefinition","nodes":[{"canonicalName":"StorageSlot.AddressSlot","id":5673,"members":[{"constant":false,"id":5672,"mutability":"mutable","name":"value","nameLocation":"1483:5:37","nodeType":"VariableDeclaration","scope":5673,"src":"1475:13:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5671,"name":"address","nodeType":"ElementaryTypeName","src":"1475:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"AddressSlot","nameLocation":"1453:11:37","nodeType":"StructDefinition","scope":5777,"src":"1446:49:37","visibility":"public"},{"canonicalName":"StorageSlot.BooleanSlot","id":5676,"members":[{"constant":false,"id":5675,"mutability":"mutable","name":"value","nameLocation":"1535:5:37","nodeType":"VariableDeclaration","scope":5676,"src":"1530:10:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5674,"name":"bool","nodeType":"ElementaryTypeName","src":"1530:4:37","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"name":"BooleanSlot","nameLocation":"1508:11:37","nodeType":"StructDefinition","scope":5777,"src":"1501:46:37","visibility":"public"},{"canonicalName":"StorageSlot.Bytes32Slot","id":5679,"members":[{"constant":false,"id":5678,"mutability":"mutable","name":"value","nameLocation":"1590:5:37","nodeType":"VariableDeclaration","scope":5679,"src":"1582:13:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5677,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1582:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"name":"Bytes32Slot","nameLocation":"1560:11:37","nodeType":"StructDefinition","scope":5777,"src":"1553:49:37","visibility":"public"},{"canonicalName":"StorageSlot.Uint256Slot","id":5682,"members":[{"constant":false,"id":5681,"mutability":"mutable","name":"value","nameLocation":"1645:5:37","nodeType":"VariableDeclaration","scope":5682,"src":"1637:13:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5680,"name":"uint256","nodeType":"ElementaryTypeName","src":"1637:7:37","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"Uint256Slot","nameLocation":"1615:11:37","nodeType":"StructDefinition","scope":5777,"src":"1608:49:37","visibility":"public"},{"canonicalName":"StorageSlot.StringSlot","id":5685,"members":[{"constant":false,"id":5684,"mutability":"mutable","name":"value","nameLocation":"1698:5:37","nodeType":"VariableDeclaration","scope":5685,"src":"1691:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":5683,"name":"string","nodeType":"ElementaryTypeName","src":"1691:6:37","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"name":"StringSlot","nameLocation":"1670:10:37","nodeType":"StructDefinition","scope":5777,"src":"1663:47:37","visibility":"public"},{"canonicalName":"StorageSlot.BytesSlot","id":5688,"members":[{"constant":false,"id":5687,"mutability":"mutable","name":"value","nameLocation":"1749:5:37","nodeType":"VariableDeclaration","scope":5688,"src":"1743:11:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":5686,"name":"bytes","nodeType":"ElementaryTypeName","src":"1743:5:37","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"name":"BytesSlot","nameLocation":"1723:9:37","nodeType":"StructDefinition","scope":5777,"src":"1716:45:37","visibility":"public"},{"body":{"id":5698,"nodeType":"Block","src":"1943:106:37","statements":[{"AST":{"nodeType":"YulBlock","src":"2005:38:37","statements":[{"nodeType":"YulAssignment","src":"2019:14:37","value":{"name":"slot","nodeType":"YulIdentifier","src":"2029:4:37"},"variableNames":[{"name":"r.slot","nodeType":"YulIdentifier","src":"2019:6:37"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":5695,"isOffset":false,"isSlot":true,"src":"2019:6:37","suffix":"slot","valueSize":1},{"declaration":5691,"isOffset":false,"isSlot":false,"src":"2029:4:37","valueSize":1}],"id":5697,"nodeType":"InlineAssembly","src":"1996:47:37"}]},"documentation":{"id":5689,"nodeType":"StructuredDocumentation","src":"1767:87:37","text":" @dev Returns an `AddressSlot` with member `value` located at `slot`."},"id":5699,"implemented":true,"kind":"function","modifiers":[],"name":"getAddressSlot","nameLocation":"1868:14:37","nodeType":"FunctionDefinition","parameters":{"id":5692,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5691,"mutability":"mutable","name":"slot","nameLocation":"1891:4:37","nodeType":"VariableDeclaration","scope":5699,"src":"1883:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5690,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1883:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1882:14:37"},"returnParameters":{"id":5696,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5695,"mutability":"mutable","name":"r","nameLocation":"1940:1:37","nodeType":"VariableDeclaration","scope":5699,"src":"1920:21:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSlot_$5673_storage_ptr","typeString":"struct StorageSlot.AddressSlot"},"typeName":{"id":5694,"nodeType":"UserDefinedTypeName","pathNode":{"id":5693,"name":"AddressSlot","nameLocations":["1920:11:37"],"nodeType":"IdentifierPath","referencedDeclaration":5673,"src":"1920:11:37"},"referencedDeclaration":5673,"src":"1920:11:37","typeDescriptions":{"typeIdentifier":"t_struct$_AddressSlot_$5673_storage_ptr","typeString":"struct StorageSlot.AddressSlot"}},"visibility":"internal"}],"src":"1919:23:37"},"scope":5777,"src":"1859:190:37","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5709,"nodeType":"Block","src":"2231:106:37","statements":[{"AST":{"nodeType":"YulBlock","src":"2293:38:37","statements":[{"nodeType":"YulAssignment","src":"2307:14:37","value":{"name":"slot","nodeType":"YulIdentifier","src":"2317:4:37"},"variableNames":[{"name":"r.slot","nodeType":"YulIdentifier","src":"2307:6:37"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":5706,"isOffset":false,"isSlot":true,"src":"2307:6:37","suffix":"slot","valueSize":1},{"declaration":5702,"isOffset":false,"isSlot":false,"src":"2317:4:37","valueSize":1}],"id":5708,"nodeType":"InlineAssembly","src":"2284:47:37"}]},"documentation":{"id":5700,"nodeType":"StructuredDocumentation","src":"2055:87:37","text":" @dev Returns an `BooleanSlot` with member `value` located at `slot`."},"id":5710,"implemented":true,"kind":"function","modifiers":[],"name":"getBooleanSlot","nameLocation":"2156:14:37","nodeType":"FunctionDefinition","parameters":{"id":5703,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5702,"mutability":"mutable","name":"slot","nameLocation":"2179:4:37","nodeType":"VariableDeclaration","scope":5710,"src":"2171:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5701,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2171:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2170:14:37"},"returnParameters":{"id":5707,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5706,"mutability":"mutable","name":"r","nameLocation":"2228:1:37","nodeType":"VariableDeclaration","scope":5710,"src":"2208:21:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_BooleanSlot_$5676_storage_ptr","typeString":"struct StorageSlot.BooleanSlot"},"typeName":{"id":5705,"nodeType":"UserDefinedTypeName","pathNode":{"id":5704,"name":"BooleanSlot","nameLocations":["2208:11:37"],"nodeType":"IdentifierPath","referencedDeclaration":5676,"src":"2208:11:37"},"referencedDeclaration":5676,"src":"2208:11:37","typeDescriptions":{"typeIdentifier":"t_struct$_BooleanSlot_$5676_storage_ptr","typeString":"struct StorageSlot.BooleanSlot"}},"visibility":"internal"}],"src":"2207:23:37"},"scope":5777,"src":"2147:190:37","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5720,"nodeType":"Block","src":"2519:106:37","statements":[{"AST":{"nodeType":"YulBlock","src":"2581:38:37","statements":[{"nodeType":"YulAssignment","src":"2595:14:37","value":{"name":"slot","nodeType":"YulIdentifier","src":"2605:4:37"},"variableNames":[{"name":"r.slot","nodeType":"YulIdentifier","src":"2595:6:37"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":5717,"isOffset":false,"isSlot":true,"src":"2595:6:37","suffix":"slot","valueSize":1},{"declaration":5713,"isOffset":false,"isSlot":false,"src":"2605:4:37","valueSize":1}],"id":5719,"nodeType":"InlineAssembly","src":"2572:47:37"}]},"documentation":{"id":5711,"nodeType":"StructuredDocumentation","src":"2343:87:37","text":" @dev Returns an `Bytes32Slot` with member `value` located at `slot`."},"id":5721,"implemented":true,"kind":"function","modifiers":[],"name":"getBytes32Slot","nameLocation":"2444:14:37","nodeType":"FunctionDefinition","parameters":{"id":5714,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5713,"mutability":"mutable","name":"slot","nameLocation":"2467:4:37","nodeType":"VariableDeclaration","scope":5721,"src":"2459:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5712,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2459:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2458:14:37"},"returnParameters":{"id":5718,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5717,"mutability":"mutable","name":"r","nameLocation":"2516:1:37","nodeType":"VariableDeclaration","scope":5721,"src":"2496:21:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Slot_$5679_storage_ptr","typeString":"struct StorageSlot.Bytes32Slot"},"typeName":{"id":5716,"nodeType":"UserDefinedTypeName","pathNode":{"id":5715,"name":"Bytes32Slot","nameLocations":["2496:11:37"],"nodeType":"IdentifierPath","referencedDeclaration":5679,"src":"2496:11:37"},"referencedDeclaration":5679,"src":"2496:11:37","typeDescriptions":{"typeIdentifier":"t_struct$_Bytes32Slot_$5679_storage_ptr","typeString":"struct StorageSlot.Bytes32Slot"}},"visibility":"internal"}],"src":"2495:23:37"},"scope":5777,"src":"2435:190:37","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5731,"nodeType":"Block","src":"2807:106:37","statements":[{"AST":{"nodeType":"YulBlock","src":"2869:38:37","statements":[{"nodeType":"YulAssignment","src":"2883:14:37","value":{"name":"slot","nodeType":"YulIdentifier","src":"2893:4:37"},"variableNames":[{"name":"r.slot","nodeType":"YulIdentifier","src":"2883:6:37"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":5728,"isOffset":false,"isSlot":true,"src":"2883:6:37","suffix":"slot","valueSize":1},{"declaration":5724,"isOffset":false,"isSlot":false,"src":"2893:4:37","valueSize":1}],"id":5730,"nodeType":"InlineAssembly","src":"2860:47:37"}]},"documentation":{"id":5722,"nodeType":"StructuredDocumentation","src":"2631:87:37","text":" @dev Returns an `Uint256Slot` with member `value` located at `slot`."},"id":5732,"implemented":true,"kind":"function","modifiers":[],"name":"getUint256Slot","nameLocation":"2732:14:37","nodeType":"FunctionDefinition","parameters":{"id":5725,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5724,"mutability":"mutable","name":"slot","nameLocation":"2755:4:37","nodeType":"VariableDeclaration","scope":5732,"src":"2747:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5723,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2747:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2746:14:37"},"returnParameters":{"id":5729,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5728,"mutability":"mutable","name":"r","nameLocation":"2804:1:37","nodeType":"VariableDeclaration","scope":5732,"src":"2784:21:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Uint256Slot_$5682_storage_ptr","typeString":"struct StorageSlot.Uint256Slot"},"typeName":{"id":5727,"nodeType":"UserDefinedTypeName","pathNode":{"id":5726,"name":"Uint256Slot","nameLocations":["2784:11:37"],"nodeType":"IdentifierPath","referencedDeclaration":5682,"src":"2784:11:37"},"referencedDeclaration":5682,"src":"2784:11:37","typeDescriptions":{"typeIdentifier":"t_struct$_Uint256Slot_$5682_storage_ptr","typeString":"struct StorageSlot.Uint256Slot"}},"visibility":"internal"}],"src":"2783:23:37"},"scope":5777,"src":"2723:190:37","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5742,"nodeType":"Block","src":"3092:106:37","statements":[{"AST":{"nodeType":"YulBlock","src":"3154:38:37","statements":[{"nodeType":"YulAssignment","src":"3168:14:37","value":{"name":"slot","nodeType":"YulIdentifier","src":"3178:4:37"},"variableNames":[{"name":"r.slot","nodeType":"YulIdentifier","src":"3168:6:37"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":5739,"isOffset":false,"isSlot":true,"src":"3168:6:37","suffix":"slot","valueSize":1},{"declaration":5735,"isOffset":false,"isSlot":false,"src":"3178:4:37","valueSize":1}],"id":5741,"nodeType":"InlineAssembly","src":"3145:47:37"}]},"documentation":{"id":5733,"nodeType":"StructuredDocumentation","src":"2919:86:37","text":" @dev Returns an `StringSlot` with member `value` located at `slot`."},"id":5743,"implemented":true,"kind":"function","modifiers":[],"name":"getStringSlot","nameLocation":"3019:13:37","nodeType":"FunctionDefinition","parameters":{"id":5736,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5735,"mutability":"mutable","name":"slot","nameLocation":"3041:4:37","nodeType":"VariableDeclaration","scope":5743,"src":"3033:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5734,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3033:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3032:14:37"},"returnParameters":{"id":5740,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5739,"mutability":"mutable","name":"r","nameLocation":"3089:1:37","nodeType":"VariableDeclaration","scope":5743,"src":"3070:20:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_StringSlot_$5685_storage_ptr","typeString":"struct StorageSlot.StringSlot"},"typeName":{"id":5738,"nodeType":"UserDefinedTypeName","pathNode":{"id":5737,"name":"StringSlot","nameLocations":["3070:10:37"],"nodeType":"IdentifierPath","referencedDeclaration":5685,"src":"3070:10:37"},"referencedDeclaration":5685,"src":"3070:10:37","typeDescriptions":{"typeIdentifier":"t_struct$_StringSlot_$5685_storage_ptr","typeString":"struct StorageSlot.StringSlot"}},"visibility":"internal"}],"src":"3069:22:37"},"scope":5777,"src":"3010:188:37","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5753,"nodeType":"Block","src":"3400:112:37","statements":[{"AST":{"nodeType":"YulBlock","src":"3462:44:37","statements":[{"nodeType":"YulAssignment","src":"3476:20:37","value":{"name":"store.slot","nodeType":"YulIdentifier","src":"3486:10:37"},"variableNames":[{"name":"r.slot","nodeType":"YulIdentifier","src":"3476:6:37"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":5750,"isOffset":false,"isSlot":true,"src":"3476:6:37","suffix":"slot","valueSize":1},{"declaration":5746,"isOffset":false,"isSlot":true,"src":"3486:10:37","suffix":"slot","valueSize":1}],"id":5752,"nodeType":"InlineAssembly","src":"3453:53:37"}]},"documentation":{"id":5744,"nodeType":"StructuredDocumentation","src":"3204:101:37","text":" @dev Returns an `StringSlot` representation of the string storage pointer `store`."},"id":5754,"implemented":true,"kind":"function","modifiers":[],"name":"getStringSlot","nameLocation":"3319:13:37","nodeType":"FunctionDefinition","parameters":{"id":5747,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5746,"mutability":"mutable","name":"store","nameLocation":"3348:5:37","nodeType":"VariableDeclaration","scope":5754,"src":"3333:20:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":5745,"name":"string","nodeType":"ElementaryTypeName","src":"3333:6:37","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3332:22:37"},"returnParameters":{"id":5751,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5750,"mutability":"mutable","name":"r","nameLocation":"3397:1:37","nodeType":"VariableDeclaration","scope":5754,"src":"3378:20:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_StringSlot_$5685_storage_ptr","typeString":"struct StorageSlot.StringSlot"},"typeName":{"id":5749,"nodeType":"UserDefinedTypeName","pathNode":{"id":5748,"name":"StringSlot","nameLocations":["3378:10:37"],"nodeType":"IdentifierPath","referencedDeclaration":5685,"src":"3378:10:37"},"referencedDeclaration":5685,"src":"3378:10:37","typeDescriptions":{"typeIdentifier":"t_struct$_StringSlot_$5685_storage_ptr","typeString":"struct StorageSlot.StringSlot"}},"visibility":"internal"}],"src":"3377:22:37"},"scope":5777,"src":"3310:202:37","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5764,"nodeType":"Block","src":"3688:106:37","statements":[{"AST":{"nodeType":"YulBlock","src":"3750:38:37","statements":[{"nodeType":"YulAssignment","src":"3764:14:37","value":{"name":"slot","nodeType":"YulIdentifier","src":"3774:4:37"},"variableNames":[{"name":"r.slot","nodeType":"YulIdentifier","src":"3764:6:37"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":5761,"isOffset":false,"isSlot":true,"src":"3764:6:37","suffix":"slot","valueSize":1},{"declaration":5757,"isOffset":false,"isSlot":false,"src":"3774:4:37","valueSize":1}],"id":5763,"nodeType":"InlineAssembly","src":"3741:47:37"}]},"documentation":{"id":5755,"nodeType":"StructuredDocumentation","src":"3518:85:37","text":" @dev Returns an `BytesSlot` with member `value` located at `slot`."},"id":5765,"implemented":true,"kind":"function","modifiers":[],"name":"getBytesSlot","nameLocation":"3617:12:37","nodeType":"FunctionDefinition","parameters":{"id":5758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5757,"mutability":"mutable","name":"slot","nameLocation":"3638:4:37","nodeType":"VariableDeclaration","scope":5765,"src":"3630:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5756,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3630:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3629:14:37"},"returnParameters":{"id":5762,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5761,"mutability":"mutable","name":"r","nameLocation":"3685:1:37","nodeType":"VariableDeclaration","scope":5765,"src":"3667:19:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_BytesSlot_$5688_storage_ptr","typeString":"struct StorageSlot.BytesSlot"},"typeName":{"id":5760,"nodeType":"UserDefinedTypeName","pathNode":{"id":5759,"name":"BytesSlot","nameLocations":["3667:9:37"],"nodeType":"IdentifierPath","referencedDeclaration":5688,"src":"3667:9:37"},"referencedDeclaration":5688,"src":"3667:9:37","typeDescriptions":{"typeIdentifier":"t_struct$_BytesSlot_$5688_storage_ptr","typeString":"struct StorageSlot.BytesSlot"}},"visibility":"internal"}],"src":"3666:21:37"},"scope":5777,"src":"3608:186:37","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5775,"nodeType":"Block","src":"3991:112:37","statements":[{"AST":{"nodeType":"YulBlock","src":"4053:44:37","statements":[{"nodeType":"YulAssignment","src":"4067:20:37","value":{"name":"store.slot","nodeType":"YulIdentifier","src":"4077:10:37"},"variableNames":[{"name":"r.slot","nodeType":"YulIdentifier","src":"4067:6:37"}]}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":5772,"isOffset":false,"isSlot":true,"src":"4067:6:37","suffix":"slot","valueSize":1},{"declaration":5768,"isOffset":false,"isSlot":true,"src":"4077:10:37","suffix":"slot","valueSize":1}],"id":5774,"nodeType":"InlineAssembly","src":"4044:53:37"}]},"documentation":{"id":5766,"nodeType":"StructuredDocumentation","src":"3800:99:37","text":" @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`."},"id":5776,"implemented":true,"kind":"function","modifiers":[],"name":"getBytesSlot","nameLocation":"3913:12:37","nodeType":"FunctionDefinition","parameters":{"id":5769,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5768,"mutability":"mutable","name":"store","nameLocation":"3940:5:37","nodeType":"VariableDeclaration","scope":5776,"src":"3926:19:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":5767,"name":"bytes","nodeType":"ElementaryTypeName","src":"3926:5:37","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3925:21:37"},"returnParameters":{"id":5773,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5772,"mutability":"mutable","name":"r","nameLocation":"3988:1:37","nodeType":"VariableDeclaration","scope":5776,"src":"3970:19:37","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_BytesSlot_$5688_storage_ptr","typeString":"struct StorageSlot.BytesSlot"},"typeName":{"id":5771,"nodeType":"UserDefinedTypeName","pathNode":{"id":5770,"name":"BytesSlot","nameLocations":["3970:9:37"],"nodeType":"IdentifierPath","referencedDeclaration":5688,"src":"3970:9:37"},"referencedDeclaration":5688,"src":"3970:9:37","typeDescriptions":{"typeIdentifier":"t_struct$_BytesSlot_$5688_storage_ptr","typeString":"struct StorageSlot.BytesSlot"}},"visibility":"internal"}],"src":"3969:21:37"},"scope":5777,"src":"3904:199:37","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":5778,"src":"1420:2685:37","usedErrors":[],"usedEvents":[]}],"src":"193:3913:37"},"id":37},"contracts/FeeDiscountConnector.sol":{"ast":{"absolutePath":"contracts/FeeDiscountConnector.sol","exportedSymbols":{"FeeDiscountConnector":[6011],"IAbstractPlugin":[1071],"IAlgebraPlugin":[1543],"IAlgebraPoolErrors":[1793],"IFeeDiscountPlugin":[6384],"Plugins":[2748]},"id":6012,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":5779,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:38"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":5780,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6012,"sourceUnit":2749,"src":"66:70:38","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/interfaces/IFeeDiscountPlugin.sol","file":"./interfaces/IFeeDiscountPlugin.sol","id":5781,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6012,"sourceUnit":6385,"src":"138:45:38","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":5783,"name":"IFeeDiscountPlugin","nameLocations":["451:18:38"],"nodeType":"IdentifierPath","referencedDeclaration":6384,"src":"451:18:38"},"id":5784,"nodeType":"InheritanceSpecifier","src":"451:18:38"}],"canonicalName":"FeeDiscountConnector","contractDependencies":[],"contractKind":"contract","documentation":{"id":5782,"nodeType":"StructuredDocumentation","src":"187:222:38","text":"@title FeeDiscount Connector\n @notice This contract provides delegatecall interface to FeeDiscount plugin implementation\n @dev Inherits from IFeeDiscountPlugin and provides all public methods as thin wrappers"},"fullyImplemented":false,"id":6011,"linearizedBaseContracts":[6011,6384,1071,1543],"name":"FeeDiscountConnector","nameLocation":"427:20:38","nodeType":"ContractDefinition","nodes":[{"global":false,"id":5787,"libraryName":{"id":5785,"name":"Plugins","nameLocations":["481:7:38"],"nodeType":"IdentifierPath","referencedDeclaration":2748,"src":"481:7:38"},"nodeType":"UsingForDirective","src":"475:24:38","typeName":{"id":5786,"name":"uint8","nodeType":"ElementaryTypeName","src":"493:5:38","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}},{"constant":true,"id":5794,"mutability":"constant","name":"FEE_DISCOUNT_PLUGIN_CONFIG","nameLocation":"529:26:38","nodeType":"VariableDeclaration","scope":6011,"src":"505:84:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5788,"name":"uint8","nodeType":"ElementaryTypeName","src":"505:5:38","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"arguments":[{"expression":{"id":5791,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"564:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":5792,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"572:16:38","memberName":"BEFORE_SWAP_FLAG","nodeType":"MemberAccess","referencedDeclaration":2712,"src":"564:24:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5790,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"558:5:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":5789,"name":"uint8","nodeType":"ElementaryTypeName","src":"558:5:38","typeDescriptions":{}}},"id":5793,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"558:31:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"documentation":{"id":5795,"nodeType":"StructuredDocumentation","src":"596:99:38","text":"@dev Immutable implementation address - set in constructor, changes only on full plugin upgrade"},"id":5797,"mutability":"immutable","name":"feeDiscountImplementation","nameLocation":"726:25:38","nodeType":"VariableDeclaration","scope":6011,"src":"699:52:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5796,"name":"address","nodeType":"ElementaryTypeName","src":"699:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"body":{"id":5806,"nodeType":"Block","src":"806:67:38","statements":[{"expression":{"id":5804,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5802,"name":"feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5797,"src":"813:25:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":5803,"name":"_feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5799,"src":"841:26:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"813:54:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5805,"nodeType":"ExpressionStatement","src":"813:54:38"}]},"id":5807,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":5800,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5799,"mutability":"mutable","name":"_feeDiscountImplementation","nameLocation":"778:26:38","nodeType":"VariableDeclaration","scope":5807,"src":"770:34:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5798,"name":"address","nodeType":"ElementaryTypeName","src":"770:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"769:36:38"},"returnParameters":{"id":5801,"nodeType":"ParameterList","parameters":[],"src":"806:0:38"},"scope":6011,"src":"758:115:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5824,"nodeType":"Block","src":"1009:179:38","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5816,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":5813,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5810,"src":"1020:10:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5814,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1031:6:38","memberName":"length","nodeType":"MemberAccess","src":"1020:17:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5815,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1040:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1020:21:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5819,"nodeType":"IfStatement","src":"1016:118:38","trueBody":{"id":5818,"nodeType":"Block","src":"1043:91:38","statements":[{"AST":{"nodeType":"YulBlock","src":"1061:66:38","statements":[{"expression":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1083:2:38","type":"","value":"32"},{"name":"returnData","nodeType":"YulIdentifier","src":"1087:10:38"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1079:3:38"},"nodeType":"YulFunctionCall","src":"1079:19:38"},{"arguments":[{"name":"returnData","nodeType":"YulIdentifier","src":"1106:10:38"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1100:5:38"},"nodeType":"YulFunctionCall","src":"1100:17:38"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1072:6:38"},"nodeType":"YulFunctionCall","src":"1072:46:38"},"nodeType":"YulExpressionStatement","src":"1072:46:38"}]},"evmVersion":"paris","externalReferences":[{"declaration":5810,"isOffset":false,"isSlot":false,"src":"1087:10:38","valueSize":1},{"declaration":5810,"isOffset":false,"isSlot":false,"src":"1106:10:38","valueSize":1}],"id":5817,"nodeType":"InlineAssembly","src":"1052:75:38"}]}},{"expression":{"arguments":[{"hexValue":"466565446973636f756e743a2064656c656761746563616c6c206661696c6564","id":5821,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1147:34:38","typeDescriptions":{"typeIdentifier":"t_stringliteral_df13724fb90050ca3b3b3dc79181268ff056fe70de4b043365b046ae750fc8d7","typeString":"literal_string \"FeeDiscount: delegatecall failed\""},"value":"FeeDiscount: delegatecall failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_df13724fb90050ca3b3b3dc79181268ff056fe70de4b043365b046ae750fc8d7","typeString":"literal_string \"FeeDiscount: delegatecall failed\""}],"id":5820,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"1140:6:38","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":5822,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1140:42:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5823,"nodeType":"ExpressionStatement","src":"1140:42:38"}]},"documentation":{"id":5808,"nodeType":"StructuredDocumentation","src":"879:50:38","text":"@dev Propagate revert reason from delegatecall"},"id":5825,"implemented":true,"kind":"function","modifiers":[],"name":"_propagateFeeDiscountRevert","nameLocation":"942:27:38","nodeType":"FunctionDefinition","parameters":{"id":5811,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5810,"mutability":"mutable","name":"returnData","nameLocation":"983:10:38","nodeType":"VariableDeclaration","scope":5825,"src":"970:23:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5809,"name":"bytes","nodeType":"ElementaryTypeName","src":"970:5:38","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"969:25:38"},"returnParameters":{"id":5812,"nodeType":"ParameterList","parameters":[],"src":"1009:0:38"},"scope":6011,"src":"933:255:38","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5859,"nodeType":"Block","src":"1343:317:38","statements":[{"assignments":[5834],"declarations":[{"constant":false,"id":5834,"mutability":"mutable","name":"data","nameLocation":"1363:4:38","nodeType":"VariableDeclaration","scope":5859,"src":"1350:17:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5833,"name":"bytes","nodeType":"ElementaryTypeName","src":"1350:5:38","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5840,"initialValue":{"arguments":[{"hexValue":"696e697469616c697a65466565446973636f756e74286164647265737329","id":5837,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1394:32:38","typeDescriptions":{"typeIdentifier":"t_stringliteral_a9dd77e785ac266b35ae5640f0595f3048597ae7e00d8f3b6f3d447bb94bfe20","typeString":"literal_string \"initializeFeeDiscount(address)\""},"value":"initializeFeeDiscount(address)"},{"id":5838,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5828,"src":"1428:20:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_a9dd77e785ac266b35ae5640f0595f3048597ae7e00d8f3b6f3d447bb94bfe20","typeString":"literal_string \"initializeFeeDiscount(address)\""},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":5835,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1370:3:38","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5836,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1374:19:38","memberName":"encodeWithSignature","nodeType":"MemberAccess","src":"1370:23:38","typeDescriptions":{"typeIdentifier":"t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (string memory) pure returns (bytes memory)"}},"id":5839,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1370:79:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"1350:99:38"},{"assignments":[5842,5844],"declarations":[{"constant":false,"id":5842,"mutability":"mutable","name":"success","nameLocation":"1468:7:38","nodeType":"VariableDeclaration","scope":5859,"src":"1463:12:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5841,"name":"bool","nodeType":"ElementaryTypeName","src":"1463:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5844,"mutability":"mutable","name":"returnData","nameLocation":"1490:10:38","nodeType":"VariableDeclaration","scope":5859,"src":"1477:23:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5843,"name":"bytes","nodeType":"ElementaryTypeName","src":"1477:5:38","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5849,"initialValue":{"arguments":[{"id":5847,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5834,"src":"1543:4:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5845,"name":"feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5797,"src":"1504:25:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5846,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1530:12:38","memberName":"delegatecall","nodeType":"MemberAccess","src":"1504:38:38","typeDescriptions":{"typeIdentifier":"t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) returns (bool,bytes memory)"}},"id":5848,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1504:44:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"1462:86:38"},{"condition":{"id":5851,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"1559:8:38","subExpression":{"id":5850,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5842,"src":"1560:7:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5856,"nodeType":"IfStatement","src":"1555:53:38","trueBody":{"expression":{"arguments":[{"id":5853,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5844,"src":"1597:10:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":5852,"name":"_propagateFeeDiscountRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5825,"src":"1569:27:38","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$","typeString":"function (bytes memory) pure"}},"id":5854,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1569:39:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5855,"nodeType":"ExpressionStatement","src":"1569:39:38"}},{"expression":{"id":5857,"name":"FEE_DISCOUNT_PLUGIN_CONFIG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5794,"src":"1628:26:38","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":5832,"id":5858,"nodeType":"Return","src":"1621:33:38"}]},"documentation":{"id":5826,"nodeType":"StructuredDocumentation","src":"1194:58:38","text":"@notice Initialize FeeDiscount plugin via delegatecall"},"id":5860,"implemented":true,"kind":"function","modifiers":[],"name":"_initializeFeeDiscount","nameLocation":"1265:22:38","nodeType":"FunctionDefinition","parameters":{"id":5829,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5828,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"1296:20:38","nodeType":"VariableDeclaration","scope":5860,"src":"1288:28:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5827,"name":"address","nodeType":"ElementaryTypeName","src":"1288:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1287:30:38"},"returnParameters":{"id":5832,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5831,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5860,"src":"1336:5:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5830,"name":"uint8","nodeType":"ElementaryTypeName","src":"1336:5:38","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"1335:7:38"},"scope":6011,"src":"1256:404:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5890,"nodeType":"Block","src":"1796:272:38","statements":[{"assignments":[5867],"declarations":[{"constant":false,"id":5867,"mutability":"mutable","name":"data","nameLocation":"1816:4:38","nodeType":"VariableDeclaration","scope":5890,"src":"1803:17:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5866,"name":"bytes","nodeType":"ElementaryTypeName","src":"1803:5:38","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5873,"initialValue":{"arguments":[{"hexValue":"736574466565446973636f756e745265676973747279286164647265737329","id":5870,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1847:33:38","typeDescriptions":{"typeIdentifier":"t_stringliteral_c3da797853a66059843a85744076224b492efdb9a5355399a61785433f9d7b62","typeString":"literal_string \"setFeeDiscountRegistry(address)\""},"value":"setFeeDiscountRegistry(address)"},{"id":5871,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5863,"src":"1882:20:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c3da797853a66059843a85744076224b492efdb9a5355399a61785433f9d7b62","typeString":"literal_string \"setFeeDiscountRegistry(address)\""},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":5868,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1823:3:38","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5869,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1827:19:38","memberName":"encodeWithSignature","nodeType":"MemberAccess","src":"1823:23:38","typeDescriptions":{"typeIdentifier":"t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (string memory) pure returns (bytes memory)"}},"id":5872,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1823:80:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"1803:100:38"},{"assignments":[5875,5877],"declarations":[{"constant":false,"id":5875,"mutability":"mutable","name":"success","nameLocation":"1922:7:38","nodeType":"VariableDeclaration","scope":5890,"src":"1917:12:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5874,"name":"bool","nodeType":"ElementaryTypeName","src":"1917:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5877,"mutability":"mutable","name":"returnData","nameLocation":"1944:10:38","nodeType":"VariableDeclaration","scope":5890,"src":"1931:23:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5876,"name":"bytes","nodeType":"ElementaryTypeName","src":"1931:5:38","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5882,"initialValue":{"arguments":[{"id":5880,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5867,"src":"1997:4:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5878,"name":"feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5797,"src":"1958:25:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1984:12:38","memberName":"delegatecall","nodeType":"MemberAccess","src":"1958:38:38","typeDescriptions":{"typeIdentifier":"t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) returns (bool,bytes memory)"}},"id":5881,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1958:44:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"1916:86:38"},{"condition":{"id":5884,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2013:8:38","subExpression":{"id":5883,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5875,"src":"2014:7:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5889,"nodeType":"IfStatement","src":"2009:53:38","trueBody":{"expression":{"arguments":[{"id":5886,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5877,"src":"2051:10:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":5885,"name":"_propagateFeeDiscountRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5825,"src":"2023:27:38","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$","typeString":"function (bytes memory) pure"}},"id":5887,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2023:39:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5888,"nodeType":"ExpressionStatement","src":"2023:39:38"}}]},"documentation":{"id":5861,"nodeType":"StructuredDocumentation","src":"1666:54:38","text":"@notice Set fee discount registry via delegatecall"},"id":5891,"implemented":true,"kind":"function","modifiers":[],"name":"_setFeeDiscountRegistry","nameLocation":"1733:23:38","nodeType":"FunctionDefinition","parameters":{"id":5864,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5863,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"1765:20:38","nodeType":"VariableDeclaration","scope":5891,"src":"1757:28:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5862,"name":"address","nodeType":"ElementaryTypeName","src":"1757:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1756:30:38"},"returnParameters":{"id":5865,"nodeType":"ParameterList","parameters":[],"src":"1796:0:38"},"scope":6011,"src":"1724:344:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5928,"nodeType":"Block","src":"2194:296:38","statements":[{"assignments":[5898],"declarations":[{"constant":false,"id":5898,"mutability":"mutable","name":"data","nameLocation":"2214:4:38","nodeType":"VariableDeclaration","scope":5928,"src":"2201:17:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5897,"name":"bytes","nodeType":"ElementaryTypeName","src":"2201:5:38","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5903,"initialValue":{"arguments":[{"hexValue":"676574466565446973636f756e7452656769737472792829","id":5901,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2245:26:38","typeDescriptions":{"typeIdentifier":"t_stringliteral_6408f820256d2844a6ec51bc833a345a5863e2e24f22f88eb4f516cc37a969bb","typeString":"literal_string \"getFeeDiscountRegistry()\""},"value":"getFeeDiscountRegistry()"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_6408f820256d2844a6ec51bc833a345a5863e2e24f22f88eb4f516cc37a969bb","typeString":"literal_string \"getFeeDiscountRegistry()\""}],"expression":{"id":5899,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2221:3:38","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5900,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2225:19:38","memberName":"encodeWithSignature","nodeType":"MemberAccess","src":"2221:23:38","typeDescriptions":{"typeIdentifier":"t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (string memory) pure returns (bytes memory)"}},"id":5902,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2221:51:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"2201:71:38"},{"assignments":[5905,5907],"declarations":[{"constant":false,"id":5905,"mutability":"mutable","name":"success","nameLocation":"2291:7:38","nodeType":"VariableDeclaration","scope":5928,"src":"2286:12:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5904,"name":"bool","nodeType":"ElementaryTypeName","src":"2286:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5907,"mutability":"mutable","name":"returnData","nameLocation":"2313:10:38","nodeType":"VariableDeclaration","scope":5928,"src":"2300:23:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5906,"name":"bytes","nodeType":"ElementaryTypeName","src":"2300:5:38","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5912,"initialValue":{"arguments":[{"id":5910,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5898,"src":"2366:4:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5908,"name":"feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5797,"src":"2327:25:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5909,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2353:12:38","memberName":"delegatecall","nodeType":"MemberAccess","src":"2327:38:38","typeDescriptions":{"typeIdentifier":"t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) returns (bool,bytes memory)"}},"id":5911,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2327:44:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"2285:86:38"},{"condition":{"id":5914,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2382:8:38","subExpression":{"id":5913,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5905,"src":"2383:7:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5919,"nodeType":"IfStatement","src":"2378:53:38","trueBody":{"expression":{"arguments":[{"id":5916,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5907,"src":"2420:10:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":5915,"name":"_propagateFeeDiscountRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5825,"src":"2392:27:38","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$","typeString":"function (bytes memory) pure"}},"id":5917,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2392:39:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5918,"nodeType":"ExpressionStatement","src":"2392:39:38"}},{"expression":{"arguments":[{"id":5922,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5907,"src":"2462:10:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"components":[{"id":5924,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2475:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5923,"name":"address","nodeType":"ElementaryTypeName","src":"2475:7:38","typeDescriptions":{}}}],"id":5925,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"2474:9:38","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"}],"expression":{"id":5920,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2451:3:38","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5921,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2455:6:38","memberName":"decode","nodeType":"MemberAccess","src":"2451:10:38","typeDescriptions":{"typeIdentifier":"t_function_abidecode_pure$__$returns$__$","typeString":"function () pure"}},"id":5926,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2451:33:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"functionReturnParameters":5896,"id":5927,"nodeType":"Return","src":"2444:40:38"}]},"documentation":{"id":5892,"nodeType":"StructuredDocumentation","src":"2074:54:38","text":"@notice Get fee discount registry via delegatecall"},"id":5929,"implemented":true,"kind":"function","modifiers":[],"name":"_getFeeDiscountRegistry","nameLocation":"2141:23:38","nodeType":"FunctionDefinition","parameters":{"id":5893,"nodeType":"ParameterList","parameters":[],"src":"2164:2:38"},"returnParameters":{"id":5896,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5895,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5929,"src":"2185:7:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5894,"name":"address","nodeType":"ElementaryTypeName","src":"2185:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2184:9:38"},"scope":6011,"src":"2132:358:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":5975,"nodeType":"Block","src":"2640:328:38","statements":[{"assignments":[5942],"declarations":[{"constant":false,"id":5942,"mutability":"mutable","name":"data","nameLocation":"2660:4:38","nodeType":"VariableDeclaration","scope":5975,"src":"2647:17:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5941,"name":"bytes","nodeType":"ElementaryTypeName","src":"2647:5:38","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5950,"initialValue":{"arguments":[{"hexValue":"6170706c79466565446973636f756e7428616464726573732c616464726573732c75696e74323429","id":5945,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2691:42:38","typeDescriptions":{"typeIdentifier":"t_stringliteral_1018860c1407f7662ab80e533417d747744268166c3a7f871ca681073cf9d782","typeString":"literal_string \"applyFeeDiscount(address,address,uint24)\""},"value":"applyFeeDiscount(address,address,uint24)"},{"id":5946,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5932,"src":"2735:4:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5947,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5934,"src":"2741:4:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5948,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5936,"src":"2747:3:38","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_1018860c1407f7662ab80e533417d747744268166c3a7f871ca681073cf9d782","typeString":"literal_string \"applyFeeDiscount(address,address,uint24)\""},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"expression":{"id":5943,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2667:3:38","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5944,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2671:19:38","memberName":"encodeWithSignature","nodeType":"MemberAccess","src":"2667:23:38","typeDescriptions":{"typeIdentifier":"t_function_abiencodewithsignature_pure$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (string memory) pure returns (bytes memory)"}},"id":5949,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2667:84:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"2647:104:38"},{"assignments":[5952,5954],"declarations":[{"constant":false,"id":5952,"mutability":"mutable","name":"success","nameLocation":"2770:7:38","nodeType":"VariableDeclaration","scope":5975,"src":"2765:12:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5951,"name":"bool","nodeType":"ElementaryTypeName","src":"2765:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5954,"mutability":"mutable","name":"returnData","nameLocation":"2792:10:38","nodeType":"VariableDeclaration","scope":5975,"src":"2779:23:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5953,"name":"bytes","nodeType":"ElementaryTypeName","src":"2779:5:38","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":5959,"initialValue":{"arguments":[{"id":5957,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5942,"src":"2845:4:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5955,"name":"feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5797,"src":"2806:25:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":5956,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2832:12:38","memberName":"delegatecall","nodeType":"MemberAccess","src":"2806:38:38","typeDescriptions":{"typeIdentifier":"t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) returns (bool,bytes memory)"}},"id":5958,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2806:44:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"2764:86:38"},{"condition":{"id":5961,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2861:8:38","subExpression":{"id":5960,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5952,"src":"2862:7:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5966,"nodeType":"IfStatement","src":"2857:53:38","trueBody":{"expression":{"arguments":[{"id":5963,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5954,"src":"2899:10:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":5962,"name":"_propagateFeeDiscountRevert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5825,"src":"2871:27:38","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$","typeString":"function (bytes memory) pure"}},"id":5964,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2871:39:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5965,"nodeType":"ExpressionStatement","src":"2871:39:38"}},{"expression":{"arguments":[{"id":5969,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5954,"src":"2941:10:38","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"components":[{"id":5971,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2954:6:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":5970,"name":"uint24","nodeType":"ElementaryTypeName","src":"2954:6:38","typeDescriptions":{}}}],"id":5972,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"2953:8:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"}],"expression":{"id":5967,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2930:3:38","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5968,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2934:6:38","memberName":"decode","nodeType":"MemberAccess","src":"2930:10:38","typeDescriptions":{"typeIdentifier":"t_function_abidecode_pure$__$returns$__$","typeString":"function () pure"}},"id":5973,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2930:32:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"functionReturnParameters":5940,"id":5974,"nodeType":"Return","src":"2923:39:38"}]},"documentation":{"id":5930,"nodeType":"StructuredDocumentation","src":"2496:47:38","text":"@notice Apply fee discount via delegatecall"},"id":5976,"implemented":true,"kind":"function","modifiers":[],"name":"_applyFeeDiscount","nameLocation":"2556:17:38","nodeType":"FunctionDefinition","parameters":{"id":5937,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5932,"mutability":"mutable","name":"user","nameLocation":"2582:4:38","nodeType":"VariableDeclaration","scope":5976,"src":"2574:12:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5931,"name":"address","nodeType":"ElementaryTypeName","src":"2574:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5934,"mutability":"mutable","name":"pool","nameLocation":"2596:4:38","nodeType":"VariableDeclaration","scope":5976,"src":"2588:12:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5933,"name":"address","nodeType":"ElementaryTypeName","src":"2588:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5936,"mutability":"mutable","name":"fee","nameLocation":"2609:3:38","nodeType":"VariableDeclaration","scope":5976,"src":"2602:10:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5935,"name":"uint24","nodeType":"ElementaryTypeName","src":"2602:6:38","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2573:40:38"},"returnParameters":{"id":5940,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5939,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5976,"src":"2632:6:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":5938,"name":"uint24","nodeType":"ElementaryTypeName","src":"2632:6:38","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2631:8:38"},"scope":6011,"src":"2547:421:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[6374],"body":{"id":5994,"nodeType":"Block","src":"3140:106:38","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":5983,"name":"_authorize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6010,"src":"3147:10:38","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":5984,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3147:12:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5985,"nodeType":"ExpressionStatement","src":"3147:12:38"},{"expression":{"arguments":[{"id":5987,"name":"registry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5979,"src":"3190:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5986,"name":"_setFeeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5891,"src":"3166:23:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":5988,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3166:33:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5989,"nodeType":"ExpressionStatement","src":"3166:33:38"},{"eventCall":{"arguments":[{"id":5991,"name":"registry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5979,"src":"3231:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":5990,"name":"FeeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"3211:19:38","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":5992,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3211:29:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5993,"nodeType":"EmitStatement","src":"3206:34:38"}]},"documentation":{"id":5977,"nodeType":"StructuredDocumentation","src":"3034:34:38","text":"@inheritdoc IFeeDiscountPlugin"},"functionSelector":"c3da7978","id":5995,"implemented":true,"kind":"function","modifiers":[],"name":"setFeeDiscountRegistry","nameLocation":"3081:22:38","nodeType":"FunctionDefinition","overrides":{"id":5981,"nodeType":"OverrideSpecifier","overrides":[],"src":"3131:8:38"},"parameters":{"id":5980,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5979,"mutability":"mutable","name":"registry","nameLocation":"3112:8:38","nodeType":"VariableDeclaration","scope":5995,"src":"3104:16:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5978,"name":"address","nodeType":"ElementaryTypeName","src":"3104:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3103:18:38"},"returnParameters":{"id":5982,"nodeType":"ParameterList","parameters":[],"src":"3140:0:38"},"scope":6011,"src":"3072:174:38","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[6379],"body":{"id":6005,"nodeType":"Block","src":"3357:45:38","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":6002,"name":"_getFeeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5929,"src":"3371:23:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$_t_address_$","typeString":"function () returns (address)"}},"id":6003,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3371:25:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":6001,"id":6004,"nodeType":"Return","src":"3364:32:38"}]},"documentation":{"id":5996,"nodeType":"StructuredDocumentation","src":"3252:34:38","text":"@inheritdoc IFeeDiscountPlugin"},"functionSelector":"f20cdc1a","id":6006,"implemented":true,"kind":"function","modifiers":[],"name":"feeDiscountRegistry","nameLocation":"3299:19:38","nodeType":"FunctionDefinition","overrides":{"id":5998,"nodeType":"OverrideSpecifier","overrides":[],"src":"3330:8:38"},"parameters":{"id":5997,"nodeType":"ParameterList","parameters":[],"src":"3318:2:38"},"returnParameters":{"id":6001,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6000,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6006,"src":"3348:7:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5999,"name":"address","nodeType":"ElementaryTypeName","src":"3348:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3347:9:38"},"scope":6011,"src":"3290:112:38","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":6007,"nodeType":"StructuredDocumentation","src":"3488:74:38","text":"@dev Must be implemented by inheriting contract to check authorization"},"id":6010,"implemented":false,"kind":"function","modifiers":[],"name":"_authorize","nameLocation":"3575:10:38","nodeType":"FunctionDefinition","parameters":{"id":6008,"nodeType":"ParameterList","parameters":[],"src":"3585:2:38"},"returnParameters":{"id":6009,"nodeType":"ParameterList","parameters":[],"src":"3609:0:38"},"scope":6011,"src":"3566:44:38","stateMutability":"view","virtual":true,"visibility":"internal"}],"scope":6012,"src":"409:3204:38","usedErrors":[],"usedEvents":[6383]}],"src":"38:3577:38"},"id":38},"contracts/FeeDiscountPlugin.sol":{"ast":{"absolutePath":"contracts/FeeDiscountPlugin.sol","exportedSymbols":{"AbstractPlugin":[475],"BaseAbstractPlugin":[518],"FeeDiscountPlugin":[6117],"IAbstractPlugin":[1071],"IAlgebraFactory":[1355],"IAlgebraPlugin":[1543],"IAlgebraPluginFactory":[1575],"IAlgebraPool":[1377],"IAlgebraPoolActions":[1691],"IAlgebraPoolErrors":[1793],"IAlgebraPoolEvents":[1945],"IAlgebraPoolImmutables":[1973],"IAlgebraPoolPermissionedActions":[2021],"IAlgebraPoolState":[2205],"IAlgebraVaultFactory":[2233],"IFeeDiscountPlugin":[6384],"IFeeDiscountRegistry":[6430],"Plugins":[2748],"SafeTransfer":[2885],"Timestamp":[1088]},"id":6118,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":6013,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:39"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":6014,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6118,"sourceUnit":2749,"src":"66:70:39","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","id":6015,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6118,"sourceUnit":1356,"src":"138:79:39","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol","file":"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol","id":6016,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6118,"sourceUnit":519,"src":"221:73:39","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/interfaces/IFeeDiscountPlugin.sol","file":"./interfaces/IFeeDiscountPlugin.sol","id":6017,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6118,"sourceUnit":6385,"src":"298:45:39","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/interfaces/IFeeDiscountRegistry.sol","file":"./interfaces/IFeeDiscountRegistry.sol","id":6018,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6118,"sourceUnit":6431,"src":"345:47:39","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":6020,"name":"BaseAbstractPlugin","nameLocations":["490:18:39"],"nodeType":"IdentifierPath","referencedDeclaration":518,"src":"490:18:39"},"id":6021,"nodeType":"InheritanceSpecifier","src":"490:18:39"},{"baseName":{"id":6022,"name":"IFeeDiscountPlugin","nameLocations":["510:18:39"],"nodeType":"IdentifierPath","referencedDeclaration":6384,"src":"510:18:39"},"id":6023,"nodeType":"InheritanceSpecifier","src":"510:18:39"}],"canonicalName":"FeeDiscountPlugin","contractDependencies":[],"contractKind":"contract","documentation":{"id":6019,"nodeType":"StructuredDocumentation","src":"398:53:39","text":"@title Algebra Integral 1.2 fee discount plugin"},"fullyImplemented":true,"id":6117,"linearizedBaseContracts":[6117,6384,518,475,1088,1071,1543],"name":"FeeDiscountPlugin","nameLocation":"469:17:39","nodeType":"ContractDefinition","nodes":[{"global":false,"id":6026,"libraryName":{"id":6024,"name":"Plugins","nameLocations":["540:7:39"],"nodeType":"IdentifierPath","referencedDeclaration":2748,"src":"540:7:39"},"nodeType":"UsingForDirective","src":"534:24:39","typeName":{"id":6025,"name":"uint8","nodeType":"ElementaryTypeName","src":"552:5:39","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}},{"constant":true,"id":6029,"mutability":"constant","name":"FEE_DISCOUNT_DENOMINATOR","nameLocation":"590:24:39","nodeType":"VariableDeclaration","scope":6117,"src":"566:55:39","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6027,"name":"uint16","nodeType":"ElementaryTypeName","src":"566:6:39","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"value":{"hexValue":"31303030","id":6028,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"617:4:39","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1000"},"visibility":"private"},{"baseFunctions":[6379],"constant":false,"functionSelector":"f20cdc1a","id":6032,"mutability":"mutable","name":"feeDiscountRegistry","nameLocation":"652:19:39","nodeType":"VariableDeclaration","overrides":{"id":6031,"nodeType":"OverrideSpecifier","overrides":[],"src":"643:8:39"},"scope":6117,"src":"628:43:39","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6030,"name":"address","nodeType":"ElementaryTypeName","src":"628:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"body":{"id":6057,"nodeType":"Block","src":"720:185:39","statements":[{"expression":{"id":6039,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6037,"name":"feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6032,"src":"727:19:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6038,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6034,"src":"749:20:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"727:42:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6040,"nodeType":"ExpressionStatement","src":"727:42:39"},{"expression":{"id":6049,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6041,"name":"defaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":25,"src":"776:19:39","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":6048,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6042,"name":"defaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":25,"src":"798:19:39","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"arguments":[{"expression":{"id":6045,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"826:7:39","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":6046,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"834:16:39","memberName":"BEFORE_SWAP_FLAG","nodeType":"MemberAccess","referencedDeclaration":2712,"src":"826:24:39","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6044,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"820:5:39","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":6043,"name":"uint8","nodeType":"ElementaryTypeName","src":"820:5:39","typeDescriptions":{}}},"id":6047,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"820:31:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"798:53:39","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"776:75:39","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":6050,"nodeType":"ExpressionStatement","src":"776:75:39"},{"expression":{"arguments":[{"hexValue":"46656520446973636f756e7420506c7567696e","id":6054,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"877:21:39","typeDescriptions":{"typeIdentifier":"t_stringliteral_1774c92d361783b8b22e33790e5d2371f78b7561e5aea3bcad56f06f06083c7e","typeString":"literal_string \"Fee Discount Plugin\""},"value":"Fee Discount Plugin"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_1774c92d361783b8b22e33790e5d2371f78b7561e5aea3bcad56f06f06083c7e","typeString":"literal_string \"Fee Discount Plugin\""}],"expression":{"id":6051,"name":"activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":28,"src":"858:13:39","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"id":6053,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"872:4:39","memberName":"push","nodeType":"MemberAccess","src":"858:18:39","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_string_storage_$dyn_storage_ptr_$_t_string_storage_$returns$__$attached_to$_t_array$_t_string_storage_$dyn_storage_ptr_$","typeString":"function (string storage ref[] storage pointer,string storage ref)"}},"id":6055,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"858:41:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6056,"nodeType":"ExpressionStatement","src":"858:41:39"}]},"id":6058,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":6035,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6034,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"698:20:39","nodeType":"VariableDeclaration","scope":6058,"src":"690:28:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6033,"name":"address","nodeType":"ElementaryTypeName","src":"690:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"689:30:39"},"returnParameters":{"id":6036,"nodeType":"ParameterList","parameters":[],"src":"720:0:39"},"scope":6117,"src":"678:227:39","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":6097,"nodeType":"Block","src":"1015:212:39","statements":[{"assignments":[6070],"declarations":[{"constant":false,"id":6070,"mutability":"mutable","name":"feeDiscount","nameLocation":"1029:11:39","nodeType":"VariableDeclaration","scope":6097,"src":"1022:18:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6069,"name":"uint24","nodeType":"ElementaryTypeName","src":"1022:6:39","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"id":6078,"initialValue":{"arguments":[{"id":6075,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6060,"src":"1098:4:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6076,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6062,"src":"1104:4:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":6072,"name":"feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6032,"src":"1064:19:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6071,"name":"IFeeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6430,"src":"1043:20:39","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IFeeDiscountRegistry_$6430_$","typeString":"type(contract IFeeDiscountRegistry)"}},"id":6073,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1043:41:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IFeeDiscountRegistry_$6430","typeString":"contract IFeeDiscountRegistry"}},"id":6074,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1085:12:39","memberName":"feeDiscounts","nodeType":"MemberAccess","referencedDeclaration":6403,"src":"1043:54:39","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$returns$_t_uint16_$","typeString":"function (address,address) external returns (uint16)"}},"id":6077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1043:66:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"VariableDeclarationStatement","src":"1022:87:39"},{"expression":{"id":6095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6079,"name":"updatedFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6067,"src":"1116:10:39","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6093,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6090,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":6084,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6064,"src":"1145:3:39","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":6083,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1137:7:39","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":6082,"name":"uint256","nodeType":"ElementaryTypeName","src":"1137:7:39","typeDescriptions":{}}},"id":6085,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1137:12:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint24","typeString":"uint24"},"id":6088,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6086,"name":"FEE_DISCOUNT_DENOMINATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6029,"src":"1153:24:39","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":6087,"name":"feeDiscount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6070,"src":"1180:11:39","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"1153:38:39","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"id":6089,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1152:40:39","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"1137:55:39","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6091,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1136:57:39","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":6092,"name":"FEE_DISCOUNT_DENOMINATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6029,"src":"1196:24:39","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"1136:84:39","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6081,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1129:6:39","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":6080,"name":"uint24","nodeType":"ElementaryTypeName","src":"1129:6:39","typeDescriptions":{}}},"id":6094,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1129:92:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"1116:105:39","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":6096,"nodeType":"ExpressionStatement","src":"1116:105:39"}]},"id":6098,"implemented":true,"kind":"function","modifiers":[],"name":"_applyFeeDiscount","nameLocation":"920:17:39","nodeType":"FunctionDefinition","parameters":{"id":6065,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6060,"mutability":"mutable","name":"user","nameLocation":"946:4:39","nodeType":"VariableDeclaration","scope":6098,"src":"938:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6059,"name":"address","nodeType":"ElementaryTypeName","src":"938:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6062,"mutability":"mutable","name":"pool","nameLocation":"960:4:39","nodeType":"VariableDeclaration","scope":6098,"src":"952:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6061,"name":"address","nodeType":"ElementaryTypeName","src":"952:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6064,"mutability":"mutable","name":"fee","nameLocation":"973:3:39","nodeType":"VariableDeclaration","scope":6098,"src":"966:10:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6063,"name":"uint24","nodeType":"ElementaryTypeName","src":"966:6:39","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"937:40:39"},"returnParameters":{"id":6068,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6067,"mutability":"mutable","name":"updatedFee","nameLocation":"1003:10:39","nodeType":"VariableDeclaration","scope":6098,"src":"996:17:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6066,"name":"uint24","nodeType":"ElementaryTypeName","src":"996:6:39","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"995:19:39"},"scope":6117,"src":"911:316:39","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[6374],"body":{"id":6115,"nodeType":"Block","src":"1313:127:39","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":6104,"name":"_authorize","nodeType":"Identifier","overloadedDeclarations":[517],"referencedDeclaration":517,"src":"1320:10:39","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":6105,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1320:12:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6106,"nodeType":"ExpressionStatement","src":"1320:12:39"},{"expression":{"id":6109,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6107,"name":"feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6032,"src":"1339:19:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6108,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6100,"src":"1361:20:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1339:42:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6110,"nodeType":"ExpressionStatement","src":"1339:42:39"},{"eventCall":{"arguments":[{"id":6112,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6100,"src":"1413:20:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6111,"name":"FeeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6383,"src":"1393:19:39","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":6113,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1393:41:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6114,"nodeType":"EmitStatement","src":"1388:46:39"}]},"functionSelector":"c3da7978","id":6116,"implemented":true,"kind":"function","modifiers":[],"name":"setFeeDiscountRegistry","nameLocation":"1242:22:39","nodeType":"FunctionDefinition","overrides":{"id":6102,"nodeType":"OverrideSpecifier","overrides":[],"src":"1304:8:39"},"parameters":{"id":6101,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6100,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"1273:20:39","nodeType":"VariableDeclaration","scope":6116,"src":"1265:28:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6099,"name":"address","nodeType":"ElementaryTypeName","src":"1265:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1264:30:39"},"returnParameters":{"id":6103,"nodeType":"ParameterList","parameters":[],"src":"1313:0:39"},"scope":6117,"src":"1233:207:39","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":6118,"src":"451:992:39","usedErrors":[1786],"usedEvents":[6383]}],"src":"38:1407:39"},"id":39},"contracts/FeeDiscountPluginImplementation.sol":{"ast":{"absolutePath":"contracts/FeeDiscountPluginImplementation.sol","exportedSymbols":{"FeeDiscountPluginImplementation":[6249],"IFeeDiscountRegistry":[6430]},"id":6250,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":6119,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:40"},{"absolutePath":"contracts/interfaces/IFeeDiscountRegistry.sol","file":"./interfaces/IFeeDiscountRegistry.sol","id":6120,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6250,"sourceUnit":6431,"src":"66:47:40","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"FeeDiscountPluginImplementation","contractDependencies":[],"contractKind":"contract","documentation":{"id":6121,"nodeType":"StructuredDocumentation","src":"117:239:40","text":"@title FeeDiscount Plugin Implementation\n @notice This contract contains ALL logic for FeeDiscount plugin that works with namespaced storage\n @dev Called via delegatecall from FeeDiscountConnector to reduce main contract size"},"fullyImplemented":true,"id":6249,"linearizedBaseContracts":[6249],"name":"FeeDiscountPluginImplementation","nameLocation":"365:31:40","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":6122,"nodeType":"StructuredDocumentation","src":"402:64:40","text":"@dev Storage namespace for FeeDiscount plugin using ERC-7201"},"id":6127,"mutability":"constant","name":"FEE_DISCOUNT_NAMESPACE","nameLocation":"496:22:40","nodeType":"VariableDeclaration","scope":6249,"src":"470:91:40","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6123,"name":"bytes32","nodeType":"ElementaryTypeName","src":"470:7:40","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"616c67656272612e73746f726167652e666565646973636f756e74","id":6125,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"531:29:40","typeDescriptions":{"typeIdentifier":"t_stringliteral_e4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a","typeString":"literal_string \"algebra.storage.feediscount\""},"value":"algebra.storage.feediscount"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_e4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a","typeString":"literal_string \"algebra.storage.feediscount\""}],"id":6124,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"521:9:40","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":6126,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"521:40:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":true,"id":6130,"mutability":"constant","name":"FEE_DISCOUNT_DENOMINATOR","nameLocation":"592:24:40","nodeType":"VariableDeclaration","scope":6249,"src":"568:55:40","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6128,"name":"uint16","nodeType":"ElementaryTypeName","src":"568:6:40","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"value":{"hexValue":"31303030","id":6129,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"619:4:40","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1000"},"visibility":"private"},{"canonicalName":"FeeDiscountPluginImplementation.FeeDiscountLayout","id":6133,"members":[{"constant":false,"id":6132,"mutability":"mutable","name":"feeDiscountRegistry","nameLocation":"670:19:40","nodeType":"VariableDeclaration","scope":6133,"src":"662:27:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6131,"name":"address","nodeType":"ElementaryTypeName","src":"662:7:40","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"FeeDiscountLayout","nameLocation":"637:17:40","nodeType":"StructDefinition","scope":6249,"src":"630:65:40","visibility":"public"},{"body":{"id":6145,"nodeType":"Block","src":"849:108:40","statements":[{"assignments":[6141],"declarations":[{"constant":false,"id":6141,"mutability":"mutable","name":"position","nameLocation":"864:8:40","nodeType":"VariableDeclaration","scope":6145,"src":"856:16:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6140,"name":"bytes32","nodeType":"ElementaryTypeName","src":"856:7:40","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":6143,"initialValue":{"id":6142,"name":"FEE_DISCOUNT_NAMESPACE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6127,"src":"875:22:40","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"856:41:40"},{"AST":{"nodeType":"YulBlock","src":"913:39:40","statements":[{"nodeType":"YulAssignment","src":"922:23:40","value":{"name":"position","nodeType":"YulIdentifier","src":"937:8:40"},"variableNames":[{"name":"layout.slot","nodeType":"YulIdentifier","src":"922:11:40"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":6138,"isOffset":false,"isSlot":true,"src":"922:11:40","suffix":"slot","valueSize":1},{"declaration":6141,"isOffset":false,"isSlot":false,"src":"937:8:40","valueSize":1}],"id":6144,"nodeType":"InlineAssembly","src":"904:48:40"}]},"documentation":{"id":6134,"nodeType":"StructuredDocumentation","src":"701:54:40","text":"@dev Fetch pointer of FeeDiscount plugin's storage"},"id":6146,"implemented":true,"kind":"function","modifiers":[],"name":"_getFeeDiscountLayout","nameLocation":"768:21:40","nodeType":"FunctionDefinition","parameters":{"id":6135,"nodeType":"ParameterList","parameters":[],"src":"789:2:40"},"returnParameters":{"id":6139,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6138,"mutability":"mutable","name":"layout","nameLocation":"841:6:40","nodeType":"VariableDeclaration","scope":6146,"src":"815:32:40","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"},"typeName":{"id":6137,"nodeType":"UserDefinedTypeName","pathNode":{"id":6136,"name":"FeeDiscountLayout","nameLocations":["815:17:40"],"nodeType":"IdentifierPath","referencedDeclaration":6133,"src":"815:17:40"},"referencedDeclaration":6133,"src":"815:17:40","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"}},"visibility":"internal"}],"src":"814:34:40"},"scope":6249,"src":"759:198:40","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6164,"nodeType":"Block","src":"1197:127:40","statements":[{"assignments":[6154],"declarations":[{"constant":false,"id":6154,"mutability":"mutable","name":"layout","nameLocation":"1230:6:40","nodeType":"VariableDeclaration","scope":6164,"src":"1204:32:40","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"},"typeName":{"id":6153,"nodeType":"UserDefinedTypeName","pathNode":{"id":6152,"name":"FeeDiscountLayout","nameLocations":["1204:17:40"],"nodeType":"IdentifierPath","referencedDeclaration":6133,"src":"1204:17:40"},"referencedDeclaration":6133,"src":"1204:17:40","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"}},"visibility":"internal"}],"id":6157,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":6155,"name":"_getFeeDiscountLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6146,"src":"1239:21:40","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_FeeDiscountLayout_$6133_storage_ptr_$","typeString":"function () pure returns (struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer)"}},"id":6156,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1239:23:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"1204:58:40"},{"expression":{"id":6162,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6158,"name":"layout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"1269:6:40","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer"}},"id":6160,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"1276:19:40","memberName":"feeDiscountRegistry","nodeType":"MemberAccess","referencedDeclaration":6132,"src":"1269:26:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6161,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6149,"src":"1298:20:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1269:49:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6163,"nodeType":"ExpressionStatement","src":"1269:49:40"}]},"documentation":{"id":6147,"nodeType":"StructuredDocumentation","src":"963:160:40","text":"@notice Initialize FeeDiscount plugin\n @dev Called via delegatecall from connector\n @param _feeDiscountRegistry Address of fee discount registry"},"functionSelector":"a9dd77e7","id":6165,"implemented":true,"kind":"function","modifiers":[],"name":"initializeFeeDiscount","nameLocation":"1136:21:40","nodeType":"FunctionDefinition","parameters":{"id":6150,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6149,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"1166:20:40","nodeType":"VariableDeclaration","scope":6165,"src":"1158:28:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6148,"name":"address","nodeType":"ElementaryTypeName","src":"1158:7:40","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1157:30:40"},"returnParameters":{"id":6151,"nodeType":"ParameterList","parameters":[],"src":"1197:0:40"},"scope":6249,"src":"1127:197:40","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":6183,"nodeType":"Block","src":"1562:127:40","statements":[{"assignments":[6173],"declarations":[{"constant":false,"id":6173,"mutability":"mutable","name":"layout","nameLocation":"1595:6:40","nodeType":"VariableDeclaration","scope":6183,"src":"1569:32:40","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"},"typeName":{"id":6172,"nodeType":"UserDefinedTypeName","pathNode":{"id":6171,"name":"FeeDiscountLayout","nameLocations":["1569:17:40"],"nodeType":"IdentifierPath","referencedDeclaration":6133,"src":"1569:17:40"},"referencedDeclaration":6133,"src":"1569:17:40","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"}},"visibility":"internal"}],"id":6176,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":6174,"name":"_getFeeDiscountLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6146,"src":"1604:21:40","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_FeeDiscountLayout_$6133_storage_ptr_$","typeString":"function () pure returns (struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer)"}},"id":6175,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1604:23:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"1569:58:40"},{"expression":{"id":6181,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6177,"name":"layout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6173,"src":"1634:6:40","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer"}},"id":6179,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"1641:19:40","memberName":"feeDiscountRegistry","nodeType":"MemberAccess","referencedDeclaration":6132,"src":"1634:26:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6180,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6168,"src":"1663:20:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1634:49:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6182,"nodeType":"ExpressionStatement","src":"1634:49:40"}]},"documentation":{"id":6166,"nodeType":"StructuredDocumentation","src":"1330:157:40","text":"@notice Set fee discount registry\n @dev Called via delegatecall from connector\n @param _feeDiscountRegistry New fee discount registry address"},"functionSelector":"c3da7978","id":6184,"implemented":true,"kind":"function","modifiers":[],"name":"setFeeDiscountRegistry","nameLocation":"1500:22:40","nodeType":"FunctionDefinition","parameters":{"id":6169,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6168,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"1531:20:40","nodeType":"VariableDeclaration","scope":6184,"src":"1523:28:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6167,"name":"address","nodeType":"ElementaryTypeName","src":"1523:7:40","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1522:30:40"},"returnParameters":{"id":6170,"nodeType":"ParameterList","parameters":[],"src":"1562:0:40"},"scope":6249,"src":"1491:198:40","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":6199,"nodeType":"Block","src":"1896:111:40","statements":[{"assignments":[6192],"declarations":[{"constant":false,"id":6192,"mutability":"mutable","name":"layout","nameLocation":"1929:6:40","nodeType":"VariableDeclaration","scope":6199,"src":"1903:32:40","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"},"typeName":{"id":6191,"nodeType":"UserDefinedTypeName","pathNode":{"id":6190,"name":"FeeDiscountLayout","nameLocations":["1903:17:40"],"nodeType":"IdentifierPath","referencedDeclaration":6133,"src":"1903:17:40"},"referencedDeclaration":6133,"src":"1903:17:40","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"}},"visibility":"internal"}],"id":6195,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":6193,"name":"_getFeeDiscountLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6146,"src":"1938:21:40","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_FeeDiscountLayout_$6133_storage_ptr_$","typeString":"function () pure returns (struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer)"}},"id":6194,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1938:23:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"1903:58:40"},{"expression":{"expression":{"id":6196,"name":"layout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6192,"src":"1975:6:40","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer"}},"id":6197,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1982:19:40","memberName":"feeDiscountRegistry","nodeType":"MemberAccess","referencedDeclaration":6132,"src":"1975:26:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":6189,"id":6198,"nodeType":"Return","src":"1968:33:40"}]},"documentation":{"id":6185,"nodeType":"StructuredDocumentation","src":"1695:131:40","text":"@notice Get fee discount registry\n @dev Called via staticcall from connector\n @return Fee discount registry address"},"functionSelector":"6408f820","id":6200,"implemented":true,"kind":"function","modifiers":[],"name":"getFeeDiscountRegistry","nameLocation":"1839:22:40","nodeType":"FunctionDefinition","parameters":{"id":6186,"nodeType":"ParameterList","parameters":[],"src":"1861:2:40"},"returnParameters":{"id":6189,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6188,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6200,"src":"1887:7:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6187,"name":"address","nodeType":"ElementaryTypeName","src":"1887:7:40","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1886:9:40"},"scope":6249,"src":"1830:177:40","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":6247,"nodeType":"Block","src":"2350:284:40","statements":[{"assignments":[6214],"declarations":[{"constant":false,"id":6214,"mutability":"mutable","name":"layout","nameLocation":"2383:6:40","nodeType":"VariableDeclaration","scope":6247,"src":"2357:32:40","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"},"typeName":{"id":6213,"nodeType":"UserDefinedTypeName","pathNode":{"id":6212,"name":"FeeDiscountLayout","nameLocations":["2357:17:40"],"nodeType":"IdentifierPath","referencedDeclaration":6133,"src":"2357:17:40"},"referencedDeclaration":6133,"src":"2357:17:40","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout"}},"visibility":"internal"}],"id":6217,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":6215,"name":"_getFeeDiscountLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6146,"src":"2392:21:40","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_FeeDiscountLayout_$6133_storage_ptr_$","typeString":"function () pure returns (struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer)"}},"id":6216,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2392:23:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"2357:58:40"},{"assignments":[6219],"declarations":[{"constant":false,"id":6219,"mutability":"mutable","name":"feeDiscount","nameLocation":"2429:11:40","nodeType":"VariableDeclaration","scope":6247,"src":"2422:18:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6218,"name":"uint16","nodeType":"ElementaryTypeName","src":"2422:6:40","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"id":6228,"initialValue":{"arguments":[{"id":6225,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6203,"src":"2505:4:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6226,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6205,"src":"2511:4:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"expression":{"id":6221,"name":"layout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6214,"src":"2464:6:40","typeDescriptions":{"typeIdentifier":"t_struct$_FeeDiscountLayout_$6133_storage_ptr","typeString":"struct FeeDiscountPluginImplementation.FeeDiscountLayout storage pointer"}},"id":6222,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2471:19:40","memberName":"feeDiscountRegistry","nodeType":"MemberAccess","referencedDeclaration":6132,"src":"2464:26:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6220,"name":"IFeeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6430,"src":"2443:20:40","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IFeeDiscountRegistry_$6430_$","typeString":"type(contract IFeeDiscountRegistry)"}},"id":6223,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2443:48:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IFeeDiscountRegistry_$6430","typeString":"contract IFeeDiscountRegistry"}},"id":6224,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2492:12:40","memberName":"feeDiscounts","nodeType":"MemberAccess","referencedDeclaration":6403,"src":"2443:61:40","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$returns$_t_uint16_$","typeString":"function (address,address) external returns (uint16)"}},"id":6227,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2443:73:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"VariableDeclarationStatement","src":"2422:94:40"},{"expression":{"id":6245,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6229,"name":"updatedFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6210,"src":"2523:10:40","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6243,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6240,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":6234,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6207,"src":"2552:3:40","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":6233,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2544:7:40","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":6232,"name":"uint256","nodeType":"ElementaryTypeName","src":"2544:7:40","typeDescriptions":{}}},"id":6235,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2544:12:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":6238,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6236,"name":"FEE_DISCOUNT_DENOMINATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6130,"src":"2560:24:40","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":6237,"name":"feeDiscount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6219,"src":"2587:11:40","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"2560:38:40","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"id":6239,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2559:40:40","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"2544:55:40","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6241,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2543:57:40","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":6242,"name":"FEE_DISCOUNT_DENOMINATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6130,"src":"2603:24:40","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"2543:84:40","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6231,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2536:6:40","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":6230,"name":"uint24","nodeType":"ElementaryTypeName","src":"2536:6:40","typeDescriptions":{}}},"id":6244,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2536:92:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"2523:105:40","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":6246,"nodeType":"ExpressionStatement","src":"2523:105:40"}]},"documentation":{"id":6201,"nodeType":"StructuredDocumentation","src":"2013:230:40","text":"@notice Apply fee discount for user\n @dev Called via delegatecall from connector\n @param user User address\n @param pool Pool address\n @param fee Original fee\n @return updatedFee Fee after discount"},"functionSelector":"1018860c","id":6248,"implemented":true,"kind":"function","modifiers":[],"name":"applyFeeDiscount","nameLocation":"2256:16:40","nodeType":"FunctionDefinition","parameters":{"id":6208,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6203,"mutability":"mutable","name":"user","nameLocation":"2281:4:40","nodeType":"VariableDeclaration","scope":6248,"src":"2273:12:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6202,"name":"address","nodeType":"ElementaryTypeName","src":"2273:7:40","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6205,"mutability":"mutable","name":"pool","nameLocation":"2295:4:40","nodeType":"VariableDeclaration","scope":6248,"src":"2287:12:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6204,"name":"address","nodeType":"ElementaryTypeName","src":"2287:7:40","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6207,"mutability":"mutable","name":"fee","nameLocation":"2308:3:40","nodeType":"VariableDeclaration","scope":6248,"src":"2301:10:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6206,"name":"uint24","nodeType":"ElementaryTypeName","src":"2301:6:40","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2272:40:40"},"returnParameters":{"id":6211,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6210,"mutability":"mutable","name":"updatedFee","nameLocation":"2338:10:40","nodeType":"VariableDeclaration","scope":6248,"src":"2331:17:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6209,"name":"uint24","nodeType":"ElementaryTypeName","src":"2331:6:40","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2330:19:40"},"scope":6249,"src":"2247:387:40","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":6250,"src":"356:2281:40","usedErrors":[],"usedEvents":[]}],"src":"38:2601:40"},"id":40},"contracts/FeeDiscountRegistry.sol":{"ast":{"absolutePath":"contracts/FeeDiscountRegistry.sol","exportedSymbols":{"FeeDiscountRegistry":[6364],"IAlgebraFactory":[1355],"IAlgebraPluginFactory":[1575],"IAlgebraVaultFactory":[2233],"IFeeDiscountRegistry":[6430]},"id":6365,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":6251,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"37:24:41"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","id":6252,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6365,"sourceUnit":1356,"src":"63:79:41","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/interfaces/IFeeDiscountRegistry.sol","file":"./interfaces/IFeeDiscountRegistry.sol","id":6253,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6365,"sourceUnit":6431,"src":"143:47:41","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":6254,"name":"IFeeDiscountRegistry","nameLocations":["224:20:41"],"nodeType":"IdentifierPath","referencedDeclaration":6430,"src":"224:20:41"},"id":6255,"nodeType":"InheritanceSpecifier","src":"224:20:41"}],"canonicalName":"FeeDiscountRegistry","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":6364,"linearizedBaseContracts":[6364,6430],"name":"FeeDiscountRegistry","nameLocation":"201:19:41","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[6419],"constant":false,"functionSelector":"a7b64b04","id":6258,"mutability":"immutable","name":"algebraFactory","nameLocation":"283:14:41","nodeType":"VariableDeclaration","overrides":{"id":6257,"nodeType":"OverrideSpecifier","overrides":[],"src":"274:8:41"},"scope":6364,"src":"249:48:41","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6256,"name":"address","nodeType":"ElementaryTypeName","src":"249:7:41","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"baseFunctions":[6424],"constant":true,"functionSelector":"d2426f07","id":6264,"mutability":"constant","name":"FEE_DISCOUNT_MANAGER","nameLocation":"334:20:41","nodeType":"VariableDeclaration","overrides":{"id":6260,"nodeType":"OverrideSpecifier","overrides":[],"src":"325:8:41"},"scope":6364,"src":"301:89:41","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6259,"name":"bytes32","nodeType":"ElementaryTypeName","src":"301:7:41","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"4645455f444953434f554e545f4d414e41474552","id":6262,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"367:22:41","typeDescriptions":{"typeIdentifier":"t_stringliteral_a49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e8","typeString":"literal_string \"FEE_DISCOUNT_MANAGER\""},"value":"FEE_DISCOUNT_MANAGER"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_a49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e8","typeString":"literal_string \"FEE_DISCOUNT_MANAGER\""}],"id":6261,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"357:9:41","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":6263,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"357:33:41","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"baseFunctions":[6429],"constant":true,"functionSelector":"51f8ba46","id":6268,"mutability":"constant","name":"FEE_DISCOUNT_DENOMINATOR","nameLocation":"426:24:41","nodeType":"VariableDeclaration","overrides":{"id":6266,"nodeType":"OverrideSpecifier","overrides":[],"src":"417:8:41"},"scope":6364,"src":"394:63:41","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6265,"name":"uint16","nodeType":"ElementaryTypeName","src":"394:6:41","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"value":{"hexValue":"31303030","id":6267,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"453:4:41","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1000"},"visibility":"public"},{"baseFunctions":[6403],"constant":false,"functionSelector":"1101ce3e","id":6275,"mutability":"mutable","name":"feeDiscounts","nameLocation":"558:12:41","nodeType":"VariableDeclaration","overrides":{"id":6274,"nodeType":"OverrideSpecifier","overrides":[],"src":"549:8:41"},"scope":6364,"src":"495:75:41","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint16_$_$","typeString":"mapping(address => mapping(address => uint16))"},"typeName":{"id":6273,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6269,"name":"address","nodeType":"ElementaryTypeName","src":"503:7:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"495:46:41","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint16_$_$","typeString":"mapping(address => mapping(address => uint16))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6272,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6270,"name":"address","nodeType":"ElementaryTypeName","src":"522:7:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"514:26:41","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint16_$","typeString":"mapping(address => uint16)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6271,"name":"uint16","nodeType":"ElementaryTypeName","src":"533:6:41","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}}},"visibility":"public"},{"body":{"id":6284,"nodeType":"Block","src":"612:43:41","statements":[{"expression":{"id":6282,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6280,"name":"algebraFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6258,"src":"618:14:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6281,"name":"_algebraFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6277,"src":"635:15:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"618:32:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6283,"nodeType":"ExpressionStatement","src":"618:32:41"}]},"id":6285,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":6278,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6277,"mutability":"mutable","name":"_algebraFactory","nameLocation":"595:15:41","nodeType":"VariableDeclaration","scope":6285,"src":"587:23:41","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6276,"name":"address","nodeType":"ElementaryTypeName","src":"587:7:41","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"586:25:41"},"returnParameters":{"id":6279,"nodeType":"ParameterList","parameters":[],"src":"612:0:41"},"scope":6364,"src":"575:80:41","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[6414],"body":{"id":6362,"nodeType":"Block","src":"769:444:41","statements":[{"expression":{"arguments":[{"arguments":[{"id":6302,"name":"FEE_DISCOUNT_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6264,"src":"830:20:41","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":6303,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"852:3:41","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":6304,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"856:6:41","memberName":"sender","nodeType":"MemberAccess","src":"852:10:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":6299,"name":"algebraFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6258,"src":"799:14:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6298,"name":"IAlgebraFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1355,"src":"783:15:41","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraFactory_$1355_$","typeString":"type(contract IAlgebraFactory)"}},"id":6300,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"783:31:41","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraFactory_$1355","typeString":"contract IAlgebraFactory"}},"id":6301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"815:14:41","memberName":"hasRoleOrOwner","nodeType":"MemberAccess","referencedDeclaration":1178,"src":"783:46:41","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view external returns (bool)"}},"id":6305,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"783:80:41","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"556e617574686f72697a6564","id":6306,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"865:14:41","typeDescriptions":{"typeIdentifier":"t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5","typeString":"literal_string \"Unauthorized\""},"value":"Unauthorized"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5","typeString":"literal_string \"Unauthorized\""}],"id":6297,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"775:7:41","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":6307,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"775:105:41","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6308,"nodeType":"ExpressionStatement","src":"775:105:41"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6314,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":6310,"name":"pools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6290,"src":"894:5:41","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":6311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"900:6:41","memberName":"length","nodeType":"MemberAccess","src":"894:12:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":6312,"name":"newDiscounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6293,"src":"910:12:41","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":6313,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"923:6:41","memberName":"length","nodeType":"MemberAccess","src":"910:19:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"894:35:41","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4172726179734c656e6774684d69736d61746368","id":6315,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"931:22:41","typeDescriptions":{"typeIdentifier":"t_stringliteral_3c58f19163f601dd85ead03796119784c7f52032728be2538d5061c7e5c87c99","typeString":"literal_string \"ArraysLengthMismatch\""},"value":"ArraysLengthMismatch"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_3c58f19163f601dd85ead03796119784c7f52032728be2538d5061c7e5c87c99","typeString":"literal_string \"ArraysLengthMismatch\""}],"id":6309,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"886:7:41","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":6316,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"886:68:41","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6317,"nodeType":"ExpressionStatement","src":"886:68:41"},{"body":{"id":6360,"nodeType":"Block","src":"1001:208:41","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":6334,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":6330,"name":"newDiscounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6293,"src":"1017:12:41","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":6332,"indexExpression":{"id":6331,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6319,"src":"1030:1:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1017:15:41","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":6333,"name":"FEE_DISCOUNT_DENOMINATOR","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6268,"src":"1036:24:41","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"1017:43:41","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"66656520646973636f756e742065786563656564732031303025","id":6335,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1062:28:41","typeDescriptions":{"typeIdentifier":"t_stringliteral_f73b17d3ca641c2b52f75f4a055c27b2da4da29789376898c173e019d125ee4b","typeString":"literal_string \"fee discount execeeds 100%\""},"value":"fee discount execeeds 100%"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f73b17d3ca641c2b52f75f4a055c27b2da4da29789376898c173e019d125ee4b","typeString":"literal_string \"fee discount execeeds 100%\""}],"id":6329,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1009:7:41","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":6336,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1009:82:41","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6337,"nodeType":"ExpressionStatement","src":"1009:82:41"},{"expression":{"id":6348,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":6338,"name":"feeDiscounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6275,"src":"1099:12:41","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint16_$_$","typeString":"mapping(address => mapping(address => uint16))"}},"id":6343,"indexExpression":{"id":6339,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6287,"src":"1112:4:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1099:18:41","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint16_$","typeString":"mapping(address => uint16)"}},"id":6344,"indexExpression":{"baseExpression":{"id":6340,"name":"pools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6290,"src":"1118:5:41","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":6342,"indexExpression":{"id":6341,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6319,"src":"1124:1:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1118:8:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1099:28:41","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":6345,"name":"newDiscounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6293,"src":"1130:12:41","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":6347,"indexExpression":{"id":6346,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6319,"src":"1143:1:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1130:15:41","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"1099:46:41","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":6349,"nodeType":"ExpressionStatement","src":"1099:46:41"},{"eventCall":{"arguments":[{"id":6351,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6287,"src":"1170:4:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":6352,"name":"pools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6290,"src":"1176:5:41","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":6354,"indexExpression":{"id":6353,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6319,"src":"1182:1:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1176:8:41","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":6355,"name":"newDiscounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6293,"src":"1186:12:41","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":6357,"indexExpression":{"id":6356,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6319,"src":"1199:1:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1186:15:41","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":6350,"name":"FeeDiscount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6394,"src":"1158:11:41","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint16_$returns$__$","typeString":"function (address,address,uint16)"}},"id":6358,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1158:44:41","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6359,"nodeType":"EmitStatement","src":"1153:49:41"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6322,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6319,"src":"978:1:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":6323,"name":"pools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6290,"src":"982:5:41","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":6324,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"988:6:41","memberName":"length","nodeType":"MemberAccess","src":"982:12:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"978:16:41","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6361,"initializationExpression":{"assignments":[6319],"declarations":[{"constant":false,"id":6319,"mutability":"mutable","name":"i","nameLocation":"971:1:41","nodeType":"VariableDeclaration","scope":6361,"src":"966:6:41","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6318,"name":"uint","nodeType":"ElementaryTypeName","src":"966:4:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6321,"initialValue":{"hexValue":"30","id":6320,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"975:1:41","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"966:10:41"},"loopExpression":{"expression":{"id":6327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"996:3:41","subExpression":{"id":6326,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6319,"src":"996:1:41","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6328,"nodeType":"ExpressionStatement","src":"996:3:41"},"nodeType":"ForStatement","src":"961:248:41"}]},"functionSelector":"978e13ea","id":6363,"implemented":true,"kind":"function","modifiers":[],"name":"setFeeDiscount","nameLocation":"668:14:41","nodeType":"FunctionDefinition","overrides":{"id":6295,"nodeType":"OverrideSpecifier","overrides":[],"src":"760:8:41"},"parameters":{"id":6294,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6287,"mutability":"mutable","name":"user","nameLocation":"691:4:41","nodeType":"VariableDeclaration","scope":6363,"src":"683:12:41","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6286,"name":"address","nodeType":"ElementaryTypeName","src":"683:7:41","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6290,"mutability":"mutable","name":"pools","nameLocation":"714:5:41","nodeType":"VariableDeclaration","scope":6363,"src":"697:22:41","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":6288,"name":"address","nodeType":"ElementaryTypeName","src":"697:7:41","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6289,"nodeType":"ArrayTypeName","src":"697:9:41","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":6293,"mutability":"mutable","name":"newDiscounts","nameLocation":"737:12:41","nodeType":"VariableDeclaration","scope":6363,"src":"721:28:41","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[]"},"typeName":{"baseType":{"id":6291,"name":"uint16","nodeType":"ElementaryTypeName","src":"721:6:41","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":6292,"nodeType":"ArrayTypeName","src":"721:8:41","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_storage_ptr","typeString":"uint16[]"}},"visibility":"internal"}],"src":"682:68:41"},"returnParameters":{"id":6296,"nodeType":"ParameterList","parameters":[],"src":"769:0:41"},"scope":6364,"src":"659:554:41","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":6365,"src":"192:1023:41","usedErrors":[],"usedEvents":[6394]}],"src":"37:1179:41"},"id":41},"contracts/interfaces/IFeeDiscountPlugin.sol":{"ast":{"absolutePath":"contracts/interfaces/IFeeDiscountPlugin.sol","exportedSymbols":{"IAbstractPlugin":[1071],"IAlgebraPlugin":[1543],"IFeeDiscountPlugin":[6384]},"id":6385,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":6366,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"46:24:42"},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol","file":"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol","id":6367,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6385,"sourceUnit":1072,"src":"74:81:42","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":6368,"name":"IAbstractPlugin","nameLocations":["191:15:42"],"nodeType":"IdentifierPath","referencedDeclaration":1071,"src":"191:15:42"},"id":6369,"nodeType":"InheritanceSpecifier","src":"191:15:42"}],"canonicalName":"IFeeDiscountPlugin","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":6384,"linearizedBaseContracts":[6384,1071,1543],"name":"IFeeDiscountPlugin","nameLocation":"169:18:42","nodeType":"ContractDefinition","nodes":[{"functionSelector":"c3da7978","id":6374,"implemented":false,"kind":"function","modifiers":[],"name":"setFeeDiscountRegistry","nameLocation":"221:22:42","nodeType":"FunctionDefinition","parameters":{"id":6372,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6371,"mutability":"mutable","name":"registry","nameLocation":"252:8:42","nodeType":"VariableDeclaration","scope":6374,"src":"244:16:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6370,"name":"address","nodeType":"ElementaryTypeName","src":"244:7:42","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"243:18:42"},"returnParameters":{"id":6373,"nodeType":"ParameterList","parameters":[],"src":"270:0:42"},"scope":6384,"src":"212:59:42","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"f20cdc1a","id":6379,"implemented":false,"kind":"function","modifiers":[],"name":"feeDiscountRegistry","nameLocation":"286:19:42","nodeType":"FunctionDefinition","parameters":{"id":6375,"nodeType":"ParameterList","parameters":[],"src":"305:2:42"},"returnParameters":{"id":6378,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6377,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6379,"src":"326:7:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6376,"name":"address","nodeType":"ElementaryTypeName","src":"326:7:42","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"325:9:42"},"scope":6384,"src":"277:58:42","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"anonymous":false,"eventSelector":"3b1f0d57f07483280d598ef402c5b2b96be1a42e65b21992bdafea3476b65327","id":6383,"name":"FeeDiscountRegistry","nameLocation":"347:19:42","nodeType":"EventDefinition","parameters":{"id":6382,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6381,"indexed":false,"mutability":"mutable","name":"registry","nameLocation":"375:8:42","nodeType":"VariableDeclaration","scope":6383,"src":"367:16:42","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6380,"name":"address","nodeType":"ElementaryTypeName","src":"367:7:42","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"366:18:42"},"src":"341:44:42"}],"scope":6385,"src":"159:229:42","usedErrors":[],"usedEvents":[6383]}],"src":"46:344:42"},"id":42},"contracts/interfaces/IFeeDiscountRegistry.sol":{"ast":{"absolutePath":"contracts/interfaces/IFeeDiscountRegistry.sol","exportedSymbols":{"IFeeDiscountRegistry":[6430]},"id":6431,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":6386,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:43"},{"abstract":false,"baseContracts":[],"canonicalName":"IFeeDiscountRegistry","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":6430,"linearizedBaseContracts":[6430],"name":"IFeeDiscountRegistry","nameLocation":"81:20:43","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"eventSelector":"7a30dcbbc729b723963056eb5780229274194a05bbe6fe5174b8864d96c37a2c","id":6394,"name":"FeeDiscount","nameLocation":"112:11:43","nodeType":"EventDefinition","parameters":{"id":6393,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6388,"indexed":false,"mutability":"mutable","name":"user","nameLocation":"132:4:43","nodeType":"VariableDeclaration","scope":6394,"src":"124:12:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6387,"name":"address","nodeType":"ElementaryTypeName","src":"124:7:43","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6390,"indexed":false,"mutability":"mutable","name":"pool","nameLocation":"146:4:43","nodeType":"VariableDeclaration","scope":6394,"src":"138:12:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6389,"name":"address","nodeType":"ElementaryTypeName","src":"138:7:43","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6392,"indexed":false,"mutability":"mutable","name":"newDiscount","nameLocation":"159:11:43","nodeType":"VariableDeclaration","scope":6394,"src":"152:18:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6391,"name":"uint16","nodeType":"ElementaryTypeName","src":"152:6:43","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"123:48:43"},"src":"106:66:43"},{"functionSelector":"1101ce3e","id":6403,"implemented":false,"kind":"function","modifiers":[],"name":"feeDiscounts","nameLocation":"185:12:43","nodeType":"FunctionDefinition","parameters":{"id":6399,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6396,"mutability":"mutable","name":"user","nameLocation":"206:4:43","nodeType":"VariableDeclaration","scope":6403,"src":"198:12:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6395,"name":"address","nodeType":"ElementaryTypeName","src":"198:7:43","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6398,"mutability":"mutable","name":"pool","nameLocation":"220:4:43","nodeType":"VariableDeclaration","scope":6403,"src":"212:12:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6397,"name":"address","nodeType":"ElementaryTypeName","src":"212:7:43","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"197:28:43"},"returnParameters":{"id":6402,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6401,"mutability":"mutable","name":"feeDiscount","nameLocation":"251:11:43","nodeType":"VariableDeclaration","scope":6403,"src":"244:18:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6400,"name":"uint16","nodeType":"ElementaryTypeName","src":"244:6:43","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"243:20:43"},"scope":6430,"src":"176:88:43","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"978e13ea","id":6414,"implemented":false,"kind":"function","modifiers":[],"name":"setFeeDiscount","nameLocation":"276:14:43","nodeType":"FunctionDefinition","parameters":{"id":6412,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6405,"mutability":"mutable","name":"user","nameLocation":"299:4:43","nodeType":"VariableDeclaration","scope":6414,"src":"291:12:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6404,"name":"address","nodeType":"ElementaryTypeName","src":"291:7:43","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6408,"mutability":"mutable","name":"pools","nameLocation":"322:5:43","nodeType":"VariableDeclaration","scope":6414,"src":"305:22:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":6406,"name":"address","nodeType":"ElementaryTypeName","src":"305:7:43","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6407,"nodeType":"ArrayTypeName","src":"305:9:43","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":6411,"mutability":"mutable","name":"newDiscounts","nameLocation":"345:12:43","nodeType":"VariableDeclaration","scope":6414,"src":"329:28:43","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[]"},"typeName":{"baseType":{"id":6409,"name":"uint16","nodeType":"ElementaryTypeName","src":"329:6:43","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":6410,"nodeType":"ArrayTypeName","src":"329:8:43","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_storage_ptr","typeString":"uint16[]"}},"visibility":"internal"}],"src":"290:68:43"},"returnParameters":{"id":6413,"nodeType":"ParameterList","parameters":[],"src":"367:0:43"},"scope":6430,"src":"267:101:43","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"a7b64b04","id":6419,"implemented":false,"kind":"function","modifiers":[],"name":"algebraFactory","nameLocation":"381:14:43","nodeType":"FunctionDefinition","parameters":{"id":6415,"nodeType":"ParameterList","parameters":[],"src":"395:2:43"},"returnParameters":{"id":6418,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6417,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6419,"src":"421:7:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6416,"name":"address","nodeType":"ElementaryTypeName","src":"421:7:43","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"420:9:43"},"scope":6430,"src":"372:58:43","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"d2426f07","id":6424,"implemented":false,"kind":"function","modifiers":[],"name":"FEE_DISCOUNT_MANAGER","nameLocation":"442:20:43","nodeType":"FunctionDefinition","parameters":{"id":6420,"nodeType":"ParameterList","parameters":[],"src":"462:2:43"},"returnParameters":{"id":6423,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6422,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6424,"src":"488:7:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6421,"name":"bytes32","nodeType":"ElementaryTypeName","src":"488:7:43","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"487:9:43"},"scope":6430,"src":"433:64:43","stateMutability":"pure","virtual":false,"visibility":"external"},{"functionSelector":"51f8ba46","id":6429,"implemented":false,"kind":"function","modifiers":[],"name":"FEE_DISCOUNT_DENOMINATOR","nameLocation":"509:24:43","nodeType":"FunctionDefinition","parameters":{"id":6425,"nodeType":"ParameterList","parameters":[],"src":"533:2:43"},"returnParameters":{"id":6428,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6427,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6429,"src":"559:6:43","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6426,"name":"uint16","nodeType":"ElementaryTypeName","src":"559:6:43","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"558:8:43"},"scope":6430,"src":"500:67:43","stateMutability":"pure","virtual":false,"visibility":"external"}],"scope":6431,"src":"71:498:43","usedErrors":[],"usedEvents":[6394]}],"src":"45:525:43"},"id":43},"contracts/test/BeaconProxy.sol":{"ast":{"absolutePath":"contracts/test/BeaconProxy.sol","exportedSymbols":{"BeaconProxy":[6449],"OZBeaconProxy":[6433]},"id":6450,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":6432,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"33:24:44"},{"absolutePath":"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol","file":"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol","id":6433,"nameLocation":"126:13:44","nodeType":"ImportDirective","scope":6450,"sourceUnit":5231,"src":"61:79:44","symbolAliases":[],"unitAlias":"OZBeaconProxy"},{"abstract":false,"baseContracts":[{"baseName":{"id":6435,"name":"OZBeaconProxy.BeaconProxy","nameLocations":["280:13:44","294:11:44"],"nodeType":"IdentifierPath","referencedDeclaration":5230,"src":"280:25:44"},"id":6436,"nodeType":"InheritanceSpecifier","src":"280:25:44"}],"canonicalName":"BeaconProxy","contractDependencies":[],"contractKind":"contract","documentation":{"id":6434,"nodeType":"StructuredDocumentation","src":"144:112:44","text":"@title BeaconProxy wrapper for testing\n @notice Re-exports OpenZeppelin BeaconProxy for test contracts"},"fullyImplemented":true,"id":6449,"linearizedBaseContracts":[6449,5230,5112,4798,5164],"name":"BeaconProxy","nameLocation":"265:11:44","nodeType":"ContractDefinition","nodes":[{"body":{"id":6447,"nodeType":"Block","src":"400:2:44","statements":[]},"id":6448,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":6443,"name":"beacon","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6438,"src":"386:6:44","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6444,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6440,"src":"394:4:44","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":6445,"kind":"baseConstructorSpecifier","modifierName":{"id":6442,"name":"OZBeaconProxy.BeaconProxy","nameLocations":["360:13:44","374:11:44"],"nodeType":"IdentifierPath","referencedDeclaration":5230,"src":"360:25:44"},"nodeType":"ModifierInvocation","src":"360:39:44"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":6441,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6438,"mutability":"mutable","name":"beacon","nameLocation":"333:6:44","nodeType":"VariableDeclaration","scope":6448,"src":"325:14:44","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6437,"name":"address","nodeType":"ElementaryTypeName","src":"325:7:44","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6440,"mutability":"mutable","name":"data","nameLocation":"354:4:44","nodeType":"VariableDeclaration","scope":6448,"src":"341:17:44","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6439,"name":"bytes","nodeType":"ElementaryTypeName","src":"341:5:44","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"324:35:44"},"returnParameters":{"id":6446,"nodeType":"ParameterList","parameters":[],"src":"400:0:44"},"scope":6449,"src":"313:89:44","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":6450,"src":"256:149:44","usedErrors":[],"usedEvents":[4785,4792,4797]}],"src":"33:374:44"},"id":44},"contracts/test/MockFactory.sol":{"ast":{"absolutePath":"contracts/test/MockFactory.sol","exportedSymbols":{"IAlgebraPluginFactory":[1575],"MockFactory":[6598]},"id":6599,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":6451,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"37:24:45"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol","id":6452,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6599,"sourceUnit":1576,"src":"63:92:45","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"MockFactory","contractDependencies":[],"contractKind":"contract","documentation":{"id":6453,"nodeType":"StructuredDocumentation","src":"157:55:45","text":"@title Mock of Algebra factory for plugins testing"},"fullyImplemented":true,"id":6598,"linearizedBaseContracts":[6598],"name":"MockFactory","nameLocation":"221:11:45","nodeType":"ContractDefinition","nodes":[{"constant":true,"functionSelector":"b500a48b","id":6458,"mutability":"constant","name":"POOLS_ADMINISTRATOR_ROLE","nameLocation":"261:24:45","nodeType":"VariableDeclaration","scope":6598,"src":"237:83:45","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6454,"name":"bytes32","nodeType":"ElementaryTypeName","src":"237:7:45","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"504f4f4c535f41444d494e4953545241544f52","id":6456,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"298:21:45","typeDescriptions":{"typeIdentifier":"t_stringliteral_b73ce166ead2f8e9add217713a7989e4edfba9625f71dfd2516204bb67ad3442","typeString":"literal_string \"POOLS_ADMINISTRATOR\""},"value":"POOLS_ADMINISTRATOR"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_b73ce166ead2f8e9add217713a7989e4edfba9625f71dfd2516204bb67ad3442","typeString":"literal_string \"POOLS_ADMINISTRATOR\""}],"id":6455,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"288:9:45","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":6457,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"288:32:45","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"functionSelector":"31b25d1a","id":6463,"mutability":"constant","name":"ALGEBRA_BASE_PLUGIN_MANAGER","nameLocation":"348:27:45","nodeType":"VariableDeclaration","scope":6598,"src":"324:94:45","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6459,"name":"bytes32","nodeType":"ElementaryTypeName","src":"324:7:45","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"414c47454252415f424153455f504c5547494e5f4d414e41474552","id":6461,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"388:29:45","typeDescriptions":{"typeIdentifier":"t_stringliteral_8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f5","typeString":"literal_string \"ALGEBRA_BASE_PLUGIN_MANAGER\""},"value":"ALGEBRA_BASE_PLUGIN_MANAGER"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f5","typeString":"literal_string \"ALGEBRA_BASE_PLUGIN_MANAGER\""}],"id":6460,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"378:9:45","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":6462,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"378:40:45","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":false,"functionSelector":"8da5cb5b","id":6465,"mutability":"mutable","name":"owner","nameLocation":"438:5:45","nodeType":"VariableDeclaration","scope":6598,"src":"423:20:45","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6464,"name":"address","nodeType":"ElementaryTypeName","src":"423:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"functionSelector":"ac4ab3fb","id":6471,"mutability":"mutable","name":"hasRole","nameLocation":"500:7:45","nodeType":"VariableDeclaration","scope":6598,"src":"448:59:45","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_bool_$_$","typeString":"mapping(address => mapping(bytes32 => bool))"},"typeName":{"id":6470,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6466,"name":"address","nodeType":"ElementaryTypeName","src":"456:7:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"448:44:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_bool_$_$","typeString":"mapping(address => mapping(bytes32 => bool))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6469,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6467,"name":"bytes32","nodeType":"ElementaryTypeName","src":"475:7:45","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"467:24:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_bool_$","typeString":"mapping(bytes32 => bool)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6468,"name":"bool","nodeType":"ElementaryTypeName","src":"486:4:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}}},"visibility":"public"},{"constant":false,"functionSelector":"d9a641e1","id":6477,"mutability":"mutable","name":"poolByPair","nameLocation":"567:10:45","nodeType":"VariableDeclaration","scope":6598,"src":"512:65:45","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_address_$_$","typeString":"mapping(address => mapping(address => address))"},"typeName":{"id":6476,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6472,"name":"address","nodeType":"ElementaryTypeName","src":"520:7:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"512:47:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_address_$_$","typeString":"mapping(address => mapping(address => address))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6475,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6473,"name":"address","nodeType":"ElementaryTypeName","src":"539:7:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"531:27:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_address_$","typeString":"mapping(address => address)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6474,"name":"address","nodeType":"ElementaryTypeName","src":"550:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}}},"visibility":"public"},{"body":{"id":6485,"nodeType":"Block","src":"596:29:45","statements":[{"expression":{"id":6483,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6480,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6465,"src":"602:5:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":6481,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"610:3:45","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":6482,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"614:6:45","memberName":"sender","nodeType":"MemberAccess","src":"610:10:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"602:18:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6484,"nodeType":"ExpressionStatement","src":"602:18:45"}]},"id":6486,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":6478,"nodeType":"ParameterList","parameters":[],"src":"593:2:45"},"returnParameters":{"id":6479,"nodeType":"ParameterList","parameters":[],"src":"596:0:45"},"scope":6598,"src":"582:43:45","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":6506,"nodeType":"Block","src":"711:62:45","statements":[{"expression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":6503,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":6497,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6495,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6465,"src":"725:5:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":6496,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6490,"src":"734:7:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"725:16:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"baseExpression":{"baseExpression":{"id":6498,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6471,"src":"745:7:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_bool_$_$","typeString":"mapping(address => mapping(bytes32 => bool))"}},"id":6500,"indexExpression":{"id":6499,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6490,"src":"753:7:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"745:16:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_bool_$","typeString":"mapping(bytes32 => bool)"}},"id":6502,"indexExpression":{"id":6501,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6488,"src":"762:4:45","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"745:22:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"725:42:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":6504,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"724:44:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":6494,"id":6505,"nodeType":"Return","src":"717:51:45"}]},"functionSelector":"e8ae2b69","id":6507,"implemented":true,"kind":"function","modifiers":[],"name":"hasRoleOrOwner","nameLocation":"638:14:45","nodeType":"FunctionDefinition","parameters":{"id":6491,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6488,"mutability":"mutable","name":"role","nameLocation":"661:4:45","nodeType":"VariableDeclaration","scope":6507,"src":"653:12:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6487,"name":"bytes32","nodeType":"ElementaryTypeName","src":"653:7:45","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":6490,"mutability":"mutable","name":"account","nameLocation":"675:7:45","nodeType":"VariableDeclaration","scope":6507,"src":"667:15:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6489,"name":"address","nodeType":"ElementaryTypeName","src":"667:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"652:31:45"},"returnParameters":{"id":6494,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6493,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6507,"src":"705:4:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6492,"name":"bool","nodeType":"ElementaryTypeName","src":"705:4:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"704:6:45"},"scope":6598,"src":"629:144:45","stateMutability":"view","virtual":false,"visibility":"public"},{"body":{"id":6522,"nodeType":"Block","src":"836:40:45","statements":[{"expression":{"id":6520,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":6514,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6471,"src":"842:7:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_bool_$_$","typeString":"mapping(address => mapping(bytes32 => bool))"}},"id":6517,"indexExpression":{"id":6515,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6511,"src":"850:7:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"842:16:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_bool_$","typeString":"mapping(bytes32 => bool)"}},"id":6518,"indexExpression":{"id":6516,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6509,"src":"859:4:45","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"842:22:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":6519,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"867:4:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"842:29:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6521,"nodeType":"ExpressionStatement","src":"842:29:45"}]},"functionSelector":"2f2ff15d","id":6523,"implemented":true,"kind":"function","modifiers":[],"name":"grantRole","nameLocation":"786:9:45","nodeType":"FunctionDefinition","parameters":{"id":6512,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6509,"mutability":"mutable","name":"role","nameLocation":"804:4:45","nodeType":"VariableDeclaration","scope":6523,"src":"796:12:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6508,"name":"bytes32","nodeType":"ElementaryTypeName","src":"796:7:45","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":6511,"mutability":"mutable","name":"account","nameLocation":"818:7:45","nodeType":"VariableDeclaration","scope":6523,"src":"810:15:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6510,"name":"address","nodeType":"ElementaryTypeName","src":"810:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"795:31:45"},"returnParameters":{"id":6513,"nodeType":"ParameterList","parameters":[],"src":"836:0:45"},"scope":6598,"src":"777:99:45","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":6538,"nodeType":"Block","src":"940:41:45","statements":[{"expression":{"id":6536,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":6530,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6471,"src":"946:7:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_bytes32_$_t_bool_$_$","typeString":"mapping(address => mapping(bytes32 => bool))"}},"id":6533,"indexExpression":{"id":6531,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6527,"src":"954:7:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"946:16:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_bool_$","typeString":"mapping(bytes32 => bool)"}},"id":6534,"indexExpression":{"id":6532,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6525,"src":"963:4:45","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"946:22:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":6535,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"971:5:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"946:30:45","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6537,"nodeType":"ExpressionStatement","src":"946:30:45"}]},"functionSelector":"d547741f","id":6539,"implemented":true,"kind":"function","modifiers":[],"name":"revokeRole","nameLocation":"889:10:45","nodeType":"FunctionDefinition","parameters":{"id":6528,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6525,"mutability":"mutable","name":"role","nameLocation":"908:4:45","nodeType":"VariableDeclaration","scope":6539,"src":"900:12:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6524,"name":"bytes32","nodeType":"ElementaryTypeName","src":"900:7:45","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":6527,"mutability":"mutable","name":"account","nameLocation":"922:7:45","nodeType":"VariableDeclaration","scope":6539,"src":"914:15:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6526,"name":"address","nodeType":"ElementaryTypeName","src":"914:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"899:31:45"},"returnParameters":{"id":6529,"nodeType":"ParameterList","parameters":[],"src":"940:0:45"},"scope":6598,"src":"880:101:45","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":6564,"nodeType":"Block","src":"1056:83:45","statements":[{"expression":{"id":6554,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":6548,"name":"poolByPair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6477,"src":"1062:10:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_address_$_$","typeString":"mapping(address => mapping(address => address))"}},"id":6551,"indexExpression":{"id":6549,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6541,"src":"1073:6:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1062:18:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_address_$","typeString":"mapping(address => address)"}},"id":6552,"indexExpression":{"id":6550,"name":"token1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6543,"src":"1081:6:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1062:26:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6553,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6545,"src":"1091:4:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1062:33:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6555,"nodeType":"ExpressionStatement","src":"1062:33:45"},{"expression":{"id":6562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":6556,"name":"poolByPair","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6477,"src":"1101:10:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_address_$_$","typeString":"mapping(address => mapping(address => address))"}},"id":6559,"indexExpression":{"id":6557,"name":"token1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6543,"src":"1112:6:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1101:18:45","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_address_$","typeString":"mapping(address => address)"}},"id":6560,"indexExpression":{"id":6558,"name":"token0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6541,"src":"1120:6:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1101:26:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6561,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6545,"src":"1130:4:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1101:33:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6563,"nodeType":"ExpressionStatement","src":"1101:33:45"}]},"functionSelector":"f89b66ec","id":6565,"implemented":true,"kind":"function","modifiers":[],"name":"stubPool","nameLocation":"994:8:45","nodeType":"FunctionDefinition","parameters":{"id":6546,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6541,"mutability":"mutable","name":"token0","nameLocation":"1011:6:45","nodeType":"VariableDeclaration","scope":6565,"src":"1003:14:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6540,"name":"address","nodeType":"ElementaryTypeName","src":"1003:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6543,"mutability":"mutable","name":"token1","nameLocation":"1027:6:45","nodeType":"VariableDeclaration","scope":6565,"src":"1019:14:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6542,"name":"address","nodeType":"ElementaryTypeName","src":"1019:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6545,"mutability":"mutable","name":"pool","nameLocation":"1043:4:45","nodeType":"VariableDeclaration","scope":6565,"src":"1035:12:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6544,"name":"address","nodeType":"ElementaryTypeName","src":"1035:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1002:46:45"},"returnParameters":{"id":6547,"nodeType":"ParameterList","parameters":[],"src":"1056:0:45"},"scope":6598,"src":"985:154:45","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":6596,"nodeType":"Block","src":"1219:128:45","statements":[{"expression":{"arguments":[{"id":6576,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6569,"src":"1283:4:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":6579,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1297:1:45","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":6578,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1289:7:45","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6577,"name":"address","nodeType":"ElementaryTypeName","src":"1289:7:45","typeDescriptions":{}}},"id":6580,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1289:10:45","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":6583,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1309:1:45","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":6582,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1301:7:45","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6581,"name":"address","nodeType":"ElementaryTypeName","src":"1301:7:45","typeDescriptions":{}}},"id":6584,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1301:10:45","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":6587,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1321:1:45","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":6586,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1313:7:45","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6585,"name":"address","nodeType":"ElementaryTypeName","src":"1313:7:45","typeDescriptions":{}}},"id":6588,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1313:10:45","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":6591,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1333:1:45","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":6590,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1325:7:45","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6589,"name":"address","nodeType":"ElementaryTypeName","src":"1325:7:45","typeDescriptions":{}}},"id":6592,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1325:10:45","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"3078","id":6593,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1337:4:45","typeDescriptions":{"typeIdentifier":"t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837","typeString":"literal_string \"0x\""},"value":"0x"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837","typeString":"literal_string \"0x\""}],"expression":{"arguments":[{"id":6573,"name":"pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6567,"src":"1247:13:45","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6572,"name":"IAlgebraPluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1575,"src":"1225:21:45","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPluginFactory_$1575_$","typeString":"type(contract IAlgebraPluginFactory)"}},"id":6574,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1225:36:45","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPluginFactory_$1575","typeString":"contract IAlgebraPluginFactory"}},"id":6575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1262:20:45","memberName":"beforeCreatePoolHook","nodeType":"MemberAccess","referencedDeclaration":1564,"src":"1225:57:45","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$_t_address_$_t_bytes_memory_ptr_$returns$_t_address_$","typeString":"function (address,address,address,address,address,bytes memory) external returns (address)"}},"id":6594,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1225:117:45","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6595,"nodeType":"ExpressionStatement","src":"1225:117:45"}]},"functionSelector":"2cb8189e","id":6597,"implemented":true,"kind":"function","modifiers":[],"name":"beforeCreatePoolHook","nameLocation":"1152:20:45","nodeType":"FunctionDefinition","parameters":{"id":6570,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6567,"mutability":"mutable","name":"pluginFactory","nameLocation":"1181:13:45","nodeType":"VariableDeclaration","scope":6597,"src":"1173:21:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6566,"name":"address","nodeType":"ElementaryTypeName","src":"1173:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6569,"mutability":"mutable","name":"pool","nameLocation":"1204:4:45","nodeType":"VariableDeclaration","scope":6597,"src":"1196:12:45","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6568,"name":"address","nodeType":"ElementaryTypeName","src":"1196:7:45","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1172:37:45"},"returnParameters":{"id":6571,"nodeType":"ParameterList","parameters":[],"src":"1219:0:45"},"scope":6598,"src":"1143:204:45","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":6599,"src":"212:1137:45","usedErrors":[],"usedEvents":[]}],"src":"37:1313:45"},"id":45},"contracts/test/MockFeeDiscountRegistry.sol":{"ast":{"absolutePath":"contracts/test/MockFeeDiscountRegistry.sol","exportedSymbols":{"IFeeDiscountRegistry":[6430],"MockFeeDiscountRegistry":[6716]},"id":6717,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":6600,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:46"},{"absolutePath":"contracts/interfaces/IFeeDiscountRegistry.sol","file":"../interfaces/IFeeDiscountRegistry.sol","id":6601,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6717,"sourceUnit":6431,"src":"66:48:46","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":6603,"name":"IFeeDiscountRegistry","nameLocations":["249:20:46"],"nodeType":"IdentifierPath","referencedDeclaration":6430,"src":"249:20:46"},"id":6604,"nodeType":"InheritanceSpecifier","src":"249:20:46"}],"canonicalName":"MockFeeDiscountRegistry","contractDependencies":[],"contractKind":"contract","documentation":{"id":6602,"nodeType":"StructuredDocumentation","src":"118:95:46","text":"@title Mock Fee Discount Registry for testing\n @notice Simplified mock for unit tests"},"fullyImplemented":true,"id":6716,"linearizedBaseContracts":[6716,6430],"name":"MockFeeDiscountRegistry","nameLocation":"222:23:46","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":6610,"mutability":"mutable","name":"_feeDiscounts","nameLocation":"332:13:46","nodeType":"VariableDeclaration","scope":6716,"src":"277:68:46","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint16_$_$","typeString":"mapping(address => mapping(address => uint16))"},"typeName":{"id":6609,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6605,"name":"address","nodeType":"ElementaryTypeName","src":"285:7:46","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"277:46:46","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint16_$_$","typeString":"mapping(address => mapping(address => uint16))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6608,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6606,"name":"address","nodeType":"ElementaryTypeName","src":"304:7:46","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"296:26:46","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint16_$","typeString":"mapping(address => uint16)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6607,"name":"uint16","nodeType":"ElementaryTypeName","src":"315:6:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}}},"visibility":"private"},{"baseFunctions":[6403],"body":{"id":6626,"nodeType":"Block","src":"456:51:46","statements":[{"expression":{"baseExpression":{"baseExpression":{"id":6620,"name":"_feeDiscounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6610,"src":"474:13:46","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint16_$_$","typeString":"mapping(address => mapping(address => uint16))"}},"id":6622,"indexExpression":{"id":6621,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6612,"src":"488:4:46","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"474:19:46","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint16_$","typeString":"mapping(address => uint16)"}},"id":6624,"indexExpression":{"id":6623,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6614,"src":"494:4:46","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"474:25:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"functionReturnParameters":6619,"id":6625,"nodeType":"Return","src":"467:32:46"}]},"functionSelector":"1101ce3e","id":6627,"implemented":true,"kind":"function","modifiers":[],"name":"feeDiscounts","nameLocation":"363:12:46","nodeType":"FunctionDefinition","overrides":{"id":6616,"nodeType":"OverrideSpecifier","overrides":[],"src":"418:8:46"},"parameters":{"id":6615,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6612,"mutability":"mutable","name":"user","nameLocation":"384:4:46","nodeType":"VariableDeclaration","scope":6627,"src":"376:12:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6611,"name":"address","nodeType":"ElementaryTypeName","src":"376:7:46","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6614,"mutability":"mutable","name":"pool","nameLocation":"398:4:46","nodeType":"VariableDeclaration","scope":6627,"src":"390:12:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6613,"name":"address","nodeType":"ElementaryTypeName","src":"390:7:46","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"375:28:46"},"returnParameters":{"id":6619,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6618,"mutability":"mutable","name":"feeDiscount","nameLocation":"443:11:46","nodeType":"VariableDeclaration","scope":6627,"src":"436:18:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6617,"name":"uint16","nodeType":"ElementaryTypeName","src":"436:6:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"435:20:46"},"scope":6716,"src":"354:153:46","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[6414],"body":{"id":6664,"nodeType":"Block","src":"625:135:46","statements":[{"body":{"id":6662,"nodeType":"Block","src":"679:74:46","statements":[{"expression":{"id":6660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":6650,"name":"_feeDiscounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6610,"src":"694:13:46","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint16_$_$","typeString":"mapping(address => mapping(address => uint16))"}},"id":6655,"indexExpression":{"id":6651,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6629,"src":"708:4:46","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"694:19:46","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint16_$","typeString":"mapping(address => uint16)"}},"id":6656,"indexExpression":{"baseExpression":{"id":6652,"name":"pools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6632,"src":"714:5:46","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":6654,"indexExpression":{"id":6653,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6640,"src":"720:1:46","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"714:8:46","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"694:29:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":6657,"name":"newDiscounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6635,"src":"726:12:46","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":6659,"indexExpression":{"id":6658,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6640,"src":"739:1:46","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"726:15:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"694:47:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":6661,"nodeType":"ExpressionStatement","src":"694:47:46"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6646,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6643,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6640,"src":"656:1:46","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":6644,"name":"pools","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6632,"src":"660:5:46","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":6645,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"666:6:46","memberName":"length","nodeType":"MemberAccess","src":"660:12:46","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"656:16:46","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6663,"initializationExpression":{"assignments":[6640],"declarations":[{"constant":false,"id":6640,"mutability":"mutable","name":"i","nameLocation":"649:1:46","nodeType":"VariableDeclaration","scope":6663,"src":"641:9:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6639,"name":"uint256","nodeType":"ElementaryTypeName","src":"641:7:46","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6642,"initialValue":{"hexValue":"30","id":6641,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"653:1:46","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"641:13:46"},"loopExpression":{"expression":{"id":6648,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"674:3:46","subExpression":{"id":6647,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6640,"src":"674:1:46","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6649,"nodeType":"ExpressionStatement","src":"674:3:46"},"nodeType":"ForStatement","src":"636:117:46"}]},"functionSelector":"978e13ea","id":6665,"implemented":true,"kind":"function","modifiers":[],"name":"setFeeDiscount","nameLocation":"524:14:46","nodeType":"FunctionDefinition","overrides":{"id":6637,"nodeType":"OverrideSpecifier","overrides":[],"src":"616:8:46"},"parameters":{"id":6636,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6629,"mutability":"mutable","name":"user","nameLocation":"547:4:46","nodeType":"VariableDeclaration","scope":6665,"src":"539:12:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6628,"name":"address","nodeType":"ElementaryTypeName","src":"539:7:46","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6632,"mutability":"mutable","name":"pools","nameLocation":"570:5:46","nodeType":"VariableDeclaration","scope":6665,"src":"553:22:46","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":6630,"name":"address","nodeType":"ElementaryTypeName","src":"553:7:46","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6631,"nodeType":"ArrayTypeName","src":"553:9:46","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":6635,"mutability":"mutable","name":"newDiscounts","nameLocation":"593:12:46","nodeType":"VariableDeclaration","scope":6665,"src":"577:28:46","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[]"},"typeName":{"baseType":{"id":6633,"name":"uint16","nodeType":"ElementaryTypeName","src":"577:6:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":6634,"nodeType":"ArrayTypeName","src":"577:8:46","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_storage_ptr","typeString":"uint16[]"}},"visibility":"internal"}],"src":"538:68:46"},"returnParameters":{"id":6638,"nodeType":"ParameterList","parameters":[],"src":"625:0:46"},"scope":6716,"src":"515:245:46","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":6682,"nodeType":"Block","src":"852:55:46","statements":[{"expression":{"id":6680,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":6674,"name":"_feeDiscounts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6610,"src":"863:13:46","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint16_$_$","typeString":"mapping(address => mapping(address => uint16))"}},"id":6677,"indexExpression":{"id":6675,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6667,"src":"877:4:46","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"863:19:46","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint16_$","typeString":"mapping(address => uint16)"}},"id":6678,"indexExpression":{"id":6676,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6669,"src":"883:4:46","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"863:25:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6679,"name":"discount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6671,"src":"891:8:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"863:36:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":6681,"nodeType":"ExpressionStatement","src":"863:36:46"}]},"functionSelector":"c7174fe3","id":6683,"implemented":true,"kind":"function","modifiers":[],"name":"setFeeDiscountSimple","nameLocation":"777:20:46","nodeType":"FunctionDefinition","parameters":{"id":6672,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6667,"mutability":"mutable","name":"user","nameLocation":"806:4:46","nodeType":"VariableDeclaration","scope":6683,"src":"798:12:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6666,"name":"address","nodeType":"ElementaryTypeName","src":"798:7:46","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6669,"mutability":"mutable","name":"pool","nameLocation":"820:4:46","nodeType":"VariableDeclaration","scope":6683,"src":"812:12:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6668,"name":"address","nodeType":"ElementaryTypeName","src":"812:7:46","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":6671,"mutability":"mutable","name":"discount","nameLocation":"833:8:46","nodeType":"VariableDeclaration","scope":6683,"src":"826:15:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6670,"name":"uint16","nodeType":"ElementaryTypeName","src":"826:6:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"797:45:46"},"returnParameters":{"id":6673,"nodeType":"ParameterList","parameters":[],"src":"852:0:46"},"scope":6716,"src":"768:139:46","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[6419],"body":{"id":6694,"nodeType":"Block","src":"982:36:46","statements":[{"expression":{"arguments":[{"hexValue":"30","id":6691,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1008:1:46","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":6690,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1000:7:46","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6689,"name":"address","nodeType":"ElementaryTypeName","src":"1000:7:46","typeDescriptions":{}}},"id":6692,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1000:10:46","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":6688,"id":6693,"nodeType":"Return","src":"993:17:46"}]},"functionSelector":"a7b64b04","id":6695,"implemented":true,"kind":"function","modifiers":[],"name":"algebraFactory","nameLocation":"924:14:46","nodeType":"FunctionDefinition","overrides":{"id":6685,"nodeType":"OverrideSpecifier","overrides":[],"src":"955:8:46"},"parameters":{"id":6684,"nodeType":"ParameterList","parameters":[],"src":"938:2:46"},"returnParameters":{"id":6688,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6687,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6695,"src":"973:7:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6686,"name":"address","nodeType":"ElementaryTypeName","src":"973:7:46","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"972:9:46"},"scope":6716,"src":"915:103:46","stateMutability":"pure","virtual":false,"visibility":"external"},{"baseFunctions":[6424],"body":{"id":6705,"nodeType":"Block","src":"1099:59:46","statements":[{"expression":{"arguments":[{"hexValue":"4645455f444953434f554e545f4d414e41474552","id":6702,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1127:22:46","typeDescriptions":{"typeIdentifier":"t_stringliteral_a49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e8","typeString":"literal_string \"FEE_DISCOUNT_MANAGER\""},"value":"FEE_DISCOUNT_MANAGER"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_a49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e8","typeString":"literal_string \"FEE_DISCOUNT_MANAGER\""}],"id":6701,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1117:9:46","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":6703,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1117:33:46","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":6700,"id":6704,"nodeType":"Return","src":"1110:40:46"}]},"functionSelector":"d2426f07","id":6706,"implemented":true,"kind":"function","modifiers":[],"name":"FEE_DISCOUNT_MANAGER","nameLocation":"1035:20:46","nodeType":"FunctionDefinition","overrides":{"id":6697,"nodeType":"OverrideSpecifier","overrides":[],"src":"1072:8:46"},"parameters":{"id":6696,"nodeType":"ParameterList","parameters":[],"src":"1055:2:46"},"returnParameters":{"id":6700,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6699,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6706,"src":"1090:7:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":6698,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1090:7:46","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1089:9:46"},"scope":6716,"src":"1026:132:46","stateMutability":"pure","virtual":false,"visibility":"external"},{"baseFunctions":[6429],"body":{"id":6714,"nodeType":"Block","src":"1242:30:46","statements":[{"expression":{"hexValue":"31303030","id":6712,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1260:4:46","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1000"},"functionReturnParameters":6711,"id":6713,"nodeType":"Return","src":"1253:11:46"}]},"functionSelector":"51f8ba46","id":6715,"implemented":true,"kind":"function","modifiers":[],"name":"FEE_DISCOUNT_DENOMINATOR","nameLocation":"1175:24:46","nodeType":"FunctionDefinition","overrides":{"id":6708,"nodeType":"OverrideSpecifier","overrides":[],"src":"1216:8:46"},"parameters":{"id":6707,"nodeType":"ParameterList","parameters":[],"src":"1199:2:46"},"returnParameters":{"id":6711,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6710,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6715,"src":"1234:6:46","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6709,"name":"uint16","nodeType":"ElementaryTypeName","src":"1234:6:46","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"1233:8:46"},"scope":6716,"src":"1166:106:46","stateMutability":"pure","virtual":false,"visibility":"external"}],"scope":6717,"src":"213:1062:46","usedErrors":[],"usedEvents":[6394]}],"src":"38:1239:46"},"id":46},"contracts/test/MockPluginFactory.sol":{"ast":{"absolutePath":"contracts/test/MockPluginFactory.sol","exportedSymbols":{"MockPluginFactory":[6720]},"id":6721,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":6718,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:47"},{"abstract":false,"baseContracts":[],"canonicalName":"MockPluginFactory","contractDependencies":[],"contractKind":"contract","documentation":{"id":6719,"nodeType":"StructuredDocumentation","src":"66:106:47","text":"@title Mock Plugin Factory for testing\n @notice Simplified mock of plugin factory for unit tests"},"fullyImplemented":true,"id":6720,"linearizedBaseContracts":[6720],"name":"MockPluginFactory","nameLocation":"181:17:47","nodeType":"ContractDefinition","nodes":[],"scope":6721,"src":"172:92:47","usedErrors":[],"usedEvents":[]}],"src":"38:228:47"},"id":47},"contracts/test/MockPool.sol":{"ast":{"absolutePath":"contracts/test/MockPool.sol","exportedSymbols":{"Constants":[2288],"FullMath":[2495],"IAlgebraPlugin":[1543],"IAlgebraPoolActions":[1691],"IAlgebraPoolErrors":[1793],"IAlgebraPoolPermissionedActions":[2021],"IAlgebraPoolState":[2205],"LiquidityMath":[2676],"MockPool":[7588],"Plugins":[2748],"SafeCast":[2857],"TickManagement":[3428],"TickMath":[3957],"TokenDeltaMath":[4165]},"id":7589,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":6722,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"37:24:48"},{"id":6723,"literals":["abicoder","v1"],"nodeType":"PragmaDirective","src":"62:19:48"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol","id":6724,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7589,"sourceUnit":3429,"src":"83:77:48","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol","id":6725,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7589,"sourceUnit":2289,"src":"161:72:48","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":6726,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7589,"sourceUnit":2749,"src":"234:70:48","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol","id":6727,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7589,"sourceUnit":3958,"src":"305:71:48","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol","id":6728,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7589,"sourceUnit":1692,"src":"378:88:48","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","id":6729,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7589,"sourceUnit":2206,"src":"467:86:48","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol","id":6730,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7589,"sourceUnit":2022,"src":"554:100:48","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","id":6731,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7589,"sourceUnit":1794,"src":"655:87:48","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","id":6732,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7589,"sourceUnit":1544,"src":"743:85:48","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":6734,"name":"IAlgebraPoolActions","nameLocations":["926:19:48"],"nodeType":"IdentifierPath","referencedDeclaration":1691,"src":"926:19:48"},"id":6735,"nodeType":"InheritanceSpecifier","src":"926:19:48"},{"baseName":{"id":6736,"name":"IAlgebraPoolPermissionedActions","nameLocations":["947:31:48"],"nodeType":"IdentifierPath","referencedDeclaration":2021,"src":"947:31:48"},"id":6737,"nodeType":"InheritanceSpecifier","src":"947:31:48"},{"baseName":{"id":6738,"name":"IAlgebraPoolState","nameLocations":["980:17:48"],"nodeType":"IdentifierPath","referencedDeclaration":2205,"src":"980:17:48"},"id":6739,"nodeType":"InheritanceSpecifier","src":"980:17:48"}],"canonicalName":"MockPool","contractDependencies":[],"contractKind":"contract","documentation":{"id":6733,"nodeType":"StructuredDocumentation","src":"830:75:48","text":"@title Mock of Algebra concentrated liquidity pool for plugins testing"},"fullyImplemented":true,"id":7588,"linearizedBaseContracts":[7588,2205,2021,1691],"name":"MockPool","nameLocation":"914:8:48","nodeType":"ContractDefinition","nodes":[{"canonicalName":"MockPool.GlobalState","id":6752,"members":[{"constant":false,"id":6741,"mutability":"mutable","name":"price","nameLocation":"1035:5:48","nodeType":"VariableDeclaration","scope":6752,"src":"1027:13:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6740,"name":"uint160","nodeType":"ElementaryTypeName","src":"1027:7:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":6743,"mutability":"mutable","name":"tick","nameLocation":"1109:4:48","nodeType":"VariableDeclaration","scope":6752,"src":"1103:10:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6742,"name":"int24","nodeType":"ElementaryTypeName","src":"1103:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6745,"mutability":"mutable","name":"fee","nameLocation":"1146:3:48","nodeType":"VariableDeclaration","scope":6752,"src":"1139:10:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6744,"name":"uint16","nodeType":"ElementaryTypeName","src":"1139:6:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":6747,"mutability":"mutable","name":"pluginConfig","nameLocation":"1214:12:48","nodeType":"VariableDeclaration","scope":6752,"src":"1208:18:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":6746,"name":"uint8","nodeType":"ElementaryTypeName","src":"1208:5:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":6749,"mutability":"mutable","name":"communityFee","nameLocation":"1239:12:48","nodeType":"VariableDeclaration","scope":6752,"src":"1232:19:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6748,"name":"uint16","nodeType":"ElementaryTypeName","src":"1232:6:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":6751,"mutability":"mutable","name":"unlocked","nameLocation":"1351:8:48","nodeType":"VariableDeclaration","scope":6752,"src":"1346:13:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6750,"name":"bool","nodeType":"ElementaryTypeName","src":"1346:4:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"name":"GlobalState","nameLocation":"1009:11:48","nodeType":"StructDefinition","scope":7588,"src":"1002:417:48","visibility":"public"},{"baseFunctions":[2130],"constant":false,"documentation":{"id":6753,"nodeType":"StructuredDocumentation","src":"1423:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"6378ae44","id":6756,"mutability":"mutable","name":"totalFeeGrowth0Token","nameLocation":"1483:20:48","nodeType":"VariableDeclaration","overrides":{"id":6755,"nodeType":"OverrideSpecifier","overrides":[],"src":"1474:8:48"},"scope":7588,"src":"1459:44:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6754,"name":"uint256","nodeType":"ElementaryTypeName","src":"1459:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"public"},{"baseFunctions":[2136],"constant":false,"documentation":{"id":6757,"nodeType":"StructuredDocumentation","src":"1507:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"ecdecf42","id":6760,"mutability":"mutable","name":"totalFeeGrowth1Token","nameLocation":"1567:20:48","nodeType":"VariableDeclaration","overrides":{"id":6759,"nodeType":"OverrideSpecifier","overrides":[],"src":"1558:8:48"},"scope":7588,"src":"1543:44:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6758,"name":"uint256","nodeType":"ElementaryTypeName","src":"1543:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"public"},{"baseFunctions":[2064],"constant":false,"documentation":{"id":6761,"nodeType":"StructuredDocumentation","src":"1591:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"e76c01e4","id":6765,"mutability":"mutable","name":"globalState","nameLocation":"1655:11:48","nodeType":"VariableDeclaration","overrides":{"id":6764,"nodeType":"OverrideSpecifier","overrides":[],"src":"1646:8:48"},"scope":7588,"src":"1627:39:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState"},"typeName":{"id":6763,"nodeType":"UserDefinedTypeName","pathNode":{"id":6762,"name":"GlobalState","nameLocations":["1627:11:48"],"nodeType":"IdentifierPath","referencedDeclaration":6752,"src":"1627:11:48"},"referencedDeclaration":6752,"src":"1627:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage_ptr","typeString":"struct MockPool.GlobalState"}},"visibility":"public"},{"baseFunctions":[2190],"constant":false,"documentation":{"id":6766,"nodeType":"StructuredDocumentation","src":"1671:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"d5c35a7e","id":6769,"mutability":"mutable","name":"nextTickGlobal","nameLocation":"1729:14:48","nodeType":"VariableDeclaration","overrides":{"id":6768,"nodeType":"OverrideSpecifier","overrides":[],"src":"1720:8:48"},"scope":7588,"src":"1707:36:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6767,"name":"int24","nodeType":"ElementaryTypeName","src":"1707:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"public"},{"baseFunctions":[2184],"constant":false,"documentation":{"id":6770,"nodeType":"StructuredDocumentation","src":"1747:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"050a4d21","id":6773,"mutability":"mutable","name":"prevTickGlobal","nameLocation":"1805:14:48","nodeType":"VariableDeclaration","overrides":{"id":6772,"nodeType":"OverrideSpecifier","overrides":[],"src":"1796:8:48"},"scope":7588,"src":"1783:36:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6771,"name":"int24","nodeType":"ElementaryTypeName","src":"1783:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"public"},{"baseFunctions":[2172],"constant":false,"documentation":{"id":6774,"nodeType":"StructuredDocumentation","src":"1824:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"1a686502","id":6777,"mutability":"mutable","name":"liquidity","nameLocation":"1884:9:48","nodeType":"VariableDeclaration","overrides":{"id":6776,"nodeType":"OverrideSpecifier","overrides":[],"src":"1875:8:48"},"scope":7588,"src":"1860:33:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6775,"name":"uint128","nodeType":"ElementaryTypeName","src":"1860:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"public"},{"baseFunctions":[2178],"constant":false,"documentation":{"id":6778,"nodeType":"StructuredDocumentation","src":"1897:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"d0c93a7c","id":6781,"mutability":"mutable","name":"tickSpacing","nameLocation":"1955:11:48","nodeType":"VariableDeclaration","overrides":{"id":6780,"nodeType":"OverrideSpecifier","overrides":[],"src":"1946:8:48"},"scope":7588,"src":"1933:33:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6779,"name":"int24","nodeType":"ElementaryTypeName","src":"1933:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"public"},{"baseFunctions":[2088],"constant":false,"documentation":{"id":6782,"nodeType":"StructuredDocumentation","src":"1970:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"77f8c3a9","id":6785,"mutability":"mutable","name":"lastFeeTransferTimestamp","nameLocation":"2029:24:48","nodeType":"VariableDeclaration","overrides":{"id":6784,"nodeType":"OverrideSpecifier","overrides":[],"src":"2020:8:48"},"scope":7588,"src":"2006:47:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":6783,"name":"uint32","nodeType":"ElementaryTypeName","src":"2006:6:48","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"public"},{"baseFunctions":[2196],"constant":false,"documentation":{"id":6786,"nodeType":"StructuredDocumentation","src":"2058:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"578b9a36","id":6789,"mutability":"mutable","name":"tickTreeRoot","nameLocation":"2117:12:48","nodeType":"VariableDeclaration","overrides":{"id":6788,"nodeType":"OverrideSpecifier","overrides":[],"src":"2108:8:48"},"scope":7588,"src":"2094:35:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":6787,"name":"uint32","nodeType":"ElementaryTypeName","src":"2094:6:48","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"public"},{"baseFunctions":[2204],"constant":false,"documentation":{"id":6790,"nodeType":"StructuredDocumentation","src":"2167:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"d8619037","id":6795,"mutability":"mutable","name":"tickTreeSecondLayer","nameLocation":"2245:19:48","nodeType":"VariableDeclaration","overrides":{"id":6794,"nodeType":"OverrideSpecifier","overrides":[],"src":"2236:8:48"},"scope":7588,"src":"2203:61:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"typeName":{"id":6793,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6791,"name":"int16","nodeType":"ElementaryTypeName","src":"2211:5:48","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"Mapping","src":"2203:25:48","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6792,"name":"uint256","nodeType":"ElementaryTypeName","src":"2220:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"baseFunctions":[2110],"constant":false,"documentation":{"id":6796,"nodeType":"StructuredDocumentation","src":"2304:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"ef01df4f","id":6799,"mutability":"mutable","name":"plugin","nameLocation":"2364:6:48","nodeType":"VariableDeclaration","overrides":{"id":6798,"nodeType":"OverrideSpecifier","overrides":[],"src":"2355:8:48"},"scope":7588,"src":"2340:30:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6797,"name":"address","nodeType":"ElementaryTypeName","src":"2340:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"baseFunctions":[2116],"constant":false,"functionSelector":"53e97868","id":6802,"mutability":"mutable","name":"communityVault","nameLocation":"2399:14:48","nodeType":"VariableDeclaration","overrides":{"id":6801,"nodeType":"OverrideSpecifier","overrides":[],"src":"2390:8:48"},"scope":7588,"src":"2375:38:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6800,"name":"address","nodeType":"ElementaryTypeName","src":"2375:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"baseFunctions":[2082],"constant":false,"documentation":{"id":6803,"nodeType":"StructuredDocumentation","src":"2418:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"f30dba93","id":6809,"mutability":"mutable","name":"ticks","nameLocation":"2508:5:48","nodeType":"VariableDeclaration","overrides":{"id":6808,"nodeType":"OverrideSpecifier","overrides":[],"src":"2499:8:48"},"scope":7588,"src":"2454:59:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"typeName":{"id":6807,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6804,"name":"int24","nodeType":"ElementaryTypeName","src":"2462:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Mapping","src":"2454:37:48","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int24_$_t_struct$_Tick_$2905_storage_$","typeString":"mapping(int24 => struct TickManagement.Tick)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6806,"nodeType":"UserDefinedTypeName","pathNode":{"id":6805,"name":"TickManagement.Tick","nameLocations":["2471:14:48","2486:4:48"],"nodeType":"IdentifierPath","referencedDeclaration":2905,"src":"2471:19:48"},"referencedDeclaration":2905,"src":"2471:19:48","typeDescriptions":{"typeIdentifier":"t_struct$_Tick_$2905_storage_ptr","typeString":"struct TickManagement.Tick"}}},"visibility":"public"},{"baseFunctions":[2124],"constant":false,"documentation":{"id":6810,"nodeType":"StructuredDocumentation","src":"2518:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"c677e3e0","id":6815,"mutability":"mutable","name":"tickTable","nameLocation":"2596:9:48","nodeType":"VariableDeclaration","overrides":{"id":6814,"nodeType":"OverrideSpecifier","overrides":[],"src":"2587:8:48"},"scope":7588,"src":"2554:51:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"typeName":{"id":6813,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6811,"name":"int16","nodeType":"ElementaryTypeName","src":"2562:5:48","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"Mapping","src":"2554:25:48","typeDescriptions":{"typeIdentifier":"t_mapping$_t_int16_$_t_uint256_$","typeString":"mapping(int16 => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6812,"name":"uint256","nodeType":"ElementaryTypeName","src":"2571:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"canonicalName":"MockPool.Position","id":6826,"members":[{"constant":false,"id":6817,"mutability":"mutable","name":"liquidity","nameLocation":"2640:9:48","nodeType":"VariableDeclaration","scope":6826,"src":"2632:17:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6816,"name":"uint256","nodeType":"ElementaryTypeName","src":"2632:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6819,"mutability":"mutable","name":"innerFeeGrowth0Token","nameLocation":"2716:20:48","nodeType":"VariableDeclaration","scope":6826,"src":"2708:28:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6818,"name":"uint256","nodeType":"ElementaryTypeName","src":"2708:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6821,"mutability":"mutable","name":"innerFeeGrowth1Token","nameLocation":"2803:20:48","nodeType":"VariableDeclaration","scope":6826,"src":"2795:28:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6820,"name":"uint256","nodeType":"ElementaryTypeName","src":"2795:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6823,"mutability":"mutable","name":"fees0","nameLocation":"2837:5:48","nodeType":"VariableDeclaration","scope":6826,"src":"2829:13:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6822,"name":"uint128","nodeType":"ElementaryTypeName","src":"2829:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":6825,"mutability":"mutable","name":"fees1","nameLocation":"2893:5:48","nodeType":"VariableDeclaration","scope":6826,"src":"2885:13:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6824,"name":"uint128","nodeType":"ElementaryTypeName","src":"2885:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"name":"Position","nameLocation":"2617:8:48","nodeType":"StructDefinition","scope":7588,"src":"2610:330:48","visibility":"public"},{"baseFunctions":[2166],"constant":false,"documentation":{"id":6827,"nodeType":"StructuredDocumentation","src":"2944:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"514ea4bf","id":6833,"mutability":"mutable","name":"positions","nameLocation":"3025:9:48","nodeType":"VariableDeclaration","overrides":{"id":6832,"nodeType":"OverrideSpecifier","overrides":[],"src":"3016:8:48"},"scope":7588,"src":"2980:54:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Position_$6826_storage_$","typeString":"mapping(bytes32 => struct MockPool.Position)"},"typeName":{"id":6831,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":6828,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2988:7:48","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"2980:28:48","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Position_$6826_storage_$","typeString":"mapping(bytes32 => struct MockPool.Position)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":6830,"nodeType":"UserDefinedTypeName","pathNode":{"id":6829,"name":"Position","nameLocations":["2999:8:48"],"nodeType":"IdentifierPath","referencedDeclaration":6826,"src":"2999:8:48"},"referencedDeclaration":6826,"src":"2999:8:48","typeDescriptions":{"typeIdentifier":"t_struct$_Position_$6826_storage_ptr","typeString":"struct MockPool.Position"}}},"visibility":"public"},{"constant":false,"id":6835,"mutability":"mutable","name":"owner","nameLocation":"3047:5:48","nodeType":"VariableDeclaration","scope":7588,"src":"3039:13:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6834,"name":"address","nodeType":"ElementaryTypeName","src":"3039:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"functionSelector":"998e2cbe","id":6837,"mutability":"mutable","name":"overrideFee","nameLocation":"3070:11:48","nodeType":"VariableDeclaration","scope":7588,"src":"3056:25:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6836,"name":"uint24","nodeType":"ElementaryTypeName","src":"3056:6:48","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"public"},{"constant":false,"functionSelector":"67c25a47","id":6839,"mutability":"mutable","name":"pluginFee","nameLocation":"3099:9:48","nodeType":"VariableDeclaration","scope":7588,"src":"3085:23:48","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":6838,"name":"uint24","nodeType":"ElementaryTypeName","src":"3085:6:48","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"public"},{"baseFunctions":[2096],"body":{"id":6852,"nodeType":"Block","src":"3233:36:48","statements":[{"expression":{"arguments":[{"hexValue":"6e6f7420696d706c656d656e746564","id":6849,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3246:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""},"value":"not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""}],"id":6848,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"3239:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":6850,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3239:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6851,"nodeType":"ExpressionStatement","src":"3239:25:48"}]},"documentation":{"id":6840,"nodeType":"StructuredDocumentation","src":"3113:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"7bd78025","id":6853,"implemented":true,"kind":"function","modifiers":[],"name":"getCommunityFeePending","nameLocation":"3158:22:48","nodeType":"FunctionDefinition","overrides":{"id":6842,"nodeType":"OverrideSpecifier","overrides":[],"src":"3197:8:48"},"parameters":{"id":6841,"nodeType":"ParameterList","parameters":[],"src":"3180:2:48"},"returnParameters":{"id":6847,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6844,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6853,"src":"3215:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6843,"name":"uint128","nodeType":"ElementaryTypeName","src":"3215:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":6846,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6853,"src":"3224:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6845,"name":"uint128","nodeType":"ElementaryTypeName","src":"3224:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3214:18:48"},"scope":7588,"src":"3149:120:48","stateMutability":"pure","virtual":false,"visibility":"external"},{"baseFunctions":[2104],"body":{"id":6866,"nodeType":"Block","src":"3390:36:48","statements":[{"expression":{"arguments":[{"hexValue":"6e6f7420696d706c656d656e746564","id":6863,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3403:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""},"value":"not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""}],"id":6862,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"3396:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":6864,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3396:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6865,"nodeType":"ExpressionStatement","src":"3396:25:48"}]},"documentation":{"id":6854,"nodeType":"StructuredDocumentation","src":"3273:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"a1eded87","id":6867,"implemented":true,"kind":"function","modifiers":[],"name":"getPluginFeePending","nameLocation":"3318:19:48","nodeType":"FunctionDefinition","overrides":{"id":6856,"nodeType":"OverrideSpecifier","overrides":[],"src":"3354:8:48"},"parameters":{"id":6855,"nodeType":"ParameterList","parameters":[],"src":"3337:2:48"},"returnParameters":{"id":6861,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6858,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6867,"src":"3372:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6857,"name":"uint128","nodeType":"ElementaryTypeName","src":"3372:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":6860,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6867,"src":"3381:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6859,"name":"uint128","nodeType":"ElementaryTypeName","src":"3381:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3371:18:48"},"scope":7588,"src":"3309:117:48","stateMutability":"pure","virtual":false,"visibility":"external"},{"baseFunctions":[2142],"body":{"id":6877,"nodeType":"Block","src":"3512:36:48","statements":[{"expression":{"arguments":[{"hexValue":"6e6f7420696d706c656d656e746564","id":6874,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3525:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""},"value":"not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""}],"id":6873,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"3518:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":6875,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3518:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6876,"nodeType":"ExpressionStatement","src":"3518:25:48"}]},"documentation":{"id":6868,"nodeType":"StructuredDocumentation","src":"3430:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"ddca3f43","id":6878,"implemented":true,"kind":"function","modifiers":[],"name":"fee","nameLocation":"3475:3:48","nodeType":"FunctionDefinition","parameters":{"id":6869,"nodeType":"ParameterList","parameters":[],"src":"3478:2:48"},"returnParameters":{"id":6872,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6871,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6878,"src":"3504:6:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6870,"name":"uint16","nodeType":"ElementaryTypeName","src":"3504:6:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"3503:8:48"},"scope":7588,"src":"3466:82:48","stateMutability":"pure","virtual":false,"visibility":"external"},{"baseFunctions":[2042],"body":{"id":6901,"nodeType":"Block","src":"3705:36:48","statements":[{"expression":{"arguments":[{"hexValue":"6e6f7420696d706c656d656e746564","id":6898,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3718:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""},"value":"not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""}],"id":6897,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"3711:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":6899,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3711:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6900,"nodeType":"ExpressionStatement","src":"3711:25:48"}]},"documentation":{"id":6879,"nodeType":"StructuredDocumentation","src":"3552:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"97ce1c51","id":6902,"implemented":true,"kind":"function","modifiers":[],"name":"safelyGetStateOfAMM","nameLocation":"3597:19:48","nodeType":"FunctionDefinition","overrides":{"id":6881,"nodeType":"OverrideSpecifier","overrides":[],"src":"3633:8:48"},"parameters":{"id":6880,"nodeType":"ParameterList","parameters":[],"src":"3616:2:48"},"returnParameters":{"id":6896,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6883,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6902,"src":"3651:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6882,"name":"uint160","nodeType":"ElementaryTypeName","src":"3651:7:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":6885,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6902,"src":"3660:5:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6884,"name":"int24","nodeType":"ElementaryTypeName","src":"3660:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6887,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6902,"src":"3667:6:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":6886,"name":"uint16","nodeType":"ElementaryTypeName","src":"3667:6:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":6889,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6902,"src":"3675:5:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":6888,"name":"uint8","nodeType":"ElementaryTypeName","src":"3675:5:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":6891,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6902,"src":"3682:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6890,"name":"uint128","nodeType":"ElementaryTypeName","src":"3682:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":6893,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6902,"src":"3691:5:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6892,"name":"int24","nodeType":"ElementaryTypeName","src":"3691:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":6895,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6902,"src":"3698:5:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6894,"name":"int24","nodeType":"ElementaryTypeName","src":"3698:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"3650:54:48"},"scope":7588,"src":"3588:153:48","stateMutability":"pure","virtual":false,"visibility":"external"},{"body":{"id":6923,"nodeType":"Block","src":"3759:112:48","statements":[{"expression":{"id":6910,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6905,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"3765:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":6907,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"3777:3:48","memberName":"fee","nodeType":"MemberAccess","referencedDeclaration":6745,"src":"3765:15:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":6908,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2288,"src":"3783:9:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$2288_$","typeString":"type(library Constants)"}},"id":6909,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3793:16:48","memberName":"INIT_DEFAULT_FEE","nodeType":"MemberAccess","referencedDeclaration":2258,"src":"3783:26:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"3765:44:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":6911,"nodeType":"ExpressionStatement","src":"3765:44:48"},{"expression":{"id":6916,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6912,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"3815:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":6914,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"3827:8:48","memberName":"unlocked","nodeType":"MemberAccess","referencedDeclaration":6751,"src":"3815:20:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":6915,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3838:4:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"3815:27:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6917,"nodeType":"ExpressionStatement","src":"3815:27:48"},{"expression":{"id":6921,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6918,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6835,"src":"3848:5:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":6919,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3856:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":6920,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3860:6:48","memberName":"sender","nodeType":"MemberAccess","src":"3856:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3848:18:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":6922,"nodeType":"ExpressionStatement","src":"3848:18:48"}]},"id":6924,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":6903,"nodeType":"ParameterList","parameters":[],"src":"3756:2:48"},"returnParameters":{"id":6904,"nodeType":"ParameterList","parameters":[],"src":"3759:0:48"},"scope":7588,"src":"3745:126:48","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[2150],"body":{"id":6937,"nodeType":"Block","src":"3984:36:48","statements":[{"expression":{"arguments":[{"hexValue":"6e6f7420696d706c656d656e746564","id":6934,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3997:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""},"value":"not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_32d075b43bd38f25ee5981ec20d2adc90449bf9822d065b5dee1ff7a3dcb82b9","typeString":"literal_string \"not implemented\""}],"id":6933,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"3990:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":6935,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3990:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6936,"nodeType":"ExpressionStatement","src":"3990:25:48"}]},"documentation":{"id":6925,"nodeType":"StructuredDocumentation","src":"3875:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"0902f1ac","id":6938,"implemented":true,"kind":"function","modifiers":[],"name":"getReserves","nameLocation":"3920:11:48","nodeType":"FunctionDefinition","overrides":{"id":6927,"nodeType":"OverrideSpecifier","overrides":[],"src":"3948:8:48"},"parameters":{"id":6926,"nodeType":"ParameterList","parameters":[],"src":"3931:2:48"},"returnParameters":{"id":6932,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6929,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6938,"src":"3966:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6928,"name":"uint128","nodeType":"ElementaryTypeName","src":"3966:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":6931,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6938,"src":"3975:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":6930,"name":"uint128","nodeType":"ElementaryTypeName","src":"3975:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3965:18:48"},"scope":7588,"src":"3911:109:48","stateMutability":"pure","virtual":false,"visibility":"external"},{"baseFunctions":[2048],"body":{"id":6948,"nodeType":"Block","src":"4129:38:48","statements":[{"expression":{"expression":{"id":6945,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"4142:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":6946,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4154:8:48","memberName":"unlocked","nodeType":"MemberAccess","referencedDeclaration":6751,"src":"4142:20:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":6944,"id":6947,"nodeType":"Return","src":"4135:27:48"}]},"documentation":{"id":6939,"nodeType":"StructuredDocumentation","src":"4024:33:48","text":"@inheritdoc IAlgebraPoolState"},"functionSelector":"8380edb7","id":6949,"implemented":true,"kind":"function","modifiers":[],"name":"isUnlocked","nameLocation":"4069:10:48","nodeType":"FunctionDefinition","overrides":{"id":6941,"nodeType":"OverrideSpecifier","overrides":[],"src":"4096:8:48"},"parameters":{"id":6940,"nodeType":"ParameterList","parameters":[],"src":"4079:2:48"},"returnParameters":{"id":6944,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6943,"mutability":"mutable","name":"unlocked","nameLocation":"4119:8:48","nodeType":"VariableDeclaration","scope":6949,"src":"4114:13:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6942,"name":"bool","nodeType":"ElementaryTypeName","src":"4114:4:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4113:15:48"},"scope":7588,"src":"4060:107:48","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[1584],"body":{"id":7019,"nodeType":"Block","src":"4269:521:48","statements":[{"assignments":[6957],"declarations":[{"constant":false,"id":6957,"mutability":"mutable","name":"tick","nameLocation":"4281:4:48","nodeType":"VariableDeclaration","scope":7019,"src":"4275:10:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":6956,"name":"int24","nodeType":"ElementaryTypeName","src":"4275:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"id":6962,"initialValue":{"arguments":[{"id":6960,"name":"initialPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6952,"src":"4316:12:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"id":6958,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"4288:8:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":6959,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4297:18:48","memberName":"getTickAtSqrtRatio","nodeType":"MemberAccess","referencedDeclaration":3956,"src":"4288:27:48","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint160_$returns$_t_int24_$","typeString":"function (uint160) pure returns (int24)"}},"id":6961,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4288:41:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"VariableDeclarationStatement","src":"4275:54:48"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":6968,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6963,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"4401:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":6966,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4419:1:48","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":6965,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4411:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":6964,"name":"address","nodeType":"ElementaryTypeName","src":"4411:7:48","typeDescriptions":{}}},"id":6967,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4411:10:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4401:20:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6979,"nodeType":"IfStatement","src":"4397:106:48","trueBody":{"id":6978,"nodeType":"Block","src":"4423:80:48","statements":[{"expression":{"arguments":[{"expression":{"id":6973,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"4471:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":6974,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4475:6:48","memberName":"sender","nodeType":"MemberAccess","src":"4471:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":6975,"name":"initialPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6952,"src":"4483:12:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint160","typeString":"uint160"}],"expression":{"arguments":[{"id":6970,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"4446:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":6969,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"4431:14:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":6971,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4431:22:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":6972,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4454:16:48","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":1406,"src":"4431:39:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint160_$returns$_t_bytes4_$","typeString":"function (address,uint160) external returns (bytes4)"}},"id":6976,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4431:65:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":6977,"nodeType":"ExpressionStatement","src":"4431:65:48"}]}},{"expression":{"id":6982,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6980,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6781,"src":"4509:11:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"3630","id":6981,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4523:2:48","typeDescriptions":{"typeIdentifier":"t_rational_60_by_1","typeString":"int_const 60"},"value":"60"},"src":"4509:16:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":6983,"nodeType":"ExpressionStatement","src":"4509:16:48"},{"assignments":[6985],"declarations":[{"constant":false,"id":6985,"mutability":"mutable","name":"pluginConfig","nameLocation":"4538:12:48","nodeType":"VariableDeclaration","scope":7019,"src":"4532:18:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":6984,"name":"uint8","nodeType":"ElementaryTypeName","src":"4532:5:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":6988,"initialValue":{"expression":{"id":6986,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"4553:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":6987,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4565:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"4553:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"4532:45:48"},{"expression":{"id":6993,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6989,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"4584:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":6991,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4596:5:48","memberName":"price","nodeType":"MemberAccess","referencedDeclaration":6741,"src":"4584:17:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6992,"name":"initialPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6952,"src":"4604:12:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"4584:32:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":6994,"nodeType":"ExpressionStatement","src":"4584:32:48"},{"expression":{"id":6999,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":6995,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"4622:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":6997,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4634:4:48","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":6743,"src":"4622:16:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":6998,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6957,"src":"4641:4:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"4622:23:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":7000,"nodeType":"ExpressionStatement","src":"4622:23:48"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7006,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7004,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7001,"name":"pluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6985,"src":"4656:12:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":7002,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"4671:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7003,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4679:15:48","memberName":"AFTER_INIT_FLAG","nodeType":"MemberAccess","referencedDeclaration":2742,"src":"4671:23:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4656:38:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7005,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4698:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4656:43:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7018,"nodeType":"IfStatement","src":"4652:134:48","trueBody":{"id":7017,"nodeType":"Block","src":"4701:85:48","statements":[{"expression":{"arguments":[{"expression":{"id":7011,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"4748:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7012,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4752:6:48","memberName":"sender","nodeType":"MemberAccess","src":"4748:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7013,"name":"initialPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6952,"src":"4760:12:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":7014,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6957,"src":"4774:4:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint160","typeString":"uint160"},{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"arguments":[{"id":7008,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"4724:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7007,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"4709:14:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7009,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4709:22:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":7010,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4732:15:48","memberName":"afterInitialize","nodeType":"MemberAccess","referencedDeclaration":1418,"src":"4709:38:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint160_$_t_int24_$returns$_t_bytes4_$","typeString":"function (address,uint160,int24) external returns (bytes4)"}},"id":7015,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4709:70:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":7016,"nodeType":"ExpressionStatement","src":"4709:70:48"}]}}]},"documentation":{"id":6950,"nodeType":"StructuredDocumentation","src":"4171:35:48","text":"@inheritdoc IAlgebraPoolActions"},"functionSelector":"f637731d","id":7020,"implemented":true,"kind":"function","modifiers":[],"name":"initialize","nameLocation":"4218:10:48","nodeType":"FunctionDefinition","overrides":{"id":6954,"nodeType":"OverrideSpecifier","overrides":[],"src":"4260:8:48"},"parameters":{"id":6953,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6952,"mutability":"mutable","name":"initialPrice","nameLocation":"4237:12:48","nodeType":"VariableDeclaration","scope":7020,"src":"4229:20:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":6951,"name":"uint160","nodeType":"ElementaryTypeName","src":"4229:7:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"4228:22:48"},"returnParameters":{"id":6955,"nodeType":"ParameterList","parameters":[],"src":"4269:0:48"},"scope":7588,"src":"4209:581:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[1606],"body":{"id":7100,"nodeType":"Block","src":"5036:456:48","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7049,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7047,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7043,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"5046:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7044,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"5058:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"5046:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":7045,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"5073:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7046,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5081:27:48","memberName":"BEFORE_POSITION_MODIFY_FLAG","nodeType":"MemberAccess","referencedDeclaration":2722,"src":"5073:35:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5046:62:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7048,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5112:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5046:67:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7067,"nodeType":"IfStatement","src":"5042:207:48","trueBody":{"id":7066,"nodeType":"Block","src":"5115:134:48","statements":[{"expression":{"arguments":[{"expression":{"id":7054,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"5167:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7055,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5171:6:48","memberName":"sender","nodeType":"MemberAccess","src":"5167:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7056,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7025,"src":"5179:9:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7057,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7027,"src":"5190:10:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":7058,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7029,"src":"5202:7:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"arguments":[{"id":7061,"name":"liquidityDesired","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7031,"src":"5218:16:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":7060,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5211:6:48","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":7059,"name":"int128","nodeType":"ElementaryTypeName","src":"5211:6:48","typeDescriptions":{}}},"id":7062,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5211:24:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"id":7063,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7033,"src":"5237:4:48","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":7051,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"5138:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7050,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"5123:14:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7052,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5123:22:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":7053,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5146:20:48","memberName":"beforeModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1438,"src":"5123:43:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_int24_$_t_int24_$_t_int128_$_t_bytes_memory_ptr_$returns$_t_bytes4_$_t_uint24_$","typeString":"function (address,address,int24,int24,int128,bytes memory) external returns (bytes4,uint24)"}},"id":7064,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5123:119:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_uint24_$","typeString":"tuple(bytes4,uint24)"}},"id":7065,"nodeType":"ExpressionStatement","src":"5123:119:48"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7074,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7072,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7068,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"5259:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7069,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"5271:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"5259:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":7070,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"5286:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7071,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5294:26:48","memberName":"AFTER_POSITION_MODIFY_FLAG","nodeType":"MemberAccess","referencedDeclaration":2727,"src":"5286:34:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5259:61:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7073,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5324:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5259:66:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7094,"nodeType":"IfStatement","src":"5255:211:48","trueBody":{"id":7093,"nodeType":"Block","src":"5327:139:48","statements":[{"expression":{"arguments":[{"expression":{"id":7079,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"5378:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7080,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5382:6:48","memberName":"sender","nodeType":"MemberAccess","src":"5378:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7081,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7025,"src":"5390:9:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7082,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7027,"src":"5401:10:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":7083,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7029,"src":"5413:7:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"arguments":[{"id":7086,"name":"liquidityDesired","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7031,"src":"5429:16:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":7085,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5422:6:48","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":7084,"name":"int128","nodeType":"ElementaryTypeName","src":"5422:6:48","typeDescriptions":{}}},"id":7087,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5422:24:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"hexValue":"30","id":7088,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5448:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7089,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5451:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":7090,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7033,"src":"5454:4:48","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":7076,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"5350:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7075,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"5335:14:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5335:22:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":7078,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5358:19:48","memberName":"afterModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1460,"src":"5335:42:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_int24_$_t_int24_$_t_int128_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,int24,int24,int128,uint256,uint256,bytes memory) external returns (bytes4)"}},"id":7091,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5335:124:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":7092,"nodeType":"ExpressionStatement","src":"5335:124:48"}]}},{"expression":{"components":[{"hexValue":"30","id":7095,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5479:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7096,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5482:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7097,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5485:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":7098,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"5478:9:48","typeDescriptions":{"typeIdentifier":"t_tuple$_t_rational_0_by_1_$_t_rational_0_by_1_$_t_rational_0_by_1_$","typeString":"tuple(int_const 0,int_const 0,int_const 0)"}},"functionReturnParameters":7042,"id":7099,"nodeType":"Return","src":"5471:16:48"}]},"documentation":{"id":7021,"nodeType":"StructuredDocumentation","src":"4794:35:48","text":"@inheritdoc IAlgebraPoolActions"},"functionSelector":"aafe29c0","id":7101,"implemented":true,"kind":"function","modifiers":[],"name":"mint","nameLocation":"4841:4:48","nodeType":"FunctionDefinition","overrides":{"id":7035,"nodeType":"OverrideSpecifier","overrides":[],"src":"4991:8:48"},"parameters":{"id":7034,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7023,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7101,"src":"4851:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7022,"name":"address","nodeType":"ElementaryTypeName","src":"4851:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7025,"mutability":"mutable","name":"recipient","nameLocation":"4872:9:48","nodeType":"VariableDeclaration","scope":7101,"src":"4864:17:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7024,"name":"address","nodeType":"ElementaryTypeName","src":"4864:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7027,"mutability":"mutable","name":"bottomTick","nameLocation":"4893:10:48","nodeType":"VariableDeclaration","scope":7101,"src":"4887:16:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7026,"name":"int24","nodeType":"ElementaryTypeName","src":"4887:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7029,"mutability":"mutable","name":"topTick","nameLocation":"4915:7:48","nodeType":"VariableDeclaration","scope":7101,"src":"4909:13:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7028,"name":"int24","nodeType":"ElementaryTypeName","src":"4909:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7031,"mutability":"mutable","name":"liquidityDesired","nameLocation":"4936:16:48","nodeType":"VariableDeclaration","scope":7101,"src":"4928:24:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7030,"name":"uint128","nodeType":"ElementaryTypeName","src":"4928:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":7033,"mutability":"mutable","name":"data","nameLocation":"4973:4:48","nodeType":"VariableDeclaration","scope":7101,"src":"4958:19:48","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":7032,"name":"bytes","nodeType":"ElementaryTypeName","src":"4958:5:48","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4845:136:48"},"returnParameters":{"id":7042,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7037,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7101,"src":"5009:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7036,"name":"uint256","nodeType":"ElementaryTypeName","src":"5009:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7039,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7101,"src":"5018:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7038,"name":"uint256","nodeType":"ElementaryTypeName","src":"5018:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7041,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7101,"src":"5027:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7040,"name":"uint128","nodeType":"ElementaryTypeName","src":"5027:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"5008:27:48"},"scope":7588,"src":"4832:660:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[1640],"body":{"id":7178,"nodeType":"Block","src":"5673:457:48","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7124,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7122,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7118,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"5683:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7119,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"5695:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"5683:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":7120,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"5710:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7121,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5718:27:48","memberName":"BEFORE_POSITION_MODIFY_FLAG","nodeType":"MemberAccess","referencedDeclaration":2722,"src":"5710:35:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5683:62:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7123,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5749:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5683:67:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7144,"nodeType":"IfStatement","src":"5679:209:48","trueBody":{"id":7143,"nodeType":"Block","src":"5752:136:48","statements":[{"expression":{"arguments":[{"expression":{"id":7129,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"5804:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7130,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5808:6:48","memberName":"sender","nodeType":"MemberAccess","src":"5804:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":7131,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"5816:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7132,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5820:6:48","memberName":"sender","nodeType":"MemberAccess","src":"5816:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7133,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7104,"src":"5828:10:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":7134,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7106,"src":"5840:7:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":7139,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"5849:25:48","subExpression":{"arguments":[{"id":7137,"name":"liquidityDesired","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7108,"src":"5857:16:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":7136,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5850:6:48","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":7135,"name":"int128","nodeType":"ElementaryTypeName","src":"5850:6:48","typeDescriptions":{}}},"id":7138,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5850:24:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"id":7140,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7110,"src":"5876:4:48","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":7126,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"5775:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7125,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"5760:14:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7127,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5760:22:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":7128,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5783:20:48","memberName":"beforeModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1438,"src":"5760:43:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_int24_$_t_int24_$_t_int128_$_t_bytes_memory_ptr_$returns$_t_bytes4_$_t_uint24_$","typeString":"function (address,address,int24,int24,int128,bytes memory) external returns (bytes4,uint24)"}},"id":7141,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5760:121:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_uint24_$","typeString":"tuple(bytes4,uint24)"}},"id":7142,"nodeType":"ExpressionStatement","src":"5760:121:48"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7151,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7149,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7145,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"5898:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7146,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"5910:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"5898:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":7147,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"5925:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7148,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5933:26:48","memberName":"AFTER_POSITION_MODIFY_FLAG","nodeType":"MemberAccess","referencedDeclaration":2727,"src":"5925:34:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5898:61:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7150,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5963:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5898:66:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7173,"nodeType":"IfStatement","src":"5894:213:48","trueBody":{"id":7172,"nodeType":"Block","src":"5966:141:48","statements":[{"expression":{"arguments":[{"expression":{"id":7156,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6017:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7157,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6021:6:48","memberName":"sender","nodeType":"MemberAccess","src":"6017:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":7158,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6029:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7159,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6033:6:48","memberName":"sender","nodeType":"MemberAccess","src":"6029:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7160,"name":"bottomTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7104,"src":"6041:10:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":7161,"name":"topTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7106,"src":"6053:7:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":7166,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"6062:25:48","subExpression":{"arguments":[{"id":7164,"name":"liquidityDesired","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7108,"src":"6070:16:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint128","typeString":"uint128"}],"id":7163,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6063:6:48","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":7162,"name":"int128","nodeType":"ElementaryTypeName","src":"6063:6:48","typeDescriptions":{}}},"id":7165,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6063:24:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},{"hexValue":"30","id":7167,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6089:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7168,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6092:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":7169,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7110,"src":"6095:4:48","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int24","typeString":"int24"},{"typeIdentifier":"t_int128","typeString":"int128"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":7153,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"5989:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7152,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"5974:14:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7154,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5974:22:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":7155,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5997:19:48","memberName":"afterModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1460,"src":"5974:42:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_int24_$_t_int24_$_t_int128_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,int24,int24,int128,uint256,uint256,bytes memory) external returns (bytes4)"}},"id":7170,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5974:126:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":7171,"nodeType":"ExpressionStatement","src":"5974:126:48"}]}},{"expression":{"components":[{"hexValue":"30","id":7174,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6120:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7175,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6123:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":7176,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"6119:6:48","typeDescriptions":{"typeIdentifier":"t_tuple$_t_rational_0_by_1_$_t_rational_0_by_1_$","typeString":"tuple(int_const 0,int_const 0)"}},"functionReturnParameters":7117,"id":7177,"nodeType":"Return","src":"6112:13:48"}]},"documentation":{"id":7102,"nodeType":"StructuredDocumentation","src":"5496:35:48","text":"@inheritdoc IAlgebraPoolActions"},"functionSelector":"3b3bc70e","id":7179,"implemented":true,"kind":"function","modifiers":[],"name":"burn","nameLocation":"5543:4:48","nodeType":"FunctionDefinition","overrides":{"id":7112,"nodeType":"OverrideSpecifier","overrides":[],"src":"5637:8:48"},"parameters":{"id":7111,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7104,"mutability":"mutable","name":"bottomTick","nameLocation":"5554:10:48","nodeType":"VariableDeclaration","scope":7179,"src":"5548:16:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7103,"name":"int24","nodeType":"ElementaryTypeName","src":"5548:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7106,"mutability":"mutable","name":"topTick","nameLocation":"5572:7:48","nodeType":"VariableDeclaration","scope":7179,"src":"5566:13:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7105,"name":"int24","nodeType":"ElementaryTypeName","src":"5566:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7108,"mutability":"mutable","name":"liquidityDesired","nameLocation":"5589:16:48","nodeType":"VariableDeclaration","scope":7179,"src":"5581:24:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7107,"name":"uint128","nodeType":"ElementaryTypeName","src":"5581:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":7110,"mutability":"mutable","name":"data","nameLocation":"5622:4:48","nodeType":"VariableDeclaration","scope":7179,"src":"5607:19:48","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":7109,"name":"bytes","nodeType":"ElementaryTypeName","src":"5607:5:48","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5547:80:48"},"returnParameters":{"id":7117,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7114,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7179,"src":"5655:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7113,"name":"uint256","nodeType":"ElementaryTypeName","src":"5655:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7116,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7179,"src":"5664:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7115,"name":"uint256","nodeType":"ElementaryTypeName","src":"5664:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5654:18:48"},"scope":7588,"src":"5534:596:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[1624],"body":{"id":7202,"nodeType":"Block","src":"6280:36:48","statements":[{"expression":{"arguments":[{"hexValue":"4e6f7420696d706c656d656e746564","id":7199,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6293:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""},"value":"Not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""}],"id":7198,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"6286:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":7200,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6286:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7201,"nodeType":"ExpressionStatement","src":"6286:25:48"}]},"documentation":{"id":7180,"nodeType":"StructuredDocumentation","src":"6134:35:48","text":"@inheritdoc IAlgebraPoolActions"},"functionSelector":"4f1eb3d8","id":7203,"implemented":true,"kind":"function","modifiers":[],"name":"collect","nameLocation":"6181:7:48","nodeType":"FunctionDefinition","overrides":{"id":7192,"nodeType":"OverrideSpecifier","overrides":[],"src":"6244:8:48"},"parameters":{"id":7191,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7182,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7203,"src":"6189:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7181,"name":"address","nodeType":"ElementaryTypeName","src":"6189:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7184,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7203,"src":"6198:5:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7183,"name":"int24","nodeType":"ElementaryTypeName","src":"6198:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7186,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7203,"src":"6205:5:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7185,"name":"int24","nodeType":"ElementaryTypeName","src":"6205:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":7188,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7203,"src":"6212:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7187,"name":"uint128","nodeType":"ElementaryTypeName","src":"6212:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":7190,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7203,"src":"6221:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7189,"name":"uint128","nodeType":"ElementaryTypeName","src":"6221:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"6188:41:48"},"returnParameters":{"id":7197,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7194,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7203,"src":"6262:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7193,"name":"uint128","nodeType":"ElementaryTypeName","src":"6262:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":7196,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7203,"src":"6271:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7195,"name":"uint128","nodeType":"ElementaryTypeName","src":"6271:7:48","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"6261:18:48"},"scope":7588,"src":"6172:144:48","stateMutability":"pure","virtual":false,"visibility":"external"},{"baseFunctions":[1658],"body":{"id":7226,"nodeType":"Block","src":"6468:36:48","statements":[{"expression":{"arguments":[{"hexValue":"4e6f7420696d706c656d656e746564","id":7223,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6481:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""},"value":"Not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""}],"id":7222,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"6474:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":7224,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6474:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7225,"nodeType":"ExpressionStatement","src":"6474:25:48"}]},"documentation":{"id":7204,"nodeType":"StructuredDocumentation","src":"6320:35:48","text":"@inheritdoc IAlgebraPoolActions"},"functionSelector":"128acb08","id":7227,"implemented":true,"kind":"function","modifiers":[],"name":"swap","nameLocation":"6367:4:48","nodeType":"FunctionDefinition","overrides":{"id":7216,"nodeType":"OverrideSpecifier","overrides":[],"src":"6434:8:48"},"parameters":{"id":7215,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7206,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7227,"src":"6372:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7205,"name":"address","nodeType":"ElementaryTypeName","src":"6372:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7208,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7227,"src":"6381:4:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7207,"name":"bool","nodeType":"ElementaryTypeName","src":"6381:4:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":7210,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7227,"src":"6387:6:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7209,"name":"int256","nodeType":"ElementaryTypeName","src":"6387:6:48","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":7212,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7227,"src":"6395:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":7211,"name":"uint160","nodeType":"ElementaryTypeName","src":"6395:7:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":7214,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7227,"src":"6404:14:48","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":7213,"name":"bytes","nodeType":"ElementaryTypeName","src":"6404:5:48","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6371:48:48"},"returnParameters":{"id":7221,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7218,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7227,"src":"6452:6:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7217,"name":"int256","nodeType":"ElementaryTypeName","src":"6452:6:48","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":7220,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7227,"src":"6460:6:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7219,"name":"int256","nodeType":"ElementaryTypeName","src":"6460:6:48","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"6451:16:48"},"scope":7588,"src":"6358:146:48","stateMutability":"pure","virtual":false,"visibility":"external"},{"body":{"id":7304,"nodeType":"Block","src":"6555:480:48","statements":[{"assignments":[7234],"declarations":[{"constant":false,"id":7234,"mutability":"mutable","name":"_plugin","nameLocation":"6576:7:48","nodeType":"VariableDeclaration","scope":7304,"src":"6561:22:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"},"typeName":{"id":7233,"nodeType":"UserDefinedTypeName","pathNode":{"id":7232,"name":"IAlgebraPlugin","nameLocations":["6561:14:48"],"nodeType":"IdentifierPath","referencedDeclaration":1543,"src":"6561:14:48"},"referencedDeclaration":1543,"src":"6561:14:48","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"visibility":"internal"}],"id":7238,"initialValue":{"arguments":[{"id":7236,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"6601:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7235,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"6586:14:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7237,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6586:22:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"nodeType":"VariableDeclarationStatement","src":"6561:47:48"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7245,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7243,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7239,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"6618:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7240,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6630:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"6618:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":7241,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"6645:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7242,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6653:16:48","memberName":"BEFORE_SWAP_FLAG","nodeType":"MemberAccess","referencedDeclaration":2712,"src":"6645:24:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6618:51:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7244,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6673:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6618:56:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7264,"nodeType":"IfStatement","src":"6614:171:48","trueBody":{"id":7263,"nodeType":"Block","src":"6676:109:48","statements":[{"expression":{"id":7261,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[null,{"id":7246,"name":"overrideFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6837,"src":"6687:11:48","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},{"id":7247,"name":"pluginFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6839,"src":"6700:9:48","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"id":7248,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"6684:26:48","typeDescriptions":{"typeIdentifier":"t_tuple$__$_t_uint24_$_t_uint24_$","typeString":"tuple(,uint24,uint24)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7251,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6732:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7252,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6736:6:48","memberName":"sender","nodeType":"MemberAccess","src":"6732:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":7253,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6744:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7254,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6748:6:48","memberName":"sender","nodeType":"MemberAccess","src":"6744:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"74727565","id":7255,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6756:4:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"hexValue":"30","id":7256,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6762:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7257,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6765:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"66616c7365","id":7258,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6768:5:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"","id":7259,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6775:2:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"id":7249,"name":"_plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7234,"src":"6713:7:48","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":7250,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6721:10:48","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":1484,"src":"6713:18:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_bool_$_t_int256_$_t_uint160_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes4_$_t_uint24_$_t_uint24_$","typeString":"function (address,address,bool,int256,uint160,bool,bytes memory) external returns (bytes4,uint24,uint24)"}},"id":7260,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6713:65:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_uint24_$_t_uint24_$","typeString":"tuple(bytes4,uint24,uint24)"}},"src":"6684:94:48","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7262,"nodeType":"ExpressionStatement","src":"6684:94:48"}]}},{"expression":{"id":7272,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7265,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"6791:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7267,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6803:5:48","memberName":"price","nodeType":"MemberAccess","referencedDeclaration":6741,"src":"6791:17:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7270,"name":"targetTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7229,"src":"6839:10:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int24","typeString":"int24"}],"expression":{"id":7268,"name":"TickMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"6811:8:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TickMath_$3957_$","typeString":"type(library TickMath)"}},"id":7269,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6820:18:48","memberName":"getSqrtRatioAtTick","nodeType":"MemberAccess","referencedDeclaration":3815,"src":"6811:27:48","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int24_$returns$_t_uint160_$","typeString":"function (int24) pure returns (uint160)"}},"id":7271,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6811:39:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"6791:59:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"id":7273,"nodeType":"ExpressionStatement","src":"6791:59:48"},{"expression":{"id":7278,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7274,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"6856:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7276,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6868:4:48","memberName":"tick","nodeType":"MemberAccess","referencedDeclaration":6743,"src":"6856:16:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7277,"name":"targetTick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7229,"src":"6875:10:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"6856:29:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":7279,"nodeType":"ExpressionStatement","src":"6856:29:48"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7286,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7284,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7280,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"6896:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7281,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6908:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"6896:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":7282,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"6923:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7283,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6931:15:48","memberName":"AFTER_SWAP_FLAG","nodeType":"MemberAccess","referencedDeclaration":2717,"src":"6923:23:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6896:50:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7285,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6950:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6896:55:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7303,"nodeType":"IfStatement","src":"6892:139:48","trueBody":{"id":7302,"nodeType":"Block","src":"6953:78:48","statements":[{"expression":{"arguments":[{"expression":{"id":7290,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6979:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7291,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6983:6:48","memberName":"sender","nodeType":"MemberAccess","src":"6979:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":7292,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6991:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7293,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6995:6:48","memberName":"sender","nodeType":"MemberAccess","src":"6991:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"74727565","id":7294,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"7003:4:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"hexValue":"30","id":7295,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7009:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7296,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7012:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7297,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7015:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7298,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7018:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"","id":7299,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"7021:2:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"id":7287,"name":"_plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7234,"src":"6961:7:48","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":7289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6969:9:48","memberName":"afterSwap","nodeType":"MemberAccess","referencedDeclaration":1506,"src":"6961:17:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_bool_$_t_int256_$_t_uint160_$_t_int256_$_t_int256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,bool,int256,uint160,int256,int256,bytes memory) external returns (bytes4)"}},"id":7300,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6961:63:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":7301,"nodeType":"ExpressionStatement","src":"6961:63:48"}]}}]},"functionSelector":"e47cd4cf","id":7305,"implemented":true,"kind":"function","modifiers":[],"name":"swapToTick","nameLocation":"6517:10:48","nodeType":"FunctionDefinition","parameters":{"id":7230,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7229,"mutability":"mutable","name":"targetTick","nameLocation":"6534:10:48","nodeType":"VariableDeclaration","scope":7305,"src":"6528:16:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7228,"name":"int24","nodeType":"ElementaryTypeName","src":"6528:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"6527:18:48"},"returnParameters":{"id":7231,"nodeType":"ParameterList","parameters":[],"src":"6555:0:48"},"scope":7588,"src":"6508:527:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[1678],"body":{"id":7330,"nodeType":"Block","src":"7216:36:48","statements":[{"expression":{"arguments":[{"hexValue":"4e6f7420696d706c656d656e746564","id":7327,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"7229:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""},"value":"Not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""}],"id":7326,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"7222:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":7328,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7222:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7329,"nodeType":"ExpressionStatement","src":"7222:25:48"}]},"documentation":{"id":7306,"nodeType":"StructuredDocumentation","src":"7039:35:48","text":"@inheritdoc IAlgebraPoolActions"},"functionSelector":"9e4e0227","id":7331,"implemented":true,"kind":"function","modifiers":[],"name":"swapWithPaymentInAdvance","nameLocation":"7086:24:48","nodeType":"FunctionDefinition","overrides":{"id":7320,"nodeType":"OverrideSpecifier","overrides":[],"src":"7182:8:48"},"parameters":{"id":7319,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7308,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7331,"src":"7111:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7307,"name":"address","nodeType":"ElementaryTypeName","src":"7111:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7310,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7331,"src":"7120:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7309,"name":"address","nodeType":"ElementaryTypeName","src":"7120:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7312,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7331,"src":"7129:4:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7311,"name":"bool","nodeType":"ElementaryTypeName","src":"7129:4:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":7314,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7331,"src":"7135:6:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7313,"name":"int256","nodeType":"ElementaryTypeName","src":"7135:6:48","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":7316,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7331,"src":"7143:7:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":7315,"name":"uint160","nodeType":"ElementaryTypeName","src":"7143:7:48","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":7318,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7331,"src":"7152:14:48","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":7317,"name":"bytes","nodeType":"ElementaryTypeName","src":"7152:5:48","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7110:57:48"},"returnParameters":{"id":7325,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7322,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7331,"src":"7200:6:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7321,"name":"int256","nodeType":"ElementaryTypeName","src":"7200:6:48","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":7324,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7331,"src":"7208:6:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7323,"name":"int256","nodeType":"ElementaryTypeName","src":"7208:6:48","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"7199:16:48"},"scope":7588,"src":"7077:175:48","stateMutability":"pure","virtual":false,"visibility":"external"},{"baseFunctions":[1690],"body":{"id":7391,"nodeType":"Block","src":"7401:365:48","statements":[{"assignments":[7345],"declarations":[{"constant":false,"id":7345,"mutability":"mutable","name":"pluginConfig","nameLocation":"7413:12:48","nodeType":"VariableDeclaration","scope":7391,"src":"7407:18:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":7344,"name":"uint8","nodeType":"ElementaryTypeName","src":"7407:5:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":7348,"initialValue":{"expression":{"id":7346,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"7428:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7347,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7440:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"7428:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"7407:45:48"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7354,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7352,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7349,"name":"pluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7345,"src":"7462:12:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":7350,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"7477:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7351,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7485:17:48","memberName":"BEFORE_FLASH_FLAG","nodeType":"MemberAccess","referencedDeclaration":2732,"src":"7477:25:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7462:40:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7353,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7506:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7462:45:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7368,"nodeType":"IfStatement","src":"7458:147:48","trueBody":{"id":7367,"nodeType":"Block","src":"7509:96:48","statements":[{"expression":{"arguments":[{"expression":{"id":7359,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"7552:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7360,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7556:6:48","memberName":"sender","nodeType":"MemberAccess","src":"7552:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7361,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7334,"src":"7564:9:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7362,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7336,"src":"7575:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7363,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7338,"src":"7584:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7364,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7340,"src":"7593:4:48","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":7356,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"7532:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7355,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"7517:14:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7357,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7517:22:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":7358,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7540:11:48","memberName":"beforeFlash","nodeType":"MemberAccess","referencedDeclaration":1522,"src":"7517:34:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,uint256,uint256,bytes memory) external returns (bytes4)"}},"id":7365,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7517:81:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":7366,"nodeType":"ExpressionStatement","src":"7517:81:48"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7374,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7372,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7369,"name":"pluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7345,"src":"7615:12:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"expression":{"id":7370,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"7630:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7371,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7638:16:48","memberName":"AFTER_FLASH_FLAG","nodeType":"MemberAccess","referencedDeclaration":2737,"src":"7630:24:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7615:39:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7373,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7658:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7615:44:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7390,"nodeType":"IfStatement","src":"7611:151:48","trueBody":{"id":7389,"nodeType":"Block","src":"7661:101:48","statements":[{"expression":{"arguments":[{"expression":{"id":7379,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"7703:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7380,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7707:6:48","memberName":"sender","nodeType":"MemberAccess","src":"7703:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7381,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7334,"src":"7715:9:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7382,"name":"amount0","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7336,"src":"7726:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":7383,"name":"amount1","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7338,"src":"7735:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"30","id":7384,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7744:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":7385,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7747:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":7386,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7340,"src":"7750:4:48","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}],"expression":{"arguments":[{"id":7376,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"7684:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7375,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"7669:14:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7377,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7669:22:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPlugin_$1543","typeString":"contract IAlgebraPlugin"}},"id":7378,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7692:10:48","memberName":"afterFlash","nodeType":"MemberAccess","referencedDeclaration":1542,"src":"7669:33:48","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$","typeString":"function (address,address,uint256,uint256,uint256,uint256,bytes memory) external returns (bytes4)"}},"id":7387,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7669:86:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":7388,"nodeType":"ExpressionStatement","src":"7669:86:48"}]}}]},"documentation":{"id":7332,"nodeType":"StructuredDocumentation","src":"7256:35:48","text":"@inheritdoc IAlgebraPoolActions"},"functionSelector":"490e6cbc","id":7392,"implemented":true,"kind":"function","modifiers":[],"name":"flash","nameLocation":"7303:5:48","nodeType":"FunctionDefinition","overrides":{"id":7342,"nodeType":"OverrideSpecifier","overrides":[],"src":"7392:8:48"},"parameters":{"id":7341,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7334,"mutability":"mutable","name":"recipient","nameLocation":"7317:9:48","nodeType":"VariableDeclaration","scope":7392,"src":"7309:17:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7333,"name":"address","nodeType":"ElementaryTypeName","src":"7309:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7336,"mutability":"mutable","name":"amount0","nameLocation":"7336:7:48","nodeType":"VariableDeclaration","scope":7392,"src":"7328:15:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7335,"name":"uint256","nodeType":"ElementaryTypeName","src":"7328:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7338,"mutability":"mutable","name":"amount1","nameLocation":"7353:7:48","nodeType":"VariableDeclaration","scope":7392,"src":"7345:15:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7337,"name":"uint256","nodeType":"ElementaryTypeName","src":"7345:7:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":7340,"mutability":"mutable","name":"data","nameLocation":"7377:4:48","nodeType":"VariableDeclaration","scope":7392,"src":"7362:19:48","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":7339,"name":"bytes","nodeType":"ElementaryTypeName","src":"7362:5:48","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7308:74:48"},"returnParameters":{"id":7343,"nodeType":"ParameterList","parameters":[],"src":"7401:0:48"},"scope":7588,"src":"7294:472:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[1982],"body":{"id":7420,"nodeType":"Block","src":"7887:213:48","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":7407,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":7402,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7399,"name":"newCommunityFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7395,"src":"7897:15:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"id":7400,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2288,"src":"7915:9:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$2288_$","typeString":"type(library Constants)"}},"id":7401,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7925:17:48","memberName":"MAX_COMMUNITY_FEE","nodeType":"MemberAccess","referencedDeclaration":2279,"src":"7915:27:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"7897:45:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":7406,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7403,"name":"newCommunityFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7395,"src":"7946:15:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":7404,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"7965:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7405,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7977:12:48","memberName":"communityFee","nodeType":"MemberAccess","referencedDeclaration":6749,"src":"7965:24:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"7946:43:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7897:92:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7413,"nodeType":"IfStatement","src":"7893:154:48","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":7408,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"8004:18:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":7410,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8023:22:48","memberName":"invalidNewCommunityFee","nodeType":"MemberAccess","referencedDeclaration":1745,"src":"8004:41:48","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":7411,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8004:43:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7412,"nodeType":"RevertStatement","src":"7997:50:48"}},{"expression":{"id":7418,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7414,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"8053:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7416,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"8065:12:48","memberName":"communityFee","nodeType":"MemberAccess","referencedDeclaration":6749,"src":"8053:24:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7417,"name":"newCommunityFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7395,"src":"8080:15:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"8053:42:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":7419,"nodeType":"ExpressionStatement","src":"8053:42:48"}]},"documentation":{"id":7393,"nodeType":"StructuredDocumentation","src":"7770:47:48","text":"@inheritdoc IAlgebraPoolPermissionedActions"},"functionSelector":"240a875a","id":7421,"implemented":true,"kind":"function","modifiers":[],"name":"setCommunityFee","nameLocation":"7829:15:48","nodeType":"FunctionDefinition","overrides":{"id":7397,"nodeType":"OverrideSpecifier","overrides":[],"src":"7878:8:48"},"parameters":{"id":7396,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7395,"mutability":"mutable","name":"newCommunityFee","nameLocation":"7852:15:48","nodeType":"VariableDeclaration","scope":7421,"src":"7845:22:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":7394,"name":"uint16","nodeType":"ElementaryTypeName","src":"7845:6:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"7844:24:48"},"returnParameters":{"id":7398,"nodeType":"ParameterList","parameters":[],"src":"7887:0:48"},"scope":7588,"src":"7820:280:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[1988],"body":{"id":7450,"nodeType":"Block","src":"8218:205:48","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":7439,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":7435,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":7430,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7428,"name":"newTickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7424,"src":"8228:14:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"hexValue":"30","id":7429,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8246:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8228:19:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":7434,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7431,"name":"newTickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7424,"src":"8251:14:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"id":7432,"name":"Constants","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2288,"src":"8268:9:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Constants_$2288_$","typeString":"type(library Constants)"}},"id":7433,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8278:16:48","memberName":"MAX_TICK_SPACING","nodeType":"MemberAccess","referencedDeclaration":2267,"src":"8268:26:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8251:43:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"8228:66:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_int24","typeString":"int24"},"id":7438,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7436,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6781,"src":"8298:11:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":7437,"name":"newTickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7424,"src":"8313:14:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8298:29:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"8228:99:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7445,"nodeType":"IfStatement","src":"8224:160:48","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":7440,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1793,"src":"8342:18:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1793_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":7442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8361:21:48","memberName":"invalidNewTickSpacing","nodeType":"MemberAccess","referencedDeclaration":1742,"src":"8342:40:48","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":7443,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8342:42:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7444,"nodeType":"RevertStatement","src":"8335:49:48"}},{"expression":{"id":7448,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7446,"name":"tickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6781,"src":"8390:11:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7447,"name":"newTickSpacing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7424,"src":"8404:14:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"8390:28:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":7449,"nodeType":"ExpressionStatement","src":"8390:28:48"}]},"documentation":{"id":7422,"nodeType":"StructuredDocumentation","src":"8104:47:48","text":"@inheritdoc IAlgebraPoolPermissionedActions"},"functionSelector":"f085a610","id":7451,"implemented":true,"kind":"function","modifiers":[],"name":"setTickSpacing","nameLocation":"8163:14:48","nodeType":"FunctionDefinition","overrides":{"id":7426,"nodeType":"OverrideSpecifier","overrides":[],"src":"8209:8:48"},"parameters":{"id":7425,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7424,"mutability":"mutable","name":"newTickSpacing","nameLocation":"8184:14:48","nodeType":"VariableDeclaration","scope":7451,"src":"8178:20:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7423,"name":"int24","nodeType":"ElementaryTypeName","src":"8178:5:48","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"8177:22:48"},"returnParameters":{"id":7427,"nodeType":"ParameterList","parameters":[],"src":"8218:0:48"},"scope":7588,"src":"8154:269:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[1994],"body":{"id":7469,"nodeType":"Block","src":"8540:70:48","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7462,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7459,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8554:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7460,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8558:6:48","memberName":"sender","nodeType":"MemberAccess","src":"8554:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":7461,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6835,"src":"8568:5:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8554:19:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":7458,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"8546:7:48","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":7463,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8546:28:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7464,"nodeType":"ExpressionStatement","src":"8546:28:48"},{"expression":{"id":7467,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7465,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"8580:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7466,"name":"newPluginAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7454,"src":"8589:16:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8580:25:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7468,"nodeType":"ExpressionStatement","src":"8580:25:48"}]},"documentation":{"id":7452,"nodeType":"StructuredDocumentation","src":"8427:47:48","text":"@inheritdoc IAlgebraPoolPermissionedActions"},"functionSelector":"cc1f97cf","id":7470,"implemented":true,"kind":"function","modifiers":[],"name":"setPlugin","nameLocation":"8486:9:48","nodeType":"FunctionDefinition","overrides":{"id":7456,"nodeType":"OverrideSpecifier","overrides":[],"src":"8531:8:48"},"parameters":{"id":7455,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7454,"mutability":"mutable","name":"newPluginAddress","nameLocation":"8504:16:48","nodeType":"VariableDeclaration","scope":7470,"src":"8496:24:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7453,"name":"address","nodeType":"ElementaryTypeName","src":"8496:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8495:26:48"},"returnParameters":{"id":7457,"nodeType":"ParameterList","parameters":[],"src":"8540:0:48"},"scope":7588,"src":"8477:133:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[2000],"body":{"id":7495,"nodeType":"Block","src":"8724:105:48","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":7486,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7481,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7478,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8738:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7479,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8742:6:48","memberName":"sender","nodeType":"MemberAccess","src":"8738:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":7480,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6835,"src":"8752:5:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8738:19:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7485,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7482,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8761:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7483,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8765:6:48","memberName":"sender","nodeType":"MemberAccess","src":"8761:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":7484,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"8775:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8761:20:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"8738:43:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":7477,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"8730:7:48","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":7487,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8730:52:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7488,"nodeType":"ExpressionStatement","src":"8730:52:48"},{"expression":{"id":7493,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7489,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"8788:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7491,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"8800:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"8788:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7492,"name":"newConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7473,"src":"8815:9:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"8788:36:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":7494,"nodeType":"ExpressionStatement","src":"8788:36:48"}]},"documentation":{"id":7471,"nodeType":"StructuredDocumentation","src":"8614:47:48","text":"@inheritdoc IAlgebraPoolPermissionedActions"},"functionSelector":"bca57f81","id":7496,"implemented":true,"kind":"function","modifiers":[],"name":"setPluginConfig","nameLocation":"8673:15:48","nodeType":"FunctionDefinition","overrides":{"id":7475,"nodeType":"OverrideSpecifier","overrides":[],"src":"8715:8:48"},"parameters":{"id":7474,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7473,"mutability":"mutable","name":"newConfig","nameLocation":"8695:9:48","nodeType":"VariableDeclaration","scope":7496,"src":"8689:15:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":7472,"name":"uint8","nodeType":"ElementaryTypeName","src":"8689:5:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"8688:17:48"},"returnParameters":{"id":7476,"nodeType":"ParameterList","parameters":[],"src":"8724:0:48"},"scope":7588,"src":"8664:165:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[2012],"body":{"id":7555,"nodeType":"Block","src":"8932:333:48","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":7512,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7507,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7504,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8946:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7505,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8950:6:48","memberName":"sender","nodeType":"MemberAccess","src":"8946:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":7506,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6835,"src":"8960:5:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8946:19:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7511,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7508,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8969:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7509,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8973:6:48","memberName":"sender","nodeType":"MemberAccess","src":"8969:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":7510,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"8983:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8969:20:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"8946:43:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":7503,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"8938:7:48","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":7513,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8938:52:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7514,"nodeType":"ExpressionStatement","src":"8938:52:48"},{"assignments":[7516],"declarations":[{"constant":false,"id":7516,"mutability":"mutable","name":"isDynamicFeeEnabled","nameLocation":"9001:19:48","nodeType":"VariableDeclaration","scope":7555,"src":"8996:24:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7515,"name":"bool","nodeType":"ElementaryTypeName","src":"8996:4:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":7527,"initialValue":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":7526,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":7524,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7517,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"9023:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7518,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9035:12:48","memberName":"pluginConfig","nodeType":"MemberAccess","referencedDeclaration":6747,"src":"9023:24:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"arguments":[{"expression":{"id":7521,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2748,"src":"9056:7:48","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$2748_$","typeString":"type(library Plugins)"}},"id":7522,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9064:11:48","memberName":"DYNAMIC_FEE","nodeType":"MemberAccess","referencedDeclaration":2747,"src":"9056:19:48","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7520,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9050:5:48","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":7519,"name":"uint8","nodeType":"ElementaryTypeName","src":"9050:5:48","typeDescriptions":{}}},"id":7523,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9050:26:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"9023:53:48","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":7525,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9080:1:48","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9023:58:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"8996:85:48"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7531,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7528,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9092:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7529,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9096:6:48","memberName":"sender","nodeType":"MemberAccess","src":"9092:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":7530,"name":"plugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6799,"src":"9106:6:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9092:20:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":7547,"nodeType":"Block","src":"9163:67:48","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":7544,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7539,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"9179:20:48","subExpression":{"id":7538,"name":"isDynamicFeeEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7516,"src":"9180:19:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":7543,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":7540,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9203:3:48","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7541,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9207:6:48","memberName":"sender","nodeType":"MemberAccess","src":"9203:10:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":7542,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6835,"src":"9217:5:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9203:19:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"9179:43:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":7537,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"9171:7:48","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":7545,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9171:52:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7546,"nodeType":"ExpressionStatement","src":"9171:52:48"}]},"id":7548,"nodeType":"IfStatement","src":"9088:142:48","trueBody":{"id":7536,"nodeType":"Block","src":"9114:43:48","statements":[{"expression":{"arguments":[{"id":7533,"name":"isDynamicFeeEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7516,"src":"9130:19:48","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"id":7532,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"9122:7:48","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$returns$__$","typeString":"function (bool) pure"}},"id":7534,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9122:28:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7535,"nodeType":"ExpressionStatement","src":"9122:28:48"}]}},{"expression":{"id":7553,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":7549,"name":"globalState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6765,"src":"9236:11:48","typeDescriptions":{"typeIdentifier":"t_struct$_GlobalState_$6752_storage","typeString":"struct MockPool.GlobalState storage ref"}},"id":7551,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"9248:3:48","memberName":"fee","nodeType":"MemberAccess","referencedDeclaration":6745,"src":"9236:15:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7552,"name":"newFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7499,"src":"9254:6:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"9236:24:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":7554,"nodeType":"ExpressionStatement","src":"9236:24:48"}]},"documentation":{"id":7497,"nodeType":"StructuredDocumentation","src":"8833:47:48","text":"@inheritdoc IAlgebraPoolPermissionedActions"},"functionSelector":"8e005553","id":7556,"implemented":true,"kind":"function","modifiers":[],"name":"setFee","nameLocation":"8892:6:48","nodeType":"FunctionDefinition","overrides":{"id":7501,"nodeType":"OverrideSpecifier","overrides":[],"src":"8923:8:48"},"parameters":{"id":7500,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7499,"mutability":"mutable","name":"newFee","nameLocation":"8906:6:48","nodeType":"VariableDeclaration","scope":7556,"src":"8899:13:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":7498,"name":"uint16","nodeType":"ElementaryTypeName","src":"8899:6:48","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"8898:15:48"},"returnParameters":{"id":7502,"nodeType":"ParameterList","parameters":[],"src":"8932:0:48"},"scope":7588,"src":"8883:382:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[2006],"body":{"id":7566,"nodeType":"Block","src":"9341:45:48","statements":[{"expression":{"id":7564,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7562,"name":"communityVault","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6802,"src":"9347:14:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7563,"name":"newCommunityVault","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7558,"src":"9364:17:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9347:34:48","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":7565,"nodeType":"ExpressionStatement","src":"9347:34:48"}]},"functionSelector":"d8544cf3","id":7567,"implemented":true,"kind":"function","modifiers":[],"name":"setCommunityVault","nameLocation":"9278:17:48","nodeType":"FunctionDefinition","overrides":{"id":7560,"nodeType":"OverrideSpecifier","overrides":[],"src":"9332:8:48"},"parameters":{"id":7559,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7558,"mutability":"mutable","name":"newCommunityVault","nameLocation":"9304:17:48","nodeType":"VariableDeclaration","scope":7567,"src":"9296:25:48","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7557,"name":"address","nodeType":"ElementaryTypeName","src":"9296:7:48","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"9295:27:48"},"returnParameters":{"id":7561,"nodeType":"ParameterList","parameters":[],"src":"9341:0:48"},"scope":7588,"src":"9269:117:48","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[2016],"body":{"id":7576,"nodeType":"Block","src":"9479:36:48","statements":[{"expression":{"arguments":[{"hexValue":"4e6f7420696d706c656d656e746564","id":7573,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9492:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""},"value":"Not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""}],"id":7572,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"9485:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":7574,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9485:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7575,"nodeType":"ExpressionStatement","src":"9485:25:48"}]},"documentation":{"id":7568,"nodeType":"StructuredDocumentation","src":"9390:47:48","text":"@inheritdoc IAlgebraPoolPermissionedActions"},"functionSelector":"fff6cae9","id":7577,"implemented":true,"kind":"function","modifiers":[],"name":"sync","nameLocation":"9449:4:48","nodeType":"FunctionDefinition","overrides":{"id":7570,"nodeType":"OverrideSpecifier","overrides":[],"src":"9470:8:48"},"parameters":{"id":7569,"nodeType":"ParameterList","parameters":[],"src":"9453:2:48"},"returnParameters":{"id":7571,"nodeType":"ParameterList","parameters":[],"src":"9479:0:48"},"scope":7588,"src":"9440:75:48","stateMutability":"pure","virtual":false,"visibility":"external"},{"baseFunctions":[2020],"body":{"id":7586,"nodeType":"Block","src":"9608:36:48","statements":[{"expression":{"arguments":[{"hexValue":"4e6f7420696d706c656d656e746564","id":7583,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9621:17:48","typeDescriptions":{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""},"value":"Not implemented"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_9f5474d7a5849b3f79e8aee7ea2c60bcd36a60a08b4fa41f97e2fccf1c4df98b","typeString":"literal_string \"Not implemented\""}],"id":7582,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"9614:6:48","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":7584,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9614:25:48","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7585,"nodeType":"ExpressionStatement","src":"9614:25:48"}]},"documentation":{"id":7578,"nodeType":"StructuredDocumentation","src":"9519:47:48","text":"@inheritdoc IAlgebraPoolPermissionedActions"},"functionSelector":"1dd19cb4","id":7587,"implemented":true,"kind":"function","modifiers":[],"name":"skim","nameLocation":"9578:4:48","nodeType":"FunctionDefinition","overrides":{"id":7580,"nodeType":"OverrideSpecifier","overrides":[],"src":"9599:8:48"},"parameters":{"id":7579,"nodeType":"ParameterList","parameters":[],"src":"9582:2:48"},"returnParameters":{"id":7581,"nodeType":"ParameterList","parameters":[],"src":"9608:0:48"},"scope":7588,"src":"9569:75:48","stateMutability":"pure","virtual":false,"visibility":"external"}],"scope":7589,"src":"905:8741:48","usedErrors":[1742,1745,1789,1792],"usedEvents":[]}],"src":"37:9610:48"},"id":48},"contracts/test/TestFeeDiscountPlugin.sol":{"ast":{"absolutePath":"contracts/test/TestFeeDiscountPlugin.sol","exportedSymbols":{"AbstractPlugin":[475],"BaseAbstractPlugin":[518],"FeeDiscountPlugin":[6117],"IAbstractPlugin":[1071],"IAlgebraFactory":[1355],"IAlgebraPlugin":[1543],"IAlgebraPluginFactory":[1575],"IAlgebraPool":[1377],"IAlgebraPoolActions":[1691],"IAlgebraPoolErrors":[1793],"IAlgebraPoolEvents":[1945],"IAlgebraPoolImmutables":[1973],"IAlgebraPoolPermissionedActions":[2021],"IAlgebraPoolState":[2205],"IAlgebraVaultFactory":[2233],"IFeeDiscountPlugin":[6384],"IFeeDiscountRegistry":[6430],"Plugins":[2748],"SafeTransfer":[2885],"TestFeeDiscountPlugin":[7722],"Timestamp":[1088]},"id":7723,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":7590,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:49"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":7591,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7723,"sourceUnit":2749,"src":"66:70:49","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol","file":"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol","id":7592,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7723,"sourceUnit":519,"src":"138:73:49","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/FeeDiscountPlugin.sol","file":"../FeeDiscountPlugin.sol","id":7593,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7723,"sourceUnit":6118,"src":"215:34:49","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":7595,"name":"FeeDiscountPlugin","nameLocations":["339:17:49"],"nodeType":"IdentifierPath","referencedDeclaration":6117,"src":"339:17:49"},"id":7596,"nodeType":"InheritanceSpecifier","src":"339:17:49"}],"canonicalName":"TestFeeDiscountPlugin","contractDependencies":[],"contractKind":"contract","documentation":{"id":7594,"nodeType":"StructuredDocumentation","src":"253:52:49","text":"@title Algebra Integral 1.2 limit order plugin"},"fullyImplemented":true,"id":7722,"linearizedBaseContracts":[7722,6117,6384,518,475,1088,1071,1543],"name":"TestFeeDiscountPlugin","nameLocation":"314:21:49","nodeType":"ContractDefinition","nodes":[{"global":false,"id":7599,"libraryName":{"id":7597,"name":"Plugins","nameLocations":["368:7:49"],"nodeType":"IdentifierPath","referencedDeclaration":2748,"src":"368:7:49"},"nodeType":"UsingForDirective","src":"362:24:49","typeName":{"id":7598,"name":"uint8","nodeType":"ElementaryTypeName","src":"380:5:49","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}},{"constant":false,"id":7601,"mutability":"mutable","name":"fee","nameLocation":"399:3:49","nodeType":"VariableDeclaration","scope":7722,"src":"392:10:49","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7600,"name":"uint24","nodeType":"ElementaryTypeName","src":"392:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"body":{"id":7620,"nodeType":"Block","src":"575:2:49","statements":[]},"id":7621,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":7612,"name":"_pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7603,"src":"515:5:49","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7613,"name":"_factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7605,"src":"522:8:49","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7614,"name":"_pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7607,"src":"532:14:49","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":7615,"kind":"baseConstructorSpecifier","modifierName":{"id":7611,"name":"BaseAbstractPlugin","nameLocations":["496:18:49"],"nodeType":"IdentifierPath","referencedDeclaration":518,"src":"496:18:49"},"nodeType":"ModifierInvocation","src":"496:51:49"},{"arguments":[{"id":7617,"name":"registry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7609,"src":"566:8:49","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":7618,"kind":"baseConstructorSpecifier","modifierName":{"id":7616,"name":"FeeDiscountPlugin","nameLocations":["548:17:49"],"nodeType":"IdentifierPath","referencedDeclaration":6117,"src":"548:17:49"},"nodeType":"ModifierInvocation","src":"548:27:49"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":7610,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7603,"mutability":"mutable","name":"_pool","nameLocation":"429:5:49","nodeType":"VariableDeclaration","scope":7621,"src":"421:13:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7602,"name":"address","nodeType":"ElementaryTypeName","src":"421:7:49","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7605,"mutability":"mutable","name":"_factory","nameLocation":"444:8:49","nodeType":"VariableDeclaration","scope":7621,"src":"436:16:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7604,"name":"address","nodeType":"ElementaryTypeName","src":"436:7:49","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7607,"mutability":"mutable","name":"_pluginFactory","nameLocation":"462:14:49","nodeType":"VariableDeclaration","scope":7621,"src":"454:22:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7606,"name":"address","nodeType":"ElementaryTypeName","src":"454:7:49","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7609,"mutability":"mutable","name":"registry","nameLocation":"486:8:49","nodeType":"VariableDeclaration","scope":7621,"src":"478:16:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7608,"name":"address","nodeType":"ElementaryTypeName","src":"478:7:49","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"420:75:49"},"returnParameters":{"id":7619,"nodeType":"ParameterList","parameters":[],"src":"575:0:49"},"scope":7722,"src":"409:168:49","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[202,1406],"body":{"id":7643,"nodeType":"Block","src":"731:113:49","statements":[{"expression":{"arguments":[{"id":7636,"name":"defaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":25,"src":"764:19:49","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":7635,"name":"_updatePluginConfigInPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":415,"src":"738:25:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":7637,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"738:46:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7638,"nodeType":"ExpressionStatement","src":"738:46:49"},{"expression":{"expression":{"expression":{"id":7639,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"798:14:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7640,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"813:16:49","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":1406,"src":"798:31:49","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint160_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.beforeInitialize(address,uint160) returns (bytes4)"}},"id":7641,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"830:8:49","memberName":"selector","nodeType":"MemberAccess","src":"798:40:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":7634,"id":7642,"nodeType":"Return","src":"791:47:49"}]},"functionSelector":"636fd804","id":7644,"implemented":true,"kind":"function","modifiers":[{"id":7631,"kind":"modifierInvocation","modifierName":{"id":7630,"name":"onlyPool","nameLocations":["705:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"705:8:49"},"nodeType":"ModifierInvocation","src":"705:8:49"}],"name":"beforeInitialize","nameLocation":"620:16:49","nodeType":"FunctionDefinition","overrides":{"id":7629,"nodeType":"OverrideSpecifier","overrides":[{"id":7627,"name":"AbstractPlugin","nameLocations":["673:14:49"],"nodeType":"IdentifierPath","referencedDeclaration":475,"src":"673:14:49"},{"id":7628,"name":"IAlgebraPlugin","nameLocations":["689:14:49"],"nodeType":"IdentifierPath","referencedDeclaration":1543,"src":"689:14:49"}],"src":"664:40:49"},"parameters":{"id":7626,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7623,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7644,"src":"637:7:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7622,"name":"address","nodeType":"ElementaryTypeName","src":"637:7:49","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7625,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7644,"src":"646:7:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":7624,"name":"uint160","nodeType":"ElementaryTypeName","src":"646:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"636:18:49"},"returnParameters":{"id":7634,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7633,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7644,"src":"723:6:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":7632,"name":"bytes4","nodeType":"ElementaryTypeName","src":"723:6:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"722:8:49"},"scope":7722,"src":"611:233:49","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[221,1418],"body":{"id":7664,"nodeType":"Block","src":"981:59:49","statements":[{"expression":{"expression":{"expression":{"id":7660,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"995:14:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7661,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1010:15:49","memberName":"afterInitialize","nodeType":"MemberAccess","referencedDeclaration":1418,"src":"995:30:49","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint160_$_t_int24_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.afterInitialize(address,uint160,int24) returns (bytes4)"}},"id":7662,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1026:8:49","memberName":"selector","nodeType":"MemberAccess","src":"995:39:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":7659,"id":7663,"nodeType":"Return","src":"988:46:49"}]},"functionSelector":"82dd6522","id":7665,"implemented":true,"kind":"function","modifiers":[{"id":7656,"kind":"modifierInvocation","modifierName":{"id":7655,"name":"onlyPool","nameLocations":["955:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"955:8:49"},"nodeType":"ModifierInvocation","src":"955:8:49"}],"name":"afterInitialize","nameLocation":"859:15:49","nodeType":"FunctionDefinition","overrides":{"id":7654,"nodeType":"OverrideSpecifier","overrides":[{"id":7652,"name":"AbstractPlugin","nameLocations":["918:14:49"],"nodeType":"IdentifierPath","referencedDeclaration":475,"src":"918:14:49"},{"id":7653,"name":"IAlgebraPlugin","nameLocations":["934:14:49"],"nodeType":"IdentifierPath","referencedDeclaration":1543,"src":"934:14:49"}],"src":"909:40:49"},"parameters":{"id":7651,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7646,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7665,"src":"875:7:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7645,"name":"address","nodeType":"ElementaryTypeName","src":"875:7:49","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7648,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7665,"src":"884:7:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":7647,"name":"uint160","nodeType":"ElementaryTypeName","src":"884:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":7650,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7665,"src":"893:5:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":7649,"name":"int24","nodeType":"ElementaryTypeName","src":"893:5:49","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"874:25:49"},"returnParameters":{"id":7659,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7658,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7665,"src":"973:6:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":7657,"name":"bytes4","nodeType":"ElementaryTypeName","src":"973:6:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"972:8:49"},"scope":7722,"src":"850:190:49","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[313,1484],"body":{"id":7710,"nodeType":"Block","src":"1221:122:49","statements":[{"expression":{"id":7701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7693,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7601,"src":"1228:3:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":7695,"name":"tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-26,"src":"1252:2:49","typeDescriptions":{"typeIdentifier":"t_magic_transaction","typeString":"tx"}},"id":7696,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1255:6:49","memberName":"origin","nodeType":"MemberAccess","src":"1252:9:49","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":7697,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1263:3:49","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7698,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1267:6:49","memberName":"sender","nodeType":"MemberAccess","src":"1263:10:49","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7699,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7601,"src":"1275:3:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint24","typeString":"uint24"}],"id":7694,"name":"_applyFeeDiscount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6098,"src":"1234:17:49","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint24_$returns$_t_uint24_$","typeString":"function (address,address,uint24) returns (uint24)"}},"id":7700,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1234:45:49","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"1228:51:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":7702,"nodeType":"ExpressionStatement","src":"1228:51:49"},{"expression":{"components":[{"expression":{"expression":{"id":7703,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"1294:14:49","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7704,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1309:10:49","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":1484,"src":"1294:25:49","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_bool_$_t_int256_$_t_uint160_$_t_bool_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_uint24_$_t_uint24_$","typeString":"function IAlgebraPlugin.beforeSwap(address,address,bool,int256,uint160,bool,bytes calldata) returns (bytes4,uint24,uint24)"}},"id":7705,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1320:8:49","memberName":"selector","nodeType":"MemberAccess","src":"1294:34:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"id":7706,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7601,"src":"1330:3:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},{"hexValue":"30","id":7707,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1335:1:49","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":7708,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1293:44:49","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_uint24_$_t_rational_0_by_1_$","typeString":"tuple(bytes4,uint24,int_const 0)"}},"functionReturnParameters":7692,"id":7709,"nodeType":"Return","src":"1286:51:49"}]},"functionSelector":"029c1cb7","id":7711,"implemented":true,"kind":"function","modifiers":[{"id":7685,"kind":"modifierInvocation","modifierName":{"id":7684,"name":"onlyPool","nameLocations":["1179:8:49"],"nodeType":"IdentifierPath","referencedDeclaration":39,"src":"1179:8:49"},"nodeType":"ModifierInvocation","src":"1179:8:49"}],"name":"beforeSwap","nameLocation":"1055:10:49","nodeType":"FunctionDefinition","overrides":{"id":7683,"nodeType":"OverrideSpecifier","overrides":[{"id":7681,"name":"AbstractPlugin","nameLocations":["1147:14:49"],"nodeType":"IdentifierPath","referencedDeclaration":475,"src":"1147:14:49"},{"id":7682,"name":"IAlgebraPlugin","nameLocations":["1163:14:49"],"nodeType":"IdentifierPath","referencedDeclaration":1543,"src":"1163:14:49"}],"src":"1138:40:49"},"parameters":{"id":7680,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7667,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1066:7:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7666,"name":"address","nodeType":"ElementaryTypeName","src":"1066:7:49","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7669,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1075:7:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7668,"name":"address","nodeType":"ElementaryTypeName","src":"1075:7:49","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7671,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1084:4:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7670,"name":"bool","nodeType":"ElementaryTypeName","src":"1084:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":7673,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1090:6:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7672,"name":"int256","nodeType":"ElementaryTypeName","src":"1090:6:49","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":7675,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1098:7:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":7674,"name":"uint160","nodeType":"ElementaryTypeName","src":"1098:7:49","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":7677,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1107:4:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7676,"name":"bool","nodeType":"ElementaryTypeName","src":"1107:4:49","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":7679,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1113:14:49","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":7678,"name":"bytes","nodeType":"ElementaryTypeName","src":"1113:5:49","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1065:63:49"},"returnParameters":{"id":7692,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7687,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1197:6:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":7686,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1197:6:49","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":7689,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1205:6:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7688,"name":"uint24","nodeType":"ElementaryTypeName","src":"1205:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":7691,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7711,"src":"1213:6:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7690,"name":"uint24","nodeType":"ElementaryTypeName","src":"1213:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1196:24:49"},"scope":7722,"src":"1046:297:49","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":7720,"nodeType":"Block","src":"1392:26:49","statements":[{"expression":{"id":7718,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7716,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7601,"src":"1399:3:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":7717,"name":"_newFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7713,"src":"1405:7:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"1399:13:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"id":7719,"nodeType":"ExpressionStatement","src":"1399:13:49"}]},"functionSelector":"eabb5622","id":7721,"implemented":true,"kind":"function","modifiers":[],"name":"setFee","nameLocation":"1360:6:49","nodeType":"FunctionDefinition","parameters":{"id":7714,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7713,"mutability":"mutable","name":"_newFee","nameLocation":"1374:7:49","nodeType":"VariableDeclaration","scope":7721,"src":"1367:14:49","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7712,"name":"uint24","nodeType":"ElementaryTypeName","src":"1367:6:49","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1366:16:49"},"returnParameters":{"id":7715,"nodeType":"ParameterList","parameters":[],"src":"1392:0:49"},"scope":7722,"src":"1351:67:49","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":7723,"src":"305:1118:49","usedErrors":[1786],"usedEvents":[6383]}],"src":"38:1387:49"},"id":49},"contracts/test/UpgradeableBeacon.sol":{"ast":{"absolutePath":"contracts/test/UpgradeableBeacon.sol","exportedSymbols":{"OZUpgradeableBeacon":[7725],"UpgradeableBeacon":[7738]},"id":7739,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":7724,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"33:24:50"},{"absolutePath":"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol","file":"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol","id":7725,"nameLocation":"132:19:50","nodeType":"ImportDirective","scope":7739,"sourceUnit":5316,"src":"61:91:50","symbolAliases":[],"unitAlias":"OZUpgradeableBeacon"},{"abstract":false,"baseContracts":[{"baseName":{"id":7727,"name":"OZUpgradeableBeacon.UpgradeableBeacon","nameLocations":["310:19:50","330:17:50"],"nodeType":"IdentifierPath","referencedDeclaration":5315,"src":"310:37:50"},"id":7728,"nodeType":"InheritanceSpecifier","src":"310:37:50"}],"canonicalName":"UpgradeableBeacon","contractDependencies":[],"contractKind":"contract","documentation":{"id":7726,"nodeType":"StructuredDocumentation","src":"156:124:50","text":"@title UpgradeableBeacon wrapper for testing\n @notice Re-exports OpenZeppelin UpgradeableBeacon for test contracts"},"fullyImplemented":true,"id":7738,"linearizedBaseContracts":[7738,5315,4777,5667,5240],"name":"UpgradeableBeacon","nameLocation":"289:17:50","nodeType":"ContractDefinition","nodes":[{"body":{"id":7736,"nodeType":"Block","src":"447:2:50","statements":[]},"id":7737,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":7733,"name":"implementation_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7730,"src":"430:15:50","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":7734,"kind":"baseConstructorSpecifier","modifierName":{"id":7732,"name":"OZUpgradeableBeacon.UpgradeableBeacon","nameLocations":["392:19:50","412:17:50"],"nodeType":"IdentifierPath","referencedDeclaration":5315,"src":"392:37:50"},"nodeType":"ModifierInvocation","src":"392:54:50"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":7731,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7730,"mutability":"mutable","name":"implementation_","nameLocation":"375:15:50","nodeType":"VariableDeclaration","scope":7737,"src":"367:23:50","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7729,"name":"address","nodeType":"ElementaryTypeName","src":"367:7:50","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"366:25:50"},"returnParameters":{"id":7735,"nodeType":"ParameterList","parameters":[],"src":"447:0:50"},"scope":7738,"src":"355:94:50","stateMutability":"nonpayable","virtual":false,"visibility":"public"}],"scope":7739,"src":"280:172:50","usedErrors":[],"usedEvents":[4678,5257]}],"src":"33:421:50"},"id":50},"contracts/test/UpgradeableFeeDiscountPluginTest.sol":{"ast":{"absolutePath":"contracts/test/UpgradeableFeeDiscountPluginTest.sol","exportedSymbols":{"AddressUpgradeable":[4664],"FeeDiscountConnector":[6011],"IAbstractPlugin":[1071],"IAlgebraFactory":[1355],"IAlgebraPlugin":[1543],"IAlgebraPluginFactory":[1575],"IAlgebraPool":[1377],"IAlgebraPoolActions":[1691],"IAlgebraPoolErrors":[1793],"IAlgebraPoolEvents":[1945],"IAlgebraPoolImmutables":[1973],"IAlgebraPoolPermissionedActions":[2021],"IAlgebraPoolState":[2205],"IAlgebraVaultFactory":[2233],"IFeeDiscountPlugin":[6384],"Initializable":[4334],"Plugins":[2748],"SafeTransfer":[2885],"Timestamp":[1088],"UpgradeableAbstractPlugin":[1046],"UpgradeableFeeDiscountPluginTest":[7896]},"id":7897,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":7740,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:51"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":7741,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7897,"sourceUnit":2749,"src":"66:70:51","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","id":7742,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7897,"sourceUnit":2206,"src":"138:86:51","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol","file":"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol","id":7743,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7897,"sourceUnit":1047,"src":"226:80:51","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/FeeDiscountConnector.sol","file":"../FeeDiscountConnector.sol","id":7744,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":7897,"sourceUnit":6012,"src":"310:37:51","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":7746,"name":"UpgradeableAbstractPlugin","nameLocations":["563:25:51"],"nodeType":"IdentifierPath","referencedDeclaration":1046,"src":"563:25:51"},"id":7747,"nodeType":"InheritanceSpecifier","src":"563:25:51"},{"baseName":{"id":7748,"name":"FeeDiscountConnector","nameLocations":["590:20:51"],"nodeType":"IdentifierPath","referencedDeclaration":6011,"src":"590:20:51"},"id":7749,"nodeType":"InheritanceSpecifier","src":"590:20:51"}],"canonicalName":"UpgradeableFeeDiscountPluginTest","contractDependencies":[],"contractKind":"contract","documentation":{"id":7745,"nodeType":"StructuredDocumentation","src":"351:167:51","text":"@title Upgradeable FeeDiscount Plugin for Testing\n @notice Test implementation of an upgradeable plugin using Beacon Proxy pattern with FeeDiscount connector"},"fullyImplemented":true,"id":7896,"linearizedBaseContracts":[7896,6011,6384,1046,1088,1071,1543,4334],"name":"UpgradeableFeeDiscountPluginTest","nameLocation":"527:32:51","nodeType":"ContractDefinition","nodes":[{"global":false,"id":7752,"libraryName":{"id":7750,"name":"Plugins","nameLocations":["622:7:51"],"nodeType":"IdentifierPath","referencedDeclaration":2748,"src":"622:7:51"},"nodeType":"UsingForDirective","src":"616:24:51","typeName":{"id":7751,"name":"uint8","nodeType":"ElementaryTypeName","src":"634:5:51","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}},{"body":{"id":7769,"nodeType":"Block","src":"1108:2:51","statements":[]},"documentation":{"id":7753,"nodeType":"StructuredDocumentation","src":"646:247:51","text":"@dev Constructor sets immutable implementation address\n @param _factory The Algebra factory address\n @param _pluginFactory The plugin factory address  \n @param _feeDiscountImplementation The FeeDiscount implementation address"},"id":7770,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":7762,"name":"_factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7755,"src":"1033:8:51","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7763,"name":"_pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7757,"src":"1043:14:51","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":7764,"kind":"baseConstructorSpecifier","modifierName":{"id":7761,"name":"UpgradeableAbstractPlugin","nameLocations":["1007:25:51"],"nodeType":"IdentifierPath","referencedDeclaration":1046,"src":"1007:25:51"},"nodeType":"ModifierInvocation","src":"1007:51:51"},{"arguments":[{"id":7766,"name":"_feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7759,"src":"1080:26:51","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":7767,"kind":"baseConstructorSpecifier","modifierName":{"id":7765,"name":"FeeDiscountConnector","nameLocations":["1059:20:51"],"nodeType":"IdentifierPath","referencedDeclaration":6011,"src":"1059:20:51"},"nodeType":"ModifierInvocation","src":"1059:48:51"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":7760,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7755,"mutability":"mutable","name":"_factory","nameLocation":"923:8:51","nodeType":"VariableDeclaration","scope":7770,"src":"915:16:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7754,"name":"address","nodeType":"ElementaryTypeName","src":"915:7:51","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7757,"mutability":"mutable","name":"_pluginFactory","nameLocation":"946:14:51","nodeType":"VariableDeclaration","scope":7770,"src":"938:22:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7756,"name":"address","nodeType":"ElementaryTypeName","src":"938:7:51","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7759,"mutability":"mutable","name":"_feeDiscountImplementation","nameLocation":"975:26:51","nodeType":"VariableDeclaration","scope":7770,"src":"967:34:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7758,"name":"address","nodeType":"ElementaryTypeName","src":"967:7:51","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"908:98:51"},"returnParameters":{"id":7768,"nodeType":"ParameterList","parameters":[],"src":"1108:0:51"},"scope":7896,"src":"897:213:51","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":7802,"nodeType":"Block","src":"1392:257:51","statements":[{"expression":{"arguments":[{"id":7781,"name":"_pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7773,"src":"1432:5:51","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7780,"name":"__UpgradeableAbstractPlugin_init","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":613,"src":"1399:32:51","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":7782,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1399:39:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7783,"nodeType":"ExpressionStatement","src":"1399:39:51"},{"assignments":[7785],"declarations":[{"constant":false,"id":7785,"mutability":"mutable","name":"feeDiscountConfig","nameLocation":"1457:17:51","nodeType":"VariableDeclaration","scope":7802,"src":"1451:23:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":7784,"name":"uint8","nodeType":"ElementaryTypeName","src":"1451:5:51","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":7789,"initialValue":{"arguments":[{"id":7787,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7775,"src":"1500:20:51","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7786,"name":"_initializeFeeDiscount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5860,"src":"1477:22:51","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$_t_uint8_$","typeString":"function (address) returns (uint8)"}},"id":7788,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1477:44:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"1451:70:51"},{"expression":{"id":7794,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7790,"name":"defaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":557,"src":"1528:19:51","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":7793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7791,"name":"defaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":557,"src":"1550:19:51","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"id":7792,"name":"feeDiscountConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7785,"src":"1572:17:51","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1550:39:51","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1528:61:51","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":7795,"nodeType":"ExpressionStatement","src":"1528:61:51"},{"expression":{"arguments":[{"hexValue":"46656520446973636f756e7420506c7567696e","id":7799,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1621:21:51","typeDescriptions":{"typeIdentifier":"t_stringliteral_1774c92d361783b8b22e33790e5d2371f78b7561e5aea3bcad56f06f06083c7e","typeString":"literal_string \"Fee Discount Plugin\""},"value":"Fee Discount Plugin"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_1774c92d361783b8b22e33790e5d2371f78b7561e5aea3bcad56f06f06083c7e","typeString":"literal_string \"Fee Discount Plugin\""}],"expression":{"id":7796,"name":"activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":561,"src":"1602:13:51","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"id":7798,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1616:4:51","memberName":"push","nodeType":"MemberAccess","src":"1602:18:51","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_string_storage_$dyn_storage_ptr_$_t_string_storage_$returns$__$attached_to$_t_array$_t_string_storage_$dyn_storage_ptr_$","typeString":"function (string storage ref[] storage pointer,string storage ref)"}},"id":7800,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1602:41:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7801,"nodeType":"ExpressionStatement","src":"1602:41:51"}]},"documentation":{"id":7771,"nodeType":"StructuredDocumentation","src":"1116:186:51","text":"@notice Initialize the plugin for a specific pool\n @param _pool The pool address this plugin is attached to\n @param _feeDiscountRegistry The fee discount registry address"},"functionSelector":"485cc955","id":7803,"implemented":true,"kind":"function","modifiers":[{"id":7778,"kind":"modifierInvocation","modifierName":{"id":7777,"name":"initializer","nameLocations":["1380:11:51"],"nodeType":"IdentifierPath","referencedDeclaration":4236,"src":"1380:11:51"},"nodeType":"ModifierInvocation","src":"1380:11:51"}],"name":"initialize","nameLocation":"1315:10:51","nodeType":"FunctionDefinition","parameters":{"id":7776,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7773,"mutability":"mutable","name":"_pool","nameLocation":"1334:5:51","nodeType":"VariableDeclaration","scope":7803,"src":"1326:13:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7772,"name":"address","nodeType":"ElementaryTypeName","src":"1326:7:51","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7775,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"1349:20:51","nodeType":"VariableDeclaration","scope":7803,"src":"1341:28:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7774,"name":"address","nodeType":"ElementaryTypeName","src":"1341:7:51","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1325:45:51"},"returnParameters":{"id":7779,"nodeType":"ParameterList","parameters":[],"src":"1392:0:51"},"scope":7896,"src":"1306:343:51","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[773,1406],"body":{"id":7825,"nodeType":"Block","src":"1814:113:51","statements":[{"expression":{"arguments":[{"id":7818,"name":"defaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":557,"src":"1847:19:51","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":7817,"name":"_updatePluginConfigInPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":986,"src":"1821:25:51","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":7819,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1821:46:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7820,"nodeType":"ExpressionStatement","src":"1821:46:51"},{"expression":{"expression":{"expression":{"id":7821,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"1881:14:51","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7822,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1896:16:51","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":1406,"src":"1881:31:51","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint160_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.beforeInitialize(address,uint160) returns (bytes4)"}},"id":7823,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1913:8:51","memberName":"selector","nodeType":"MemberAccess","src":"1881:40:51","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":7816,"id":7824,"nodeType":"Return","src":"1874:47:51"}]},"functionSelector":"636fd804","id":7826,"implemented":true,"kind":"function","modifiers":[{"id":7813,"kind":"modifierInvocation","modifierName":{"id":7812,"name":"onlyPool","nameLocations":["1788:8:51"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"1788:8:51"},"nodeType":"ModifierInvocation","src":"1788:8:51"}],"name":"beforeInitialize","nameLocation":"1692:16:51","nodeType":"FunctionDefinition","overrides":{"id":7811,"nodeType":"OverrideSpecifier","overrides":[{"id":7809,"name":"IAlgebraPlugin","nameLocations":["1745:14:51"],"nodeType":"IdentifierPath","referencedDeclaration":1543,"src":"1745:14:51"},{"id":7810,"name":"UpgradeableAbstractPlugin","nameLocations":["1761:25:51"],"nodeType":"IdentifierPath","referencedDeclaration":1046,"src":"1761:25:51"}],"src":"1736:51:51"},"parameters":{"id":7808,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7805,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7826,"src":"1709:7:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7804,"name":"address","nodeType":"ElementaryTypeName","src":"1709:7:51","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7807,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7826,"src":"1718:7:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":7806,"name":"uint160","nodeType":"ElementaryTypeName","src":"1718:7:51","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1708:18:51"},"returnParameters":{"id":7816,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7815,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7826,"src":"1806:6:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":7814,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1806:6:51","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1805:8:51"},"scope":7896,"src":"1683:244:51","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[884,1484],"body":{"id":7874,"nodeType":"Block","src":"2166:183:51","statements":[{"assignments":[null,null,7855,null],"declarations":[null,null,{"constant":false,"id":7855,"mutability":"mutable","name":"fee","nameLocation":"2185:3:51","nodeType":"VariableDeclaration","scope":7874,"src":"2178:10:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":7854,"name":"uint16","nodeType":"ElementaryTypeName","src":"2178:6:51","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},null],"id":7858,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":7856,"name":"_getPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":703,"src":"2194:13:51","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"function () view returns (uint160,int24,uint16,uint8)"}},"id":7857,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2194:15:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"tuple(uint160,int24,uint16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"2173:36:51"},{"assignments":[7860],"declarations":[{"constant":false,"id":7860,"mutability":"mutable","name":"discountedFee","nameLocation":"2223:13:51","nodeType":"VariableDeclaration","scope":7874,"src":"2216:20:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7859,"name":"uint24","nodeType":"ElementaryTypeName","src":"2216:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"id":7866,"initialValue":{"arguments":[{"id":7862,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7828,"src":"2257:6:51","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7863,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":554,"src":"2265:4:51","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":7864,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7855,"src":"2271:3:51","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":7861,"name":"_applyFeeDiscount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5976,"src":"2239:17:51","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint24_$returns$_t_uint24_$","typeString":"function (address,address,uint24) returns (uint24)"}},"id":7865,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2239:36:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"VariableDeclarationStatement","src":"2216:59:51"},{"expression":{"components":[{"expression":{"expression":{"id":7867,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1543,"src":"2290:14:51","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1543_$","typeString":"type(contract IAlgebraPlugin)"}},"id":7868,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2305:10:51","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":1484,"src":"2290:25:51","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_bool_$_t_int256_$_t_uint160_$_t_bool_$_t_bytes_calldata_ptr_$returns$_t_bytes4_$_t_uint24_$_t_uint24_$","typeString":"function IAlgebraPlugin.beforeSwap(address,address,bool,int256,uint160,bool,bytes calldata) returns (bytes4,uint24,uint24)"}},"id":7869,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2316:8:51","memberName":"selector","nodeType":"MemberAccess","src":"2290:34:51","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"id":7870,"name":"discountedFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7860,"src":"2326:13:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},{"hexValue":"30","id":7871,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2341:1:51","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":7872,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2289:54:51","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_uint24_$_t_rational_0_by_1_$","typeString":"tuple(bytes4,uint24,int_const 0)"}},"functionReturnParameters":7853,"id":7873,"nodeType":"Return","src":"2282:61:51"}]},"functionSelector":"029c1cb7","id":7875,"implemented":true,"kind":"function","modifiers":[{"id":7846,"kind":"modifierInvocation","modifierName":{"id":7845,"name":"onlyPool","nameLocations":["2124:8:51"],"nodeType":"IdentifierPath","referencedDeclaration":568,"src":"2124:8:51"},"nodeType":"ModifierInvocation","src":"2124:8:51"}],"name":"beforeSwap","nameLocation":"1942:10:51","nodeType":"FunctionDefinition","overrides":{"id":7844,"nodeType":"OverrideSpecifier","overrides":[{"id":7842,"name":"IAlgebraPlugin","nameLocations":["2081:14:51"],"nodeType":"IdentifierPath","referencedDeclaration":1543,"src":"2081:14:51"},{"id":7843,"name":"UpgradeableAbstractPlugin","nameLocations":["2097:25:51"],"nodeType":"IdentifierPath","referencedDeclaration":1046,"src":"2097:25:51"}],"src":"2072:51:51"},"parameters":{"id":7841,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7828,"mutability":"mutable","name":"sender","nameLocation":"1967:6:51","nodeType":"VariableDeclaration","scope":7875,"src":"1959:14:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7827,"name":"address","nodeType":"ElementaryTypeName","src":"1959:7:51","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7830,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7875,"src":"1980:7:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":7829,"name":"address","nodeType":"ElementaryTypeName","src":"1980:7:51","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":7832,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7875,"src":"1994:4:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7831,"name":"bool","nodeType":"ElementaryTypeName","src":"1994:4:51","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":7834,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7875,"src":"2005:6:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7833,"name":"int256","nodeType":"ElementaryTypeName","src":"2005:6:51","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":7836,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7875,"src":"2018:7:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":7835,"name":"uint160","nodeType":"ElementaryTypeName","src":"2018:7:51","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":7838,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7875,"src":"2032:4:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":7837,"name":"bool","nodeType":"ElementaryTypeName","src":"2032:4:51","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":7840,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7875,"src":"2043:14:51","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":7839,"name":"bytes","nodeType":"ElementaryTypeName","src":"2043:5:51","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1952:110:51"},"returnParameters":{"id":7853,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7848,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7875,"src":"2142:6:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":7847,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2142:6:51","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":7850,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7875,"src":"2150:6:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7849,"name":"uint24","nodeType":"ElementaryTypeName","src":"2150:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":7852,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7875,"src":"2158:6:51","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7851,"name":"uint24","nodeType":"ElementaryTypeName","src":"2158:6:51","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2141:24:51"},"scope":7896,"src":"1933:416:51","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[641,6010],"body":{"id":7894,"nodeType":"Block","src":"2577:120:51","statements":[{"expression":{"arguments":[{"arguments":[{"id":7887,"name":"ALGEBRA_BASE_PLUGIN_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":545,"src":"2632:27:51","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":7888,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2661:3:51","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":7889,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2665:6:51","memberName":"sender","nodeType":"MemberAccess","src":"2661:10:51","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":7884,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":548,"src":"2608:7:51","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":7883,"name":"IAlgebraFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1355,"src":"2592:15:51","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraFactory_$1355_$","typeString":"type(contract IAlgebraFactory)"}},"id":7885,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2592:24:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraFactory_$1355","typeString":"contract IAlgebraFactory"}},"id":7886,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2617:14:51","memberName":"hasRoleOrOwner","nodeType":"MemberAccess","referencedDeclaration":1178,"src":"2592:39:51","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view external returns (bool)"}},"id":7890,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2592:80:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e6f7420617574686f72697a6564","id":7891,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2674:16:51","typeDescriptions":{"typeIdentifier":"t_stringliteral_fac3bac318c0d00994f57b0f2f4c643c313072b71db2302bf4b900309cc50b36","typeString":"literal_string \"Not authorized\""},"value":"Not authorized"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_fac3bac318c0d00994f57b0f2f4c643c313072b71db2302bf4b900309cc50b36","typeString":"literal_string \"Not authorized\""}],"id":7882,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2584:7:51","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":7892,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2584:107:51","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":7893,"nodeType":"ExpressionStatement","src":"2584:107:51"}]},"documentation":{"id":7876,"nodeType":"StructuredDocumentation","src":"2391:88:51","text":"@dev Authorization check for FeeDiscountConnector - only ALGEBRA_BASE_PLUGIN_MANAGER"},"id":7895,"implemented":true,"kind":"function","modifiers":[],"name":"_authorize","nameLocation":"2492:10:51","nodeType":"FunctionDefinition","overrides":{"id":7880,"nodeType":"OverrideSpecifier","overrides":[{"id":7878,"name":"UpgradeableAbstractPlugin","nameLocations":["2528:25:51"],"nodeType":"IdentifierPath","referencedDeclaration":1046,"src":"2528:25:51"},{"id":7879,"name":"FeeDiscountConnector","nameLocations":["2555:20:51"],"nodeType":"IdentifierPath","referencedDeclaration":6011,"src":"2555:20:51"}],"src":"2519:57:51"},"parameters":{"id":7877,"nodeType":"ParameterList","parameters":[],"src":"2502:2:51"},"returnParameters":{"id":7881,"nodeType":"ParameterList","parameters":[],"src":"2577:0:51"},"scope":7896,"src":"2483:214:51","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":7897,"src":"518:2182:51","usedErrors":[1786],"usedEvents":[4180,6383]}],"src":"38:2664:51"},"id":51}},"contracts":{"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol":{"AbstractPlugin":{"abi":[{"inputs":[],"name":"transferFailed","type":"error"},{"inputs":[],"name":"ALGEBRA_BASE_PLUGIN_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"activeModules","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int24","name":"","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"collectPluginFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getActiveModuleNames","outputs":[{"internalType":"string[]","name":"moduleNames","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"ALGEBRA_BASE_PLUGIN_MANAGER()":"31b25d1a","activeModules(uint256)":"46b7748b","afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","collectPluginFee(address,uint256,address)":"e72c652d","defaultPluginConfig()":"689ea370","getActiveModuleNames()":"b6f78cc9","handlePluginFee(uint256,uint256)":"aa6b14bb","pool()":"16f0115b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"transferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ALGEBRA_BASE_PLUGIN_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeModules\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"collectPluginFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveModuleNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"moduleNames\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"params\":{\"amount\":\"Amount of tokens\",\"recipient\":\"Recipient address\",\"token\":\"The token address\"}},\"getActiveModuleNames()\":{\"returns\":{\"moduleNames\":\"Array of active module names\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}}},\"stateVariables\":{\"ALGEBRA_BASE_PLUGIN_MANAGER\":{\"details\":\"The role can be granted in AlgebraFactory\"},\"defaultPluginConfig\":{\"return\":\"config Each bit of the config is responsible for enabling/disabling the hooks. The last bit indicates whether the plugin contains dynamic fees logic\",\"returns\":{\"_0\":\"config Each bit of the config is responsible for enabling/disabling the hooks. The last bit indicates whether the plugin contains dynamic fees logic\"}}},\"title\":\"Algebra Integral 1.2.1 plugin base\",\"version\":1},\"userdoc\":{\"errors\":{\"transferFailed()\":[{\"notice\":\"Emitted if token transfer failed internally\"}]},\"kind\":\"user\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"defaultPluginConfig()\":{\"notice\":\"Returns plugin config\"},\"getActiveModuleNames()\":{\"notice\":\"Get all active module names\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"}},\"notice\":\"This contract simplifies development process of plugins by providing base functionality\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol\":\"AbstractPlugin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol\":{\"keccak256\":\"0x33632479227a4b15d8a3d061227b09c4423a778c05b0b2f60bda1e8fad927d04\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://123728a15def0527e4e609e5424dede6527f3c7c0bf27d4c982e3883d8e7f929\",\"dweb:/ipfs/QmSsyNcHTDxb1Jh4drU7oZJmtD2eyhgF3RkmAiJTjbvbyd\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0x9cee862dd93a6dc061a5e54a262bc9cc1e84ca6f3352176fb8c7138eec97ae0e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c1e17f9dd356b457ca024b11d5340a6564109d27f46fec43b9a4f97421a2b315\",\"dweb:/ipfs/QmVH7uBmx22RkbMsYTszsnvGBXssH5DtLMYGPwZEc2HPjN\"]},\"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol\":{\"keccak256\":\"0x28e2aac84d585bbe96ecb9d5cd124fa7cd5929584c70e43a7c96f6faa93022d3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d1347582a9d12cf03fc99ca899f7788f9223773be12c35aa2b8c2145d2e6a2c8\",\"dweb:/ipfs/QmYDrse9BuFsrwHxAZdghycY9F6XQfGDrm8ZifUfFnx2n3\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol\":{\"keccak256\":\"0xb87bef911483f054559e6567a5a958200131b5101fbcee1ed7daefcfc082faf7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://46c8f76cde3c16aed0446e98dc61ddb196288652f6a8735ed87d6e53a13b4142\",\"dweb:/ipfs/Qmd7omugWuFrjrCcwfeRQbeUS1FhqvhscTij4xtqCmjNKG\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol\":{\"keccak256\":\"0x1d8bb94007c874be2640401aeed6219392c07e8b2e779fa24c618adc58bd7ae0\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://55d37783d81c98cb58ed41e6d7283af5fb07261b676a833f632cd6d128fc2e04\",\"dweb:/ipfs/QmXiJ63fWeBfkfJkLzBv1zLDyCjn5shW44ugYv44CqtTca\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":{\"keccak256\":\"0x4f9b70282bac671383d001cffca1479dd64f507db84cdab16da886804c64a60c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b1bc8b774ab5027d97625c3ac01ee3f4bbdefcd012ff0bb0e4c9752096bd9562\",\"dweb:/ipfs/Qmcn5kGihMiZAMjwpY1f12nTSWMyrLqmXLvoifaqPtQYYo\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol\":{\"keccak256\":\"0xd6b18486bd0eaee545ad10115d33c527e5ba5ddff571120678e7db58ca00b726\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://470a64313758d0a26a6910c924eae39e5c4df6912c61e7239e0d930097f8512f\",\"dweb:/ipfs/QmY18B9x18hLCKQ3kAqjPhHzMvZxKrvNeUjPycKYodETaa\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol\":{\"keccak256\":\"0x02d0fb9c64fba4c4dd0509bb9333825c801a0587d5b957c46f5cb1c610acc447\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8480784b2654829c0958b00aa3109249ce9088dbe94b6eadeaf8e9138829a764\",\"dweb:/ipfs/QmeFG5AsPUQfhMPtvYC3f9BhGu7sVm71wj2PgXDczaM7XP\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":{\"keccak256\":\"0xbd9faad7e7599c61c3141cfe2dd2e423ad4746a6119f047b0ae6d2eccb77bc9c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0df4bed6cf34a8c0f6b971fb71411373b4d204afda35eabe8555d8cbe67e291\",\"dweb:/ipfs/QmY6z3BseKy3tEvmLVjhL7VFrNJRuQgDXJXNAFBkBQ218A\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":{\"keccak256\":\"0xe061f0f9b5b16934173b1127efe13ccfe80465db17156d91c04e018b31e993fa\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c607033ec09828f4a8667e7fd2e562814ec689d5806d95b4a248f57e0eff9d38\",\"dweb:/ipfs/QmbGBxBMSzPKitHmRjYJwGGEZVsXDQB6emSsZ19hjy6LUz\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":{\"keccak256\":\"0xcdaae6cd6af79c4f344e673fe886a980ef5203b15b49f7a466c336c0152ce6ae\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fa2d3073bd4ca013e2769cf0fa5b68f32cec4fa53a6cc66adb59d86e6293cf15\",\"dweb:/ipfs/QmcwveJdf3JLAPfFZShijKTTxMTP4joDDuSuFboXBe711S\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":{\"keccak256\":\"0x354b1e099e9a47ce6fdc2ff4a4549249fa9c54434bf4dedb14fd4afe7d94d2d5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d9efe57e2239df29c7290fc1a27c8f0a6d8aa1f9e4c9271efadb8b29b29d7058\",\"dweb:/ipfs/QmbRJqfJR62Bx7XhN8qNBk85zjpWfyxSSiC5vHpxXnYMKb\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol\":{\"keccak256\":\"0x14e91c94e35c50efcd97e13609f686499c1dfa726ee0b3f6078fa4b99bde9a0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d9a7efa21d03180ded0e99d7ba05abd5c8ebedf2439a5a78091b679eadc4064\",\"dweb:/ipfs/QmVUZPhYPTb2yY9381AL242tfVsb3iWxmE2XwqcN9HG6eW\"]}},\"version\":1}"}},"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol":{"BaseAbstractPlugin":{"abi":[{"inputs":[],"name":"transferFailed","type":"error"},{"inputs":[],"name":"ALGEBRA_BASE_PLUGIN_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"activeModules","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int24","name":"","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"collectPluginFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getActiveModuleNames","outputs":[{"internalType":"string[]","name":"moduleNames","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"ALGEBRA_BASE_PLUGIN_MANAGER()":"31b25d1a","activeModules(uint256)":"46b7748b","afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","collectPluginFee(address,uint256,address)":"e72c652d","defaultPluginConfig()":"689ea370","getActiveModuleNames()":"b6f78cc9","handlePluginFee(uint256,uint256)":"aa6b14bb","pool()":"16f0115b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"transferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ALGEBRA_BASE_PLUGIN_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeModules\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"collectPluginFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveModuleNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"moduleNames\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"params\":{\"amount\":\"Amount of tokens\",\"recipient\":\"Recipient address\",\"token\":\"The token address\"}},\"getActiveModuleNames()\":{\"returns\":{\"moduleNames\":\"Array of active module names\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}}},\"title\":\"Algebra's internal Integral 1.2.1 abstract plugin for `Base` plugins\",\"version\":1},\"userdoc\":{\"errors\":{\"transferFailed()\":[{\"notice\":\"Emitted if token transfer failed internally\"}]},\"kind\":\"user\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"defaultPluginConfig()\":{\"notice\":\"Returns plugin config\"},\"getActiveModuleNames()\":{\"notice\":\"Get all active module names\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"}},\"notice\":\"This contract inherits AbstractPlugin\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol\":\"BaseAbstractPlugin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol\":{\"keccak256\":\"0x33632479227a4b15d8a3d061227b09c4423a778c05b0b2f60bda1e8fad927d04\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://123728a15def0527e4e609e5424dede6527f3c7c0bf27d4c982e3883d8e7f929\",\"dweb:/ipfs/QmSsyNcHTDxb1Jh4drU7oZJmtD2eyhgF3RkmAiJTjbvbyd\"]},\"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol\":{\"keccak256\":\"0x8668bf51349f615ab941e9c30c563d12e5037a883dc9ccafe59eb75ea78e4d7d\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://683360746f021dde02b919ace2fba5a3ee59c428391993272625c6cd24acffc1\",\"dweb:/ipfs/QmW4H3TE3GWBrpZXE6NGUKupCEf7yFtLWpGDXwemF6cWB3\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0x9cee862dd93a6dc061a5e54a262bc9cc1e84ca6f3352176fb8c7138eec97ae0e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c1e17f9dd356b457ca024b11d5340a6564109d27f46fec43b9a4f97421a2b315\",\"dweb:/ipfs/QmVH7uBmx22RkbMsYTszsnvGBXssH5DtLMYGPwZEc2HPjN\"]},\"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol\":{\"keccak256\":\"0x28e2aac84d585bbe96ecb9d5cd124fa7cd5929584c70e43a7c96f6faa93022d3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d1347582a9d12cf03fc99ca899f7788f9223773be12c35aa2b8c2145d2e6a2c8\",\"dweb:/ipfs/QmYDrse9BuFsrwHxAZdghycY9F6XQfGDrm8ZifUfFnx2n3\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol\":{\"keccak256\":\"0xb87bef911483f054559e6567a5a958200131b5101fbcee1ed7daefcfc082faf7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://46c8f76cde3c16aed0446e98dc61ddb196288652f6a8735ed87d6e53a13b4142\",\"dweb:/ipfs/Qmd7omugWuFrjrCcwfeRQbeUS1FhqvhscTij4xtqCmjNKG\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol\":{\"keccak256\":\"0x1d8bb94007c874be2640401aeed6219392c07e8b2e779fa24c618adc58bd7ae0\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://55d37783d81c98cb58ed41e6d7283af5fb07261b676a833f632cd6d128fc2e04\",\"dweb:/ipfs/QmXiJ63fWeBfkfJkLzBv1zLDyCjn5shW44ugYv44CqtTca\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":{\"keccak256\":\"0x4f9b70282bac671383d001cffca1479dd64f507db84cdab16da886804c64a60c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b1bc8b774ab5027d97625c3ac01ee3f4bbdefcd012ff0bb0e4c9752096bd9562\",\"dweb:/ipfs/Qmcn5kGihMiZAMjwpY1f12nTSWMyrLqmXLvoifaqPtQYYo\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol\":{\"keccak256\":\"0xd6b18486bd0eaee545ad10115d33c527e5ba5ddff571120678e7db58ca00b726\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://470a64313758d0a26a6910c924eae39e5c4df6912c61e7239e0d930097f8512f\",\"dweb:/ipfs/QmY18B9x18hLCKQ3kAqjPhHzMvZxKrvNeUjPycKYodETaa\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol\":{\"keccak256\":\"0x02d0fb9c64fba4c4dd0509bb9333825c801a0587d5b957c46f5cb1c610acc447\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8480784b2654829c0958b00aa3109249ce9088dbe94b6eadeaf8e9138829a764\",\"dweb:/ipfs/QmeFG5AsPUQfhMPtvYC3f9BhGu7sVm71wj2PgXDczaM7XP\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":{\"keccak256\":\"0xbd9faad7e7599c61c3141cfe2dd2e423ad4746a6119f047b0ae6d2eccb77bc9c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0df4bed6cf34a8c0f6b971fb71411373b4d204afda35eabe8555d8cbe67e291\",\"dweb:/ipfs/QmY6z3BseKy3tEvmLVjhL7VFrNJRuQgDXJXNAFBkBQ218A\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":{\"keccak256\":\"0xe061f0f9b5b16934173b1127efe13ccfe80465db17156d91c04e018b31e993fa\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c607033ec09828f4a8667e7fd2e562814ec689d5806d95b4a248f57e0eff9d38\",\"dweb:/ipfs/QmbGBxBMSzPKitHmRjYJwGGEZVsXDQB6emSsZ19hjy6LUz\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":{\"keccak256\":\"0xcdaae6cd6af79c4f344e673fe886a980ef5203b15b49f7a466c336c0152ce6ae\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fa2d3073bd4ca013e2769cf0fa5b68f32cec4fa53a6cc66adb59d86e6293cf15\",\"dweb:/ipfs/QmcwveJdf3JLAPfFZShijKTTxMTP4joDDuSuFboXBe711S\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":{\"keccak256\":\"0x354b1e099e9a47ce6fdc2ff4a4549249fa9c54434bf4dedb14fd4afe7d94d2d5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d9efe57e2239df29c7290fc1a27c8f0a6d8aa1f9e4c9271efadb8b29b29d7058\",\"dweb:/ipfs/QmbRJqfJR62Bx7XhN8qNBk85zjpWfyxSSiC5vHpxXnYMKb\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol\":{\"keccak256\":\"0x14e91c94e35c50efcd97e13609f686499c1dfa726ee0b3f6078fa4b99bde9a0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d9a7efa21d03180ded0e99d7ba05abd5c8ebedf2439a5a78091b679eadc4064\",\"dweb:/ipfs/QmVUZPhYPTb2yY9381AL242tfVsb3iWxmE2XwqcN9HG6eW\"]}},\"version\":1}"}},"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol":{"UpgradeableAbstractPlugin":{"abi":[{"inputs":[],"name":"transferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"ALGEBRA_BASE_PLUGIN_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"activeModules","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int24","name":"","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"collectPluginFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getActiveModuleNames","outputs":[{"internalType":"string[]","name":"moduleNames","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pluginFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"ALGEBRA_BASE_PLUGIN_MANAGER()":"31b25d1a","activeModules(uint256)":"46b7748b","afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","collectPluginFee(address,uint256,address)":"e72c652d","defaultPluginConfig()":"689ea370","factory()":"c45a0155","getActiveModuleNames()":"b6f78cc9","handlePluginFee(uint256,uint256)":"aa6b14bb","pluginFactory()":"e2a1bd59","pool()":"16f0115b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"transferFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ALGEBRA_BASE_PLUGIN_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeModules\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"collectPluginFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveModuleNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"moduleNames\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pluginFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Uses storage for per-proxy data (pool) and immutables for shared data (factory, pluginFactory)\",\"events\":{\"Initialized(uint8)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"}},\"kind\":\"dev\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"params\":{\"amount\":\"Amount of tokens\",\"recipient\":\"Recipient address\",\"token\":\"The token address\"}},\"constructor\":{\"params\":{\"_factory\":\"The Algebra factory address\",\"_pluginFactory\":\"The plugin factory address\"}},\"getActiveModuleNames()\":{\"returns\":{\"moduleNames\":\"Array of active module names\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}}},\"stateVariables\":{\"ALGEBRA_BASE_PLUGIN_MANAGER\":{\"details\":\"The role can be granted in AlgebraFactory\"},\"activeModules\":{\"details\":\"Storage: active module names\"},\"defaultPluginConfig\":{\"details\":\"Storage: plugin configuration flags\"},\"factory\":{\"details\":\"Immutable: shared across all proxies (stored in implementation bytecode)\"},\"pluginFactory\":{\"details\":\"Immutable: shared across all proxies (stored in implementation bytecode)\"},\"pool\":{\"details\":\"Storage: unique per proxy (stored in proxy's storage)\"}},\"title\":\"Algebra Integral 1.2.2 Upgradeable Abstract Plugin\",\"version\":1},\"userdoc\":{\"errors\":{\"transferFailed()\":[{\"notice\":\"Emitted if token transfer failed internally\"}]},\"kind\":\"user\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"constructor\":{\"notice\":\"Constructor sets immutable values that are shared across ALL proxies\"},\"getActiveModuleNames()\":{\"notice\":\"Get all active module names\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"}},\"notice\":\"Base contract for upgradeable plugins using Beacon Proxy pattern\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol\":\"UpgradeableAbstractPlugin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol\":{\"keccak256\":\"0x5e50d5953c6db5fff06165da2b57f07f62e9f66a645bd18805251eeba68d7877\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://ab500ef898a3a0d2a96151ee3ff03f6445ead407cae80a6ee991db032167900e\",\"dweb:/ipfs/Qmeca6goUzunA24JpzrHhikSvLWMx8NDeLNa5msYqGngnV\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0x9cee862dd93a6dc061a5e54a262bc9cc1e84ca6f3352176fb8c7138eec97ae0e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c1e17f9dd356b457ca024b11d5340a6564109d27f46fec43b9a4f97421a2b315\",\"dweb:/ipfs/QmVH7uBmx22RkbMsYTszsnvGBXssH5DtLMYGPwZEc2HPjN\"]},\"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol\":{\"keccak256\":\"0x28e2aac84d585bbe96ecb9d5cd124fa7cd5929584c70e43a7c96f6faa93022d3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d1347582a9d12cf03fc99ca899f7788f9223773be12c35aa2b8c2145d2e6a2c8\",\"dweb:/ipfs/QmYDrse9BuFsrwHxAZdghycY9F6XQfGDrm8ZifUfFnx2n3\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol\":{\"keccak256\":\"0xb87bef911483f054559e6567a5a958200131b5101fbcee1ed7daefcfc082faf7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://46c8f76cde3c16aed0446e98dc61ddb196288652f6a8735ed87d6e53a13b4142\",\"dweb:/ipfs/Qmd7omugWuFrjrCcwfeRQbeUS1FhqvhscTij4xtqCmjNKG\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol\":{\"keccak256\":\"0x1d8bb94007c874be2640401aeed6219392c07e8b2e779fa24c618adc58bd7ae0\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://55d37783d81c98cb58ed41e6d7283af5fb07261b676a833f632cd6d128fc2e04\",\"dweb:/ipfs/QmXiJ63fWeBfkfJkLzBv1zLDyCjn5shW44ugYv44CqtTca\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":{\"keccak256\":\"0x4f9b70282bac671383d001cffca1479dd64f507db84cdab16da886804c64a60c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b1bc8b774ab5027d97625c3ac01ee3f4bbdefcd012ff0bb0e4c9752096bd9562\",\"dweb:/ipfs/Qmcn5kGihMiZAMjwpY1f12nTSWMyrLqmXLvoifaqPtQYYo\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol\":{\"keccak256\":\"0xd6b18486bd0eaee545ad10115d33c527e5ba5ddff571120678e7db58ca00b726\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://470a64313758d0a26a6910c924eae39e5c4df6912c61e7239e0d930097f8512f\",\"dweb:/ipfs/QmY18B9x18hLCKQ3kAqjPhHzMvZxKrvNeUjPycKYodETaa\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol\":{\"keccak256\":\"0x02d0fb9c64fba4c4dd0509bb9333825c801a0587d5b957c46f5cb1c610acc447\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8480784b2654829c0958b00aa3109249ce9088dbe94b6eadeaf8e9138829a764\",\"dweb:/ipfs/QmeFG5AsPUQfhMPtvYC3f9BhGu7sVm71wj2PgXDczaM7XP\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":{\"keccak256\":\"0xbd9faad7e7599c61c3141cfe2dd2e423ad4746a6119f047b0ae6d2eccb77bc9c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0df4bed6cf34a8c0f6b971fb71411373b4d204afda35eabe8555d8cbe67e291\",\"dweb:/ipfs/QmY6z3BseKy3tEvmLVjhL7VFrNJRuQgDXJXNAFBkBQ218A\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":{\"keccak256\":\"0xe061f0f9b5b16934173b1127efe13ccfe80465db17156d91c04e018b31e993fa\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c607033ec09828f4a8667e7fd2e562814ec689d5806d95b4a248f57e0eff9d38\",\"dweb:/ipfs/QmbGBxBMSzPKitHmRjYJwGGEZVsXDQB6emSsZ19hjy6LUz\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":{\"keccak256\":\"0xcdaae6cd6af79c4f344e673fe886a980ef5203b15b49f7a466c336c0152ce6ae\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fa2d3073bd4ca013e2769cf0fa5b68f32cec4fa53a6cc66adb59d86e6293cf15\",\"dweb:/ipfs/QmcwveJdf3JLAPfFZShijKTTxMTP4joDDuSuFboXBe711S\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":{\"keccak256\":\"0x354b1e099e9a47ce6fdc2ff4a4549249fa9c54434bf4dedb14fd4afe7d94d2d5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d9efe57e2239df29c7290fc1a27c8f0a6d8aa1f9e4c9271efadb8b29b29d7058\",\"dweb:/ipfs/QmbRJqfJR62Bx7XhN8qNBk85zjpWfyxSSiC5vHpxXnYMKb\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol\":{\"keccak256\":\"0x14e91c94e35c50efcd97e13609f686499c1dfa726ee0b3f6078fa4b99bde9a0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d9a7efa21d03180ded0e99d7ba05abd5c8ebedf2439a5a78091b679eadc4064\",\"dweb:/ipfs/QmVUZPhYPTb2yY9381AL242tfVsb3iWxmE2XwqcN9HG6eW\"]},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x89be10e757d242e9b18d5a32c9fbe2019f6d63052bbe46397a430a1d60d7f794\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f103ee2e4aecd37aac6ceefe670709cdd7613dee25fa2d4d9feaf7fc0aaa155e\",\"dweb:/ipfs/QmRiNZLoJk5k3HPMYGPGjZFd2ke1ZxjhJZkM45Ec9GH9hv\"]},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://310136ad60820af4177a11a61d77a3686faf5fca4942b600e08fc940db38396b\",\"dweb:/ipfs/QmbCzMNSTL7Zi7M4UCSqBrkHtp4jjxUnGbkneCZKdR1qeq\"]}},\"version\":1}"}},"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol":{"IAbstractPlugin":{"abi":[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"uint256","name":"paid0","type":"uint256"},{"internalType":"uint256","name":"paid1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"int128","name":"desiredLiquidityDelta","type":"int128"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"int128","name":"desiredLiquidityDelta","type":"int128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"uint24","name":"pluginFee","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"bool","name":"withPaymentInAdvance","type":"bool"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"uint24","name":"feeOverride","type":"uint24"},{"internalType":"uint24","name":"pluginFee","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"collectPluginFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getActiveModuleNames","outputs":[{"internalType":"string[]","name":"moduleNames","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pluginFee0","type":"uint256"},{"internalType":"uint256","name":"pluginFee1","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","collectPluginFee(address,uint256,address)":"e72c652d","defaultPluginConfig()":"689ea370","getActiveModuleNames()":"b6f78cc9","handlePluginFee(uint256,uint256)":"aa6b14bb"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"desiredLiquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"desiredLiquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"withPaymentInAdvance\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"feeOverride\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"collectPluginFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveModuleNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"moduleNames\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pluginFee0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pluginFee1\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being requested for flash\",\"amount1\":\"The amount of token1 being requested for flash\",\"data\":\"Data that passed through the callback\",\"paid0\":\"The amount of token0 being paid for flash\",\"paid1\":\"The amount of token1 being paid for flash\",\"recipient\":\"The address which will receive the token0 and token1 amounts\",\"sender\":\"The initial msg.sender for the flash call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterInitialize(address,uint160,int24)\":{\"params\":{\"sender\":\"The initial msg.sender for the initialize call\",\"sqrtPriceX96\":\"The sqrt(price) of the pool as a Q64.96\",\"tick\":\"The current tick after the state of a pool is initialized\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 sent to the recipient or was paid to mint\",\"amount1\":\"The amount of token0 sent to the recipient or was paid to mint\",\"bottomTick\":\"The lower tick of the position\",\"data\":\"Data that passed through the callback\",\"desiredLiquidityDelta\":\"The desired amount of liquidity to mint/burn\",\"recipient\":\"Address to which the liquidity will be assigned in case of a mint or to which tokens will be sent in case of a burn\",\"sender\":\"The initial msg.sender for the modify position call\",\"topTick\":\"The upper tick of the position\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)\":{\"params\":{\"amount0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"amount1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\",\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Data that passed through the callback\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"sender\":\"The initial msg.sender for the swap call\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeFlash(address,address,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being requested for flash\",\"amount1\":\"The amount of token1 being requested for flash\",\"data\":\"Data that passed through the callback\",\"recipient\":\"The address which will receive the token0 and token1 amounts\",\"sender\":\"The initial msg.sender for the flash call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeInitialize(address,uint160)\":{\"params\":{\"sender\":\"The initial msg.sender for the initialize call\",\"sqrtPriceX96\":\"The sqrt(price) of the pool as a Q64.96\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeModifyPosition(address,address,int24,int24,int128,bytes)\":{\"params\":{\"bottomTick\":\"The lower tick of the position\",\"data\":\"Data that passed through the callback\",\"desiredLiquidityDelta\":\"The desired amount of liquidity to mint/burn\",\"recipient\":\"Address to which the liquidity will be assigned in case of a mint or to which tokens will be sent in case of a burn\",\"sender\":\"The initial msg.sender for the modify position call\",\"topTick\":\"The upper tick of the position\"},\"returns\":{\"selector\":\"The function selector for the hook\"}},\"beforeSwap(address,address,bool,int256,uint160,bool,bytes)\":{\"params\":{\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Data that passed through the callback\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"sender\":\"The initial msg.sender for the swap call\",\"withPaymentInAdvance\":\"The flag indicating whether the `swapWithPaymentInAdvance` method was called\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"selector\":\"The function selector for the hook\"}},\"collectPluginFee(address,uint256,address)\":{\"params\":{\"amount\":\"Amount of tokens\",\"recipient\":\"Recipient address\",\"token\":\"The token address\"}},\"defaultPluginConfig()\":{\"returns\":{\"_0\":\"config Each bit of the config is responsible for enabling/disabling the hooks. The last bit indicates whether the plugin contains dynamic fees logic\"}},\"getActiveModuleNames()\":{\"returns\":{\"moduleNames\":\"Array of active module names\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}}},\"title\":\"The interface for the BasePlugin\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)\":{\"notice\":\"The hook called after flash\"},\"afterInitialize(address,uint160,int24)\":{\"notice\":\"The hook called after the state of a pool is initialized\"},\"afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)\":{\"notice\":\"The hook called after a position is modified\"},\"afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)\":{\"notice\":\"The hook called after a swap\"},\"beforeFlash(address,address,uint256,uint256,bytes)\":{\"notice\":\"The hook called before flash\"},\"beforeInitialize(address,uint160)\":{\"notice\":\"The hook called before the state of a pool is initialized\"},\"beforeModifyPosition(address,address,int24,int24,int128,bytes)\":{\"notice\":\"The hook called before a position is modified\"},\"beforeSwap(address,address,bool,int256,uint160,bool,bytes)\":{\"notice\":\"The hook called before a swap\"},\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"defaultPluginConfig()\":{\"notice\":\"Returns plugin config\"},\"getActiveModuleNames()\":{\"notice\":\"Get all active module names\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":\"IAbstractPlugin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0x9cee862dd93a6dc061a5e54a262bc9cc1e84ca6f3352176fb8c7138eec97ae0e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c1e17f9dd356b457ca024b11d5340a6564109d27f46fec43b9a4f97421a2b315\",\"dweb:/ipfs/QmVH7uBmx22RkbMsYTszsnvGBXssH5DtLMYGPwZEc2HPjN\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol":{"Timestamp":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Can be overridden in tests to make testing easier\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Abstract contract with modified blockTimestamp functionality\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Allows the pool and other contracts to get a timestamp truncated to 32 bits\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol\":\"Timestamp\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol\":{\"keccak256\":\"0x28e2aac84d585bbe96ecb9d5cd124fa7cd5929584c70e43a7c96f6faa93022d3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d1347582a9d12cf03fc99ca899f7788f9223773be12c35aa2b8c2145d2e6a2c8\",\"dweb:/ipfs/QmYDrse9BuFsrwHxAZdghycY9F6XQfGDrm8ZifUfFnx2n3\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol":{"IAlgebraFactory":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"deployer","type":"address"},{"indexed":true,"internalType":"address","name":"token0","type":"address"},{"indexed":true,"internalType":"address","name":"token1","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"}],"name":"CustomPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newDefaultCommunityFee","type":"uint16"}],"name":"DefaultCommunityFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newDefaultFee","type":"uint16"}],"name":"DefaultFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defaultPluginFactoryAddress","type":"address"}],"name":"DefaultPluginFactory","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"int24","name":"newDefaultTickspacing","type":"int24"}],"name":"DefaultTickspacing","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token0","type":"address"},{"indexed":true,"internalType":"address","name":"token1","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"}],"name":"Pool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"RenounceOwnershipFinish","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"finishTimestamp","type":"uint256"}],"name":"RenounceOwnershipStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"RenounceOwnershipStop","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newVaultFactory","type":"address"}],"name":"VaultFactory","type":"event"},{"inputs":[],"name":"CUSTOM_POOL_DEPLOYER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOLS_ADMINISTRATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL_INIT_CODE_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"customDeployer","type":"address"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"computeCustomPoolAddress","outputs":[{"internalType":"address","name":"customPool","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"computePoolAddress","outputs":[{"internalType":"address","name":"pool","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"deployer","type":"address"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"createCustomPool","outputs":[{"internalType":"address","name":"customPool","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"createPool","outputs":[{"internalType":"address","name":"pool","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"customDeployer","type":"address"},{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"customPoolByPair","outputs":[{"internalType":"address","name":"customPool","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultCommunityFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultConfigurationForPool","outputs":[{"internalType":"uint16","name":"communityFee","type":"uint16"},{"internalType":"int24","name":"tickSpacing","type":"int24"},{"internalType":"uint16","name":"fee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultPluginFactory","outputs":[{"internalType":"contract IAlgebraPluginFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultTickspacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRoleOrOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"poolByPair","outputs":[{"internalType":"address","name":"pool","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolDeployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnershipStartTimestamp","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"newDefaultCommunityFee","type":"uint16"}],"name":"setDefaultCommunityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newDefaultFee","type":"uint16"}],"name":"setDefaultFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDefaultPluginFactory","type":"address"}],"name":"setDefaultPluginFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int24","name":"newDefaultTickspacing","type":"int24"}],"name":"setDefaultTickspacing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newVaultFactory","type":"address"}],"name":"setVaultFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startRenounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopRenounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vaultFactory","outputs":[{"internalType":"contract IAlgebraVaultFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"CUSTOM_POOL_DEPLOYER()":"07810754","POOLS_ADMINISTRATOR_ROLE()":"b500a48b","POOL_INIT_CODE_HASH()":"dc6fd8ab","computeCustomPoolAddress(address,address,address)":"1ba89df4","computePoolAddress(address,address)":"d8ed2241","createCustomPool(address,address,address,address,bytes)":"dbbf3db4","createPool(address,address,bytes)":"321935c6","customPoolByPair(address,address,address)":"23da36cc","defaultCommunityFee()":"2f8a39dd","defaultConfigurationForPool()":"25b355d6","defaultFee()":"5a6c72d0","defaultPluginFactory()":"d0ad2792","defaultTickspacing()":"29bc3446","hasRoleOrOwner(bytes32,address)":"e8ae2b69","owner()":"8da5cb5b","poolByPair(address,address)":"d9a641e1","poolDeployer()":"3119049a","renounceOwnershipStartTimestamp()":"084bfff9","setDefaultCommunityFee(uint16)":"8d5a8711","setDefaultFee(uint16)":"77326584","setDefaultPluginFactory(address)":"2939dd97","setDefaultTickspacing(int24)":"f09489ac","setVaultFactory(address)":"3ea7fbdb","startRenounceOwnership()":"469388c4","stopRenounceOwnership()":"238a1d74","vaultFactory()":"d8a06f73"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"CustomPool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"newDefaultCommunityFee\",\"type\":\"uint16\"}],\"name\":\"DefaultCommunityFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"newDefaultFee\",\"type\":\"uint16\"}],\"name\":\"DefaultFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"defaultPluginFactoryAddress\",\"type\":\"address\"}],\"name\":\"DefaultPluginFactory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"newDefaultTickspacing\",\"type\":\"int24\"}],\"name\":\"DefaultTickspacing\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"Pool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"RenounceOwnershipFinish\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"finishTimestamp\",\"type\":\"uint256\"}],\"name\":\"RenounceOwnershipStart\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"RenounceOwnershipStop\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newVaultFactory\",\"type\":\"address\"}],\"name\":\"VaultFactory\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"CUSTOM_POOL_DEPLOYER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOLS_ADMINISTRATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_INIT_CODE_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"customDeployer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"}],\"name\":\"computeCustomPoolAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"customPool\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"}],\"name\":\"computePoolAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"createCustomPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"customPool\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"createPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"customDeployer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"customPoolByPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"customPool\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultCommunityFee\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultConfigurationForPool\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"communityFee\",\"type\":\"uint16\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"fee\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultFee\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginFactory\",\"outputs\":[{\"internalType\":\"contract IAlgebraPluginFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultTickspacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRoleOrOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"poolByPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolDeployer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnershipStartTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newDefaultCommunityFee\",\"type\":\"uint16\"}],\"name\":\"setDefaultCommunityFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newDefaultFee\",\"type\":\"uint16\"}],\"name\":\"setDefaultFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newDefaultPluginFactory\",\"type\":\"address\"}],\"name\":\"setDefaultPluginFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"newDefaultTickspacing\",\"type\":\"int24\"}],\"name\":\"setDefaultTickspacing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newVaultFactory\",\"type\":\"address\"}],\"name\":\"setVaultFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startRenounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopRenounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vaultFactory\",\"outputs\":[{\"internalType\":\"contract IAlgebraVaultFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\",\"events\":{\"CustomPool(address,address,address,address)\":{\"params\":{\"deployer\":\"The corresponding custom deployer contract\",\"pool\":\"The address of the created pool\",\"token0\":\"The first token of the pool by address sort order\",\"token1\":\"The second token of the pool by address sort order\"}},\"DefaultCommunityFee(uint16)\":{\"params\":{\"newDefaultCommunityFee\":\"The new default community fee value\"}},\"DefaultFee(uint16)\":{\"params\":{\"newDefaultFee\":\"The new default fee value\"}},\"DefaultPluginFactory(address)\":{\"params\":{\"defaultPluginFactoryAddress\":\"The new defaultPluginFactory address\"}},\"DefaultTickspacing(int24)\":{\"params\":{\"newDefaultTickspacing\":\"The new default tickspacing value\"}},\"Pool(address,address,address)\":{\"params\":{\"pool\":\"The address of the created pool\",\"token0\":\"The first token of the pool by address sort order\",\"token1\":\"The second token of the pool by address sort order\"}},\"RenounceOwnershipFinish(uint256)\":{\"params\":{\"timestamp\":\"The timestamp of ownership renouncement\"}},\"RenounceOwnershipStart(uint256,uint256)\":{\"params\":{\"finishTimestamp\":\"The timestamp when ownership renounce will be possible to finish\",\"timestamp\":\"The timestamp of event\"}},\"RenounceOwnershipStop(uint256)\":{\"params\":{\"timestamp\":\"The timestamp of event\"}},\"VaultFactory(address)\":{\"params\":{\"newVaultFactory\":\"The new vaultFactory address\"}}},\"kind\":\"dev\",\"methods\":{\"CUSTOM_POOL_DEPLOYER()\":{\"returns\":{\"_0\":\"The hash corresponding to this role\"}},\"POOLS_ADMINISTRATOR_ROLE()\":{\"returns\":{\"_0\":\"The hash corresponding to this role\"}},\"POOL_INIT_CODE_HASH()\":{\"details\":\"the hash value changes with any change in the pool bytecode\",\"returns\":{\"_0\":\"Keccak256 hash of AlgebraPool contract init bytecode\"}},\"computeCustomPoolAddress(address,address,address)\":{\"details\":\"The method does not check if such a pool has been created\",\"params\":{\"customDeployer\":\"the address of custom plugin deployer\",\"token0\":\"first token\",\"token1\":\"second token\"},\"returns\":{\"customPool\":\"The contract address of the Algebra pool\"}},\"computePoolAddress(address,address)\":{\"details\":\"The method does not check if such a pool has been created\",\"params\":{\"token0\":\"first token\",\"token1\":\"second token\"},\"returns\":{\"pool\":\"The contract address of the Algebra pool\"}},\"createCustomPool(address,address,address,address,bytes)\":{\"details\":\"tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. The call will revert if the pool already exists or the token arguments are invalid.\",\"params\":{\"creator\":\"The initiator of custom pool creation\",\"data\":\"The additional data bytes\",\"deployer\":\"The address of plugin deployer, also used for custom pool address calculation\",\"tokenA\":\"One of the two tokens in the desired pool\",\"tokenB\":\"The other of the two tokens in the desired pool\"},\"returns\":{\"customPool\":\"The address of the newly created custom pool\"}},\"createPool(address,address,bytes)\":{\"details\":\"tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. The call will revert if the pool already exists or the token arguments are invalid.\",\"params\":{\"data\":\"Data for plugin creation\",\"tokenA\":\"One of the two tokens in the desired pool\",\"tokenB\":\"The other of the two tokens in the desired pool\"},\"returns\":{\"pool\":\"The address of the newly created pool\"}},\"customPoolByPair(address,address,address)\":{\"details\":\"tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\",\"params\":{\"customDeployer\":\"The address of custom plugin deployer\",\"tokenA\":\"The contract address of either token0 or token1\",\"tokenB\":\"The contract address of the other token\"},\"returns\":{\"customPool\":\"The pool address\"}},\"defaultCommunityFee()\":{\"returns\":{\"_0\":\"Fee which will be set at the creation of the pool\"}},\"defaultConfigurationForPool()\":{\"returns\":{\"communityFee\":\"which will be set at the creation of the pool\",\"fee\":\"which will be set at the creation of the pool\",\"tickSpacing\":\"which will be set at the creation of the pool\"}},\"defaultFee()\":{\"returns\":{\"_0\":\"Fee which will be set at the creation of the pool\"}},\"defaultPluginFactory()\":{\"details\":\"This contract is used to automatically set a plugin address in new liquidity pools\",\"returns\":{\"_0\":\"Algebra plugin factory\"}},\"defaultTickspacing()\":{\"returns\":{\"_0\":\"Tickspacing which will be set at the creation of the pool\"}},\"hasRoleOrOwner(bytes32,address)\":{\"params\":{\"account\":\"The address for which the role is checked\",\"role\":\"The hash corresponding to the role\"},\"returns\":{\"_0\":\"bool Whether the address has this role or the owner role or not\"}},\"owner()\":{\"details\":\"Can be changed by the current owner via transferOwnership(address newOwner)\",\"returns\":{\"_0\":\"The address of the factory owner\"}},\"poolByPair(address,address)\":{\"details\":\"tokenA and tokenB may be passed in either token0/token1 or token1/token0 order\",\"params\":{\"tokenA\":\"The contract address of either token0 or token1\",\"tokenB\":\"The contract address of the other token\"},\"returns\":{\"pool\":\"The pool address\"}},\"poolDeployer()\":{\"returns\":{\"_0\":\"The address of the poolDeployer\"}},\"renounceOwnershipStartTimestamp()\":{\"returns\":{\"timestamp\":\"The timestamp of the beginning of the renounceOwnership process\"}},\"setDefaultCommunityFee(uint16)\":{\"details\":\"updates default community fee for new pools\",\"params\":{\"newDefaultCommunityFee\":\"The new community fee, _must_ be <= MAX_COMMUNITY_FEE\"}},\"setDefaultFee(uint16)\":{\"details\":\"updates default fee for new pools\",\"params\":{\"newDefaultFee\":\"The new  fee, _must_ be <= MAX_DEFAULT_FEE\"}},\"setDefaultPluginFactory(address)\":{\"details\":\"updates pluginFactory address\",\"params\":{\"newDefaultPluginFactory\":\"address of new plugin factory\"}},\"setDefaultTickspacing(int24)\":{\"details\":\"updates default tickspacing for new pools\",\"params\":{\"newDefaultTickspacing\":\"The new tickspacing, _must_ be <= MAX_TICK_SPACING and >= MIN_TICK_SPACING\"}},\"setVaultFactory(address)\":{\"details\":\"updates vaultFactory address\",\"params\":{\"newVaultFactory\":\"address of new vault factory\"}},\"vaultFactory()\":{\"details\":\"This contract is used to automatically set a vault address in new liquidity pools\",\"returns\":{\"_0\":\"Algebra vault factory\"}}},\"title\":\"The interface for the Algebra Factory\",\"version\":1},\"userdoc\":{\"events\":{\"CustomPool(address,address,address,address)\":{\"notice\":\"Emitted when a pool is created\"},\"DefaultCommunityFee(uint16)\":{\"notice\":\"Emitted when the default community fee is changed\"},\"DefaultFee(uint16)\":{\"notice\":\"Emitted when the default fee is changed\"},\"DefaultPluginFactory(address)\":{\"notice\":\"Emitted when the defaultPluginFactory address is changed\"},\"DefaultTickspacing(int24)\":{\"notice\":\"Emitted when the default tickspacing is changed\"},\"Pool(address,address,address)\":{\"notice\":\"Emitted when a pool is created\"},\"RenounceOwnershipFinish(uint256)\":{\"notice\":\"Emitted when a process of ownership renounce finished\"},\"RenounceOwnershipStart(uint256,uint256)\":{\"notice\":\"Emitted when a process of ownership renounce is started\"},\"RenounceOwnershipStop(uint256)\":{\"notice\":\"Emitted when a process of ownership renounce cancelled\"},\"VaultFactory(address)\":{\"notice\":\"Emitted when the vaultFactory address is changed\"}},\"kind\":\"user\",\"methods\":{\"CUSTOM_POOL_DEPLOYER()\":{\"notice\":\"role that can call `createCustomPool` function\"},\"POOLS_ADMINISTRATOR_ROLE()\":{\"notice\":\"role that can change communityFee and tickspacing in pools\"},\"POOL_INIT_CODE_HASH()\":{\"notice\":\"returns keccak256 of AlgebraPool init bytecode.\"},\"computeCustomPoolAddress(address,address,address)\":{\"notice\":\"Deterministically computes the custom pool address given the customDeployer, token0 and token1\"},\"computePoolAddress(address,address)\":{\"notice\":\"Deterministically computes the pool address given the token0 and token1\"},\"createCustomPool(address,address,address,address,bytes)\":{\"notice\":\"Creates a custom pool for the given two tokens using `deployer` contract\"},\"createPool(address,address,bytes)\":{\"notice\":\"Creates a pool for the given two tokens\"},\"customPoolByPair(address,address,address)\":{\"notice\":\"Returns the custom pool address for a customDeployer and a given pair of tokens, or address 0 if it does not exist\"},\"defaultCommunityFee()\":{\"notice\":\"Returns the default community fee\"},\"defaultConfigurationForPool()\":{\"notice\":\"Returns the default communityFee, tickspacing, fee and communityFeeVault for pool\"},\"defaultFee()\":{\"notice\":\"Returns the default fee\"},\"defaultPluginFactory()\":{\"notice\":\"Return the current pluginFactory address\"},\"defaultTickspacing()\":{\"notice\":\"Returns the default tickspacing\"},\"hasRoleOrOwner(bytes32,address)\":{\"notice\":\"Returns `true` if `account` has been granted `role` or `account` is owner.\"},\"owner()\":{\"notice\":\"Returns the current owner of the factory\"},\"poolByPair(address,address)\":{\"notice\":\"Returns the pool address for a given pair of tokens, or address 0 if it does not exist\"},\"poolDeployer()\":{\"notice\":\"Returns the current poolDeployerAddress\"},\"startRenounceOwnership()\":{\"notice\":\"Starts process of renounceOwnership. After that, a certain period of time must pass before the ownership renounce can be completed.\"},\"stopRenounceOwnership()\":{\"notice\":\"Stops process of renounceOwnership and removes timer.\"},\"vaultFactory()\":{\"notice\":\"Return the current vaultFactory address\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol\":\"IAlgebraFactory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol\":{\"keccak256\":\"0xb87bef911483f054559e6567a5a958200131b5101fbcee1ed7daefcfc082faf7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://46c8f76cde3c16aed0446e98dc61ddb196288652f6a8735ed87d6e53a13b4142\",\"dweb:/ipfs/Qmd7omugWuFrjrCcwfeRQbeUS1FhqvhscTij4xtqCmjNKG\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":{\"keccak256\":\"0xcdaae6cd6af79c4f344e673fe886a980ef5203b15b49f7a466c336c0152ce6ae\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fa2d3073bd4ca013e2769cf0fa5b68f32cec4fa53a6cc66adb59d86e6293cf15\",\"dweb:/ipfs/QmcwveJdf3JLAPfFZShijKTTxMTP4joDDuSuFboXBe711S\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol":{"IAlgebraPool":{"abi":[{"inputs":[],"name":"alreadyInitialized","type":"error"},{"inputs":[],"name":"arithmeticError","type":"error"},{"inputs":[],"name":"bottomTickLowerThanMIN","type":"error"},{"inputs":[],"name":"dynamicFeeActive","type":"error"},{"inputs":[],"name":"dynamicFeeDisabled","type":"error"},{"inputs":[],"name":"flashInsufficientPaid0","type":"error"},{"inputs":[],"name":"flashInsufficientPaid1","type":"error"},{"inputs":[],"name":"incorrectPluginFee","type":"error"},{"inputs":[],"name":"insufficientInputAmount","type":"error"},{"inputs":[],"name":"invalidAmountRequired","type":"error"},{"inputs":[{"internalType":"bytes4","name":"expectedSelector","type":"bytes4"}],"name":"invalidHookResponse","type":"error"},{"inputs":[],"name":"invalidLimitSqrtPrice","type":"error"},{"inputs":[],"name":"invalidNewCommunityFee","type":"error"},{"inputs":[],"name":"invalidNewTickSpacing","type":"error"},{"inputs":[],"name":"liquidityAdd","type":"error"},{"inputs":[],"name":"liquidityOverflow","type":"error"},{"inputs":[],"name":"liquiditySub","type":"error"},{"inputs":[],"name":"locked","type":"error"},{"inputs":[],"name":"notAllowed","type":"error"},{"inputs":[],"name":"notInitialized","type":"error"},{"inputs":[],"name":"pluginIsNotConnected","type":"error"},{"inputs":[],"name":"priceOutOfRange","type":"error"},{"inputs":[],"name":"tickInvalidLinks","type":"error"},{"inputs":[],"name":"tickIsNotInitialized","type":"error"},{"inputs":[],"name":"tickIsNotSpaced","type":"error"},{"inputs":[],"name":"tickOutOfRange","type":"error"},{"inputs":[],"name":"topTickAboveMAX","type":"error"},{"inputs":[],"name":"topTickLowerOrEqBottomTick","type":"error"},{"inputs":[],"name":"transferFailed","type":"error"},{"inputs":[],"name":"zeroAmountRequired","type":"error"},{"inputs":[],"name":"zeroLiquidityActual","type":"error"},{"inputs":[],"name":"zeroLiquidityDesired","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"int24","name":"bottomTick","type":"int24"},{"indexed":true,"internalType":"int24","name":"topTick","type":"int24"},{"indexed":false,"internalType":"uint128","name":"liquidityAmount","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint24","name":"pluginFee","type":"uint24"}],"name":"BurnFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"int24","name":"bottomTick","type":"int24"},{"indexed":true,"internalType":"int24","name":"topTick","type":"int24"},{"indexed":false,"internalType":"uint128","name":"amount0","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount1","type":"uint128"}],"name":"Collect","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"communityFeeNew","type":"uint16"}],"name":"CommunityFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newCommunityVault","type":"address"}],"name":"CommunityVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"ExcessTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"fee","type":"uint16"}],"name":"Fee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paid0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paid1","type":"uint256"}],"name":"Flash","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint160","name":"price","type":"uint160"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Initialize","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"int24","name":"bottomTick","type":"int24"},{"indexed":true,"internalType":"int24","name":"topTick","type":"int24"},{"indexed":false,"internalType":"uint128","name":"liquidityAmount","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newPluginAddress","type":"address"}],"name":"Plugin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"newPluginConfig","type":"uint8"}],"name":"PluginConfig","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Skim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"int256","name":"amount0","type":"int256"},{"indexed":false,"internalType":"int256","name":"amount1","type":"int256"},{"indexed":false,"internalType":"uint160","name":"price","type":"uint160"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint24","name":"overrideFee","type":"uint24"},{"indexed":false,"internalType":"uint24","name":"pluginFee","type":"uint24"}],"name":"SwapFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"int24","name":"newTickSpacing","type":"int24"}],"name":"TickSpacing","type":"event"},{"inputs":[{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"uint128","name":"amount0Requested","type":"uint128"},{"internalType":"uint128","name":"amount1Requested","type":"uint128"}],"name":"collect","outputs":[{"internalType":"uint128","name":"amount0","type":"uint128"},{"internalType":"uint128","name":"amount1","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"communityVault","outputs":[{"internalType":"address","name":"communityVaultAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint16","name":"currentFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCommunityFeePending","outputs":[{"internalType":"uint128","name":"communityFeePending0","type":"uint128"},{"internalType":"uint128","name":"communityFeePending1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPluginFeePending","outputs":[{"internalType":"uint128","name":"pluginFeePending0","type":"uint128"},{"internalType":"uint128","name":"pluginFeePending1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint128","name":"reserve0","type":"uint128"},{"internalType":"uint128","name":"reserve1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"globalState","outputs":[{"internalType":"uint160","name":"price","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"uint16","name":"lastFee","type":"uint16"},{"internalType":"uint8","name":"pluginConfig","type":"uint8"},{"internalType":"uint16","name":"communityFee","type":"uint16"},{"internalType":"bool","name":"unlocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint160","name":"initialPrice","type":"uint160"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isUnlocked","outputs":[{"internalType":"bool","name":"unlocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastFeeTransferTimestamp","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidity","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLiquidityPerTick","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"leftoversRecipient","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"uint128","name":"liquidityDesired","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"uint128","name":"liquidityActual","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nextTickGlobal","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"plugin","outputs":[{"internalType":"address","name":"pluginAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"key","type":"bytes32"}],"name":"positions","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"innerFeeGrowth0Token","type":"uint256"},{"internalType":"uint256","name":"innerFeeGrowth1Token","type":"uint256"},{"internalType":"uint128","name":"fees0","type":"uint128"},{"internalType":"uint128","name":"fees1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prevTickGlobal","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"safelyGetStateOfAMM","outputs":[{"internalType":"uint160","name":"sqrtPrice","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"uint16","name":"lastFee","type":"uint16"},{"internalType":"uint8","name":"pluginConfig","type":"uint8"},{"internalType":"uint128","name":"activeLiquidity","type":"uint128"},{"internalType":"int24","name":"nextTick","type":"int24"},{"internalType":"int24","name":"previousTick","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"newCommunityFee","type":"uint16"}],"name":"setCommunityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newCommunityVault","type":"address"}],"name":"setCommunityVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newFee","type":"uint16"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPluginAddress","type":"address"}],"name":"setPlugin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newConfig","type":"uint8"}],"name":"setPluginConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int24","name":"newTickSpacing","type":"int24"}],"name":"setTickSpacing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"leftoversRecipient","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountToSell","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swapWithPaymentInAdvance","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tickSpacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int16","name":"wordPosition","type":"int16"}],"name":"tickTable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickTreeRoot","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int16","name":"","type":"int16"}],"name":"tickTreeSecondLayer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int24","name":"tick","type":"int24"}],"name":"ticks","outputs":[{"internalType":"uint256","name":"liquidityTotal","type":"uint256"},{"internalType":"int128","name":"liquidityDelta","type":"int128"},{"internalType":"int24","name":"prevTick","type":"int24"},{"internalType":"int24","name":"nextTick","type":"int24"},{"internalType":"uint256","name":"outerFeeGrowth0Token","type":"uint256"},{"internalType":"uint256","name":"outerFeeGrowth1Token","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeGrowth0Token","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeGrowth1Token","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"burn(int24,int24,uint128,bytes)":"3b3bc70e","collect(address,int24,int24,uint128,uint128)":"4f1eb3d8","communityVault()":"53e97868","factory()":"c45a0155","fee()":"ddca3f43","flash(address,uint256,uint256,bytes)":"490e6cbc","getCommunityFeePending()":"7bd78025","getPluginFeePending()":"a1eded87","getReserves()":"0902f1ac","globalState()":"e76c01e4","initialize(uint160)":"f637731d","isUnlocked()":"8380edb7","lastFeeTransferTimestamp()":"77f8c3a9","liquidity()":"1a686502","maxLiquidityPerTick()":"70cf754a","mint(address,address,int24,int24,uint128,bytes)":"aafe29c0","nextTickGlobal()":"d5c35a7e","plugin()":"ef01df4f","positions(bytes32)":"514ea4bf","prevTickGlobal()":"050a4d21","safelyGetStateOfAMM()":"97ce1c51","setCommunityFee(uint16)":"240a875a","setCommunityVault(address)":"d8544cf3","setFee(uint16)":"8e005553","setPlugin(address)":"cc1f97cf","setPluginConfig(uint8)":"bca57f81","setTickSpacing(int24)":"f085a610","skim()":"1dd19cb4","swap(address,bool,int256,uint160,bytes)":"128acb08","swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)":"9e4e0227","sync()":"fff6cae9","tickSpacing()":"d0c93a7c","tickTable(int16)":"c677e3e0","tickTreeRoot()":"578b9a36","tickTreeSecondLayer(int16)":"d8619037","ticks(int24)":"f30dba93","token0()":"0dfe1681","token1()":"d21220a7","totalFeeGrowth0Token()":"6378ae44","totalFeeGrowth1Token()":"ecdecf42"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"alreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"arithmeticError\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"bottomTickLowerThanMIN\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"dynamicFeeActive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"dynamicFeeDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"flashInsufficientPaid0\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"flashInsufficientPaid1\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"incorrectPluginFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"insufficientInputAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"invalidAmountRequired\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"expectedSelector\",\"type\":\"bytes4\"}],\"name\":\"invalidHookResponse\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"invalidLimitSqrtPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"invalidNewCommunityFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"invalidNewTickSpacing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"liquidityAdd\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"liquidityOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"liquiditySub\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"locked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"notAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"notInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"pluginIsNotConnected\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"priceOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickInvalidLinks\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickIsNotInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickIsNotSpaced\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"topTickAboveMAX\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"topTickLowerOrEqBottomTick\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"transferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"zeroAmountRequired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"zeroLiquidityActual\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"zeroLiquidityDesired\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityAmount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"name\":\"BurnFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"Collect\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"communityFeeNew\",\"type\":\"uint16\"}],\"name\":\"CommunityFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newCommunityVault\",\"type\":\"address\"}],\"name\":\"CommunityVault\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"ExcessTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"fee\",\"type\":\"uint16\"}],\"name\":\"Fee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"paid0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"paid1\",\"type\":\"uint256\"}],\"name\":\"Flash\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"price\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Initialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityAmount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newPluginAddress\",\"type\":\"address\"}],\"name\":\"Plugin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"newPluginConfig\",\"type\":\"uint8\"}],\"name\":\"PluginConfig\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Skim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"price\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"overrideFee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"name\":\"SwapFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"newTickSpacing\",\"type\":\"int24\"}],\"name\":\"TickSpacing\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collect\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"communityVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"communityVaultAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"currentFee\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"flash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCommunityFeePending\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"communityFeePending0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"communityFeePending1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPluginFeePending\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"pluginFeePending0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"pluginFeePending1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"reserve0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"reserve1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"globalState\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"price\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"lastFee\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"pluginConfig\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"communityFee\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"initialPrice\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isUnlocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastFeeTransferTimestamp\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxLiquidityPerTick\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"leftoversRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"liquidityDesired\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidityActual\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextTickGlobal\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"plugin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pluginAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"innerFeeGrowth0Token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"innerFeeGrowth1Token\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"fees0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"fees1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"prevTickGlobal\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"safelyGetStateOfAMM\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"lastFee\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"pluginConfig\",\"type\":\"uint8\"},{\"internalType\":\"uint128\",\"name\":\"activeLiquidity\",\"type\":\"uint128\"},{\"internalType\":\"int24\",\"name\":\"nextTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"previousTick\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newCommunityFee\",\"type\":\"uint16\"}],\"name\":\"setCommunityFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newCommunityVault\",\"type\":\"address\"}],\"name\":\"setCommunityVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newFee\",\"type\":\"uint16\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPluginAddress\",\"type\":\"address\"}],\"name\":\"setPlugin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newConfig\",\"type\":\"uint8\"}],\"name\":\"setPluginConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"newTickSpacing\",\"type\":\"int24\"}],\"name\":\"setTickSpacing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"skim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"leftoversRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountToSell\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swapWithPaymentInAdvance\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"wordPosition\",\"type\":\"int16\"}],\"name\":\"tickTable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickTreeRoot\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"\",\"type\":\"int16\"}],\"name\":\"tickTreeSecondLayer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"ticks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidityTotal\",\"type\":\"uint256\"},{\"internalType\":\"int128\",\"name\":\"liquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"int24\",\"name\":\"prevTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"nextTick\",\"type\":\"int24\"},{\"internalType\":\"uint256\",\"name\":\"outerFeeGrowth0Token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outerFeeGrowth1Token\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalFeeGrowth0Token\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalFeeGrowth1Token\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"The pool interface is broken up into many smaller pieces. This interface includes custom error definitions and cannot be used in older versions of Solidity. For older versions of Solidity use #IAlgebraPoolLegacy Credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\",\"errors\":{\"invalidHookResponse(bytes4)\":[{\"params\":{\"expectedSelector\":\"The expected selector\"}}]},\"events\":{\"Burn(address,int24,int24,uint128,uint256,uint256)\":{\"details\":\"Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\",\"params\":{\"amount0\":\"The amount of token0 withdrawn\",\"amount1\":\"The amount of token1 withdrawn\",\"bottomTick\":\"The lower tick of the position\",\"liquidityAmount\":\"The amount of liquidity to remove\",\"owner\":\"The owner of the position for which liquidity is removed\",\"topTick\":\"The upper tick of the position\"}},\"BurnFee(address,uint24)\":{\"params\":{\"owner\":\"The owner of the position\",\"pluginFee\":\"The fee to be sent to the plugin\"}},\"Collect(address,address,int24,int24,uint128,uint128)\":{\"params\":{\"amount0\":\"The amount of token0 fees collected\",\"amount1\":\"The amount of token1 fees collected\",\"bottomTick\":\"The lower tick of the position\",\"owner\":\"The owner of the position for which fees are collected\",\"recipient\":\"The address that received fees\",\"topTick\":\"The upper tick of the position\"}},\"CommunityFee(uint16)\":{\"params\":{\"communityFeeNew\":\"The updated value of the community fee in thousandths (1e-3)\"}},\"CommunityVault(address)\":{\"params\":{\"newCommunityVault\":\"New community vault\"}},\"ExcessTokens(uint256,uint256)\":{\"details\":\"Fees after flash also will trigger this event due to mechanics of flash.\",\"params\":{\"amount0\":\"The excess of token0\",\"amount1\":\"The excess of token1\"}},\"Fee(uint16)\":{\"params\":{\"fee\":\"The current fee in hundredths of a bip, i.e. 1e-6\"}},\"Flash(address,address,uint256,uint256,uint256,uint256)\":{\"params\":{\"amount0\":\"The amount of token0 that was flashed\",\"amount1\":\"The amount of token1 that was flashed\",\"paid0\":\"The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\",\"paid1\":\"The amount of token1 paid for the flash, which can exceed the amount1 plus the fee\",\"recipient\":\"The address that received the tokens from flash\",\"sender\":\"The address that initiated the swap call, and that received the callback\"}},\"Initialize(uint160,int24)\":{\"details\":\"Mint/Burn/Swaps cannot be emitted by the pool before Initialize\",\"params\":{\"price\":\"The initial sqrt price of the pool, as a Q64.96\",\"tick\":\"The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool\"}},\"Mint(address,address,int24,int24,uint128,uint256,uint256)\":{\"params\":{\"amount0\":\"How much token0 was required for the minted liquidity\",\"amount1\":\"How much token1 was required for the minted liquidity\",\"bottomTick\":\"The lower tick of the position\",\"liquidityAmount\":\"The amount of liquidity minted to the position range\",\"owner\":\"The owner of the position and recipient of any minted liquidity\",\"sender\":\"The address that minted the liquidity\",\"topTick\":\"The upper tick of the position\"}},\"Plugin(address)\":{\"params\":{\"newPluginAddress\":\"New plugin address\"}},\"PluginConfig(uint8)\":{\"params\":{\"newPluginConfig\":\"New plugin config\"}},\"Skim(address,uint256,uint256)\":{\"params\":{\"amount0\":\"The amount of token0\",\"amount1\":\"The amount of token1\",\"to\":\"THe receiver of tokens (plugin)\"}},\"Swap(address,address,int256,int256,uint160,uint128,int24)\":{\"params\":{\"amount0\":\"The delta of the token0 balance of the pool\",\"amount1\":\"The delta of the token1 balance of the pool\",\"liquidity\":\"The liquidity of the pool after the swap\",\"price\":\"The sqrt(price) of the pool after the swap, as a Q64.96\",\"recipient\":\"The address that received the output of the swap\",\"sender\":\"The address that initiated the swap call, and that received the callback\",\"tick\":\"The log base 1.0001 of price of the pool after the swap\"}},\"SwapFee(address,uint24,uint24)\":{\"params\":{\"overrideFee\":\"The fee to be applied to the trade\",\"pluginFee\":\"The fee to be sent to the plugin\",\"sender\":\"The address that initiated the swap \"}},\"TickSpacing(int24)\":{\"params\":{\"newTickSpacing\":\"The updated value of the new tick spacing\"}}},\"kind\":\"dev\",\"methods\":{\"burn(int24,int24,uint128,bytes)\":{\"details\":\"Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0Fees must be collected separately via a call to #collect\",\"params\":{\"amount\":\"How much liquidity to burn\",\"bottomTick\":\"The lower tick of the position for which to burn liquidity\",\"data\":\"Any data that should be passed through to the plugin\",\"topTick\":\"The upper tick of the position for which to burn liquidity\"},\"returns\":{\"amount0\":\"The amount of token0 sent to the recipient\",\"amount1\":\"The amount of token1 sent to the recipient\"}},\"collect(address,int24,int24,uint128,uint128)\":{\"details\":\"Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity. Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\",\"params\":{\"amount0Requested\":\"How much token0 should be withdrawn from the fees owed\",\"amount1Requested\":\"How much token1 should be withdrawn from the fees owed\",\"bottomTick\":\"The lower tick of the position for which to collect fees\",\"recipient\":\"The address which should receive the fees collected\",\"topTick\":\"The upper tick of the position for which to collect fees\"},\"returns\":{\"amount0\":\"The amount of fees collected in token0\",\"amount1\":\"The amount of fees collected in token1\"}},\"communityVault()\":{\"returns\":{\"communityVaultAddress\":\"The communityVault address\"}},\"factory()\":{\"returns\":{\"_0\":\"The contract address\"}},\"fee()\":{\"details\":\"In case dynamic fee is enabled in the pool, this method will call the plugin to get the current fee. If the plugin implements complex fee logic, this method may return an incorrect value or revert. In this case, see the plugin implementation and related documentation.**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"currentFee\":\"The current pool fee value in hundredths of a bip, i.e. 1e-6\"}},\"flash(address,uint256,uint256,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraFlashCallback#algebraFlashCallbackAll excess tokens paid in the callback are distributed to currently in-range liquidity providers as an additional fee. If there are no in-range liquidity providers, the fee will be transferred to the first active provider in the future\",\"params\":{\"amount0\":\"The amount of token0 to send\",\"amount1\":\"The amount of token1 to send\",\"data\":\"Any data to be passed through to the callback\",\"recipient\":\"The address which will receive the token0 and token1 amounts\"}},\"getCommunityFeePending()\":{\"details\":\"Will be sent FEE_TRANSFER_FREQUENCY after communityFeeLastTimestamp\",\"returns\":{\"communityFeePending0\":\"The amount of token0 that will be sent to the vault\",\"communityFeePending1\":\"The amount of token1 that will be sent to the vault\"}},\"getPluginFeePending()\":{\"details\":\"Will be sent FEE_TRANSFER_FREQUENCY after feeLastTransferTimestamp\",\"returns\":{\"pluginFeePending0\":\"The amount of token0 that will be sent to the plugin\",\"pluginFeePending1\":\"The amount of token1 that will be sent to the plugin\"}},\"getReserves()\":{\"details\":\"If at any time the real balance is larger, the excess will be transferred to liquidity providers as additional fee. If the balance exceeds uint128, the excess will be sent to the communityVault.\",\"returns\":{\"reserve0\":\"The last known reserve of token0\",\"reserve1\":\"The last known reserve of token1\"}},\"globalState()\":{\"details\":\"**important security note: caller should check `unlocked` flag to prevent read-only reentrancy**\",\"returns\":{\"communityFee\":\"The community fee represented as a percent of all collected fee in thousandths, i.e. 1e-3 (so 100 is 10%)\",\"lastFee\":\"The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\",\"pluginConfig\":\"The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\",\"price\":\"The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\",\"tick\":\"The current tick of the pool, i.e. according to the last tick transition that was run This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\",\"unlocked\":\"Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false\"}},\"initialize(uint160)\":{\"details\":\"Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 valueInitialization should be done in one transaction with pool creation to avoid front-running\",\"params\":{\"initialPrice\":\"The initial sqrt price of the pool as a Q64.96\"}},\"isUnlocked()\":{\"details\":\"can be used to prevent read-only reentrancy. This method just returns `globalState.unlocked` value\",\"returns\":{\"unlocked\":\"Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false\"}},\"lastFeeTransferTimestamp()\":{\"returns\":{\"_0\":\"The timestamp truncated to 32 bits\"}},\"liquidity()\":{\"details\":\"This value has no relationship to the total liquidity across all ticks. Returned value cannot exceed type(uint128).max**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The current in range liquidity\"}},\"maxLiquidityPerTick()\":{\"details\":\"This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\",\"returns\":{\"_0\":\"The max amount of liquidity per tick\"}},\"mint(address,address,int24,int24,uint128,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraMintCallback#algebraMintCallback in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends on bottomTick, topTick, the amount of liquidity, and the current price.\",\"params\":{\"bottomTick\":\"The lower tick of the position in which to add liquidity\",\"data\":\"Any data that should be passed through to the callback\",\"leftoversRecipient\":\"The address which will receive potential surplus of paid tokens\",\"liquidityDesired\":\"The desired amount of liquidity to mint\",\"recipient\":\"The address for which the liquidity will be created\",\"topTick\":\"The upper tick of the position in which to add liquidity\"},\"returns\":{\"amount0\":\"The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\",\"amount1\":\"The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\",\"liquidityActual\":\"The actual minted amount of liquidity\"}},\"nextTickGlobal()\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The next initialized tick\"}},\"plugin()\":{\"details\":\"The plugin is subject to change\",\"returns\":{\"pluginAddress\":\"The address of currently used plugin\"}},\"positions(bytes32)\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"params\":{\"key\":\"The position's key is a packed concatenation of the owner address, bottomTick and topTick indexes\"},\"returns\":{\"fees0\":\"The computed amount of token0 owed to the position as of the last mint/burn/poke\",\"fees1\":\"The computed amount of token1 owed to the position as of the last mint/burn/poke\",\"innerFeeGrowth0Token\":\"Fee growth of token0 inside the tick range as of the last mint/burn/poke\",\"innerFeeGrowth1Token\":\"Fee growth of token1 inside the tick range as of the last mint/burn/poke\",\"liquidity\":\"The amount of liquidity in the position\"}},\"prevTickGlobal()\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The previous initialized tick\"}},\"safelyGetStateOfAMM()\":{\"details\":\"Several values exposed as a single method to save gas when accessed externally. **Important security note: this method checks reentrancy lock and should be preferred in most cases**.\",\"returns\":{\"activeLiquidity\":\" The currently in-range liquidity available to the pool\",\"lastFee\":\"The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\",\"nextTick\":\"The next initialized tick after current global tick\",\"pluginConfig\":\"The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\",\"previousTick\":\"The previous initialized tick before (or at) current global tick\",\"sqrtPrice\":\"The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\",\"tick\":\"The current global tick of the pool. May not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\"}},\"setCommunityFee(uint16)\":{\"params\":{\"newCommunityFee\":\"The new community fee percent in thousandths (1e-3)\"}},\"setCommunityVault(address)\":{\"details\":\"Community fee vault receives collected community fees. **accumulated but not yet sent to the vault community fees once will be sent to the `newCommunityVault` address**\",\"params\":{\"newCommunityVault\":\"The address of new community fee vault\"}},\"setFee(uint16)\":{\"params\":{\"newFee\":\"The new fee value\"}},\"setPlugin(address)\":{\"params\":{\"newPluginAddress\":\"The new plugin address\"}},\"setPluginConfig(uint8)\":{\"params\":{\"newConfig\":\"In the new configuration of the plugin, each bit of which is responsible for a particular hook.\"}},\"setTickSpacing(int24)\":{\"params\":{\"newTickSpacing\":\"The new tick spacing value\"}},\"skim()\":{\"details\":\"Only plugin can call this function\"},\"swap(address,bool,int256,uint160,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback\",\"params\":{\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"amount0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"amount1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\"}},\"swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback caller must send tokens in callback before swap calculation the actually sent amount of tokens is used for further calculations\",\"params\":{\"amountToSell\":\"The amount of the swap, only positive (exact input) amount allowed\",\"data\":\"Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\",\"leftoversRecipient\":\"The address which will receive potential surplus of paid tokens\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"amount0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"amount1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\"}},\"sync()\":{\"details\":\"Only plugin can call this function\"},\"tickSpacing()\":{\"details\":\"Ticks can only be initialized by new mints at multiples of this value e.g.: a tickSpacing of 60 means ticks can be initialized every 60th tick, i.e., ..., -120, -60, 0, 60, 120, ... However, tickspacing can be changed after the ticks have been initialized. This value is an int24 to avoid casting even though it is always positive.\",\"returns\":{\"_0\":\"The current tick spacing\"}},\"tickTable(int16)\":{\"params\":{\"wordPosition\":\"Index of 256-bits word with ticks\"},\"returns\":{\"_0\":\"The 256-bits word with packed ticks info\"}},\"tickTreeRoot()\":{\"details\":\"Each bit corresponds to one node in the second layer of tick tree: '1' if node has at least one active bit. **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The root of tick search tree as bitmap\"}},\"tickTreeSecondLayer(int16)\":{\"details\":\"Each bit in node corresponds to one node in the leafs layer (`tickTable`) of tick tree: '1' if leaf has at least one active bit. **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The node of tick search tree second layer\"}},\"ticks(int24)\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"params\":{\"tick\":\"The tick to look up\"},\"returns\":{\"liquidityDelta\":\"How much liquidity changes when the pool price crosses the tick\",\"liquidityTotal\":\"The total amount of position liquidity that uses the pool either as tick lower or tick upper\",\"nextTick\":\"The next tick in tick list\",\"outerFeeGrowth0Token\":\"The fee growth on the other side of the tick from the current tick in token0\",\"outerFeeGrowth1Token\":\"The fee growth on the other side of the tick from the current tick in token1 In addition, these values are only relative and must be used only in comparison to previous snapshots for a specific position.\",\"prevTick\":\"The previous tick in tick list\"}},\"token0()\":{\"returns\":{\"_0\":\"The token contract address\"}},\"token1()\":{\"returns\":{\"_0\":\"The token contract address\"}},\"totalFeeGrowth0Token()\":{\"details\":\"This value can overflow the uint256\",\"returns\":{\"_0\":\"The fee growth accumulator for token0\"}},\"totalFeeGrowth1Token()\":{\"details\":\"This value can overflow the uint256\",\"returns\":{\"_0\":\"The fee growth accumulator for token1\"}}},\"title\":\"The interface for a Algebra Pool\",\"version\":1},\"userdoc\":{\"errors\":{\"alreadyInitialized()\":[{\"notice\":\"Emitted if an attempt is made to initialize the pool twice\"}],\"arithmeticError()\":[{\"notice\":\"Emitted if arithmetic error occurred\"}],\"bottomTickLowerThanMIN()\":[{\"notice\":\"Emitted if the bottomTick param is lower than min allowed value\"}],\"dynamicFeeActive()\":[{\"notice\":\"Emitted if an attempt is made to manually change the fee value, but dynamic fee is enabled\"}],\"dynamicFeeDisabled()\":[{\"notice\":\"Emitted if an attempt is made by plugin to change the fee value, but dynamic fee is disabled\"}],\"flashInsufficientPaid0()\":[{\"notice\":\"Emitted if the pool received fewer tokens0 after flash than it should have\"}],\"flashInsufficientPaid1()\":[{\"notice\":\"Emitted if the pool received fewer tokens1 after flash than it should have\"}],\"incorrectPluginFee()\":[{\"notice\":\"Emitted if plugin fee param greater than fee/override fee\"}],\"insufficientInputAmount()\":[{\"notice\":\"Emitted if the pool received fewer tokens than it should have\"}],\"invalidAmountRequired()\":[{\"notice\":\"Emitted if invalid amount is passed as amountRequired to swap function\"}],\"invalidHookResponse(bytes4)\":[{\"notice\":\"Emitted if a plugin returns invalid selector after hook call\"}],\"invalidLimitSqrtPrice()\":[{\"notice\":\"Emitted if limitSqrtPrice param is incorrect\"}],\"invalidNewCommunityFee()\":[{\"notice\":\"Emitted if new community fee exceeds max allowed value\"}],\"invalidNewTickSpacing()\":[{\"notice\":\"Emitted if new tick spacing exceeds max allowed value\"}],\"liquidityAdd()\":[{\"notice\":\"Emitted if liquidity overflows\"}],\"liquidityOverflow()\":[{\"notice\":\"Emitted if the liquidity value associated with the tick exceeds MAX_LIQUIDITY_PER_TICK\"}],\"liquiditySub()\":[{\"notice\":\"Emitted if liquidity underflows\"}],\"locked()\":[{\"notice\":\"Emitted by the reentrancy guard\"}],\"notAllowed()\":[{\"notice\":\"Emitted if a method is called that is accessible only to the factory owner or dedicated role\"}],\"notInitialized()\":[{\"notice\":\"Emitted if an attempt is made to mint or swap in uninitialized pool\"}],\"pluginIsNotConnected()\":[{\"notice\":\"Emitted if an attempt is made to change the plugin configuration, but the plugin is not connected\"}],\"priceOutOfRange()\":[{\"notice\":\"Emitted if price is greater than the maximum or less than the minimum allowed value\"}],\"tickInvalidLinks()\":[{\"notice\":\"Emitted if there is an attempt to insert a new tick into the list of ticks with incorrect indexes of the previous and next ticks\"}],\"tickIsNotInitialized()\":[{\"notice\":\"Emitted if an attempt is made to interact with an uninitialized tick\"}],\"tickIsNotSpaced()\":[{\"notice\":\"Tick must be divisible by tickspacing\"}],\"tickOutOfRange()\":[{\"notice\":\"Emitted if tick is greater than the maximum or less than the minimum allowed value\"}],\"topTickAboveMAX()\":[{\"notice\":\"Emitted if the topTick param is greater than max allowed value\"}],\"topTickLowerOrEqBottomTick()\":[{\"notice\":\"Emitted if the topTick param not greater then the bottomTick param\"}],\"transferFailed()\":[{\"notice\":\"Emitted if token transfer failed internally\"}],\"zeroAmountRequired()\":[{\"notice\":\"Emitted if 0 is passed as amountRequired to swap function\"}],\"zeroLiquidityActual()\":[{\"notice\":\"Emitted if actual amount of liquidity is zero (due to insufficient amount of tokens received)\"}],\"zeroLiquidityDesired()\":[{\"notice\":\"Emitted if there was an attempt to mint zero liquidity\"}]},\"events\":{\"Burn(address,int24,int24,uint128,uint256,uint256)\":{\"notice\":\"Emitted when a position's liquidity is removed\"},\"BurnFee(address,uint24)\":{\"notice\":\"Emitted when a plugin fee is applied during a burn\"},\"Collect(address,address,int24,int24,uint128,uint128)\":{\"notice\":\"Emitted when fees are collected by the owner of a position\"},\"CommunityFee(uint16)\":{\"notice\":\"Emitted when the community fee is changed by the pool\"},\"CommunityVault(address)\":{\"notice\":\"Emitted when the community vault address changes\"},\"ExcessTokens(uint256,uint256)\":{\"notice\":\"Emitted when the pool has higher balances than expected. Any excess of tokens will be distributed between liquidity providers as fee.\"},\"Fee(uint16)\":{\"notice\":\"Emitted when the fee changes inside the pool\"},\"Flash(address,address,uint256,uint256,uint256,uint256)\":{\"notice\":\"Emitted by the pool for any flashes of token0/token1\"},\"Initialize(uint160,int24)\":{\"notice\":\"Emitted exactly once by a pool when #initialize is first called on the pool\"},\"Mint(address,address,int24,int24,uint128,uint256,uint256)\":{\"notice\":\"Emitted when liquidity is minted for a given position\"},\"Plugin(address)\":{\"notice\":\"Emitted when the plugin address changes\"},\"PluginConfig(uint8)\":{\"notice\":\"Emitted when the plugin config changes\"},\"Skim(address,uint256,uint256)\":{\"notice\":\"Emitted when the plugin does skim the excess of tokens\"},\"Swap(address,address,int256,int256,uint160,uint128,int24)\":{\"notice\":\"Emitted by the pool for any swaps between token0 and token1\"},\"SwapFee(address,uint24,uint24)\":{\"notice\":\"Emitted by the pool after any swaps \"},\"TickSpacing(int24)\":{\"notice\":\"Emitted when the tick spacing changes\"}},\"kind\":\"user\",\"methods\":{\"burn(int24,int24,uint128,bytes)\":{\"notice\":\"Burn liquidity from the sender and account tokens owed for the liquidity to the position\"},\"collect(address,int24,int24,uint128,uint128)\":{\"notice\":\"Collects tokens owed to a position\"},\"communityVault()\":{\"notice\":\"The contract to which community fees are transferred\"},\"factory()\":{\"notice\":\"The Algebra factory contract, which must adhere to the IAlgebraFactory interface\"},\"fee()\":{\"notice\":\"The current pool fee value\"},\"flash(address,uint256,uint256,bytes)\":{\"notice\":\"Receive token0 and/or token1 and pay it back, plus a fee, in the callback\"},\"getCommunityFeePending()\":{\"notice\":\"The amounts of token0 and token1 that will be sent to the vault\"},\"getPluginFeePending()\":{\"notice\":\"The amounts of token0 and token1 that will be sent to the plugin\"},\"getReserves()\":{\"notice\":\"The tracked token0 and token1 reserves of pool\"},\"globalState()\":{\"notice\":\"The globalState structure in the pool stores many values but requires only one slot and is exposed as a single method to save gas when accessed externally.\"},\"initialize(uint160)\":{\"notice\":\"Sets the initial price for the pool\"},\"isUnlocked()\":{\"notice\":\"Allows to easily get current reentrancy lock status\"},\"lastFeeTransferTimestamp()\":{\"notice\":\"The timestamp of the last sending of tokens to vault/plugin\"},\"liquidity()\":{\"notice\":\"The currently in range liquidity available to the pool\"},\"maxLiquidityPerTick()\":{\"notice\":\"The maximum amount of position liquidity that can use any tick in the range\"},\"mint(address,address,int24,int24,uint128,bytes)\":{\"notice\":\"Adds liquidity for the given recipient/bottomTick/topTick position\"},\"nextTickGlobal()\":{\"notice\":\"The next initialized tick after current global tick\"},\"plugin()\":{\"notice\":\"Returns the address of currently used plugin\"},\"positions(bytes32)\":{\"notice\":\"Returns the information about a position by the position's key\"},\"prevTickGlobal()\":{\"notice\":\"The previous initialized tick before (or at) current global tick\"},\"safelyGetStateOfAMM()\":{\"notice\":\"Safely get most important state values of Algebra Integral AMM\"},\"setCommunityFee(uint16)\":{\"notice\":\"Set the community's % share of the fees. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setCommunityVault(address)\":{\"notice\":\"Set new community fee vault address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setFee(uint16)\":{\"notice\":\"Set new pool fee. Can be called by owner if dynamic fee is disabled. Called by the plugin if dynamic fee is enabled\"},\"setPlugin(address)\":{\"notice\":\"Set the new plugin address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setPluginConfig(uint8)\":{\"notice\":\"Set new plugin config. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setTickSpacing(int24)\":{\"notice\":\"Set the new tick spacing values. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"skim()\":{\"notice\":\"Forces balances to match reserves. Excessive tokens will be sent to msg.sender\"},\"swap(address,bool,int256,uint160,bytes)\":{\"notice\":\"Swap token0 for token1, or token1 for token0\"},\"swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)\":{\"notice\":\"Swap token0 for token1, or token1 for token0 with prepayment\"},\"sync()\":{\"notice\":\"Forces balances to match reserves. Excessive tokens will be distributed between active LPs\"},\"tickSpacing()\":{\"notice\":\"The current tick spacing\"},\"tickTable(int16)\":{\"notice\":\"Returns 256 packed tick initialized boolean values. See TickTree for more information\"},\"tickTreeRoot()\":{\"notice\":\"The root of tick search tree\"},\"tickTreeSecondLayer(int16)\":{\"notice\":\"The second layer of tick search tree\"},\"ticks(int24)\":{\"notice\":\"Look up information about a specific tick in the pool\"},\"token0()\":{\"notice\":\"The first of the two tokens of the pool, sorted by address\"},\"token1()\":{\"notice\":\"The second of the two tokens of the pool, sorted by address\"},\"totalFeeGrowth0Token()\":{\"notice\":\"The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\"},\"totalFeeGrowth1Token()\":{\"notice\":\"The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol\":\"IAlgebraPool\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol\":{\"keccak256\":\"0x1d8bb94007c874be2640401aeed6219392c07e8b2e779fa24c618adc58bd7ae0\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://55d37783d81c98cb58ed41e6d7283af5fb07261b676a833f632cd6d128fc2e04\",\"dweb:/ipfs/QmXiJ63fWeBfkfJkLzBv1zLDyCjn5shW44ugYv44CqtTca\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":{\"keccak256\":\"0x4f9b70282bac671383d001cffca1479dd64f507db84cdab16da886804c64a60c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b1bc8b774ab5027d97625c3ac01ee3f4bbdefcd012ff0bb0e4c9752096bd9562\",\"dweb:/ipfs/Qmcn5kGihMiZAMjwpY1f12nTSWMyrLqmXLvoifaqPtQYYo\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol\":{\"keccak256\":\"0xd6b18486bd0eaee545ad10115d33c527e5ba5ddff571120678e7db58ca00b726\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://470a64313758d0a26a6910c924eae39e5c4df6912c61e7239e0d930097f8512f\",\"dweb:/ipfs/QmY18B9x18hLCKQ3kAqjPhHzMvZxKrvNeUjPycKYodETaa\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol\":{\"keccak256\":\"0x02d0fb9c64fba4c4dd0509bb9333825c801a0587d5b957c46f5cb1c610acc447\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8480784b2654829c0958b00aa3109249ce9088dbe94b6eadeaf8e9138829a764\",\"dweb:/ipfs/QmeFG5AsPUQfhMPtvYC3f9BhGu7sVm71wj2PgXDczaM7XP\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":{\"keccak256\":\"0xbd9faad7e7599c61c3141cfe2dd2e423ad4746a6119f047b0ae6d2eccb77bc9c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0df4bed6cf34a8c0f6b971fb71411373b4d204afda35eabe8555d8cbe67e291\",\"dweb:/ipfs/QmY6z3BseKy3tEvmLVjhL7VFrNJRuQgDXJXNAFBkBQ218A\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":{\"keccak256\":\"0xe061f0f9b5b16934173b1127efe13ccfe80465db17156d91c04e018b31e993fa\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c607033ec09828f4a8667e7fd2e562814ec689d5806d95b4a248f57e0eff9d38\",\"dweb:/ipfs/QmbGBxBMSzPKitHmRjYJwGGEZVsXDQB6emSsZ19hjy6LUz\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol":{"IAlgebraPlugin":{"abi":[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"uint256","name":"paid0","type":"uint256"},{"internalType":"uint256","name":"paid1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"int128","name":"desiredLiquidityDelta","type":"int128"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"int128","name":"desiredLiquidityDelta","type":"int128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"uint24","name":"pluginFee","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"bool","name":"withPaymentInAdvance","type":"bool"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"uint24","name":"feeOverride","type":"uint24"},{"internalType":"uint24","name":"pluginFee","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pluginFee0","type":"uint256"},{"internalType":"uint256","name":"pluginFee1","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","defaultPluginConfig()":"689ea370","handlePluginFee(uint256,uint256)":"aa6b14bb"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"desiredLiquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"desiredLiquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"withPaymentInAdvance\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"feeOverride\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pluginFee0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pluginFee1\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"The plugin will be called by the pool using hook methods depending on the current pool settings\",\"kind\":\"dev\",\"methods\":{\"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being requested for flash\",\"amount1\":\"The amount of token1 being requested for flash\",\"data\":\"Data that passed through the callback\",\"paid0\":\"The amount of token0 being paid for flash\",\"paid1\":\"The amount of token1 being paid for flash\",\"recipient\":\"The address which will receive the token0 and token1 amounts\",\"sender\":\"The initial msg.sender for the flash call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterInitialize(address,uint160,int24)\":{\"params\":{\"sender\":\"The initial msg.sender for the initialize call\",\"sqrtPriceX96\":\"The sqrt(price) of the pool as a Q64.96\",\"tick\":\"The current tick after the state of a pool is initialized\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 sent to the recipient or was paid to mint\",\"amount1\":\"The amount of token0 sent to the recipient or was paid to mint\",\"bottomTick\":\"The lower tick of the position\",\"data\":\"Data that passed through the callback\",\"desiredLiquidityDelta\":\"The desired amount of liquidity to mint/burn\",\"recipient\":\"Address to which the liquidity will be assigned in case of a mint or to which tokens will be sent in case of a burn\",\"sender\":\"The initial msg.sender for the modify position call\",\"topTick\":\"The upper tick of the position\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)\":{\"params\":{\"amount0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"amount1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\",\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Data that passed through the callback\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"sender\":\"The initial msg.sender for the swap call\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeFlash(address,address,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being requested for flash\",\"amount1\":\"The amount of token1 being requested for flash\",\"data\":\"Data that passed through the callback\",\"recipient\":\"The address which will receive the token0 and token1 amounts\",\"sender\":\"The initial msg.sender for the flash call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeInitialize(address,uint160)\":{\"params\":{\"sender\":\"The initial msg.sender for the initialize call\",\"sqrtPriceX96\":\"The sqrt(price) of the pool as a Q64.96\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeModifyPosition(address,address,int24,int24,int128,bytes)\":{\"params\":{\"bottomTick\":\"The lower tick of the position\",\"data\":\"Data that passed through the callback\",\"desiredLiquidityDelta\":\"The desired amount of liquidity to mint/burn\",\"recipient\":\"Address to which the liquidity will be assigned in case of a mint or to which tokens will be sent in case of a burn\",\"sender\":\"The initial msg.sender for the modify position call\",\"topTick\":\"The upper tick of the position\"},\"returns\":{\"selector\":\"The function selector for the hook\"}},\"beforeSwap(address,address,bool,int256,uint160,bool,bytes)\":{\"params\":{\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Data that passed through the callback\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"sender\":\"The initial msg.sender for the swap call\",\"withPaymentInAdvance\":\"The flag indicating whether the `swapWithPaymentInAdvance` method was called\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"selector\":\"The function selector for the hook\"}},\"defaultPluginConfig()\":{\"returns\":{\"_0\":\"config Each bit of the config is responsible for enabling/disabling the hooks. The last bit indicates whether the plugin contains dynamic fees logic\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}}},\"title\":\"The Algebra plugin interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)\":{\"notice\":\"The hook called after flash\"},\"afterInitialize(address,uint160,int24)\":{\"notice\":\"The hook called after the state of a pool is initialized\"},\"afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)\":{\"notice\":\"The hook called after a position is modified\"},\"afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)\":{\"notice\":\"The hook called after a swap\"},\"beforeFlash(address,address,uint256,uint256,bytes)\":{\"notice\":\"The hook called before flash\"},\"beforeInitialize(address,uint160)\":{\"notice\":\"The hook called before the state of a pool is initialized\"},\"beforeModifyPosition(address,address,int24,int24,int128,bytes)\":{\"notice\":\"The hook called before a position is modified\"},\"beforeSwap(address,address,bool,int256,uint160,bool,bytes)\":{\"notice\":\"The hook called before a swap\"},\"defaultPluginConfig()\":{\"notice\":\"Returns plugin config\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":\"IAlgebraPlugin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol":{"IAlgebraPluginFactory":{"abi":[{"inputs":[{"internalType":"address","name":"plugin","type":"address"},{"internalType":"address","name":"pool","type":"address"},{"internalType":"address","name":"deployer","type":"address"}],"name":"afterCreatePoolHook","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"address","name":"deployer","type":"address"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeCreatePoolHook","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"afterCreatePoolHook(address,address,address)":"8d5ef8d1","beforeCreatePoolHook(address,address,address,address,address,bytes)":"1d0338d9"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"plugin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"}],\"name\":\"afterCreatePoolHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeCreatePoolHook\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Such a factory can be used for automatic plugin creation for new pools. Also a factory be used as an entry point for custom (additional) pools creation\",\"kind\":\"dev\",\"methods\":{\"afterCreatePoolHook(address,address,address)\":{\"params\":{\"deployer\":\"The address of new plugin deployer contract (0 if not used)\",\"plugin\":\"The plugin address\",\"pool\":\"The address of the new pool\"}},\"beforeCreatePoolHook(address,address,address,address,address,bytes)\":{\"params\":{\"creator\":\"The address that initiated the pool creation\",\"deployer\":\"The address of new plugin deployer contract (0 if not used)\",\"pool\":\"The address of the new pool\",\"token0\":\"First token of the pool\",\"token1\":\"Second token of the pool\"},\"returns\":{\"_0\":\"New plugin address\"}}},\"title\":\"An interface for a contract that is capable of deploying Algebra plugins\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"afterCreatePoolHook(address,address,address)\":{\"notice\":\"Called after the pool is created\"},\"beforeCreatePoolHook(address,address,address,address,address,bytes)\":{\"notice\":\"Deploys new plugin contract for pool\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":\"IAlgebraPluginFactory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol":{"IAlgebraPoolActions":{"abi":[{"inputs":[{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"uint128","name":"amount0Requested","type":"uint128"},{"internalType":"uint128","name":"amount1Requested","type":"uint128"}],"name":"collect","outputs":[{"internalType":"uint128","name":"amount0","type":"uint128"},{"internalType":"uint128","name":"amount1","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint160","name":"initialPrice","type":"uint160"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"leftoversRecipient","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"uint128","name":"liquidityDesired","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"uint128","name":"liquidityActual","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"leftoversRecipient","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountToSell","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swapWithPaymentInAdvance","outputs":[{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"burn(int24,int24,uint128,bytes)":"3b3bc70e","collect(address,int24,int24,uint128,uint128)":"4f1eb3d8","flash(address,uint256,uint256,bytes)":"490e6cbc","initialize(uint160)":"f637731d","mint(address,address,int24,int24,uint128,bytes)":"aafe29c0","swap(address,bool,int256,uint160,bytes)":"128acb08","swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)":"9e4e0227"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collect\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"flash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"initialPrice\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"leftoversRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"liquidityDesired\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidityActual\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"leftoversRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountToSell\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swapWithPaymentInAdvance\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\",\"kind\":\"dev\",\"methods\":{\"burn(int24,int24,uint128,bytes)\":{\"details\":\"Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0Fees must be collected separately via a call to #collect\",\"params\":{\"amount\":\"How much liquidity to burn\",\"bottomTick\":\"The lower tick of the position for which to burn liquidity\",\"data\":\"Any data that should be passed through to the plugin\",\"topTick\":\"The upper tick of the position for which to burn liquidity\"},\"returns\":{\"amount0\":\"The amount of token0 sent to the recipient\",\"amount1\":\"The amount of token1 sent to the recipient\"}},\"collect(address,int24,int24,uint128,uint128)\":{\"details\":\"Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity. Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\",\"params\":{\"amount0Requested\":\"How much token0 should be withdrawn from the fees owed\",\"amount1Requested\":\"How much token1 should be withdrawn from the fees owed\",\"bottomTick\":\"The lower tick of the position for which to collect fees\",\"recipient\":\"The address which should receive the fees collected\",\"topTick\":\"The upper tick of the position for which to collect fees\"},\"returns\":{\"amount0\":\"The amount of fees collected in token0\",\"amount1\":\"The amount of fees collected in token1\"}},\"flash(address,uint256,uint256,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraFlashCallback#algebraFlashCallbackAll excess tokens paid in the callback are distributed to currently in-range liquidity providers as an additional fee. If there are no in-range liquidity providers, the fee will be transferred to the first active provider in the future\",\"params\":{\"amount0\":\"The amount of token0 to send\",\"amount1\":\"The amount of token1 to send\",\"data\":\"Any data to be passed through to the callback\",\"recipient\":\"The address which will receive the token0 and token1 amounts\"}},\"initialize(uint160)\":{\"details\":\"Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 valueInitialization should be done in one transaction with pool creation to avoid front-running\",\"params\":{\"initialPrice\":\"The initial sqrt price of the pool as a Q64.96\"}},\"mint(address,address,int24,int24,uint128,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraMintCallback#algebraMintCallback in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends on bottomTick, topTick, the amount of liquidity, and the current price.\",\"params\":{\"bottomTick\":\"The lower tick of the position in which to add liquidity\",\"data\":\"Any data that should be passed through to the callback\",\"leftoversRecipient\":\"The address which will receive potential surplus of paid tokens\",\"liquidityDesired\":\"The desired amount of liquidity to mint\",\"recipient\":\"The address for which the liquidity will be created\",\"topTick\":\"The upper tick of the position in which to add liquidity\"},\"returns\":{\"amount0\":\"The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\",\"amount1\":\"The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\",\"liquidityActual\":\"The actual minted amount of liquidity\"}},\"swap(address,bool,int256,uint160,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback\",\"params\":{\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"amount0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"amount1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\"}},\"swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback caller must send tokens in callback before swap calculation the actually sent amount of tokens is used for further calculations\",\"params\":{\"amountToSell\":\"The amount of the swap, only positive (exact input) amount allowed\",\"data\":\"Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\",\"leftoversRecipient\":\"The address which will receive potential surplus of paid tokens\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"amount0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"amount1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\"}}},\"title\":\"Permissionless pool actions\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"burn(int24,int24,uint128,bytes)\":{\"notice\":\"Burn liquidity from the sender and account tokens owed for the liquidity to the position\"},\"collect(address,int24,int24,uint128,uint128)\":{\"notice\":\"Collects tokens owed to a position\"},\"flash(address,uint256,uint256,bytes)\":{\"notice\":\"Receive token0 and/or token1 and pay it back, plus a fee, in the callback\"},\"initialize(uint160)\":{\"notice\":\"Sets the initial price for the pool\"},\"mint(address,address,int24,int24,uint128,bytes)\":{\"notice\":\"Adds liquidity for the given recipient/bottomTick/topTick position\"},\"swap(address,bool,int256,uint160,bytes)\":{\"notice\":\"Swap token0 for token1, or token1 for token0\"},\"swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)\":{\"notice\":\"Swap token0 for token1, or token1 for token0 with prepayment\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":\"IAlgebraPoolActions\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":{\"keccak256\":\"0x4f9b70282bac671383d001cffca1479dd64f507db84cdab16da886804c64a60c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b1bc8b774ab5027d97625c3ac01ee3f4bbdefcd012ff0bb0e4c9752096bd9562\",\"dweb:/ipfs/Qmcn5kGihMiZAMjwpY1f12nTSWMyrLqmXLvoifaqPtQYYo\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol":{"IAlgebraPoolErrors":{"abi":[{"inputs":[],"name":"alreadyInitialized","type":"error"},{"inputs":[],"name":"arithmeticError","type":"error"},{"inputs":[],"name":"bottomTickLowerThanMIN","type":"error"},{"inputs":[],"name":"dynamicFeeActive","type":"error"},{"inputs":[],"name":"dynamicFeeDisabled","type":"error"},{"inputs":[],"name":"flashInsufficientPaid0","type":"error"},{"inputs":[],"name":"flashInsufficientPaid1","type":"error"},{"inputs":[],"name":"incorrectPluginFee","type":"error"},{"inputs":[],"name":"insufficientInputAmount","type":"error"},{"inputs":[],"name":"invalidAmountRequired","type":"error"},{"inputs":[{"internalType":"bytes4","name":"expectedSelector","type":"bytes4"}],"name":"invalidHookResponse","type":"error"},{"inputs":[],"name":"invalidLimitSqrtPrice","type":"error"},{"inputs":[],"name":"invalidNewCommunityFee","type":"error"},{"inputs":[],"name":"invalidNewTickSpacing","type":"error"},{"inputs":[],"name":"liquidityAdd","type":"error"},{"inputs":[],"name":"liquidityOverflow","type":"error"},{"inputs":[],"name":"liquiditySub","type":"error"},{"inputs":[],"name":"locked","type":"error"},{"inputs":[],"name":"notAllowed","type":"error"},{"inputs":[],"name":"notInitialized","type":"error"},{"inputs":[],"name":"pluginIsNotConnected","type":"error"},{"inputs":[],"name":"priceOutOfRange","type":"error"},{"inputs":[],"name":"tickInvalidLinks","type":"error"},{"inputs":[],"name":"tickIsNotInitialized","type":"error"},{"inputs":[],"name":"tickIsNotSpaced","type":"error"},{"inputs":[],"name":"tickOutOfRange","type":"error"},{"inputs":[],"name":"topTickAboveMAX","type":"error"},{"inputs":[],"name":"topTickLowerOrEqBottomTick","type":"error"},{"inputs":[],"name":"transferFailed","type":"error"},{"inputs":[],"name":"zeroAmountRequired","type":"error"},{"inputs":[],"name":"zeroLiquidityActual","type":"error"},{"inputs":[],"name":"zeroLiquidityDesired","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"alreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"arithmeticError\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"bottomTickLowerThanMIN\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"dynamicFeeActive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"dynamicFeeDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"flashInsufficientPaid0\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"flashInsufficientPaid1\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"incorrectPluginFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"insufficientInputAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"invalidAmountRequired\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"expectedSelector\",\"type\":\"bytes4\"}],\"name\":\"invalidHookResponse\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"invalidLimitSqrtPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"invalidNewCommunityFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"invalidNewTickSpacing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"liquidityAdd\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"liquidityOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"liquiditySub\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"locked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"notAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"notInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"pluginIsNotConnected\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"priceOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickInvalidLinks\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickIsNotInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickIsNotSpaced\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"topTickAboveMAX\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"topTickLowerOrEqBottomTick\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"transferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"zeroAmountRequired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"zeroLiquidityActual\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"zeroLiquidityDesired\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Custom errors are separated from the common pool interface for compatibility with older versions of Solidity\",\"errors\":{\"invalidHookResponse(bytes4)\":[{\"params\":{\"expectedSelector\":\"The expected selector\"}}]},\"kind\":\"dev\",\"methods\":{},\"title\":\"Errors emitted by a pool\",\"version\":1},\"userdoc\":{\"errors\":{\"alreadyInitialized()\":[{\"notice\":\"Emitted if an attempt is made to initialize the pool twice\"}],\"arithmeticError()\":[{\"notice\":\"Emitted if arithmetic error occurred\"}],\"bottomTickLowerThanMIN()\":[{\"notice\":\"Emitted if the bottomTick param is lower than min allowed value\"}],\"dynamicFeeActive()\":[{\"notice\":\"Emitted if an attempt is made to manually change the fee value, but dynamic fee is enabled\"}],\"dynamicFeeDisabled()\":[{\"notice\":\"Emitted if an attempt is made by plugin to change the fee value, but dynamic fee is disabled\"}],\"flashInsufficientPaid0()\":[{\"notice\":\"Emitted if the pool received fewer tokens0 after flash than it should have\"}],\"flashInsufficientPaid1()\":[{\"notice\":\"Emitted if the pool received fewer tokens1 after flash than it should have\"}],\"incorrectPluginFee()\":[{\"notice\":\"Emitted if plugin fee param greater than fee/override fee\"}],\"insufficientInputAmount()\":[{\"notice\":\"Emitted if the pool received fewer tokens than it should have\"}],\"invalidAmountRequired()\":[{\"notice\":\"Emitted if invalid amount is passed as amountRequired to swap function\"}],\"invalidHookResponse(bytes4)\":[{\"notice\":\"Emitted if a plugin returns invalid selector after hook call\"}],\"invalidLimitSqrtPrice()\":[{\"notice\":\"Emitted if limitSqrtPrice param is incorrect\"}],\"invalidNewCommunityFee()\":[{\"notice\":\"Emitted if new community fee exceeds max allowed value\"}],\"invalidNewTickSpacing()\":[{\"notice\":\"Emitted if new tick spacing exceeds max allowed value\"}],\"liquidityAdd()\":[{\"notice\":\"Emitted if liquidity overflows\"}],\"liquidityOverflow()\":[{\"notice\":\"Emitted if the liquidity value associated with the tick exceeds MAX_LIQUIDITY_PER_TICK\"}],\"liquiditySub()\":[{\"notice\":\"Emitted if liquidity underflows\"}],\"locked()\":[{\"notice\":\"Emitted by the reentrancy guard\"}],\"notAllowed()\":[{\"notice\":\"Emitted if a method is called that is accessible only to the factory owner or dedicated role\"}],\"notInitialized()\":[{\"notice\":\"Emitted if an attempt is made to mint or swap in uninitialized pool\"}],\"pluginIsNotConnected()\":[{\"notice\":\"Emitted if an attempt is made to change the plugin configuration, but the plugin is not connected\"}],\"priceOutOfRange()\":[{\"notice\":\"Emitted if price is greater than the maximum or less than the minimum allowed value\"}],\"tickInvalidLinks()\":[{\"notice\":\"Emitted if there is an attempt to insert a new tick into the list of ticks with incorrect indexes of the previous and next ticks\"}],\"tickIsNotInitialized()\":[{\"notice\":\"Emitted if an attempt is made to interact with an uninitialized tick\"}],\"tickIsNotSpaced()\":[{\"notice\":\"Tick must be divisible by tickspacing\"}],\"tickOutOfRange()\":[{\"notice\":\"Emitted if tick is greater than the maximum or less than the minimum allowed value\"}],\"topTickAboveMAX()\":[{\"notice\":\"Emitted if the topTick param is greater than max allowed value\"}],\"topTickLowerOrEqBottomTick()\":[{\"notice\":\"Emitted if the topTick param not greater then the bottomTick param\"}],\"transferFailed()\":[{\"notice\":\"Emitted if token transfer failed internally\"}],\"zeroAmountRequired()\":[{\"notice\":\"Emitted if 0 is passed as amountRequired to swap function\"}],\"zeroLiquidityActual()\":[{\"notice\":\"Emitted if actual amount of liquidity is zero (due to insufficient amount of tokens received)\"}],\"zeroLiquidityDesired()\":[{\"notice\":\"Emitted if there was an attempt to mint zero liquidity\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains custom errors emitted by the pool\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":\"IAlgebraPoolErrors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol":{"IAlgebraPoolEvents":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"int24","name":"bottomTick","type":"int24"},{"indexed":true,"internalType":"int24","name":"topTick","type":"int24"},{"indexed":false,"internalType":"uint128","name":"liquidityAmount","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint24","name":"pluginFee","type":"uint24"}],"name":"BurnFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"int24","name":"bottomTick","type":"int24"},{"indexed":true,"internalType":"int24","name":"topTick","type":"int24"},{"indexed":false,"internalType":"uint128","name":"amount0","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount1","type":"uint128"}],"name":"Collect","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"communityFeeNew","type":"uint16"}],"name":"CommunityFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newCommunityVault","type":"address"}],"name":"CommunityVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"ExcessTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"fee","type":"uint16"}],"name":"Fee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paid0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paid1","type":"uint256"}],"name":"Flash","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint160","name":"price","type":"uint160"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Initialize","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"int24","name":"bottomTick","type":"int24"},{"indexed":true,"internalType":"int24","name":"topTick","type":"int24"},{"indexed":false,"internalType":"uint128","name":"liquidityAmount","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newPluginAddress","type":"address"}],"name":"Plugin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"newPluginConfig","type":"uint8"}],"name":"PluginConfig","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Skim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"int256","name":"amount0","type":"int256"},{"indexed":false,"internalType":"int256","name":"amount1","type":"int256"},{"indexed":false,"internalType":"uint160","name":"price","type":"uint160"},{"indexed":false,"internalType":"uint128","name":"liquidity","type":"uint128"},{"indexed":false,"internalType":"int24","name":"tick","type":"int24"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint24","name":"overrideFee","type":"uint24"},{"indexed":false,"internalType":"uint24","name":"pluginFee","type":"uint24"}],"name":"SwapFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"int24","name":"newTickSpacing","type":"int24"}],"name":"TickSpacing","type":"event"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityAmount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"name\":\"BurnFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"Collect\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"communityFeeNew\",\"type\":\"uint16\"}],\"name\":\"CommunityFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newCommunityVault\",\"type\":\"address\"}],\"name\":\"CommunityVault\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"ExcessTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"fee\",\"type\":\"uint16\"}],\"name\":\"Fee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"paid0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"paid1\",\"type\":\"uint256\"}],\"name\":\"Flash\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"price\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Initialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityAmount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newPluginAddress\",\"type\":\"address\"}],\"name\":\"Plugin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"newPluginConfig\",\"type\":\"uint8\"}],\"name\":\"PluginConfig\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Skim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"price\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"overrideFee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"name\":\"SwapFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"newTickSpacing\",\"type\":\"int24\"}],\"name\":\"TickSpacing\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"Credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\",\"events\":{\"Burn(address,int24,int24,uint128,uint256,uint256)\":{\"details\":\"Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect\",\"params\":{\"amount0\":\"The amount of token0 withdrawn\",\"amount1\":\"The amount of token1 withdrawn\",\"bottomTick\":\"The lower tick of the position\",\"liquidityAmount\":\"The amount of liquidity to remove\",\"owner\":\"The owner of the position for which liquidity is removed\",\"topTick\":\"The upper tick of the position\"}},\"BurnFee(address,uint24)\":{\"params\":{\"owner\":\"The owner of the position\",\"pluginFee\":\"The fee to be sent to the plugin\"}},\"Collect(address,address,int24,int24,uint128,uint128)\":{\"params\":{\"amount0\":\"The amount of token0 fees collected\",\"amount1\":\"The amount of token1 fees collected\",\"bottomTick\":\"The lower tick of the position\",\"owner\":\"The owner of the position for which fees are collected\",\"recipient\":\"The address that received fees\",\"topTick\":\"The upper tick of the position\"}},\"CommunityFee(uint16)\":{\"params\":{\"communityFeeNew\":\"The updated value of the community fee in thousandths (1e-3)\"}},\"CommunityVault(address)\":{\"params\":{\"newCommunityVault\":\"New community vault\"}},\"ExcessTokens(uint256,uint256)\":{\"details\":\"Fees after flash also will trigger this event due to mechanics of flash.\",\"params\":{\"amount0\":\"The excess of token0\",\"amount1\":\"The excess of token1\"}},\"Fee(uint16)\":{\"params\":{\"fee\":\"The current fee in hundredths of a bip, i.e. 1e-6\"}},\"Flash(address,address,uint256,uint256,uint256,uint256)\":{\"params\":{\"amount0\":\"The amount of token0 that was flashed\",\"amount1\":\"The amount of token1 that was flashed\",\"paid0\":\"The amount of token0 paid for the flash, which can exceed the amount0 plus the fee\",\"paid1\":\"The amount of token1 paid for the flash, which can exceed the amount1 plus the fee\",\"recipient\":\"The address that received the tokens from flash\",\"sender\":\"The address that initiated the swap call, and that received the callback\"}},\"Initialize(uint160,int24)\":{\"details\":\"Mint/Burn/Swaps cannot be emitted by the pool before Initialize\",\"params\":{\"price\":\"The initial sqrt price of the pool, as a Q64.96\",\"tick\":\"The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool\"}},\"Mint(address,address,int24,int24,uint128,uint256,uint256)\":{\"params\":{\"amount0\":\"How much token0 was required for the minted liquidity\",\"amount1\":\"How much token1 was required for the minted liquidity\",\"bottomTick\":\"The lower tick of the position\",\"liquidityAmount\":\"The amount of liquidity minted to the position range\",\"owner\":\"The owner of the position and recipient of any minted liquidity\",\"sender\":\"The address that minted the liquidity\",\"topTick\":\"The upper tick of the position\"}},\"Plugin(address)\":{\"params\":{\"newPluginAddress\":\"New plugin address\"}},\"PluginConfig(uint8)\":{\"params\":{\"newPluginConfig\":\"New plugin config\"}},\"Skim(address,uint256,uint256)\":{\"params\":{\"amount0\":\"The amount of token0\",\"amount1\":\"The amount of token1\",\"to\":\"THe receiver of tokens (plugin)\"}},\"Swap(address,address,int256,int256,uint160,uint128,int24)\":{\"params\":{\"amount0\":\"The delta of the token0 balance of the pool\",\"amount1\":\"The delta of the token1 balance of the pool\",\"liquidity\":\"The liquidity of the pool after the swap\",\"price\":\"The sqrt(price) of the pool after the swap, as a Q64.96\",\"recipient\":\"The address that received the output of the swap\",\"sender\":\"The address that initiated the swap call, and that received the callback\",\"tick\":\"The log base 1.0001 of price of the pool after the swap\"}},\"SwapFee(address,uint24,uint24)\":{\"params\":{\"overrideFee\":\"The fee to be applied to the trade\",\"pluginFee\":\"The fee to be sent to the plugin\",\"sender\":\"The address that initiated the swap \"}},\"TickSpacing(int24)\":{\"params\":{\"newTickSpacing\":\"The updated value of the new tick spacing\"}}},\"kind\":\"dev\",\"methods\":{},\"title\":\"Events emitted by a pool\",\"version\":1},\"userdoc\":{\"events\":{\"Burn(address,int24,int24,uint128,uint256,uint256)\":{\"notice\":\"Emitted when a position's liquidity is removed\"},\"BurnFee(address,uint24)\":{\"notice\":\"Emitted when a plugin fee is applied during a burn\"},\"Collect(address,address,int24,int24,uint128,uint128)\":{\"notice\":\"Emitted when fees are collected by the owner of a position\"},\"CommunityFee(uint16)\":{\"notice\":\"Emitted when the community fee is changed by the pool\"},\"CommunityVault(address)\":{\"notice\":\"Emitted when the community vault address changes\"},\"ExcessTokens(uint256,uint256)\":{\"notice\":\"Emitted when the pool has higher balances than expected. Any excess of tokens will be distributed between liquidity providers as fee.\"},\"Fee(uint16)\":{\"notice\":\"Emitted when the fee changes inside the pool\"},\"Flash(address,address,uint256,uint256,uint256,uint256)\":{\"notice\":\"Emitted by the pool for any flashes of token0/token1\"},\"Initialize(uint160,int24)\":{\"notice\":\"Emitted exactly once by a pool when #initialize is first called on the pool\"},\"Mint(address,address,int24,int24,uint128,uint256,uint256)\":{\"notice\":\"Emitted when liquidity is minted for a given position\"},\"Plugin(address)\":{\"notice\":\"Emitted when the plugin address changes\"},\"PluginConfig(uint8)\":{\"notice\":\"Emitted when the plugin config changes\"},\"Skim(address,uint256,uint256)\":{\"notice\":\"Emitted when the plugin does skim the excess of tokens\"},\"Swap(address,address,int256,int256,uint160,uint128,int24)\":{\"notice\":\"Emitted by the pool for any swaps between token0 and token1\"},\"SwapFee(address,uint24,uint24)\":{\"notice\":\"Emitted by the pool after any swaps \"},\"TickSpacing(int24)\":{\"notice\":\"Emitted when the tick spacing changes\"}},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol\":\"IAlgebraPoolEvents\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol\":{\"keccak256\":\"0xd6b18486bd0eaee545ad10115d33c527e5ba5ddff571120678e7db58ca00b726\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://470a64313758d0a26a6910c924eae39e5c4df6912c61e7239e0d930097f8512f\",\"dweb:/ipfs/QmY18B9x18hLCKQ3kAqjPhHzMvZxKrvNeUjPycKYodETaa\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol":{"IAlgebraPoolImmutables":{"abi":[{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLiquidityPerTick","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"factory()":"c45a0155","maxLiquidityPerTick()":"70cf754a","token0()":"0dfe1681","token1()":"d21220a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxLiquidityPerTick\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\",\"kind\":\"dev\",\"methods\":{\"factory()\":{\"returns\":{\"_0\":\"The contract address\"}},\"maxLiquidityPerTick()\":{\"details\":\"This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\",\"returns\":{\"_0\":\"The max amount of liquidity per tick\"}},\"token0()\":{\"returns\":{\"_0\":\"The token contract address\"}},\"token1()\":{\"returns\":{\"_0\":\"The token contract address\"}}},\"title\":\"Pool state that never changes\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"factory()\":{\"notice\":\"The Algebra factory contract, which must adhere to the IAlgebraFactory interface\"},\"maxLiquidityPerTick()\":{\"notice\":\"The maximum amount of position liquidity that can use any tick in the range\"},\"token0()\":{\"notice\":\"The first of the two tokens of the pool, sorted by address\"},\"token1()\":{\"notice\":\"The second of the two tokens of the pool, sorted by address\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol\":\"IAlgebraPoolImmutables\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol\":{\"keccak256\":\"0x02d0fb9c64fba4c4dd0509bb9333825c801a0587d5b957c46f5cb1c610acc447\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8480784b2654829c0958b00aa3109249ce9088dbe94b6eadeaf8e9138829a764\",\"dweb:/ipfs/QmeFG5AsPUQfhMPtvYC3f9BhGu7sVm71wj2PgXDczaM7XP\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol":{"IAlgebraPoolPermissionedActions":{"abi":[{"inputs":[{"internalType":"uint16","name":"newCommunityFee","type":"uint16"}],"name":"setCommunityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newCommunityVault","type":"address"}],"name":"setCommunityVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newFee","type":"uint16"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPluginAddress","type":"address"}],"name":"setPlugin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newConfig","type":"uint8"}],"name":"setPluginConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int24","name":"newTickSpacing","type":"int24"}],"name":"setTickSpacing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"setCommunityFee(uint16)":"240a875a","setCommunityVault(address)":"d8544cf3","setFee(uint16)":"8e005553","setPlugin(address)":"cc1f97cf","setPluginConfig(uint8)":"bca57f81","setTickSpacing(int24)":"f085a610","skim()":"1dd19cb4","sync()":"fff6cae9"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newCommunityFee\",\"type\":\"uint16\"}],\"name\":\"setCommunityFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newCommunityVault\",\"type\":\"address\"}],\"name\":\"setCommunityVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newFee\",\"type\":\"uint16\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPluginAddress\",\"type\":\"address\"}],\"name\":\"setPlugin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newConfig\",\"type\":\"uint8\"}],\"name\":\"setPluginConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"newTickSpacing\",\"type\":\"int24\"}],\"name\":\"setTickSpacing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"skim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\",\"kind\":\"dev\",\"methods\":{\"setCommunityFee(uint16)\":{\"params\":{\"newCommunityFee\":\"The new community fee percent in thousandths (1e-3)\"}},\"setCommunityVault(address)\":{\"details\":\"Community fee vault receives collected community fees. **accumulated but not yet sent to the vault community fees once will be sent to the `newCommunityVault` address**\",\"params\":{\"newCommunityVault\":\"The address of new community fee vault\"}},\"setFee(uint16)\":{\"params\":{\"newFee\":\"The new fee value\"}},\"setPlugin(address)\":{\"params\":{\"newPluginAddress\":\"The new plugin address\"}},\"setPluginConfig(uint8)\":{\"params\":{\"newConfig\":\"In the new configuration of the plugin, each bit of which is responsible for a particular hook.\"}},\"setTickSpacing(int24)\":{\"params\":{\"newTickSpacing\":\"The new tick spacing value\"}},\"skim()\":{\"details\":\"Only plugin can call this function\"},\"sync()\":{\"details\":\"Only plugin can call this function\"}},\"title\":\"Permissioned pool actions\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"setCommunityFee(uint16)\":{\"notice\":\"Set the community's % share of the fees. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setCommunityVault(address)\":{\"notice\":\"Set new community fee vault address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setFee(uint16)\":{\"notice\":\"Set new pool fee. Can be called by owner if dynamic fee is disabled. Called by the plugin if dynamic fee is enabled\"},\"setPlugin(address)\":{\"notice\":\"Set the new plugin address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setPluginConfig(uint8)\":{\"notice\":\"Set new plugin config. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setTickSpacing(int24)\":{\"notice\":\"Set the new tick spacing values. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"skim()\":{\"notice\":\"Forces balances to match reserves. Excessive tokens will be sent to msg.sender\"},\"sync()\":{\"notice\":\"Forces balances to match reserves. Excessive tokens will be distributed between active LPs\"}},\"notice\":\"Contains pool methods that may only be called by permissioned addresses\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":\"IAlgebraPoolPermissionedActions\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":{\"keccak256\":\"0xbd9faad7e7599c61c3141cfe2dd2e423ad4746a6119f047b0ae6d2eccb77bc9c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0df4bed6cf34a8c0f6b971fb71411373b4d204afda35eabe8555d8cbe67e291\",\"dweb:/ipfs/QmY6z3BseKy3tEvmLVjhL7VFrNJRuQgDXJXNAFBkBQ218A\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol":{"IAlgebraPoolState":{"abi":[{"inputs":[],"name":"communityVault","outputs":[{"internalType":"address","name":"communityVaultAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint16","name":"currentFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCommunityFeePending","outputs":[{"internalType":"uint128","name":"communityFeePending0","type":"uint128"},{"internalType":"uint128","name":"communityFeePending1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPluginFeePending","outputs":[{"internalType":"uint128","name":"pluginFeePending0","type":"uint128"},{"internalType":"uint128","name":"pluginFeePending1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint128","name":"reserve0","type":"uint128"},{"internalType":"uint128","name":"reserve1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"globalState","outputs":[{"internalType":"uint160","name":"price","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"uint16","name":"lastFee","type":"uint16"},{"internalType":"uint8","name":"pluginConfig","type":"uint8"},{"internalType":"uint16","name":"communityFee","type":"uint16"},{"internalType":"bool","name":"unlocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUnlocked","outputs":[{"internalType":"bool","name":"unlocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastFeeTransferTimestamp","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidity","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTickGlobal","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"plugin","outputs":[{"internalType":"address","name":"pluginAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"key","type":"bytes32"}],"name":"positions","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"innerFeeGrowth0Token","type":"uint256"},{"internalType":"uint256","name":"innerFeeGrowth1Token","type":"uint256"},{"internalType":"uint128","name":"fees0","type":"uint128"},{"internalType":"uint128","name":"fees1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prevTickGlobal","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"safelyGetStateOfAMM","outputs":[{"internalType":"uint160","name":"sqrtPrice","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"uint16","name":"lastFee","type":"uint16"},{"internalType":"uint8","name":"pluginConfig","type":"uint8"},{"internalType":"uint128","name":"activeLiquidity","type":"uint128"},{"internalType":"int24","name":"nextTick","type":"int24"},{"internalType":"int24","name":"previousTick","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickSpacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int16","name":"wordPosition","type":"int16"}],"name":"tickTable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickTreeRoot","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int16","name":"","type":"int16"}],"name":"tickTreeSecondLayer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int24","name":"tick","type":"int24"}],"name":"ticks","outputs":[{"internalType":"uint256","name":"liquidityTotal","type":"uint256"},{"internalType":"int128","name":"liquidityDelta","type":"int128"},{"internalType":"int24","name":"prevTick","type":"int24"},{"internalType":"int24","name":"nextTick","type":"int24"},{"internalType":"uint256","name":"outerFeeGrowth0Token","type":"uint256"},{"internalType":"uint256","name":"outerFeeGrowth1Token","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeGrowth0Token","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeGrowth1Token","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"communityVault()":"53e97868","fee()":"ddca3f43","getCommunityFeePending()":"7bd78025","getPluginFeePending()":"a1eded87","getReserves()":"0902f1ac","globalState()":"e76c01e4","isUnlocked()":"8380edb7","lastFeeTransferTimestamp()":"77f8c3a9","liquidity()":"1a686502","nextTickGlobal()":"d5c35a7e","plugin()":"ef01df4f","positions(bytes32)":"514ea4bf","prevTickGlobal()":"050a4d21","safelyGetStateOfAMM()":"97ce1c51","tickSpacing()":"d0c93a7c","tickTable(int16)":"c677e3e0","tickTreeRoot()":"578b9a36","tickTreeSecondLayer(int16)":"d8619037","ticks(int24)":"f30dba93","totalFeeGrowth0Token()":"6378ae44","totalFeeGrowth1Token()":"ecdecf42"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"communityVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"communityVaultAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"currentFee\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCommunityFeePending\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"communityFeePending0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"communityFeePending1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPluginFeePending\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"pluginFeePending0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"pluginFeePending1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"reserve0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"reserve1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"globalState\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"price\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"lastFee\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"pluginConfig\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"communityFee\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isUnlocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastFeeTransferTimestamp\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextTickGlobal\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"plugin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pluginAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"innerFeeGrowth0Token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"innerFeeGrowth1Token\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"fees0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"fees1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"prevTickGlobal\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"safelyGetStateOfAMM\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"lastFee\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"pluginConfig\",\"type\":\"uint8\"},{\"internalType\":\"uint128\",\"name\":\"activeLiquidity\",\"type\":\"uint128\"},{\"internalType\":\"int24\",\"name\":\"nextTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"previousTick\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"wordPosition\",\"type\":\"int16\"}],\"name\":\"tickTable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickTreeRoot\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"\",\"type\":\"int16\"}],\"name\":\"tickTreeSecondLayer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"ticks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidityTotal\",\"type\":\"uint256\"},{\"internalType\":\"int128\",\"name\":\"liquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"int24\",\"name\":\"prevTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"nextTick\",\"type\":\"int24\"},{\"internalType\":\"uint256\",\"name\":\"outerFeeGrowth0Token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outerFeeGrowth1Token\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalFeeGrowth0Token\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalFeeGrowth1Token\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Important security note: when using this data by external contracts, it is necessary to take into account the possibility of manipulation (including read-only reentrancy). This interface is based on the UniswapV3 interface, credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/tree/main/contracts/interfaces\",\"kind\":\"dev\",\"methods\":{\"communityVault()\":{\"returns\":{\"communityVaultAddress\":\"The communityVault address\"}},\"fee()\":{\"details\":\"In case dynamic fee is enabled in the pool, this method will call the plugin to get the current fee. If the plugin implements complex fee logic, this method may return an incorrect value or revert. In this case, see the plugin implementation and related documentation.**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"currentFee\":\"The current pool fee value in hundredths of a bip, i.e. 1e-6\"}},\"getCommunityFeePending()\":{\"details\":\"Will be sent FEE_TRANSFER_FREQUENCY after communityFeeLastTimestamp\",\"returns\":{\"communityFeePending0\":\"The amount of token0 that will be sent to the vault\",\"communityFeePending1\":\"The amount of token1 that will be sent to the vault\"}},\"getPluginFeePending()\":{\"details\":\"Will be sent FEE_TRANSFER_FREQUENCY after feeLastTransferTimestamp\",\"returns\":{\"pluginFeePending0\":\"The amount of token0 that will be sent to the plugin\",\"pluginFeePending1\":\"The amount of token1 that will be sent to the plugin\"}},\"getReserves()\":{\"details\":\"If at any time the real balance is larger, the excess will be transferred to liquidity providers as additional fee. If the balance exceeds uint128, the excess will be sent to the communityVault.\",\"returns\":{\"reserve0\":\"The last known reserve of token0\",\"reserve1\":\"The last known reserve of token1\"}},\"globalState()\":{\"details\":\"**important security note: caller should check `unlocked` flag to prevent read-only reentrancy**\",\"returns\":{\"communityFee\":\"The community fee represented as a percent of all collected fee in thousandths, i.e. 1e-3 (so 100 is 10%)\",\"lastFee\":\"The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\",\"pluginConfig\":\"The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\",\"price\":\"The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\",\"tick\":\"The current tick of the pool, i.e. according to the last tick transition that was run This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\",\"unlocked\":\"Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false\"}},\"isUnlocked()\":{\"details\":\"can be used to prevent read-only reentrancy. This method just returns `globalState.unlocked` value\",\"returns\":{\"unlocked\":\"Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false\"}},\"lastFeeTransferTimestamp()\":{\"returns\":{\"_0\":\"The timestamp truncated to 32 bits\"}},\"liquidity()\":{\"details\":\"This value has no relationship to the total liquidity across all ticks. Returned value cannot exceed type(uint128).max**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The current in range liquidity\"}},\"nextTickGlobal()\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The next initialized tick\"}},\"plugin()\":{\"details\":\"The plugin is subject to change\",\"returns\":{\"pluginAddress\":\"The address of currently used plugin\"}},\"positions(bytes32)\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"params\":{\"key\":\"The position's key is a packed concatenation of the owner address, bottomTick and topTick indexes\"},\"returns\":{\"fees0\":\"The computed amount of token0 owed to the position as of the last mint/burn/poke\",\"fees1\":\"The computed amount of token1 owed to the position as of the last mint/burn/poke\",\"innerFeeGrowth0Token\":\"Fee growth of token0 inside the tick range as of the last mint/burn/poke\",\"innerFeeGrowth1Token\":\"Fee growth of token1 inside the tick range as of the last mint/burn/poke\",\"liquidity\":\"The amount of liquidity in the position\"}},\"prevTickGlobal()\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The previous initialized tick\"}},\"safelyGetStateOfAMM()\":{\"details\":\"Several values exposed as a single method to save gas when accessed externally. **Important security note: this method checks reentrancy lock and should be preferred in most cases**.\",\"returns\":{\"activeLiquidity\":\" The currently in-range liquidity available to the pool\",\"lastFee\":\"The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\",\"nextTick\":\"The next initialized tick after current global tick\",\"pluginConfig\":\"The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\",\"previousTick\":\"The previous initialized tick before (or at) current global tick\",\"sqrtPrice\":\"The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\",\"tick\":\"The current global tick of the pool. May not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\"}},\"tickSpacing()\":{\"details\":\"Ticks can only be initialized by new mints at multiples of this value e.g.: a tickSpacing of 60 means ticks can be initialized every 60th tick, i.e., ..., -120, -60, 0, 60, 120, ... However, tickspacing can be changed after the ticks have been initialized. This value is an int24 to avoid casting even though it is always positive.\",\"returns\":{\"_0\":\"The current tick spacing\"}},\"tickTable(int16)\":{\"params\":{\"wordPosition\":\"Index of 256-bits word with ticks\"},\"returns\":{\"_0\":\"The 256-bits word with packed ticks info\"}},\"tickTreeRoot()\":{\"details\":\"Each bit corresponds to one node in the second layer of tick tree: '1' if node has at least one active bit. **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The root of tick search tree as bitmap\"}},\"tickTreeSecondLayer(int16)\":{\"details\":\"Each bit in node corresponds to one node in the leafs layer (`tickTable`) of tick tree: '1' if leaf has at least one active bit. **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The node of tick search tree second layer\"}},\"ticks(int24)\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"params\":{\"tick\":\"The tick to look up\"},\"returns\":{\"liquidityDelta\":\"How much liquidity changes when the pool price crosses the tick\",\"liquidityTotal\":\"The total amount of position liquidity that uses the pool either as tick lower or tick upper\",\"nextTick\":\"The next tick in tick list\",\"outerFeeGrowth0Token\":\"The fee growth on the other side of the tick from the current tick in token0\",\"outerFeeGrowth1Token\":\"The fee growth on the other side of the tick from the current tick in token1 In addition, these values are only relative and must be used only in comparison to previous snapshots for a specific position.\",\"prevTick\":\"The previous tick in tick list\"}},\"totalFeeGrowth0Token()\":{\"details\":\"This value can overflow the uint256\",\"returns\":{\"_0\":\"The fee growth accumulator for token0\"}},\"totalFeeGrowth1Token()\":{\"details\":\"This value can overflow the uint256\",\"returns\":{\"_0\":\"The fee growth accumulator for token1\"}}},\"title\":\"Pool state that can change\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"communityVault()\":{\"notice\":\"The contract to which community fees are transferred\"},\"fee()\":{\"notice\":\"The current pool fee value\"},\"getCommunityFeePending()\":{\"notice\":\"The amounts of token0 and token1 that will be sent to the vault\"},\"getPluginFeePending()\":{\"notice\":\"The amounts of token0 and token1 that will be sent to the plugin\"},\"getReserves()\":{\"notice\":\"The tracked token0 and token1 reserves of pool\"},\"globalState()\":{\"notice\":\"The globalState structure in the pool stores many values but requires only one slot and is exposed as a single method to save gas when accessed externally.\"},\"isUnlocked()\":{\"notice\":\"Allows to easily get current reentrancy lock status\"},\"lastFeeTransferTimestamp()\":{\"notice\":\"The timestamp of the last sending of tokens to vault/plugin\"},\"liquidity()\":{\"notice\":\"The currently in range liquidity available to the pool\"},\"nextTickGlobal()\":{\"notice\":\"The next initialized tick after current global tick\"},\"plugin()\":{\"notice\":\"Returns the address of currently used plugin\"},\"positions(bytes32)\":{\"notice\":\"Returns the information about a position by the position's key\"},\"prevTickGlobal()\":{\"notice\":\"The previous initialized tick before (or at) current global tick\"},\"safelyGetStateOfAMM()\":{\"notice\":\"Safely get most important state values of Algebra Integral AMM\"},\"tickSpacing()\":{\"notice\":\"The current tick spacing\"},\"tickTable(int16)\":{\"notice\":\"Returns 256 packed tick initialized boolean values. See TickTree for more information\"},\"tickTreeRoot()\":{\"notice\":\"The root of tick search tree\"},\"tickTreeSecondLayer(int16)\":{\"notice\":\"The second layer of tick search tree\"},\"ticks(int24)\":{\"notice\":\"Look up information about a specific tick in the pool\"},\"totalFeeGrowth0Token()\":{\"notice\":\"The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\"},\"totalFeeGrowth1Token()\":{\"notice\":\"The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":\"IAlgebraPoolState\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":{\"keccak256\":\"0xe061f0f9b5b16934173b1127efe13ccfe80465db17156d91c04e018b31e993fa\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c607033ec09828f4a8667e7fd2e562814ec689d5806d95b4a248f57e0eff9d38\",\"dweb:/ipfs/QmbGBxBMSzPKitHmRjYJwGGEZVsXDQB6emSsZ19hjy6LUz\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol":{"IAlgebraVaultFactory":{"abi":[{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"address","name":"deployer","type":"address"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"createVaultForPool","outputs":[{"internalType":"address","name":"communityFeeVault","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"getVaultForPool","outputs":[{"internalType":"address","name":"communityFeeVault","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"createVaultForPool(address,address,address,address,address)":"b8a1d3c6","getVaultForPool(address)":"7570e389"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"deployer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"}],\"name\":\"createVaultForPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"communityFeeVault\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"getVaultForPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"communityFeeVault\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Version: Algebra Integral\",\"kind\":\"dev\",\"methods\":{\"createVaultForPool(address,address,address,address,address)\":{\"params\":{\"pool\":\"the address of Algebra Integral pool\"},\"returns\":{\"communityFeeVault\":\"the address of community fee vault\"}},\"getVaultForPool(address)\":{\"params\":{\"pool\":\"the address of Algebra Integral pool\"},\"returns\":{\"communityFeeVault\":\"the address of community fee vault\"}}},\"title\":\"The interface for the Algebra Vault Factory\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"createVaultForPool(address,address,address,address,address)\":{\"notice\":\"creates the community fee vault for the pool if needed\"},\"getVaultForPool(address)\":{\"notice\":\"returns address of the community fee vault for the pool\"}},\"notice\":\"This contract can be used for automatic vaults creation\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":\"IAlgebraVaultFactory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":{\"keccak256\":\"0xcdaae6cd6af79c4f344e673fe886a980ef5203b15b49f7a466c336c0152ce6ae\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fa2d3073bd4ca013e2769cf0fa5b68f32cec4fa53a6cc66adb59d86e6293cf15\",\"dweb:/ipfs/QmcwveJdf3JLAPfFZShijKTTxMTP4joDDuSuFboXBe711S\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol":{"Constants":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"244:1205:16:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;244:1205:16;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"244:1205:16:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Constants moved to the library, not the base contract, to further emphasize their constant nature\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Contains common constants for Algebra contracts\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol\":\"Constants\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol\":{\"keccak256\":\"0x43f5e9ef4088f1301bc80f6446114ab1f3bdd58063fc6b107f8b1598b80e4915\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://496cb38eedc163919d59a6a196d2e566771e711b6e5e4a80a11efaa7b903c03a\",\"dweb:/ipfs/QmVf5trKkBGeXeuDsiuzXDGPVEpJRvaQsdL5Dr2HZ8ZePq\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol":{"FullMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"354:5026:17:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;354:5026:17;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"354:5026:17:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Handles \\\"phantom overflow\\\" i.e., allows multiplication and division where an intermediate value overflows 256 bits\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Contains 512-bit math functions\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Facilitates multiplication and division that can have overflow of an intermediate value without any loss of precision\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol\":\"FullMath\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol\":{\"keccak256\":\"0x6e562130eac2d18d5527fc12115e83a3aa0955f6be89531b6d0d5977f0784cf7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5226566361b64a277a523430449d398434aa9956ec53ab96120bdb5eed0d36c\",\"dweb:/ipfs/QmdmE85FDGgaZBFb9WDamJQpvSx6BrpYUutudSzoRVmxMv\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/libraries/LiquidityMath.sol":{"LiquidityMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"358:1908:18:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;358:1908:18;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"358:1908:18:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/blob/main/contracts/libraries\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Math library for liquidity\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/libraries/LiquidityMath.sol\":\"LiquidityMath\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol\":{\"keccak256\":\"0x43f5e9ef4088f1301bc80f6446114ab1f3bdd58063fc6b107f8b1598b80e4915\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://496cb38eedc163919d59a6a196d2e566771e711b6e5e4a80a11efaa7b903c03a\",\"dweb:/ipfs/QmVf5trKkBGeXeuDsiuzXDGPVEpJRvaQsdL5Dr2HZ8ZePq\"]},\"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol\":{\"keccak256\":\"0x6e562130eac2d18d5527fc12115e83a3aa0955f6be89531b6d0d5977f0784cf7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5226566361b64a277a523430449d398434aa9956ec53ab96120bdb5eed0d36c\",\"dweb:/ipfs/QmdmE85FDGgaZBFb9WDamJQpvSx6BrpYUutudSzoRVmxMv\"]},\"@cryptoalgebra/integral-core/contracts/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x84da0c74625df15073beb35957e0247b8eb9c7a50a1b02fcbd6dd98a352f0f25\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7db3b0d6a71dc17898b4cfa68e60ea39158dd03145b3a53aa112ab4c1a81a9cf\",\"dweb:/ipfs/QmWgvbT8aeUVhrNVpCHHp4Ut4MXKnJBMGFq56orFeNAe6m\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol\":{\"keccak256\":\"0x1ce68c4b018476d007a0395bf2020cd9f8a5b69325a65465dd3d1f5877206d04\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7c2f240f89c058ea9288a6754a915597b78eabe60a5b3b3d921f02e9ca9cd105\",\"dweb:/ipfs/QmejQ2EatHjYWTRsXYojZ8VhYtLiqFGJ2juGj7y1sJPBc2\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol\":{\"keccak256\":\"0x2e7b1444ff69b60acac521b0d93998fb7775e0c4c5215ae31dec5bddafe1e336\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://778dc55bc1867dd899bcc93530c630f9baaff3134973f3cc5dfb62513130b790\",\"dweb:/ipfs/QmXMy8E7Y4G89nbkeha6ULUHNTeoC4t169yAYcWThFQVWC\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol\":{\"keccak256\":\"0xcf5faef8dad2a0ca0bce815f95fc416f20129bae96b8e47ce24b750869ad1000\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://0aab6d459259a50151be1458d9da7271d39e94f74f3d20bd295613a82f168f9f\",\"dweb:/ipfs/QmcedxQjrx3JchnazwsMPEazwt55nrViVYnZL2yijvFbPB\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol":{"Plugins":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"311:817:19:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;311:817:19;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"311:817:19:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Allows pool to check which hooks are enabled, as well as control the return selector\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Contains logic and constants for interacting with the plugin through hooks\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":\"Plugins\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":{\"keccak256\":\"0x354b1e099e9a47ce6fdc2ff4a4549249fa9c54434bf4dedb14fd4afe7d94d2d5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d9efe57e2239df29c7290fc1a27c8f0a6d8aa1f9e4c9271efadb8b29b29d7058\",\"dweb:/ipfs/QmbRJqfJR62Bx7XhN8qNBk85zjpWfyxSSiC5vHpxXnYMKb\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol":{"SafeCast":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"305:1366:20:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;305:1366:20;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"305:1366:20:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/blob/main/contracts/libraries\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Safe casting methods\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains methods for safely casting between types\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol\":\"SafeCast\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol\":{\"keccak256\":\"0x1ce68c4b018476d007a0395bf2020cd9f8a5b69325a65465dd3d1f5877206d04\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7c2f240f89c058ea9288a6754a915597b78eabe60a5b3b3d921f02e9ca9cd105\",\"dweb:/ipfs/QmejQ2EatHjYWTRsXYojZ8VhYtLiqFGJ2juGj7y1sJPBc2\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol":{"SafeTransfer":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"521:1313:21:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;521:1313:21;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"521:1313:21:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Credit to Solmate under MIT license: https://github.com/transmissions11/solmate/blob/ed67feda67b24fdeff8ad1032360f0ee6047ba0a/src/utils/SafeTransferLib.solPlease note that this library does not check if the token has a code! That responsibility is delegated to the caller.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"SafeTransfer\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Safe ERC20 transfer library that gracefully handles missing return values.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol\":\"SafeTransfer\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol\":{\"keccak256\":\"0x14e91c94e35c50efcd97e13609f686499c1dfa726ee0b3f6078fa4b99bde9a0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d9a7efa21d03180ded0e99d7ba05abd5c8ebedf2439a5a78091b679eadc4064\",\"dweb:/ipfs/QmVUZPhYPTb2yY9381AL242tfVsb3iWxmE2XwqcN9HG6eW\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol":{"TickManagement":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"395:8151:22:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;395:8151:22;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"395:8151:22:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Ticks are organized as a doubly linked list\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Library for managing and interacting with ticks\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains functions for managing tick processes and relevant calculations\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol\":\"TickManagement\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol\":{\"keccak256\":\"0x43f5e9ef4088f1301bc80f6446114ab1f3bdd58063fc6b107f8b1598b80e4915\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://496cb38eedc163919d59a6a196d2e566771e711b6e5e4a80a11efaa7b903c03a\",\"dweb:/ipfs/QmVf5trKkBGeXeuDsiuzXDGPVEpJRvaQsdL5Dr2HZ8ZePq\"]},\"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol\":{\"keccak256\":\"0x6e562130eac2d18d5527fc12115e83a3aa0955f6be89531b6d0d5977f0784cf7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5226566361b64a277a523430449d398434aa9956ec53ab96120bdb5eed0d36c\",\"dweb:/ipfs/QmdmE85FDGgaZBFb9WDamJQpvSx6BrpYUutudSzoRVmxMv\"]},\"@cryptoalgebra/integral-core/contracts/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x84da0c74625df15073beb35957e0247b8eb9c7a50a1b02fcbd6dd98a352f0f25\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7db3b0d6a71dc17898b4cfa68e60ea39158dd03145b3a53aa112ab4c1a81a9cf\",\"dweb:/ipfs/QmWgvbT8aeUVhrNVpCHHp4Ut4MXKnJBMGFq56orFeNAe6m\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol\":{\"keccak256\":\"0x1ce68c4b018476d007a0395bf2020cd9f8a5b69325a65465dd3d1f5877206d04\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7c2f240f89c058ea9288a6754a915597b78eabe60a5b3b3d921f02e9ca9cd105\",\"dweb:/ipfs/QmejQ2EatHjYWTRsXYojZ8VhYtLiqFGJ2juGj7y1sJPBc2\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol\":{\"keccak256\":\"0x34b29f669bef011b96de606c4cd19881e436b3c9f722c493e6f255f913ed7d58\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c1edd75810055445440a0fb3e01731b2d5cd274c0476fcab6133ca8213a8d6a5\",\"dweb:/ipfs/QmfEqYPFdWM6MEMxSDWrk84CmbwCZQ55nF8dcucaTdJ2rb\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol\":{\"keccak256\":\"0x2e7b1444ff69b60acac521b0d93998fb7775e0c4c5215ae31dec5bddafe1e336\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://778dc55bc1867dd899bcc93530c630f9baaff3134973f3cc5dfb62513130b790\",\"dweb:/ipfs/QmXMy8E7Y4G89nbkeha6ULUHNTeoC4t169yAYcWThFQVWC\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol\":{\"keccak256\":\"0xcf5faef8dad2a0ca0bce815f95fc416f20129bae96b8e47ce24b750869ad1000\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://0aab6d459259a50151be1458d9da7271d39e94f74f3d20bd295613a82f168f9f\",\"dweb:/ipfs/QmcedxQjrx3JchnazwsMPEazwt55nrViVYnZL2yijvFbPB\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol":{"TickMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"499:7979:23:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;499:7979:23;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"499:7979:23:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Credit to Uniswap Labs under GPL-2.0-or-later license: https://github.com/Uniswap/v3-core/blob/main/contracts/libraries\",\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"MAX_SQRT_RATIO\":{\"details\":\"The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)\"},\"MAX_TICK\":{\"details\":\"The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128\"},\"MIN_SQRT_RATIO\":{\"details\":\"The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)\"},\"MIN_TICK\":{\"details\":\"The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128\"}},\"title\":\"Math library for computing sqrt prices from ticks and vice versa\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports prices between 2**-128 and 2**128\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol\":\"TickMath\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol\":{\"keccak256\":\"0x2e7b1444ff69b60acac521b0d93998fb7775e0c4c5215ae31dec5bddafe1e336\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://778dc55bc1867dd899bcc93530c630f9baaff3134973f3cc5dfb62513130b790\",\"dweb:/ipfs/QmXMy8E7Y4G89nbkeha6ULUHNTeoC4t169yAYcWThFQVWC\"]}},\"version\":1}"}},"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol":{"TokenDeltaMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"307:3421:24:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;307:3421:24;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"307:3421:24:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Functions based on Q64.96 sqrt price and liquidity\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Contains the math that uses square root of price as a Q64.96 and liquidity to compute deltas\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol\":\"TokenDeltaMath\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol\":{\"keccak256\":\"0x43f5e9ef4088f1301bc80f6446114ab1f3bdd58063fc6b107f8b1598b80e4915\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://496cb38eedc163919d59a6a196d2e566771e711b6e5e4a80a11efaa7b903c03a\",\"dweb:/ipfs/QmVf5trKkBGeXeuDsiuzXDGPVEpJRvaQsdL5Dr2HZ8ZePq\"]},\"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol\":{\"keccak256\":\"0x6e562130eac2d18d5527fc12115e83a3aa0955f6be89531b6d0d5977f0784cf7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5226566361b64a277a523430449d398434aa9956ec53ab96120bdb5eed0d36c\",\"dweb:/ipfs/QmdmE85FDGgaZBFb9WDamJQpvSx6BrpYUutudSzoRVmxMv\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol\":{\"keccak256\":\"0x1ce68c4b018476d007a0395bf2020cd9f8a5b69325a65465dd3d1f5877206d04\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7c2f240f89c058ea9288a6754a915597b78eabe60a5b3b3d921f02e9ca9cd105\",\"dweb:/ipfs/QmejQ2EatHjYWTRsXYojZ8VhYtLiqFGJ2juGj7y1sJPBc2\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol\":{\"keccak256\":\"0xcf5faef8dad2a0ca0bce815f95fc416f20129bae96b8e47ce24b750869ad1000\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://0aab6d459259a50151be1458d9da7271d39e94f74f3d20bd295613a82f168f9f\",\"dweb:/ipfs/QmcedxQjrx3JchnazwsMPEazwt55nrViVYnZL2yijvFbPB\"]}},\"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"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"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] ```solidity 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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x89be10e757d242e9b18d5a32c9fbe2019f6d63052bbe46397a430a1d60d7f794\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f103ee2e4aecd37aac6ceefe670709cdd7613dee25fa2d4d9feaf7fc0aaa155e\",\"dweb:/ipfs/QmRiNZLoJk5k3HPMYGPGjZFd2ke1ZxjhJZkM45Ec9GH9hv\"]},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://310136ad60820af4177a11a61d77a3686faf5fca4942b600e08fc940db38396b\",\"dweb:/ipfs/QmbCzMNSTL7Zi7M4UCSqBrkHtp4jjxUnGbkneCZKdR1qeq\"]}},\"version\":1}"}},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"AddressUpgradeable":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"194:9180:26:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;194:9180:26;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"194:9180:26:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://310136ad60820af4177a11a61d77a3686faf5fca4942b600e08fc940db38396b\",\"dweb:/ipfs/QmbCzMNSTL7Zi7M4UCSqBrkHtp4jjxUnGbkneCZKdR1qeq\"]}},\"version\":1}"}},"@openzeppelin/contracts/access/Ownable.sol":{"Ownable":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"owner()":"8da5cb5b","renounceOwnership()":"715018a6","transferOwnership(address)":"f2fde38b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the contract setting the deployer as the initial owner.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/access/Ownable.sol\":\"Ownable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32\",\"dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}"}},"@openzeppelin/contracts/interfaces/IERC1967.sol":{"IERC1967":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC. _Available since v4.8.3._\",\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/IERC1967.sol\":\"IERC1967\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0x3cbef5ebc24b415252e2f8c0c9254555d30d9f085603b4b80d9b5ed20ab87e90\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fa670c3bdce78e642cc6ae11c4cb38b133499cdce5e1990a9979d424703263\",\"dweb:/ipfs/QmVxeCUk4jL2pXQyhsoNJwyU874wRufS2WvGe8TgPKPqhE\"]}},\"version\":1}"}},"@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"IERC1822Proxiable":{"abi":[{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"proxiableUUID()":"52d1902d"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified proxy whose upgrades are fully controlled by the current implementation.\",\"kind\":\"dev\",\"methods\":{\"proxiableUUID()\":{\"details\":\"Returns the storage slot that the proxiable contract assumes is being used to store the implementation address. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\":\"IERC1822Proxiable\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0x1d4afe6cb24200cc4545eed814ecf5847277dfe5d613a1707aad5fceecebcfff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://383fb7b8181016ac5ccf07bc9cdb7c1b5045ea36e2cc4df52bcbf20396fc7688\",\"dweb:/ipfs/QmYJ7Cg4WmE3rR8KGQxjUCXFfTH6TcwZ2Z1f6tPrq7jHFr\"]}},\"version\":1}"}},"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol":{"ERC1967Upgrade":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"This abstract contract provides getters and event emitting update functions for https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots. _Available since v4.1._\",\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"_ADMIN_SLOT\":{\"details\":\"Storage slot with the admin of the contract. This is the keccak-256 hash of \\\"eip1967.proxy.admin\\\" subtracted by 1, and is validated in the constructor.\"},\"_BEACON_SLOT\":{\"details\":\"The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy. This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\"},\"_IMPLEMENTATION_SLOT\":{\"details\":\"Storage slot with the address of the current implementation. This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is validated in the constructor.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol\":\"ERC1967Upgrade\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0x3cbef5ebc24b415252e2f8c0c9254555d30d9f085603b4b80d9b5ed20ab87e90\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fa670c3bdce78e642cc6ae11c4cb38b133499cdce5e1990a9979d424703263\",\"dweb:/ipfs/QmVxeCUk4jL2pXQyhsoNJwyU874wRufS2WvGe8TgPKPqhE\"]},\"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0x1d4afe6cb24200cc4545eed814ecf5847277dfe5d613a1707aad5fceecebcfff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://383fb7b8181016ac5ccf07bc9cdb7c1b5045ea36e2cc4df52bcbf20396fc7688\",\"dweb:/ipfs/QmYJ7Cg4WmE3rR8KGQxjUCXFfTH6TcwZ2Z1f6tPrq7jHFr\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol\":{\"keccak256\":\"0x3b21ae06bf5957f73fa16754b0669c77b7abd8ba6c072d35c3281d446fdb86c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2db8e18505e86e02526847005d7287a33e397ed7fb9eaba3fd4a4a197add16e2\",\"dweb:/ipfs/QmW9BSuKTzHWHBNSHF4L8XfVuU1uJrP2vLg84YtBd8mL82\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ada1e030c0231db8d143b44ce92b4d1158eedb087880cad6d8cc7bd7ebe7b354\",\"dweb:/ipfs/QmWZ2NHZweRpz1U9GF6R1h65ri76dnX7fNxLBeM2t5N5Ce\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931\",\"dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e26daf81e2252dc1fe1ce0e4b55c2eb7c6d1ee84ae6558d1a9554432ea1d32da\",\"dweb:/ipfs/Qmb1UANWiWq5pCKbmHSu772hd4nt374dVaghGmwSVNuk8Q\"]}},\"version\":1}"}},"@openzeppelin/contracts/proxy/Proxy.sol":{"Proxy":{"abi":[{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"This abstract contract provides a fallback function that delegates all calls to another contract using the EVM instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to be specified by overriding the virtual {_implementation} function. Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a different contract through the {_delegate} function. The success and return data of the delegated call will be returned back to the caller of the proxy.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/Proxy.sol\":\"Proxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0xc130fe33f1b2132158531a87734153293f6d07bc263ff4ac90e85da9c82c0e27\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8831721b6f4cc26534d190f9f1631c3f59c9ff38efdd911f85e0882b8e360472\",\"dweb:/ipfs/QmQZnLErZNStirSQ13ZNWQgvEYUtGE5tXYwn4QUPaVUfPN\"]}},\"version\":1}"}},"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol":{"BeaconProxy":{"abi":[{"inputs":[{"internalType":"address","name":"beacon","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}],"evm":{"bytecode":{"functionDebugData":{"@_5189":{"entryPoint":null,"id":5189,"parameterSlots":2,"returnSlots":0},"@_revert_5644":{"entryPoint":928,"id":5644,"parameterSlots":2,"returnSlots":0},"@_setBeacon_5073":{"entryPoint":246,"id":5073,"parameterSlots":1,"returnSlots":0},"@_upgradeBeaconToAndCall_5111":{"entryPoint":53,"id":5111,"parameterSlots":3,"returnSlots":0},"@functionDelegateCall_5532":{"entryPoint":634,"id":5532,"parameterSlots":2,"returnSlots":1},"@functionDelegateCall_5561":{"entryPoint":678,"id":5561,"parameterSlots":3,"returnSlots":1},"@getAddressSlot_5699":{"entryPoint":null,"id":5699,"parameterSlots":1,"returnSlots":1},"@isContract_5333":{"entryPoint":null,"id":5333,"parameterSlots":1,"returnSlots":1},"@verifyCallResultFromTarget_5600":{"entryPoint":799,"id":5600,"parameterSlots":4,"returnSlots":1},"abi_decode_address_fromMemory":{"entryPoint":970,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":1248,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory":{"entryPoint":1056,"id":null,"parameterSlots":2,"returnSlots":2},"abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed":{"entryPoint":1275,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":1303,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"copy_memory_to_memory_with_cleanup":{"entryPoint":1020,"id":null,"parameterSlots":3,"returnSlots":0},"panic_error_0x41":{"entryPoint":998,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:3653:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"74:117:52","statements":[{"nodeType":"YulAssignment","src":"84:22:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"99:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"93:5:52"},"nodeType":"YulFunctionCall","src":"93:13:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"84:5:52"}]},{"body":{"nodeType":"YulBlock","src":"169:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"178:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"181:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"171:6:52"},"nodeType":"YulFunctionCall","src":"171:12:52"},"nodeType":"YulExpressionStatement","src":"171:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"128:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"139:5:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"154:3:52","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"159:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"150:3:52"},"nodeType":"YulFunctionCall","src":"150:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"163:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"146:3:52"},"nodeType":"YulFunctionCall","src":"146:19:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"135:3:52"},"nodeType":"YulFunctionCall","src":"135:31:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"125:2:52"},"nodeType":"YulFunctionCall","src":"125:42:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"118:6:52"},"nodeType":"YulFunctionCall","src":"118:50:52"},"nodeType":"YulIf","src":"115:70:52"}]},"name":"abi_decode_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"53:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"64:5:52","type":""}],"src":"14:177:52"},{"body":{"nodeType":"YulBlock","src":"228:95:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"245:1:52","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"252:3:52","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"257:10:52","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"248:3:52"},"nodeType":"YulFunctionCall","src":"248:20:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"238:6:52"},"nodeType":"YulFunctionCall","src":"238:31:52"},"nodeType":"YulExpressionStatement","src":"238:31:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"285:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"288:4:52","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"278:6:52"},"nodeType":"YulFunctionCall","src":"278:15:52"},"nodeType":"YulExpressionStatement","src":"278:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"309:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"312:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"302:6:52"},"nodeType":"YulFunctionCall","src":"302:15:52"},"nodeType":"YulExpressionStatement","src":"302:15:52"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"196:127:52"},{"body":{"nodeType":"YulBlock","src":"394:184:52","statements":[{"nodeType":"YulVariableDeclaration","src":"404:10:52","value":{"kind":"number","nodeType":"YulLiteral","src":"413:1:52","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"408:1:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"473:63:52","statements":[{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"498:3:52"},{"name":"i","nodeType":"YulIdentifier","src":"503:1:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"494:3:52"},"nodeType":"YulFunctionCall","src":"494:11:52"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"517:3:52"},{"name":"i","nodeType":"YulIdentifier","src":"522:1:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"513:3:52"},"nodeType":"YulFunctionCall","src":"513:11:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"507:5:52"},"nodeType":"YulFunctionCall","src":"507:18:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"487:6:52"},"nodeType":"YulFunctionCall","src":"487:39:52"},"nodeType":"YulExpressionStatement","src":"487:39:52"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"434:1:52"},{"name":"length","nodeType":"YulIdentifier","src":"437:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"431:2:52"},"nodeType":"YulFunctionCall","src":"431:13:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"445:19:52","statements":[{"nodeType":"YulAssignment","src":"447:15:52","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"456:1:52"},{"kind":"number","nodeType":"YulLiteral","src":"459:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"452:3:52"},"nodeType":"YulFunctionCall","src":"452:10:52"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"447:1:52"}]}]},"pre":{"nodeType":"YulBlock","src":"427:3:52","statements":[]},"src":"423:113:52"},{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"556:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"561:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"552:3:52"},"nodeType":"YulFunctionCall","src":"552:16:52"},{"kind":"number","nodeType":"YulLiteral","src":"570:1:52","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"545:6:52"},"nodeType":"YulFunctionCall","src":"545:27:52"},"nodeType":"YulExpressionStatement","src":"545:27:52"}]},"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulFunctionDefinition","parameters":[{"name":"src","nodeType":"YulTypedName","src":"372:3:52","type":""},{"name":"dst","nodeType":"YulTypedName","src":"377:3:52","type":""},{"name":"length","nodeType":"YulTypedName","src":"382:6:52","type":""}],"src":"328:250:52"},{"body":{"nodeType":"YulBlock","src":"690:874:52","statements":[{"body":{"nodeType":"YulBlock","src":"736:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"745:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"748:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"738:6:52"},"nodeType":"YulFunctionCall","src":"738:12:52"},"nodeType":"YulExpressionStatement","src":"738:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"711:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"720:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"707:3:52"},"nodeType":"YulFunctionCall","src":"707:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"732:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"703:3:52"},"nodeType":"YulFunctionCall","src":"703:32:52"},"nodeType":"YulIf","src":"700:52:52"},{"nodeType":"YulAssignment","src":"761:50:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"801:9:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"771:29:52"},"nodeType":"YulFunctionCall","src":"771:40:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"761:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"820:39:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"844:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"855:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"840:3:52"},"nodeType":"YulFunctionCall","src":"840:18:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"834:5:52"},"nodeType":"YulFunctionCall","src":"834:25:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"824:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"868:28:52","value":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"886:2:52","type":"","value":"64"},{"kind":"number","nodeType":"YulLiteral","src":"890:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"882:3:52"},"nodeType":"YulFunctionCall","src":"882:10:52"},{"kind":"number","nodeType":"YulLiteral","src":"894:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"878:3:52"},"nodeType":"YulFunctionCall","src":"878:18:52"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"872:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"923:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"932:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"935:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"925:6:52"},"nodeType":"YulFunctionCall","src":"925:12:52"},"nodeType":"YulExpressionStatement","src":"925:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"911:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"919:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"908:2:52"},"nodeType":"YulFunctionCall","src":"908:14:52"},"nodeType":"YulIf","src":"905:34:52"},{"nodeType":"YulVariableDeclaration","src":"948:32:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"962:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"973:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"958:3:52"},"nodeType":"YulFunctionCall","src":"958:22:52"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"952:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1028:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1037:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1040:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1030:6:52"},"nodeType":"YulFunctionCall","src":"1030:12:52"},"nodeType":"YulExpressionStatement","src":"1030:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"1007:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"1011:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1003:3:52"},"nodeType":"YulFunctionCall","src":"1003:13:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1018:7:52"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"999:3:52"},"nodeType":"YulFunctionCall","src":"999:27:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"992:6:52"},"nodeType":"YulFunctionCall","src":"992:35:52"},"nodeType":"YulIf","src":"989:55:52"},{"nodeType":"YulVariableDeclaration","src":"1053:19:52","value":{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"1069:2:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1063:5:52"},"nodeType":"YulFunctionCall","src":"1063:9:52"},"variables":[{"name":"_3","nodeType":"YulTypedName","src":"1057:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1095:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"1097:16:52"},"nodeType":"YulFunctionCall","src":"1097:18:52"},"nodeType":"YulExpressionStatement","src":"1097:18:52"}]},"condition":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"1087:2:52"},{"name":"_1","nodeType":"YulIdentifier","src":"1091:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1084:2:52"},"nodeType":"YulFunctionCall","src":"1084:10:52"},"nodeType":"YulIf","src":"1081:36:52"},{"nodeType":"YulVariableDeclaration","src":"1126:17:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1140:2:52","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"1136:3:52"},"nodeType":"YulFunctionCall","src":"1136:7:52"},"variables":[{"name":"_4","nodeType":"YulTypedName","src":"1130:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1152:23:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1172:2:52","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1166:5:52"},"nodeType":"YulFunctionCall","src":"1166:9:52"},"variables":[{"name":"memPtr","nodeType":"YulTypedName","src":"1156:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1184:71:52","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1206:6:52"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"1230:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"1234:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1226:3:52"},"nodeType":"YulFunctionCall","src":"1226:13:52"},{"name":"_4","nodeType":"YulIdentifier","src":"1241:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1222:3:52"},"nodeType":"YulFunctionCall","src":"1222:22:52"},{"kind":"number","nodeType":"YulLiteral","src":"1246:2:52","type":"","value":"63"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1218:3:52"},"nodeType":"YulFunctionCall","src":"1218:31:52"},{"name":"_4","nodeType":"YulIdentifier","src":"1251:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1214:3:52"},"nodeType":"YulFunctionCall","src":"1214:40:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1202:3:52"},"nodeType":"YulFunctionCall","src":"1202:53:52"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"1188:10:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1314:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"1316:16:52"},"nodeType":"YulFunctionCall","src":"1316:18:52"},"nodeType":"YulExpressionStatement","src":"1316:18:52"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1273:10:52"},{"name":"_1","nodeType":"YulIdentifier","src":"1285:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1270:2:52"},"nodeType":"YulFunctionCall","src":"1270:18:52"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1293:10:52"},{"name":"memPtr","nodeType":"YulIdentifier","src":"1305:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1290:2:52"},"nodeType":"YulFunctionCall","src":"1290:22:52"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"1267:2:52"},"nodeType":"YulFunctionCall","src":"1267:46:52"},"nodeType":"YulIf","src":"1264:72:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1352:2:52","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1356:10:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1345:6:52"},"nodeType":"YulFunctionCall","src":"1345:22:52"},"nodeType":"YulExpressionStatement","src":"1345:22:52"},{"expression":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1383:6:52"},{"name":"_3","nodeType":"YulIdentifier","src":"1391:2:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1376:6:52"},"nodeType":"YulFunctionCall","src":"1376:18:52"},"nodeType":"YulExpressionStatement","src":"1376:18:52"},{"body":{"nodeType":"YulBlock","src":"1440:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1449:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1452:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1442:6:52"},"nodeType":"YulFunctionCall","src":"1442:12:52"},"nodeType":"YulExpressionStatement","src":"1442:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"1417:2:52"},{"name":"_3","nodeType":"YulIdentifier","src":"1421:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1413:3:52"},"nodeType":"YulFunctionCall","src":"1413:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"1426:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1409:3:52"},"nodeType":"YulFunctionCall","src":"1409:20:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1431:7:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1406:2:52"},"nodeType":"YulFunctionCall","src":"1406:33:52"},"nodeType":"YulIf","src":"1403:53:52"},{"expression":{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"1504:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"1508:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1500:3:52"},"nodeType":"YulFunctionCall","src":"1500:11:52"},{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1517:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1525:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1513:3:52"},"nodeType":"YulFunctionCall","src":"1513:15:52"},{"name":"_3","nodeType":"YulIdentifier","src":"1530:2:52"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"1465:34:52"},"nodeType":"YulFunctionCall","src":"1465:68:52"},"nodeType":"YulExpressionStatement","src":"1465:68:52"},{"nodeType":"YulAssignment","src":"1542:16:52","value":{"name":"memPtr","nodeType":"YulIdentifier","src":"1552:6:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"1542:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"648:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"659:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"671:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"679:6:52","type":""}],"src":"583:981:52"},{"body":{"nodeType":"YulBlock","src":"1650:127:52","statements":[{"body":{"nodeType":"YulBlock","src":"1696:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1705:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1708:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1698:6:52"},"nodeType":"YulFunctionCall","src":"1698:12:52"},"nodeType":"YulExpressionStatement","src":"1698:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1671:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"1680:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1667:3:52"},"nodeType":"YulFunctionCall","src":"1667:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"1692:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1663:3:52"},"nodeType":"YulFunctionCall","src":"1663:32:52"},"nodeType":"YulIf","src":"1660:52:52"},{"nodeType":"YulAssignment","src":"1721:50:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1761:9:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"1731:29:52"},"nodeType":"YulFunctionCall","src":"1731:40:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1721:6:52"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1616:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1627:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1639:6:52","type":""}],"src":"1569:208:52"},{"body":{"nodeType":"YulBlock","src":"1956:227:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1973:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1984:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1966:6:52"},"nodeType":"YulFunctionCall","src":"1966:21:52"},"nodeType":"YulExpressionStatement","src":"1966:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2007:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2018:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2003:3:52"},"nodeType":"YulFunctionCall","src":"2003:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"2023:2:52","type":"","value":"37"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1996:6:52"},"nodeType":"YulFunctionCall","src":"1996:30:52"},"nodeType":"YulExpressionStatement","src":"1996:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2046:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2057:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2042:3:52"},"nodeType":"YulFunctionCall","src":"2042:18:52"},{"hexValue":"455243313936373a206e657720626561636f6e206973206e6f74206120636f6e","kind":"string","nodeType":"YulLiteral","src":"2062:34:52","type":"","value":"ERC1967: new beacon is not a con"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2035:6:52"},"nodeType":"YulFunctionCall","src":"2035:62:52"},"nodeType":"YulExpressionStatement","src":"2035:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2117:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2128:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2113:3:52"},"nodeType":"YulFunctionCall","src":"2113:18:52"},{"hexValue":"7472616374","kind":"string","nodeType":"YulLiteral","src":"2133:7:52","type":"","value":"tract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2106:6:52"},"nodeType":"YulFunctionCall","src":"2106:35:52"},"nodeType":"YulExpressionStatement","src":"2106:35:52"},{"nodeType":"YulAssignment","src":"2150:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2162:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2173:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2158:3:52"},"nodeType":"YulFunctionCall","src":"2158:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2150:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1933:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1947:4:52","type":""}],"src":"1782:401:52"},{"body":{"nodeType":"YulBlock","src":"2362:238:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2379:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2390:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2372:6:52"},"nodeType":"YulFunctionCall","src":"2372:21:52"},"nodeType":"YulExpressionStatement","src":"2372:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2413:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2424:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2409:3:52"},"nodeType":"YulFunctionCall","src":"2409:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"2429:2:52","type":"","value":"48"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2402:6:52"},"nodeType":"YulFunctionCall","src":"2402:30:52"},"nodeType":"YulExpressionStatement","src":"2402:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2452:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2463:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2448:3:52"},"nodeType":"YulFunctionCall","src":"2448:18:52"},{"hexValue":"455243313936373a20626561636f6e20696d706c656d656e746174696f6e2069","kind":"string","nodeType":"YulLiteral","src":"2468:34:52","type":"","value":"ERC1967: beacon implementation i"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2441:6:52"},"nodeType":"YulFunctionCall","src":"2441:62:52"},"nodeType":"YulExpressionStatement","src":"2441:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2523:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2534:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2519:3:52"},"nodeType":"YulFunctionCall","src":"2519:18:52"},{"hexValue":"73206e6f74206120636f6e7472616374","kind":"string","nodeType":"YulLiteral","src":"2539:18:52","type":"","value":"s not a contract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2512:6:52"},"nodeType":"YulFunctionCall","src":"2512:46:52"},"nodeType":"YulExpressionStatement","src":"2512:46:52"},{"nodeType":"YulAssignment","src":"2567:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2579:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2590:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2575:3:52"},"nodeType":"YulFunctionCall","src":"2575:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2567:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2339:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2353:4:52","type":""}],"src":"2188:412:52"},{"body":{"nodeType":"YulBlock","src":"2742:150:52","statements":[{"nodeType":"YulVariableDeclaration","src":"2752:27:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2772:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2766:5:52"},"nodeType":"YulFunctionCall","src":"2766:13:52"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"2756:6:52","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2827:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"2835:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2823:3:52"},"nodeType":"YulFunctionCall","src":"2823:17:52"},{"name":"pos","nodeType":"YulIdentifier","src":"2842:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"2847:6:52"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"2788:34:52"},"nodeType":"YulFunctionCall","src":"2788:66:52"},"nodeType":"YulExpressionStatement","src":"2788:66:52"},{"nodeType":"YulAssignment","src":"2863:23:52","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2874:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"2879:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2870:3:52"},"nodeType":"YulFunctionCall","src":"2870:16:52"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"2863:3:52"}]}]},"name":"abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"2718:3:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2723:6:52","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"2734:3:52","type":""}],"src":"2605:287:52"},{"body":{"nodeType":"YulBlock","src":"3071:179:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3088:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3099:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3081:6:52"},"nodeType":"YulFunctionCall","src":"3081:21:52"},"nodeType":"YulExpressionStatement","src":"3081:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3122:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3133:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3118:3:52"},"nodeType":"YulFunctionCall","src":"3118:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"3138:2:52","type":"","value":"29"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3111:6:52"},"nodeType":"YulFunctionCall","src":"3111:30:52"},"nodeType":"YulExpressionStatement","src":"3111:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3161:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3172:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3157:3:52"},"nodeType":"YulFunctionCall","src":"3157:18:52"},{"hexValue":"416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374","kind":"string","nodeType":"YulLiteral","src":"3177:31:52","type":"","value":"Address: call to non-contract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3150:6:52"},"nodeType":"YulFunctionCall","src":"3150:59:52"},"nodeType":"YulExpressionStatement","src":"3150:59:52"},{"nodeType":"YulAssignment","src":"3218:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3230:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3241:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3226:3:52"},"nodeType":"YulFunctionCall","src":"3226:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3218:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3048:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3062:4:52","type":""}],"src":"2897:353:52"},{"body":{"nodeType":"YulBlock","src":"3376:275:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3393:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3404:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3386:6:52"},"nodeType":"YulFunctionCall","src":"3386:21:52"},"nodeType":"YulExpressionStatement","src":"3386:21:52"},{"nodeType":"YulVariableDeclaration","src":"3416:27:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3436:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"3430:5:52"},"nodeType":"YulFunctionCall","src":"3430:13:52"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"3420:6:52","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3463:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3474:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3459:3:52"},"nodeType":"YulFunctionCall","src":"3459:18:52"},{"name":"length","nodeType":"YulIdentifier","src":"3479:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3452:6:52"},"nodeType":"YulFunctionCall","src":"3452:34:52"},"nodeType":"YulExpressionStatement","src":"3452:34:52"},{"expression":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3534:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3542:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3530:3:52"},"nodeType":"YulFunctionCall","src":"3530:15:52"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3551:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3562:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3547:3:52"},"nodeType":"YulFunctionCall","src":"3547:18:52"},{"name":"length","nodeType":"YulIdentifier","src":"3567:6:52"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"3495:34:52"},"nodeType":"YulFunctionCall","src":"3495:79:52"},"nodeType":"YulExpressionStatement","src":"3495:79:52"},{"nodeType":"YulAssignment","src":"3583:62:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3599:9:52"},{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"3618:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3626:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3614:3:52"},"nodeType":"YulFunctionCall","src":"3614:15:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3635:2:52","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3631:3:52"},"nodeType":"YulFunctionCall","src":"3631:7:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3610:3:52"},"nodeType":"YulFunctionCall","src":"3610:29:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3595:3:52"},"nodeType":"YulFunctionCall","src":"3595:45:52"},{"kind":"number","nodeType":"YulLiteral","src":"3642:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3591:3:52"},"nodeType":"YulFunctionCall","src":"3591:54:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3583:4:52"}]}]},"name":"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3345:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3356:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3367:4:52","type":""}],"src":"3255:396:52"}]},"contents":"{\n    { }\n    function abi_decode_address_fromMemory(offset) -> value\n    {\n        value := mload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function copy_memory_to_memory_with_cleanup(src, dst, length)\n    {\n        let i := 0\n        for { } lt(i, length) { i := add(i, 32) }\n        {\n            mstore(add(dst, i), mload(add(src, i)))\n        }\n        mstore(add(dst, length), 0)\n    }\n    function abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address_fromMemory(headStart)\n        let offset := mload(add(headStart, 32))\n        let _1 := sub(shl(64, 1), 1)\n        if gt(offset, _1) { revert(0, 0) }\n        let _2 := add(headStart, offset)\n        if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n        let _3 := mload(_2)\n        if gt(_3, _1) { panic_error_0x41() }\n        let _4 := not(31)\n        let memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(and(add(_3, 0x1f), _4), 63), _4))\n        if or(gt(newFreePtr, _1), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n        mstore(memPtr, _3)\n        if gt(add(add(_2, _3), 32), dataEnd) { revert(0, 0) }\n        copy_memory_to_memory_with_cleanup(add(_2, 32), add(memPtr, 32), _3)\n        value1 := memPtr\n    }\n    function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := abi_decode_address_fromMemory(headStart)\n    }\n    function abi_encode_tuple_t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470__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), \"ERC1967: new beacon is not a con\")\n        mstore(add(headStart, 96), \"tract\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 48)\n        mstore(add(headStart, 64), \"ERC1967: beacon implementation i\")\n        mstore(add(headStart, 96), \"s not a contract\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n    {\n        let length := mload(value0)\n        copy_memory_to_memory_with_cleanup(add(value0, 0x20), pos, length)\n        end := add(pos, length)\n    }\n    function abi_encode_tuple_t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 29)\n        mstore(add(headStart, 64), \"Address: call to non-contract\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        mstore(headStart, 32)\n        let length := mload(value0)\n        mstore(add(headStart, 32), length)\n        copy_memory_to_memory_with_cleanup(add(value0, 32), add(headStart, 64), length)\n        tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60806040526040516106ca3803806106ca83398101604081905261002291610420565b61002e82826000610035565b505061054a565b61003e836100f6565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a260008251118061007f5750805b156100f1576100ef836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e991906104e0565b8361027a565b505b505050565b6001600160a01b0381163b6101605760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b6101d4816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c591906104e0565b6001600160a01b03163b151590565b6102395760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610157565b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5080546001600160a01b0319166001600160a01b0392909216919091179055565b606061029f83836040518060600160405280602781526020016106a3602791396102a6565b9392505050565b6060600080856001600160a01b0316856040516102c391906104fb565b600060405180830381855af49150503d80600081146102fe576040519150601f19603f3d011682016040523d82523d6000602084013e610303565b606091505b5090925090506103158683838761031f565b9695505050505050565b6060831561038e578251600003610387576001600160a01b0385163b6103875760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610157565b5081610398565b61039883836103a0565b949350505050565b8151156103b05781518083602001fd5b8060405162461bcd60e51b81526004016101579190610517565b80516001600160a01b03811681146103e157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156104175781810151838201526020016103ff565b50506000910152565b6000806040838503121561043357600080fd5b61043c836103ca565b60208401519092506001600160401b038082111561045957600080fd5b818501915085601f83011261046d57600080fd5b81518181111561047f5761047f6103e6565b604051601f8201601f19908116603f011681019083821181831017156104a7576104a76103e6565b816040528281528860208487010111156104c057600080fd5b6104d18360208301602088016103fc565b80955050505050509250929050565b6000602082840312156104f257600080fd5b61029f826103ca565b6000825161050d8184602087016103fc565b9190910192915050565b60208152600082518060208401526105368160408501602087016103fc565b601f01601f19169190910160400192915050565b61014a806105596000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610029565b6100dc565b565b60006100697fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d505473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100d79190610100565b905090565b3660008037600080366000845af43d6000803e8080156100fb573d6000f35b3d6000fd5b60006020828403121561011257600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461013657600080fd5b939250505056fea164736f6c6343000814000a416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x40 MLOAD PUSH2 0x6CA CODESIZE SUB DUP1 PUSH2 0x6CA DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x22 SWAP2 PUSH2 0x420 JUMP JUMPDEST PUSH2 0x2E DUP3 DUP3 PUSH1 0x0 PUSH2 0x35 JUMP JUMPDEST POP POP PUSH2 0x54A JUMP JUMPDEST PUSH2 0x3E DUP4 PUSH2 0xF6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH32 0x1CF3B03A6CF19FA2BABA4DF148E9DCABEDEA7F8A5C07840E207E5C089BE95D3E SWAP1 PUSH1 0x0 SWAP1 LOG2 PUSH1 0x0 DUP3 MLOAD GT DUP1 PUSH2 0x7F JUMPI POP DUP1 JUMPDEST ISZERO PUSH2 0xF1 JUMPI PUSH2 0xEF DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x5C60DA1B 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 0xC5 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 0xE9 SWAP2 SWAP1 PUSH2 0x4E0 JUMP JUMPDEST DUP4 PUSH2 0x27A JUMP JUMPDEST POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND EXTCODESIZE PUSH2 0x160 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 0x455243313936373A206E657720626561636F6E206973206E6F74206120636F6E PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x1D1C9858DD PUSH1 0xDA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1D4 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x5C60DA1B 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 0x1A1 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 0x1C5 SWAP2 SWAP1 PUSH2 0x4E0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x239 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x30 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x455243313936373A20626561636F6E20696D706C656D656E746174696F6E2069 PUSH1 0x44 DUP3 ADD MSTORE PUSH16 0x1CC81B9BDD08184818DBDB9D1C9858DD PUSH1 0x82 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x157 JUMP JUMPDEST PUSH32 0xA3F0AD74E5423AEBFD80D3EF4346578335A9A72AEAEE59FF6CB3582B35133D50 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x60 PUSH2 0x29F DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x6A3 PUSH1 0x27 SWAP2 CODECOPY PUSH2 0x2A6 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x2C3 SWAP2 SWAP1 PUSH2 0x4FB JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x2FE JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x303 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x315 DUP7 DUP4 DUP4 DUP8 PUSH2 0x31F JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x38E JUMPI DUP3 MLOAD PUSH1 0x0 SUB PUSH2 0x387 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND EXTCODESIZE PUSH2 0x387 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733A2063616C6C20746F206E6F6E2D636F6E7472616374000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x157 JUMP JUMPDEST POP DUP2 PUSH2 0x398 JUMP JUMPDEST PUSH2 0x398 DUP4 DUP4 PUSH2 0x3A0 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP2 MLOAD ISZERO PUSH2 0x3B0 JUMPI DUP2 MLOAD DUP1 DUP4 PUSH1 0x20 ADD REVERT JUMPDEST DUP1 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x157 SWAP2 SWAP1 PUSH2 0x517 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x3E1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x417 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x3FF JUMP JUMPDEST POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x433 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43C DUP4 PUSH2 0x3CA JUMP JUMPDEST PUSH1 0x20 DUP5 ADD MLOAD SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH2 0x459 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x46D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD DUP2 DUP2 GT ISZERO PUSH2 0x47F JUMPI PUSH2 0x47F PUSH2 0x3E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP4 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0x4A7 JUMPI PUSH2 0x4A7 PUSH2 0x3E6 JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP3 DUP2 MSTORE DUP9 PUSH1 0x20 DUP5 DUP8 ADD ADD GT ISZERO PUSH2 0x4C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4D1 DUP4 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x3FC JUMP JUMPDEST DUP1 SWAP6 POP POP POP POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x4F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x29F DUP3 PUSH2 0x3CA JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x50D DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x3FC JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x536 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x3FC JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x14A DUP1 PUSH2 0x559 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0x13 JUMPI PUSH2 0x11 PUSH2 0x17 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x11 JUMPDEST PUSH2 0x27 PUSH2 0x22 PUSH2 0x29 JUMP JUMPDEST PUSH2 0xDC JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x69 PUSH32 0xA3F0AD74E5423AEBFD80D3EF4346578335A9A72AEAEE59FF6CB3582B35133D50 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x5C60DA1B 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 0xB3 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 0xD7 SWAP2 SWAP1 PUSH2 0x100 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xFB JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x112 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x136 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP COINBASE PUSH5 0x6472657373 GASPRICE KECCAK256 PUSH13 0x6F772D6C6576656C2064656C65 PUSH8 0x6174652063616C6C KECCAK256 PUSH7 0x61696C65640000 ","sourceMap":"580:1515:32:-:0;;;1060:116;;;;;;;;;;;;;;;;;;:::i;:::-;1125:44;1149:6;1157:4;1163:5;1125:23;:44::i;:::-;1060:116;;580:1515;;5728:313:30;5834:21;5845:9;5834:10;:21::i;:::-;5870:25;;-1:-1:-1;;;;;5870:25:30;;;;;;;;5923:1;5909:4;:11;:15;:28;;;;5928:9;5909:28;5905:130;;;5953:71;5990:9;-1:-1:-1;;;;;5982:33:30;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6019:4;5953:28;:71::i;:::-;;5905:130;5728:313;;;:::o;5054:371::-;-1:-1:-1;;;;;1702:19:35;;;5111:79:30;;;;-1:-1:-1;;;5111:79:30;;1984:2:52;5111:79:30;;;1966:21:52;2023:2;2003:18;;;1996:30;2062:34;2042:18;;;2035:62;-1:-1:-1;;;2113:18:52;;;2106:35;2158:19;;5111:79:30;;;;;;;;;5221:55;5248:9;-1:-1:-1;;;;;5240:33:30;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1702:19:35;;:23;;;1412:320;5221:55:30;5200:150;;;;-1:-1:-1;;;5200:150:30;;2390:2:52;5200:150:30;;;2372:21:52;2429:2;2409:18;;;2402:30;2468:34;2448:18;;;2441:62;-1:-1:-1;;;2519:18:52;;;2512:46;2575:19;;5200:150:30;2188:412:52;5200:150:30;4719:66;5360:58;;-1:-1:-1;;;;;;5360:58:30;-1:-1:-1;;;;;5360:58:30;;;;;;;;;;5054:371::o;6674:198:35:-;6757:12;6788:77;6809:6;6817:4;6788:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;6781:84;6674:198;-1:-1:-1;;;6674:198:35:o;7058:325::-;7199:12;7224;7238:23;7265:6;-1:-1:-1;;;;;7265:19:35;7285:4;7265:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7223:67:35;;-1:-1:-1;7223:67:35;-1:-1:-1;7307:69:35;7334:6;7223:67;;7363:12;7307:26;:69::i;:::-;7300:76;7058:325;-1:-1:-1;;;;;;7058:325:35:o;7671:628::-;7851:12;7879:7;7875:418;;;7906:10;:17;7927:1;7906:22;7902:286;;-1:-1:-1;;;;;1702:19:35;;;8113:60;;;;-1:-1:-1;;;8113:60:35;;3099:2:52;8113:60:35;;;3081:21:52;3138:2;3118:18;;;3111:30;3177:31;3157:18;;;3150:59;3226:18;;8113:60:35;2897:353:52;8113:60:35;-1:-1:-1;8208:10:35;8201:17;;7875:418;8249:33;8257:10;8269:12;8249:7;:33::i;:::-;7671:628;;;;;;:::o;8821:540::-;8980:17;;:21;8976:379;;9208:10;9202:17;9264:15;9251:10;9247:2;9243:19;9236:44;8976:379;9331:12;9324:20;;-1:-1:-1;;;9324:20:35;;;;;;;;:::i;14:177:52:-;93:13;;-1:-1:-1;;;;;135:31:52;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:127::-;257:10;252:3;248:20;245:1;238:31;288:4;285:1;278:15;312:4;309:1;302:15;328:250;413:1;423:113;437:6;434:1;431:13;423:113;;;513:11;;;507:18;494:11;;;487:39;459:2;452:10;423:113;;;-1:-1:-1;;570:1:52;552:16;;545:27;328:250::o;583:981::-;671:6;679;732:2;720:9;711:7;707:23;703:32;700:52;;;748:1;745;738:12;700:52;771:40;801:9;771:40;:::i;:::-;855:2;840:18;;834:25;761:50;;-1:-1:-1;;;;;;908:14:52;;;905:34;;;935:1;932;925:12;905:34;973:6;962:9;958:22;948:32;;1018:7;1011:4;1007:2;1003:13;999:27;989:55;;1040:1;1037;1030:12;989:55;1069:2;1063:9;1091:2;1087;1084:10;1081:36;;;1097:18;;:::i;:::-;1172:2;1166:9;1140:2;1226:13;;-1:-1:-1;;1222:22:52;;;1246:2;1218:31;1214:40;1202:53;;;1270:18;;;1290:22;;;1267:46;1264:72;;;1316:18;;:::i;:::-;1356:10;1352:2;1345:22;1391:2;1383:6;1376:18;1431:7;1426:2;1421;1417;1413:11;1409:20;1406:33;1403:53;;;1452:1;1449;1442:12;1403:53;1465:68;1530:2;1525;1517:6;1513:15;1508:2;1504;1500:11;1465:68;:::i;:::-;1552:6;1542:16;;;;;;;583:981;;;;;:::o;1569:208::-;1639:6;1692:2;1680:9;1671:7;1667:23;1663:32;1660:52;;;1708:1;1705;1698:12;1660:52;1731:40;1761:9;1731:40;:::i;2605:287::-;2734:3;2772:6;2766:13;2788:66;2847:6;2842:3;2835:4;2827:6;2823:17;2788:66;:::i;:::-;2870:16;;;;;2605:287;-1:-1:-1;;2605:287:52:o;3255:396::-;3404:2;3393:9;3386:21;3367:4;3436:6;3430:13;3479:6;3474:2;3463:9;3459:18;3452:34;3495:79;3567:6;3562:2;3551:9;3547:18;3542:2;3534:6;3530:15;3495:79;:::i;:::-;3635:2;3614:15;-1:-1:-1;;3610:29:52;3595:45;;;;3642:2;3591:54;;3255:396;-1:-1:-1;;3255:396:52:o;:::-;580:1515:32;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_5150":{"entryPoint":null,"id":5150,"parameterSlots":0,"returnSlots":0},"@_5158":{"entryPoint":null,"id":5158,"parameterSlots":0,"returnSlots":0},"@_beforeFallback_5163":{"entryPoint":null,"id":5163,"parameterSlots":0,"returnSlots":0},"@_delegate_5123":{"entryPoint":220,"id":5123,"parameterSlots":1,"returnSlots":0},"@_fallback_5142":{"entryPoint":23,"id":5142,"parameterSlots":0,"returnSlots":0},"@_getBeacon_5037":{"entryPoint":null,"id":5037,"parameterSlots":0,"returnSlots":1},"@_implementation_5214":{"entryPoint":41,"id":5214,"parameterSlots":0,"returnSlots":1},"@getAddressSlot_5699":{"entryPoint":null,"id":5699,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":256,"id":null,"parameterSlots":2,"returnSlots":1}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:329:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"95:232:52","statements":[{"body":{"nodeType":"YulBlock","src":"141:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"150:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"153:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"143:6:52"},"nodeType":"YulFunctionCall","src":"143:12:52"},"nodeType":"YulExpressionStatement","src":"143:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"116:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"125:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"112:3:52"},"nodeType":"YulFunctionCall","src":"112:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"137:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"108:3:52"},"nodeType":"YulFunctionCall","src":"108:32:52"},"nodeType":"YulIf","src":"105:52:52"},{"nodeType":"YulVariableDeclaration","src":"166:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"185:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"179:5:52"},"nodeType":"YulFunctionCall","src":"179:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"170:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"281:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"290:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"293:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"283:6:52"},"nodeType":"YulFunctionCall","src":"283:12:52"},"nodeType":"YulExpressionStatement","src":"283:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"217:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"228:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"235:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"224:3:52"},"nodeType":"YulFunctionCall","src":"224:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"214:2:52"},"nodeType":"YulFunctionCall","src":"214:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"207:6:52"},"nodeType":"YulFunctionCall","src":"207:73:52"},"nodeType":"YulIf","src":"204:93:52"},{"nodeType":"YulAssignment","src":"306:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"316:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"306:6:52"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"61:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"72:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"84:6:52","type":""}],"src":"14:313:52"}]},"contents":"{\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        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n        value0 := value\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"60806040523661001357610011610017565b005b6100115b610027610022610029565b6100dc565b565b60006100697fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d505473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100d79190610100565b905090565b3660008037600080366000845af43d6000803e8080156100fb573d6000f35b3d6000fd5b60006020828403121561011257600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461013657600080fd5b939250505056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0x13 JUMPI PUSH2 0x11 PUSH2 0x17 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x11 JUMPDEST PUSH2 0x27 PUSH2 0x22 PUSH2 0x29 JUMP JUMPDEST PUSH2 0xDC JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x69 PUSH32 0xA3F0AD74E5423AEBFD80D3EF4346578335A9A72AEAEE59FF6CB3582B35133D50 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x5C60DA1B 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 0xB3 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 0xD7 SWAP2 SWAP1 PUSH2 0x100 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xFB JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x112 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x136 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"580:1515:32:-:0;;;;;;2898:11:31;:9;:11::i;:::-;580:1515:32;;2675:11:31;2322:110;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;1444:138:32:-;1511:7;1545:12;4719:66:30;4919:46;;;;4848:124;1545:12:32;1537:36;;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1530:45;;1444:138;:::o;948:895:31:-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27;14:313:52;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;185:9;179:16;235:42;228:5;224:54;217:5;214:65;204:93;;293:1;290;283:12;204:93;316:5;14:313;-1:-1:-1;;;14:313:52:o"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"This contract implements a proxy that gets the implementation address for each call from an {UpgradeableBeacon}. The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't conflict with the storage layout of the implementation behind the proxy. _Available since v3.4._\",\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the proxy with `beacon`. If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity constructor. Requirements: - `beacon` must be a contract with the interface {IBeacon}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol\":\"BeaconProxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0x3cbef5ebc24b415252e2f8c0c9254555d30d9f085603b4b80d9b5ed20ab87e90\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fa670c3bdce78e642cc6ae11c4cb38b133499cdce5e1990a9979d424703263\",\"dweb:/ipfs/QmVxeCUk4jL2pXQyhsoNJwyU874wRufS2WvGe8TgPKPqhE\"]},\"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0x1d4afe6cb24200cc4545eed814ecf5847277dfe5d613a1707aad5fceecebcfff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://383fb7b8181016ac5ccf07bc9cdb7c1b5045ea36e2cc4df52bcbf20396fc7688\",\"dweb:/ipfs/QmYJ7Cg4WmE3rR8KGQxjUCXFfTH6TcwZ2Z1f6tPrq7jHFr\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol\":{\"keccak256\":\"0x3b21ae06bf5957f73fa16754b0669c77b7abd8ba6c072d35c3281d446fdb86c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2db8e18505e86e02526847005d7287a33e397ed7fb9eaba3fd4a4a197add16e2\",\"dweb:/ipfs/QmW9BSuKTzHWHBNSHF4L8XfVuU1uJrP2vLg84YtBd8mL82\"]},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0xc130fe33f1b2132158531a87734153293f6d07bc263ff4ac90e85da9c82c0e27\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8831721b6f4cc26534d190f9f1631c3f59c9ff38efdd911f85e0882b8e360472\",\"dweb:/ipfs/QmQZnLErZNStirSQ13ZNWQgvEYUtGE5tXYwn4QUPaVUfPN\"]},\"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol\":{\"keccak256\":\"0x85439e74ab467b6a23d45d32bdc9506cbc3760320289afd605f11638c4138e95\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e18633c182e445895e5a70f9e79f2558d0f6eac86767fd1d90552177df2955c\",\"dweb:/ipfs/QmagUFUJbiNGRGGajg9CF5LPuopc44XSCtcCaYvQasBuX9\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ada1e030c0231db8d143b44ce92b4d1158eedb087880cad6d8cc7bd7ebe7b354\",\"dweb:/ipfs/QmWZ2NHZweRpz1U9GF6R1h65ri76dnX7fNxLBeM2t5N5Ce\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931\",\"dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e26daf81e2252dc1fe1ce0e4b55c2eb7c6d1ee84ae6558d1a9554432ea1d32da\",\"dweb:/ipfs/Qmb1UANWiWq5pCKbmHSu772hd4nt374dVaghGmwSVNuk8Q\"]}},\"version\":1}"}},"@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"IBeacon":{"abi":[{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"implementation()":"5c60da1b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This is the interface that {BeaconProxy} expects of its beacon.\",\"kind\":\"dev\",\"methods\":{\"implementation()\":{\"details\":\"Must return an address that can be used as a delegate call target. {BeaconProxy} will check that this address is a contract.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":\"IBeacon\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ada1e030c0231db8d143b44ce92b4d1158eedb087880cad6d8cc7bd7ebe7b354\",\"dweb:/ipfs/QmWZ2NHZweRpz1U9GF6R1h65ri76dnX7fNxLBeM2t5N5Ce\"]}},\"version\":1}"}},"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol":{"UpgradeableBeacon":{"abi":[{"inputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_4688":{"entryPoint":null,"id":4688,"parameterSlots":0,"returnSlots":0},"@_5268":{"entryPoint":null,"id":5268,"parameterSlots":1,"returnSlots":0},"@_msgSender_5657":{"entryPoint":null,"id":5657,"parameterSlots":0,"returnSlots":1},"@_setImplementation_5314":{"entryPoint":151,"id":5314,"parameterSlots":1,"returnSlots":0},"@_transferOwnership_4776":{"entryPoint":71,"id":4776,"parameterSlots":1,"returnSlots":0},"@isContract_5333":{"entryPoint":null,"id":5333,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":314,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:726:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"95:209:52","statements":[{"body":{"nodeType":"YulBlock","src":"141:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"150:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"153:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"143:6:52"},"nodeType":"YulFunctionCall","src":"143:12:52"},"nodeType":"YulExpressionStatement","src":"143:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"116:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"125:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"112:3:52"},"nodeType":"YulFunctionCall","src":"112:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"137:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"108:3:52"},"nodeType":"YulFunctionCall","src":"108:32:52"},"nodeType":"YulIf","src":"105:52:52"},{"nodeType":"YulVariableDeclaration","src":"166:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"185:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"179:5:52"},"nodeType":"YulFunctionCall","src":"179:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"170:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"258:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"267:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"270:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"260:6:52"},"nodeType":"YulFunctionCall","src":"260:12:52"},"nodeType":"YulExpressionStatement","src":"260:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"217:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"228:5:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"243:3:52","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"248:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"239:3:52"},"nodeType":"YulFunctionCall","src":"239:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"252:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"235:3:52"},"nodeType":"YulFunctionCall","src":"235:19:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"224:3:52"},"nodeType":"YulFunctionCall","src":"224:31:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"214:2:52"},"nodeType":"YulFunctionCall","src":"214:42:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"207:6:52"},"nodeType":"YulFunctionCall","src":"207:50:52"},"nodeType":"YulIf","src":"204:70:52"},{"nodeType":"YulAssignment","src":"283:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"293:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"283:6:52"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"61:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"72:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"84:6:52","type":""}],"src":"14:290:52"},{"body":{"nodeType":"YulBlock","src":"483:241:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"500:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"511:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"493:6:52"},"nodeType":"YulFunctionCall","src":"493:21:52"},"nodeType":"YulExpressionStatement","src":"493:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"534:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"545:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"530:3:52"},"nodeType":"YulFunctionCall","src":"530:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"550:2:52","type":"","value":"51"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"523:6:52"},"nodeType":"YulFunctionCall","src":"523:30:52"},"nodeType":"YulExpressionStatement","src":"523:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"573:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"584:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"569:3:52"},"nodeType":"YulFunctionCall","src":"569:18:52"},{"hexValue":"5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f","kind":"string","nodeType":"YulLiteral","src":"589:34:52","type":"","value":"UpgradeableBeacon: implementatio"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"562:6:52"},"nodeType":"YulFunctionCall","src":"562:62:52"},"nodeType":"YulExpressionStatement","src":"562:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"644:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"655:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"640:3:52"},"nodeType":"YulFunctionCall","src":"640:18:52"},{"hexValue":"6e206973206e6f74206120636f6e7472616374","kind":"string","nodeType":"YulLiteral","src":"660:21:52","type":"","value":"n is not a contract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"633:6:52"},"nodeType":"YulFunctionCall","src":"633:49:52"},"nodeType":"YulExpressionStatement","src":"633:49:52"},{"nodeType":"YulAssignment","src":"691:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"703:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"714:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"699:3:52"},"nodeType":"YulFunctionCall","src":"699:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"691:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"460:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"474:4:52","type":""}],"src":"309:415:52"}]},"contents":"{\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        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n        value0 := value\n    }\n    function abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 51)\n        mstore(add(headStart, 64), \"UpgradeableBeacon: implementatio\")\n        mstore(add(headStart, 96), \"n is not a contract\")\n        tail := add(headStart, 128)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"608060405234801561001057600080fd5b506040516105c63803806105c683398101604081905261002f9161013a565b61003833610047565b61004181610097565b5061016a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381163b6101185760405162461bcd60e51b815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f60448201527f6e206973206e6f74206120636f6e747261637400000000000000000000000000606482015260840160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60006020828403121561014c57600080fd5b81516001600160a01b038116811461016357600080fd5b9392505050565b61044d806101796000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063715018a611610050578063715018a6146100c45780638da5cb5b146100cc578063f2fde38b146100ea57600080fd5b80633659cfe61461006c5780635c60da1b14610081575b600080fd5b61007f61007a366004610403565b6100fd565b005b60015473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007f610152565b60005473ffffffffffffffffffffffffffffffffffffffff1661009b565b61007f6100f8366004610403565b610166565b610105610222565b61010e816102a3565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b61015a610222565b610164600061038e565b565b61016e610222565b73ffffffffffffffffffffffffffffffffffffffff8116610216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61021f8161038e565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161020d565b73ffffffffffffffffffffffffffffffffffffffff81163b610347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f60448201527f6e206973206e6f74206120636f6e747261637400000000000000000000000000606482015260840161020d565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561041557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461043957600080fd5b939250505056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x5C6 CODESIZE SUB DUP1 PUSH2 0x5C6 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0x13A JUMP JUMPDEST PUSH2 0x38 CALLER PUSH2 0x47 JUMP JUMPDEST PUSH2 0x41 DUP2 PUSH2 0x97 JUMP JUMPDEST POP PUSH2 0x16A JUMP JUMPDEST PUSH1 0x0 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 DUP5 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP3 DUP4 SWAP2 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP2 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND EXTCODESIZE PUSH2 0x118 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5570677261646561626C65426561636F6E3A20696D706C656D656E746174696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E206973206E6F74206120636F6E747261637400000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x163 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x44D DUP1 PUSH2 0x179 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 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x715018A6 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0xC4 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xCC JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x3659CFE6 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x5C60DA1B EQ PUSH2 0x81 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x403 JUMP JUMPDEST PUSH2 0xFD JUMP JUMPDEST STOP JUMPDEST PUSH1 0x1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x7F PUSH2 0x152 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x9B JUMP JUMPDEST PUSH2 0x7F PUSH2 0xF8 CALLDATASIZE PUSH1 0x4 PUSH2 0x403 JUMP JUMPDEST PUSH2 0x166 JUMP JUMPDEST PUSH2 0x105 PUSH2 0x222 JUMP JUMPDEST PUSH2 0x10E DUP2 PUSH2 0x2A3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B SWAP1 PUSH1 0x0 SWAP1 LOG2 POP JUMP JUMPDEST PUSH2 0x15A PUSH2 0x222 JUMP JUMPDEST PUSH2 0x164 PUSH1 0x0 PUSH2 0x38E JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x16E PUSH2 0x222 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x216 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x21F DUP2 PUSH2 0x38E JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x164 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 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 0x20D JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND EXTCODESIZE PUSH2 0x347 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5570677261646561626C65426561636F6E3A20696D706C656D656E746174696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E206973206E6F74206120636F6E747261637400000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x20D JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR DUP5 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP3 DUP4 SWAP2 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP2 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x415 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x439 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"543:1496:34:-:0;;;931:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;936:32:27;719:10:36;936:18:27;:32::i;:::-;978:35:34;997:15;978:18;:35::i;:::-;931:89;543:1496;;2426:187:27;2499:16;2518:6;;-1:-1:-1;;;;;2534:17:27;;;-1:-1:-1;;;;;;2534:17:27;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;1811:226:34:-;-1:-1:-1;;;;;1702:19:35;;;1884:101:34;;;;-1:-1:-1;;;1884:101:34;;511:2:52;1884:101:34;;;493:21:52;550:2;530:18;;;523:30;589:34;569:18;;;562:62;660:21;640:18;;;633:49;699:19;;1884:101:34;;;;;;;;1995:15;:35;;-1:-1:-1;;;;;;1995:35:34;-1:-1:-1;;;;;1995:35:34;;;;;;;;;;1811:226::o;14:290:52:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:52;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:52:o;309:415::-;543:1496:34;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_checkOwner_4719":{"entryPoint":546,"id":4719,"parameterSlots":0,"returnSlots":0},"@_msgSender_5657":{"entryPoint":null,"id":5657,"parameterSlots":0,"returnSlots":1},"@_setImplementation_5314":{"entryPoint":675,"id":5314,"parameterSlots":1,"returnSlots":0},"@_transferOwnership_4776":{"entryPoint":910,"id":4776,"parameterSlots":1,"returnSlots":0},"@implementation_5278":{"entryPoint":null,"id":5278,"parameterSlots":0,"returnSlots":1},"@isContract_5333":{"entryPoint":null,"id":5333,"parameterSlots":1,"returnSlots":1},"@owner_4705":{"entryPoint":null,"id":4705,"parameterSlots":0,"returnSlots":1},"@renounceOwnership_4733":{"entryPoint":338,"id":4733,"parameterSlots":0,"returnSlots":0},"@transferOwnership_4756":{"entryPoint":358,"id":4756,"parameterSlots":1,"returnSlots":0},"@upgradeTo_5295":{"entryPoint":253,"id":5295,"parameterSlots":1,"returnSlots":0},"abi_decode_tuple_t_address":{"entryPoint":1027,"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_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__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}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:1744:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"84:239:52","statements":[{"body":{"nodeType":"YulBlock","src":"130:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"139:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"142:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"132:6:52"},"nodeType":"YulFunctionCall","src":"132:12:52"},"nodeType":"YulExpressionStatement","src":"132:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"105:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"114:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"101:3:52"},"nodeType":"YulFunctionCall","src":"101:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"126:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"97:3:52"},"nodeType":"YulFunctionCall","src":"97:32:52"},"nodeType":"YulIf","src":"94:52:52"},{"nodeType":"YulVariableDeclaration","src":"155:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"181:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"168:12:52"},"nodeType":"YulFunctionCall","src":"168:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"159:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"277:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"286:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"289:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"279:6:52"},"nodeType":"YulFunctionCall","src":"279:12:52"},"nodeType":"YulExpressionStatement","src":"279:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"213:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"224:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"231:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"220:3:52"},"nodeType":"YulFunctionCall","src":"220:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"210:2:52"},"nodeType":"YulFunctionCall","src":"210:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"203:6:52"},"nodeType":"YulFunctionCall","src":"203:73:52"},"nodeType":"YulIf","src":"200:93:52"},{"nodeType":"YulAssignment","src":"302:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"312:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"302:6:52"}]}]},"name":"abi_decode_tuple_t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"50:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"61:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"73:6:52","type":""}],"src":"14:309:52"},{"body":{"nodeType":"YulBlock","src":"429:125:52","statements":[{"nodeType":"YulAssignment","src":"439:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"451:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"462:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"447:3:52"},"nodeType":"YulFunctionCall","src":"447:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"439:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"481:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"496:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"504:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"492:3:52"},"nodeType":"YulFunctionCall","src":"492:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"474:6:52"},"nodeType":"YulFunctionCall","src":"474:74:52"},"nodeType":"YulExpressionStatement","src":"474:74:52"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"398:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"409:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"420:4:52","type":""}],"src":"328:226:52"},{"body":{"nodeType":"YulBlock","src":"733:228:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"750:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"761:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"743:6:52"},"nodeType":"YulFunctionCall","src":"743:21:52"},"nodeType":"YulExpressionStatement","src":"743:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"784:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"795:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"780:3:52"},"nodeType":"YulFunctionCall","src":"780:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"800:2:52","type":"","value":"38"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"773:6:52"},"nodeType":"YulFunctionCall","src":"773:30:52"},"nodeType":"YulExpressionStatement","src":"773:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"823:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"834:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"819:3:52"},"nodeType":"YulFunctionCall","src":"819:18:52"},{"hexValue":"4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061","kind":"string","nodeType":"YulLiteral","src":"839:34:52","type":"","value":"Ownable: new owner is the zero a"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"812:6:52"},"nodeType":"YulFunctionCall","src":"812:62:52"},"nodeType":"YulExpressionStatement","src":"812:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"894:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"905:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"890:3:52"},"nodeType":"YulFunctionCall","src":"890:18:52"},{"hexValue":"646472657373","kind":"string","nodeType":"YulLiteral","src":"910:8:52","type":"","value":"ddress"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"883:6:52"},"nodeType":"YulFunctionCall","src":"883:36:52"},"nodeType":"YulExpressionStatement","src":"883:36:52"},{"nodeType":"YulAssignment","src":"928:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"940:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"951:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"936:3:52"},"nodeType":"YulFunctionCall","src":"936:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"928:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"710:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"724:4:52","type":""}],"src":"559:402:52"},{"body":{"nodeType":"YulBlock","src":"1140:182:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1157:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1168:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1150:6:52"},"nodeType":"YulFunctionCall","src":"1150:21:52"},"nodeType":"YulExpressionStatement","src":"1150:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1191:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1202:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1187:3:52"},"nodeType":"YulFunctionCall","src":"1187:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"1207:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1180:6:52"},"nodeType":"YulFunctionCall","src":"1180:30:52"},"nodeType":"YulExpressionStatement","src":"1180:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1230:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1241:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1226:3:52"},"nodeType":"YulFunctionCall","src":"1226:18:52"},{"hexValue":"4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572","kind":"string","nodeType":"YulLiteral","src":"1246:34:52","type":"","value":"Ownable: caller is not the owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1219:6:52"},"nodeType":"YulFunctionCall","src":"1219:62:52"},"nodeType":"YulExpressionStatement","src":"1219:62:52"},{"nodeType":"YulAssignment","src":"1290:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1302:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1313:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1298:3:52"},"nodeType":"YulFunctionCall","src":"1298:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1290:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1117:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1131:4:52","type":""}],"src":"966:356:52"},{"body":{"nodeType":"YulBlock","src":"1501:241:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1518:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1529:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1511:6:52"},"nodeType":"YulFunctionCall","src":"1511:21:52"},"nodeType":"YulExpressionStatement","src":"1511:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1552:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1563:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1548:3:52"},"nodeType":"YulFunctionCall","src":"1548:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"1568:2:52","type":"","value":"51"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1541:6:52"},"nodeType":"YulFunctionCall","src":"1541:30:52"},"nodeType":"YulExpressionStatement","src":"1541:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1591:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1602:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1587:3:52"},"nodeType":"YulFunctionCall","src":"1587:18:52"},{"hexValue":"5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f","kind":"string","nodeType":"YulLiteral","src":"1607:34:52","type":"","value":"UpgradeableBeacon: implementatio"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1580:6:52"},"nodeType":"YulFunctionCall","src":"1580:62:52"},"nodeType":"YulExpressionStatement","src":"1580:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1662:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1673:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1658:3:52"},"nodeType":"YulFunctionCall","src":"1658:18:52"},{"hexValue":"6e206973206e6f74206120636f6e7472616374","kind":"string","nodeType":"YulLiteral","src":"1678:21:52","type":"","value":"n is not a contract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1651:6:52"},"nodeType":"YulFunctionCall","src":"1651:49:52"},"nodeType":"YulExpressionStatement","src":"1651:49:52"},{"nodeType":"YulAssignment","src":"1709:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1721:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1732:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1717:3:52"},"nodeType":"YulFunctionCall","src":"1717:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1709:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1478:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1492:4:52","type":""}],"src":"1327:415:52"}]},"contents":"{\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        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n        value0 := value\n    }\n    function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\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_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_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 51)\n        mstore(add(headStart, 64), \"UpgradeableBeacon: implementatio\")\n        mstore(add(headStart, 96), \"n is not a contract\")\n        tail := add(headStart, 128)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100675760003560e01c8063715018a611610050578063715018a6146100c45780638da5cb5b146100cc578063f2fde38b146100ea57600080fd5b80633659cfe61461006c5780635c60da1b14610081575b600080fd5b61007f61007a366004610403565b6100fd565b005b60015473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007f610152565b60005473ffffffffffffffffffffffffffffffffffffffff1661009b565b61007f6100f8366004610403565b610166565b610105610222565b61010e816102a3565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b61015a610222565b610164600061038e565b565b61016e610222565b73ffffffffffffffffffffffffffffffffffffffff8116610216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61021f8161038e565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161020d565b73ffffffffffffffffffffffffffffffffffffffff81163b610347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f60448201527f6e206973206e6f74206120636f6e747261637400000000000000000000000000606482015260840161020d565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561041557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461043957600080fd5b939250505056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x715018A6 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0xC4 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xCC JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x3659CFE6 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x5C60DA1B EQ PUSH2 0x81 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x403 JUMP JUMPDEST PUSH2 0xFD JUMP JUMPDEST STOP JUMPDEST PUSH1 0x1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x7F PUSH2 0x152 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x9B JUMP JUMPDEST PUSH2 0x7F PUSH2 0xF8 CALLDATASIZE PUSH1 0x4 PUSH2 0x403 JUMP JUMPDEST PUSH2 0x166 JUMP JUMPDEST PUSH2 0x105 PUSH2 0x222 JUMP JUMPDEST PUSH2 0x10E DUP2 PUSH2 0x2A3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B SWAP1 PUSH1 0x0 SWAP1 LOG2 POP JUMP JUMPDEST PUSH2 0x15A PUSH2 0x222 JUMP JUMPDEST PUSH2 0x164 PUSH1 0x0 PUSH2 0x38E JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x16E PUSH2 0x222 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x216 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x21F DUP2 PUSH2 0x38E JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x164 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 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 0x20D JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND EXTCODESIZE PUSH2 0x347 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5570677261646561626C65426561636F6E3A20696D706C656D656E746174696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E206973206E6F74206120636F6E747261637400000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x20D JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR DUP5 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP3 DUP4 SWAP2 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP2 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x415 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x439 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"543:1496:34:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1469:167;;;;;;:::i;:::-;;:::i;:::-;;1098:112;1188:15;;;;1098:112;;;504:42:52;492:55;;;474:74;;462:2;447:18;1098:112:34;;;;;;;1824:101:27;;;:::i;1201:85::-;1247:7;1273:6;;;1201:85;;2074:198;;;;;;:::i;:::-;;:::i;1469:167:34:-;1094:13:27;:11;:13::i;:::-;1550:37:34::1;1569:17;1550:18;:37::i;:::-;1602:27;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;1469:167:::0;:::o;1824:101:27:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;2074:198::-;1094:13;:11;:13::i;:::-;2162:22:::1;::::0;::::1;2154:73;;;::::0;::::1;::::0;;761:2:52;2154:73:27::1;::::0;::::1;743:21:52::0;800:2;780:18;;;773:30;839:34;819:18;;;812:62;910:8;890:18;;;883:36;936:19;;2154:73:27::1;;;;;;;;;2237:28;2256:8;2237:18;:28::i;:::-;2074:198:::0;:::o;1359:130::-;1247:7;1273:6;1422:23;1273:6;719:10:36;1422:23:27;1414:68;;;;;;;1168:2:52;1414:68:27;;;1150:21:52;;;1187:18;;;1180:30;1246:34;1226:18;;;1219:62;1298:18;;1414:68:27;966:356:52;1811:226:34;1702:19:35;;;;1884:101:34;;;;;;;1529:2:52;1884:101:34;;;1511:21:52;1568:2;1548:18;;;1541:30;1607:34;1587:18;;;1580:62;1678:21;1658:18;;;1651:49;1717:19;;1884:101:34;1327:415:52;1884:101:34;1995:15;:35;;;;;;;;;;;;;;;1811:226::o;2426:187:27:-;2499:16;2518:6;;;2534:17;;;;;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;14:309:52:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;231:42;224:5;220:54;213:5;210:65;200:93;;289:1;286;279:12;200:93;312:5;14:309;-1:-1:-1;;;14:309:52:o"},"methodIdentifiers":{"implementation()":"5c60da1b","owner()":"8da5cb5b","renounceOwnership()":"715018a6","transferOwnership(address)":"f2fde38b","upgradeTo(address)":"3659cfe6"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their implementation contract, which is where they will delegate all function calls. An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon.\",\"events\":{\"Upgraded(address)\":{\"details\":\"Emitted when the implementation returned by the beacon is changed.\"}},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Sets the address of the initial implementation, and the deployer account as the owner who can upgrade the beacon.\"},\"implementation()\":{\"details\":\"Returns the current implementation address.\"},\"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. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling 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.\"},\"upgradeTo(address)\":{\"details\":\"Upgrades the beacon to a new implementation. Emits an {Upgraded} event. Requirements: - msg.sender must be the owner of the contract. - `newImplementation` must be a contract.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol\":\"UpgradeableBeacon\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32\",\"dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ada1e030c0231db8d143b44ce92b4d1158eedb087880cad6d8cc7bd7ebe7b354\",\"dweb:/ipfs/QmWZ2NHZweRpz1U9GF6R1h65ri76dnX7fNxLBeM2t5N5Ce\"]},\"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol\":{\"keccak256\":\"0x6ec71aef5659f3f74011169948d2fcda8c6599be5bb38f986380a8737f96cc0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://362f12aebd1022d643235e6a7fa6ccfb38c13f3a0d1b006d5d1aea51af4bb852\",\"dweb:/ipfs/QmSUQ7pM4UnBawMfP2Di8EqawxaoU195DgsSLxHejvSpPz\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931\",\"dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Address.sol":{"Address":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"194:9169:35:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;194:9169:35;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"194:9169:35:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"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/utils/Address.sol\":\"Address\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931\",\"dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Context.sol":{"Context":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/StorageSlot.sol":{"StorageSlot":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x2D 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 LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"1420:2685:37:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;1420:2685:37;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"1420:2685:37:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for reading and writing primitive types to specific storage slots. Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. This library helps with reading and writing to such slots without the need for inline assembly. The functions in this library return Slot structs that contain a `value` member that can be used to read or write. Example usage to set ERC1967 implementation slot: ```solidity contract ERC1967 {     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;     function _getImplementation() internal view returns (address) {         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;     }     function _setImplementation(address newImplementation) internal {         require(Address.isContract(newImplementation), \\\"ERC1967: new implementation is not a contract\\\");         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;     } } ``` _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._ _Available since v4.9 for `string`, `bytes`._\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/StorageSlot.sol\":\"StorageSlot\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e26daf81e2252dc1fe1ce0e4b55c2eb7c6d1ee84ae6558d1a9554432ea1d32da\",\"dweb:/ipfs/Qmb1UANWiWq5pCKbmHSu772hd4nt374dVaghGmwSVNuk8Q\"]}},\"version\":1}"}},"contracts/FeeDiscountConnector.sol":{"FeeDiscountConnector":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registry","type":"address"}],"name":"FeeDiscountRegistry","type":"event"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"uint256","name":"paid0","type":"uint256"},{"internalType":"uint256","name":"paid1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"int128","name":"desiredLiquidityDelta","type":"int128"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"int128","name":"desiredLiquidityDelta","type":"int128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"uint24","name":"pluginFee","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"bool","name":"withPaymentInAdvance","type":"bool"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"uint24","name":"feeOverride","type":"uint24"},{"internalType":"uint24","name":"pluginFee","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"collectPluginFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDiscountRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getActiveModuleNames","outputs":[{"internalType":"string[]","name":"moduleNames","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pluginFee0","type":"uint256"},{"internalType":"uint256","name":"pluginFee1","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"registry","type":"address"}],"name":"setFeeDiscountRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","collectPluginFee(address,uint256,address)":"e72c652d","defaultPluginConfig()":"689ea370","feeDiscountRegistry()":"f20cdc1a","getActiveModuleNames()":"b6f78cc9","handlePluginFee(uint256,uint256)":"aa6b14bb","setFeeDiscountRegistry(address)":"c3da7978"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"FeeDiscountRegistry\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"desiredLiquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"desiredLiquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"withPaymentInAdvance\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"feeOverride\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"collectPluginFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeDiscountRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveModuleNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"moduleNames\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pluginFee0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pluginFee1\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"setFeeDiscountRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Inherits from IFeeDiscountPlugin and provides all public methods as thin wrappers\",\"kind\":\"dev\",\"methods\":{\"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being requested for flash\",\"amount1\":\"The amount of token1 being requested for flash\",\"data\":\"Data that passed through the callback\",\"paid0\":\"The amount of token0 being paid for flash\",\"paid1\":\"The amount of token1 being paid for flash\",\"recipient\":\"The address which will receive the token0 and token1 amounts\",\"sender\":\"The initial msg.sender for the flash call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterInitialize(address,uint160,int24)\":{\"params\":{\"sender\":\"The initial msg.sender for the initialize call\",\"sqrtPriceX96\":\"The sqrt(price) of the pool as a Q64.96\",\"tick\":\"The current tick after the state of a pool is initialized\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 sent to the recipient or was paid to mint\",\"amount1\":\"The amount of token0 sent to the recipient or was paid to mint\",\"bottomTick\":\"The lower tick of the position\",\"data\":\"Data that passed through the callback\",\"desiredLiquidityDelta\":\"The desired amount of liquidity to mint/burn\",\"recipient\":\"Address to which the liquidity will be assigned in case of a mint or to which tokens will be sent in case of a burn\",\"sender\":\"The initial msg.sender for the modify position call\",\"topTick\":\"The upper tick of the position\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)\":{\"params\":{\"amount0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"amount1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\",\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Data that passed through the callback\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"sender\":\"The initial msg.sender for the swap call\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeFlash(address,address,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being requested for flash\",\"amount1\":\"The amount of token1 being requested for flash\",\"data\":\"Data that passed through the callback\",\"recipient\":\"The address which will receive the token0 and token1 amounts\",\"sender\":\"The initial msg.sender for the flash call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeInitialize(address,uint160)\":{\"params\":{\"sender\":\"The initial msg.sender for the initialize call\",\"sqrtPriceX96\":\"The sqrt(price) of the pool as a Q64.96\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeModifyPosition(address,address,int24,int24,int128,bytes)\":{\"params\":{\"bottomTick\":\"The lower tick of the position\",\"data\":\"Data that passed through the callback\",\"desiredLiquidityDelta\":\"The desired amount of liquidity to mint/burn\",\"recipient\":\"Address to which the liquidity will be assigned in case of a mint or to which tokens will be sent in case of a burn\",\"sender\":\"The initial msg.sender for the modify position call\",\"topTick\":\"The upper tick of the position\"},\"returns\":{\"selector\":\"The function selector for the hook\"}},\"beforeSwap(address,address,bool,int256,uint160,bool,bytes)\":{\"params\":{\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Data that passed through the callback\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"sender\":\"The initial msg.sender for the swap call\",\"withPaymentInAdvance\":\"The flag indicating whether the `swapWithPaymentInAdvance` method was called\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"selector\":\"The function selector for the hook\"}},\"collectPluginFee(address,uint256,address)\":{\"params\":{\"amount\":\"Amount of tokens\",\"recipient\":\"Recipient address\",\"token\":\"The token address\"}},\"defaultPluginConfig()\":{\"returns\":{\"_0\":\"config Each bit of the config is responsible for enabling/disabling the hooks. The last bit indicates whether the plugin contains dynamic fees logic\"}},\"getActiveModuleNames()\":{\"returns\":{\"moduleNames\":\"Array of active module names\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}}},\"stateVariables\":{\"feeDiscountImplementation\":{\"details\":\"Immutable implementation address - set in constructor, changes only on full plugin upgrade\"}},\"title\":\"FeeDiscount Connector\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)\":{\"notice\":\"The hook called after flash\"},\"afterInitialize(address,uint160,int24)\":{\"notice\":\"The hook called after the state of a pool is initialized\"},\"afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)\":{\"notice\":\"The hook called after a position is modified\"},\"afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)\":{\"notice\":\"The hook called after a swap\"},\"beforeFlash(address,address,uint256,uint256,bytes)\":{\"notice\":\"The hook called before flash\"},\"beforeInitialize(address,uint160)\":{\"notice\":\"The hook called before the state of a pool is initialized\"},\"beforeModifyPosition(address,address,int24,int24,int128,bytes)\":{\"notice\":\"The hook called before a position is modified\"},\"beforeSwap(address,address,bool,int256,uint160,bool,bytes)\":{\"notice\":\"The hook called before a swap\"},\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"defaultPluginConfig()\":{\"notice\":\"Returns plugin config\"},\"getActiveModuleNames()\":{\"notice\":\"Get all active module names\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"}},\"notice\":\"This contract provides delegatecall interface to FeeDiscount plugin implementation\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/FeeDiscountConnector.sol\":\"FeeDiscountConnector\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0x9cee862dd93a6dc061a5e54a262bc9cc1e84ca6f3352176fb8c7138eec97ae0e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c1e17f9dd356b457ca024b11d5340a6564109d27f46fec43b9a4f97421a2b315\",\"dweb:/ipfs/QmVH7uBmx22RkbMsYTszsnvGBXssH5DtLMYGPwZEc2HPjN\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":{\"keccak256\":\"0x354b1e099e9a47ce6fdc2ff4a4549249fa9c54434bf4dedb14fd4afe7d94d2d5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d9efe57e2239df29c7290fc1a27c8f0a6d8aa1f9e4c9271efadb8b29b29d7058\",\"dweb:/ipfs/QmbRJqfJR62Bx7XhN8qNBk85zjpWfyxSSiC5vHpxXnYMKb\"]},\"contracts/FeeDiscountConnector.sol\":{\"keccak256\":\"0xd3fa8cd0be886175dc35a8cf2c42aebe2441fe5448b9271e6efbb2f3200c29db\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://0db1cb32d5cdeeecc57c11d021b1f7e82162b6c5dfdbca62a9635bbf7c230caf\",\"dweb:/ipfs/QmboDw8cJr8VmMBdwy3uKV3LZSdkdVbeuHbx5ZKooinBZ4\"]},\"contracts/interfaces/IFeeDiscountPlugin.sol\":{\"keccak256\":\"0x5fd8ce2295eeb9e622a64a6fd8c566ee4b299a2012c826f54772f7c77c849937\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://5523749e1b9b92a5137ecc27ffca992da8db3b7928355c35b36d8dd223422bd7\",\"dweb:/ipfs/QmVTkTPzpLKKMihtmvSsEHSZQapDmF1F6XfE6kpa5htbCr\"]}},\"version\":1}"}},"contracts/FeeDiscountPlugin.sol":{"FeeDiscountPlugin":{"abi":[{"inputs":[],"name":"transferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registry","type":"address"}],"name":"FeeDiscountRegistry","type":"event"},{"inputs":[],"name":"ALGEBRA_BASE_PLUGIN_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"activeModules","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int24","name":"","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"collectPluginFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDiscountRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getActiveModuleNames","outputs":[{"internalType":"string[]","name":"moduleNames","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_feeDiscountRegistry","type":"address"}],"name":"setFeeDiscountRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"ALGEBRA_BASE_PLUGIN_MANAGER()":"31b25d1a","activeModules(uint256)":"46b7748b","afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","collectPluginFee(address,uint256,address)":"e72c652d","defaultPluginConfig()":"689ea370","feeDiscountRegistry()":"f20cdc1a","getActiveModuleNames()":"b6f78cc9","handlePluginFee(uint256,uint256)":"aa6b14bb","pool()":"16f0115b","setFeeDiscountRegistry(address)":"c3da7978"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"transferFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"FeeDiscountRegistry\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ALGEBRA_BASE_PLUGIN_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeModules\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"collectPluginFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeDiscountRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveModuleNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"moduleNames\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeDiscountRegistry\",\"type\":\"address\"}],\"name\":\"setFeeDiscountRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"params\":{\"amount\":\"Amount of tokens\",\"recipient\":\"Recipient address\",\"token\":\"The token address\"}},\"getActiveModuleNames()\":{\"returns\":{\"moduleNames\":\"Array of active module names\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}}},\"title\":\"Algebra Integral 1.2 fee discount plugin\",\"version\":1},\"userdoc\":{\"errors\":{\"transferFailed()\":[{\"notice\":\"Emitted if token transfer failed internally\"}]},\"kind\":\"user\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"defaultPluginConfig()\":{\"notice\":\"Returns plugin config\"},\"getActiveModuleNames()\":{\"notice\":\"Get all active module names\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/FeeDiscountPlugin.sol\":\"FeeDiscountPlugin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol\":{\"keccak256\":\"0x33632479227a4b15d8a3d061227b09c4423a778c05b0b2f60bda1e8fad927d04\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://123728a15def0527e4e609e5424dede6527f3c7c0bf27d4c982e3883d8e7f929\",\"dweb:/ipfs/QmSsyNcHTDxb1Jh4drU7oZJmtD2eyhgF3RkmAiJTjbvbyd\"]},\"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol\":{\"keccak256\":\"0x8668bf51349f615ab941e9c30c563d12e5037a883dc9ccafe59eb75ea78e4d7d\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://683360746f021dde02b919ace2fba5a3ee59c428391993272625c6cd24acffc1\",\"dweb:/ipfs/QmW4H3TE3GWBrpZXE6NGUKupCEf7yFtLWpGDXwemF6cWB3\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0x9cee862dd93a6dc061a5e54a262bc9cc1e84ca6f3352176fb8c7138eec97ae0e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c1e17f9dd356b457ca024b11d5340a6564109d27f46fec43b9a4f97421a2b315\",\"dweb:/ipfs/QmVH7uBmx22RkbMsYTszsnvGBXssH5DtLMYGPwZEc2HPjN\"]},\"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol\":{\"keccak256\":\"0x28e2aac84d585bbe96ecb9d5cd124fa7cd5929584c70e43a7c96f6faa93022d3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d1347582a9d12cf03fc99ca899f7788f9223773be12c35aa2b8c2145d2e6a2c8\",\"dweb:/ipfs/QmYDrse9BuFsrwHxAZdghycY9F6XQfGDrm8ZifUfFnx2n3\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol\":{\"keccak256\":\"0xb87bef911483f054559e6567a5a958200131b5101fbcee1ed7daefcfc082faf7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://46c8f76cde3c16aed0446e98dc61ddb196288652f6a8735ed87d6e53a13b4142\",\"dweb:/ipfs/Qmd7omugWuFrjrCcwfeRQbeUS1FhqvhscTij4xtqCmjNKG\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol\":{\"keccak256\":\"0x1d8bb94007c874be2640401aeed6219392c07e8b2e779fa24c618adc58bd7ae0\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://55d37783d81c98cb58ed41e6d7283af5fb07261b676a833f632cd6d128fc2e04\",\"dweb:/ipfs/QmXiJ63fWeBfkfJkLzBv1zLDyCjn5shW44ugYv44CqtTca\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":{\"keccak256\":\"0x4f9b70282bac671383d001cffca1479dd64f507db84cdab16da886804c64a60c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b1bc8b774ab5027d97625c3ac01ee3f4bbdefcd012ff0bb0e4c9752096bd9562\",\"dweb:/ipfs/Qmcn5kGihMiZAMjwpY1f12nTSWMyrLqmXLvoifaqPtQYYo\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol\":{\"keccak256\":\"0xd6b18486bd0eaee545ad10115d33c527e5ba5ddff571120678e7db58ca00b726\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://470a64313758d0a26a6910c924eae39e5c4df6912c61e7239e0d930097f8512f\",\"dweb:/ipfs/QmY18B9x18hLCKQ3kAqjPhHzMvZxKrvNeUjPycKYodETaa\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol\":{\"keccak256\":\"0x02d0fb9c64fba4c4dd0509bb9333825c801a0587d5b957c46f5cb1c610acc447\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8480784b2654829c0958b00aa3109249ce9088dbe94b6eadeaf8e9138829a764\",\"dweb:/ipfs/QmeFG5AsPUQfhMPtvYC3f9BhGu7sVm71wj2PgXDczaM7XP\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":{\"keccak256\":\"0xbd9faad7e7599c61c3141cfe2dd2e423ad4746a6119f047b0ae6d2eccb77bc9c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0df4bed6cf34a8c0f6b971fb71411373b4d204afda35eabe8555d8cbe67e291\",\"dweb:/ipfs/QmY6z3BseKy3tEvmLVjhL7VFrNJRuQgDXJXNAFBkBQ218A\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":{\"keccak256\":\"0xe061f0f9b5b16934173b1127efe13ccfe80465db17156d91c04e018b31e993fa\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c607033ec09828f4a8667e7fd2e562814ec689d5806d95b4a248f57e0eff9d38\",\"dweb:/ipfs/QmbGBxBMSzPKitHmRjYJwGGEZVsXDQB6emSsZ19hjy6LUz\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":{\"keccak256\":\"0xcdaae6cd6af79c4f344e673fe886a980ef5203b15b49f7a466c336c0152ce6ae\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fa2d3073bd4ca013e2769cf0fa5b68f32cec4fa53a6cc66adb59d86e6293cf15\",\"dweb:/ipfs/QmcwveJdf3JLAPfFZShijKTTxMTP4joDDuSuFboXBe711S\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":{\"keccak256\":\"0x354b1e099e9a47ce6fdc2ff4a4549249fa9c54434bf4dedb14fd4afe7d94d2d5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d9efe57e2239df29c7290fc1a27c8f0a6d8aa1f9e4c9271efadb8b29b29d7058\",\"dweb:/ipfs/QmbRJqfJR62Bx7XhN8qNBk85zjpWfyxSSiC5vHpxXnYMKb\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol\":{\"keccak256\":\"0x14e91c94e35c50efcd97e13609f686499c1dfa726ee0b3f6078fa4b99bde9a0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d9a7efa21d03180ded0e99d7ba05abd5c8ebedf2439a5a78091b679eadc4064\",\"dweb:/ipfs/QmVUZPhYPTb2yY9381AL242tfVsb3iWxmE2XwqcN9HG6eW\"]},\"contracts/FeeDiscountPlugin.sol\":{\"keccak256\":\"0x738b1a1531594120dcfc58d9bb4f60ab4999178ed1285a7712af2edbb9482b6d\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://516f94c56ab0aa8984ff052c131db38bbba83e2e177021be8f80c20fde9c01f5\",\"dweb:/ipfs/QmQKvy6xCSnQAwU4xV7691TJbDfH5F8A39Tyu4PkzHgJUZ\"]},\"contracts/interfaces/IFeeDiscountPlugin.sol\":{\"keccak256\":\"0x5fd8ce2295eeb9e622a64a6fd8c566ee4b299a2012c826f54772f7c77c849937\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://5523749e1b9b92a5137ecc27ffca992da8db3b7928355c35b36d8dd223422bd7\",\"dweb:/ipfs/QmVTkTPzpLKKMihtmvSsEHSZQapDmF1F6XfE6kpa5htbCr\"]},\"contracts/interfaces/IFeeDiscountRegistry.sol\":{\"keccak256\":\"0x21904fdeb60ce4df4a47668660e5d6c512c722f0bc38f3935b0a505346f267fd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1cbdebe7b9d97da98c52557cb680116c2df7080a4a6b08772b73846e9fe10e54\",\"dweb:/ipfs/QmdcWkBjqb4aWpvH6tkqm5RKgQ4GXGwBbaaZPtmC9fZWaP\"]}},\"version\":1}"}},"contracts/FeeDiscountPluginImplementation.sol":{"FeeDiscountPluginImplementation":{"abi":[{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"pool","type":"address"},{"internalType":"uint24","name":"fee","type":"uint24"}],"name":"applyFeeDiscount","outputs":[{"internalType":"uint24","name":"updatedFee","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getFeeDiscountRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_feeDiscountRegistry","type":"address"}],"name":"initializeFeeDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeDiscountRegistry","type":"address"}],"name":"setFeeDiscountRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608060405234801561001057600080fd5b506103ab806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80631018860c146100515780636408f8201461007d578063a9dd77e7146100c4578063c3da7978146100c4575b600080fd5b61006461005f366004610260565b61013a565b60405162ffffff90911681526020015b60405180910390f35b7fe4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a5460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610074565b6101386100d23660046102af565b7fe4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b005b6000807fe4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a80546040517f1101ce3e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152878116602483015292935060009290911690631101ce3e906044016020604051808303816000875af11580156101dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020191906102d1565b90506103e86102108282610324565b6102239061ffff1662ffffff8716610346565b61022d9190610363565b9695505050505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461025b57600080fd5b919050565b60008060006060848603121561027557600080fd5b61027e84610237565b925061028c60208501610237565b9150604084013562ffffff811681146102a457600080fd5b809150509250925092565b6000602082840312156102c157600080fd5b6102ca82610237565b9392505050565b6000602082840312156102e357600080fd5b815161ffff811681146102ca57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61ffff82811682821603908082111561033f5761033f6102f5565b5092915050565b808202811582820484141761035d5761035d6102f5565b92915050565b600082610399577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3AB 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 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1018860C EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x6408F820 EQ PUSH2 0x7D JUMPI DUP1 PUSH4 0xA9DD77E7 EQ PUSH2 0xC4 JUMPI DUP1 PUSH4 0xC3DA7978 EQ PUSH2 0xC4 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0x5F CALLDATASIZE PUSH1 0x4 PUSH2 0x260 JUMP JUMPDEST PUSH2 0x13A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0xFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH32 0xE4C4DBEE56C110A8CEF43909D8E93740944B39C20CF0E5FA421F1DE331E3273A SLOAD PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x74 JUMP JUMPDEST PUSH2 0x138 PUSH2 0xD2 CALLDATASIZE PUSH1 0x4 PUSH2 0x2AF JUMP JUMPDEST PUSH32 0xE4C4DBEE56C110A8CEF43909D8E93740944B39C20CF0E5FA421F1DE331E3273A DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 PUSH32 0xE4C4DBEE56C110A8CEF43909D8E93740944B39C20CF0E5FA421F1DE331E3273A DUP1 SLOAD PUSH1 0x40 MLOAD PUSH32 0x1101CE3E00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP8 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE SWAP3 SWAP4 POP PUSH1 0x0 SWAP3 SWAP1 SWAP2 AND SWAP1 PUSH4 0x1101CE3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1DD 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 0x201 SWAP2 SWAP1 PUSH2 0x2D1 JUMP JUMPDEST SWAP1 POP PUSH2 0x3E8 PUSH2 0x210 DUP3 DUP3 PUSH2 0x324 JUMP JUMPDEST PUSH2 0x223 SWAP1 PUSH2 0xFFFF AND PUSH3 0xFFFFFF DUP8 AND PUSH2 0x346 JUMP JUMPDEST PUSH2 0x22D SWAP2 SWAP1 PUSH2 0x363 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x25B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x275 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x27E DUP5 PUSH2 0x237 JUMP JUMPDEST SWAP3 POP PUSH2 0x28C PUSH1 0x20 DUP6 ADD PUSH2 0x237 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0x2A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2C1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2CA DUP3 PUSH2 0x237 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2E3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0x2CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0xFFFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP1 DUP3 GT ISZERO PUSH2 0x33F JUMPI PUSH2 0x33F PUSH2 0x2F5 JUMP JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x35D JUMPI PUSH2 0x35D PUSH2 0x2F5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x399 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"356:2281:40:-:0;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_getFeeDiscountLayout_6146":{"entryPoint":null,"id":6146,"parameterSlots":0,"returnSlots":1},"@applyFeeDiscount_6248":{"entryPoint":314,"id":6248,"parameterSlots":3,"returnSlots":1},"@getFeeDiscountRegistry_6200":{"entryPoint":null,"id":6200,"parameterSlots":0,"returnSlots":1},"@initializeFeeDiscount_6165":{"entryPoint":null,"id":6165,"parameterSlots":1,"returnSlots":0},"@setFeeDiscountRegistry_6184":{"entryPoint":null,"id":6184,"parameterSlots":1,"returnSlots":0},"abi_decode_address":{"entryPoint":567,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":687,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_addresst_uint24":{"entryPoint":608,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_uint16_fromMemory":{"entryPoint":721,"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_address__to_t_address_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_uint24__to_t_uint24__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"checked_div_t_uint256":{"entryPoint":867,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_t_uint256":{"entryPoint":838,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_t_uint16":{"entryPoint":804,"id":null,"parameterSlots":2,"returnSlots":1},"panic_error_0x11":{"entryPoint":757,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:2686:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"63:147:52","statements":[{"nodeType":"YulAssignment","src":"73:29:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"95:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"82:12:52"},"nodeType":"YulFunctionCall","src":"82:20:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"73:5:52"}]},{"body":{"nodeType":"YulBlock","src":"188:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"197:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"200:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"190:6:52"},"nodeType":"YulFunctionCall","src":"190:12:52"},"nodeType":"YulExpressionStatement","src":"190:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"124:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"135:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"142:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"131:3:52"},"nodeType":"YulFunctionCall","src":"131:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"121:2:52"},"nodeType":"YulFunctionCall","src":"121:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"114:6:52"},"nodeType":"YulFunctionCall","src":"114:73:52"},"nodeType":"YulIf","src":"111:93:52"}]},"name":"abi_decode_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"42:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"53:5:52","type":""}],"src":"14:196:52"},{"body":{"nodeType":"YulBlock","src":"318:319:52","statements":[{"body":{"nodeType":"YulBlock","src":"364:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"373:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"376:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"366:6:52"},"nodeType":"YulFunctionCall","src":"366:12:52"},"nodeType":"YulExpressionStatement","src":"366:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"339:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"348:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"335:3:52"},"nodeType":"YulFunctionCall","src":"335:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"360:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"331:3:52"},"nodeType":"YulFunctionCall","src":"331:32:52"},"nodeType":"YulIf","src":"328:52:52"},{"nodeType":"YulAssignment","src":"389:39:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"418:9:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"399:18:52"},"nodeType":"YulFunctionCall","src":"399:29:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"389:6:52"}]},{"nodeType":"YulAssignment","src":"437:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"470:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"481:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"466:3:52"},"nodeType":"YulFunctionCall","src":"466:18:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"447:18:52"},"nodeType":"YulFunctionCall","src":"447:38:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"437:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"494:45:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"524:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"535:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"520:3:52"},"nodeType":"YulFunctionCall","src":"520:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"507:12:52"},"nodeType":"YulFunctionCall","src":"507:32:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"498:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"591:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"600:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"603:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"593:6:52"},"nodeType":"YulFunctionCall","src":"593:12:52"},"nodeType":"YulExpressionStatement","src":"593:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"561:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"572:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"579:8:52","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"568:3:52"},"nodeType":"YulFunctionCall","src":"568:20:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"558:2:52"},"nodeType":"YulFunctionCall","src":"558:31:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"551:6:52"},"nodeType":"YulFunctionCall","src":"551:39:52"},"nodeType":"YulIf","src":"548:59:52"},{"nodeType":"YulAssignment","src":"616:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"626:5:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"616:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint24","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"268:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"279:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"291:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"299:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"307:6:52","type":""}],"src":"215:422:52"},{"body":{"nodeType":"YulBlock","src":"741:91:52","statements":[{"nodeType":"YulAssignment","src":"751:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"763:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"774:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"759:3:52"},"nodeType":"YulFunctionCall","src":"759:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"751:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"793:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"808:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"816:8:52","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"804:3:52"},"nodeType":"YulFunctionCall","src":"804:21:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"786:6:52"},"nodeType":"YulFunctionCall","src":"786:40:52"},"nodeType":"YulExpressionStatement","src":"786:40:52"}]},"name":"abi_encode_tuple_t_uint24__to_t_uint24__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"710:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"721:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"732:4:52","type":""}],"src":"642:190:52"},{"body":{"nodeType":"YulBlock","src":"938:125:52","statements":[{"nodeType":"YulAssignment","src":"948:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"960:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"971:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"956:3:52"},"nodeType":"YulFunctionCall","src":"956:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"948:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"990:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1005:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1013:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1001:3:52"},"nodeType":"YulFunctionCall","src":"1001:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"983:6:52"},"nodeType":"YulFunctionCall","src":"983:74:52"},"nodeType":"YulExpressionStatement","src":"983:74:52"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"907:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"918:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"929:4:52","type":""}],"src":"837:226:52"},{"body":{"nodeType":"YulBlock","src":"1138:116:52","statements":[{"body":{"nodeType":"YulBlock","src":"1184:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1193:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1196:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1186:6:52"},"nodeType":"YulFunctionCall","src":"1186:12:52"},"nodeType":"YulExpressionStatement","src":"1186:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1159:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"1168:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1155:3:52"},"nodeType":"YulFunctionCall","src":"1155:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"1180:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1151:3:52"},"nodeType":"YulFunctionCall","src":"1151:32:52"},"nodeType":"YulIf","src":"1148:52:52"},{"nodeType":"YulAssignment","src":"1209:39:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1238:9:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"1219:18:52"},"nodeType":"YulFunctionCall","src":"1219:29:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1209:6:52"}]}]},"name":"abi_decode_tuple_t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1104:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1115:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1127:6:52","type":""}],"src":"1068:186:52"},{"body":{"nodeType":"YulBlock","src":"1388:198:52","statements":[{"nodeType":"YulAssignment","src":"1398:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1410:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1421:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1406:3:52"},"nodeType":"YulFunctionCall","src":"1406:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1398:4:52"}]},{"nodeType":"YulVariableDeclaration","src":"1433:52:52","value":{"kind":"number","nodeType":"YulLiteral","src":"1443:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"1437:2:52","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1501:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1516:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"1524:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1512:3:52"},"nodeType":"YulFunctionCall","src":"1512:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1494:6:52"},"nodeType":"YulFunctionCall","src":"1494:34:52"},"nodeType":"YulExpressionStatement","src":"1494:34:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1548:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1559:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1544:3:52"},"nodeType":"YulFunctionCall","src":"1544:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"1568:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"1576:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1564:3:52"},"nodeType":"YulFunctionCall","src":"1564:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1537:6:52"},"nodeType":"YulFunctionCall","src":"1537:43:52"},"nodeType":"YulExpressionStatement","src":"1537:43:52"}]},"name":"abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1349:9:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"1360:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1368:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1379:4:52","type":""}],"src":"1259:327:52"},{"body":{"nodeType":"YulBlock","src":"1671:196:52","statements":[{"body":{"nodeType":"YulBlock","src":"1717:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1726:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1729:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1719:6:52"},"nodeType":"YulFunctionCall","src":"1719:12:52"},"nodeType":"YulExpressionStatement","src":"1719:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1692:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"1701:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1688:3:52"},"nodeType":"YulFunctionCall","src":"1688:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"1713:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1684:3:52"},"nodeType":"YulFunctionCall","src":"1684:32:52"},"nodeType":"YulIf","src":"1681:52:52"},{"nodeType":"YulVariableDeclaration","src":"1742:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1761:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1755:5:52"},"nodeType":"YulFunctionCall","src":"1755:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"1746:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1821:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1830:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1833:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1823:6:52"},"nodeType":"YulFunctionCall","src":"1823:12:52"},"nodeType":"YulExpressionStatement","src":"1823:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1793:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1804:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"1811:6:52","type":"","value":"0xffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1800:3:52"},"nodeType":"YulFunctionCall","src":"1800:18:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1790:2:52"},"nodeType":"YulFunctionCall","src":"1790:29:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1783:6:52"},"nodeType":"YulFunctionCall","src":"1783:37:52"},"nodeType":"YulIf","src":"1780:57:52"},{"nodeType":"YulAssignment","src":"1846:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"1856:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1846:6:52"}]}]},"name":"abi_decode_tuple_t_uint16_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1637:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1648:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1660:6:52","type":""}],"src":"1591:276:52"},{"body":{"nodeType":"YulBlock","src":"1904:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1921:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1924:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1914:6:52"},"nodeType":"YulFunctionCall","src":"1914:88:52"},"nodeType":"YulExpressionStatement","src":"1914:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2018:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"2021:4:52","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2011:6:52"},"nodeType":"YulFunctionCall","src":"2011:15:52"},"nodeType":"YulExpressionStatement","src":"2011:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2042:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2045:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2035:6:52"},"nodeType":"YulFunctionCall","src":"2035:15:52"},"nodeType":"YulExpressionStatement","src":"2035:15:52"}]},"name":"panic_error_0x11","nodeType":"YulFunctionDefinition","src":"1872:184:52"},{"body":{"nodeType":"YulBlock","src":"2109:123:52","statements":[{"nodeType":"YulVariableDeclaration","src":"2119:16:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2129:6:52","type":"","value":"0xffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2123:2:52","type":""}]},{"nodeType":"YulAssignment","src":"2144:35:52","value":{"arguments":[{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"2160:1:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2163:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2156:3:52"},"nodeType":"YulFunctionCall","src":"2156:10:52"},{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"2172:1:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2175:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2168:3:52"},"nodeType":"YulFunctionCall","src":"2168:10:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2152:3:52"},"nodeType":"YulFunctionCall","src":"2152:27:52"},"variableNames":[{"name":"diff","nodeType":"YulIdentifier","src":"2144:4:52"}]},{"body":{"nodeType":"YulBlock","src":"2204:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"2206:16:52"},"nodeType":"YulFunctionCall","src":"2206:18:52"},"nodeType":"YulExpressionStatement","src":"2206:18:52"}]},"condition":{"arguments":[{"name":"diff","nodeType":"YulIdentifier","src":"2194:4:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2200:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2191:2:52"},"nodeType":"YulFunctionCall","src":"2191:12:52"},"nodeType":"YulIf","src":"2188:38:52"}]},"name":"checked_sub_t_uint16","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"2091:1:52","type":""},{"name":"y","nodeType":"YulTypedName","src":"2094:1:52","type":""}],"returnVariables":[{"name":"diff","nodeType":"YulTypedName","src":"2100:4:52","type":""}],"src":"2061:171:52"},{"body":{"nodeType":"YulBlock","src":"2289:116:52","statements":[{"nodeType":"YulAssignment","src":"2299:20:52","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"2314:1:52"},{"name":"y","nodeType":"YulIdentifier","src":"2317:1:52"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"2310:3:52"},"nodeType":"YulFunctionCall","src":"2310:9:52"},"variableNames":[{"name":"product","nodeType":"YulIdentifier","src":"2299:7:52"}]},{"body":{"nodeType":"YulBlock","src":"2377:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"2379:16:52"},"nodeType":"YulFunctionCall","src":"2379:18:52"},"nodeType":"YulExpressionStatement","src":"2379:18:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"2348:1:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2341:6:52"},"nodeType":"YulFunctionCall","src":"2341:9:52"},{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"2355:1:52"},{"arguments":[{"name":"product","nodeType":"YulIdentifier","src":"2362:7:52"},{"name":"x","nodeType":"YulIdentifier","src":"2371:1:52"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"2358:3:52"},"nodeType":"YulFunctionCall","src":"2358:15:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"2352:2:52"},"nodeType":"YulFunctionCall","src":"2352:22:52"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"2338:2:52"},"nodeType":"YulFunctionCall","src":"2338:37:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2331:6:52"},"nodeType":"YulFunctionCall","src":"2331:45:52"},"nodeType":"YulIf","src":"2328:71:52"}]},"name":"checked_mul_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"2268:1:52","type":""},{"name":"y","nodeType":"YulTypedName","src":"2271:1:52","type":""}],"returnVariables":[{"name":"product","nodeType":"YulTypedName","src":"2277:7:52","type":""}],"src":"2237:168:52"},{"body":{"nodeType":"YulBlock","src":"2456:228:52","statements":[{"body":{"nodeType":"YulBlock","src":"2487:168:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2508:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2511:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2501:6:52"},"nodeType":"YulFunctionCall","src":"2501:88:52"},"nodeType":"YulExpressionStatement","src":"2501:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2609:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"2612:4:52","type":"","value":"0x12"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2602:6:52"},"nodeType":"YulFunctionCall","src":"2602:15:52"},"nodeType":"YulExpressionStatement","src":"2602:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2637:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2640:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2630:6:52"},"nodeType":"YulFunctionCall","src":"2630:15:52"},"nodeType":"YulExpressionStatement","src":"2630:15:52"}]},"condition":{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"2476:1:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2469:6:52"},"nodeType":"YulFunctionCall","src":"2469:9:52"},"nodeType":"YulIf","src":"2466:189:52"},{"nodeType":"YulAssignment","src":"2664:14:52","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"2673:1:52"},{"name":"y","nodeType":"YulIdentifier","src":"2676:1:52"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"2669:3:52"},"nodeType":"YulFunctionCall","src":"2669:9:52"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"2664:1:52"}]}]},"name":"checked_div_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"2441:1:52","type":""},{"name":"y","nodeType":"YulTypedName","src":"2444:1:52","type":""}],"returnVariables":[{"name":"r","nodeType":"YulTypedName","src":"2450:1:52","type":""}],"src":"2410:274:52"}]},"contents":"{\n    { }\n    function abi_decode_address(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint24(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n        let value := calldataload(add(headStart, 64))\n        if iszero(eq(value, and(value, 0xffffff))) { revert(0, 0) }\n        value2 := value\n    }\n    function abi_encode_tuple_t_uint24__to_t_uint24__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffff))\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, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n    }\n    function abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n        mstore(headStart, and(value0, _1))\n        mstore(add(headStart, 32), and(value1, _1))\n    }\n    function abi_decode_tuple_t_uint16_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        if iszero(eq(value, and(value, 0xffff))) { revert(0, 0) }\n        value0 := value\n    }\n    function panic_error_0x11()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x11)\n        revert(0, 0x24)\n    }\n    function checked_sub_t_uint16(x, y) -> diff\n    {\n        let _1 := 0xffff\n        diff := sub(and(x, _1), and(y, _1))\n        if gt(diff, _1) { panic_error_0x11() }\n    }\n    function checked_mul_t_uint256(x, y) -> product\n    {\n        product := mul(x, y)\n        if iszero(or(iszero(x), eq(y, div(product, x)))) { panic_error_0x11() }\n    }\n    function checked_div_t_uint256(x, y) -> r\n    {\n        if iszero(y)\n        {\n            mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x12)\n            revert(0, 0x24)\n        }\n        r := div(x, y)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b506004361061004c5760003560e01c80631018860c146100515780636408f8201461007d578063a9dd77e7146100c4578063c3da7978146100c4575b600080fd5b61006461005f366004610260565b61013a565b60405162ffffff90911681526020015b60405180910390f35b7fe4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a5460405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610074565b6101386100d23660046102af565b7fe4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b005b6000807fe4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a80546040517f1101ce3e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152878116602483015292935060009290911690631101ce3e906044016020604051808303816000875af11580156101dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020191906102d1565b90506103e86102108282610324565b6102239061ffff1662ffffff8716610346565b61022d9190610363565b9695505050505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461025b57600080fd5b919050565b60008060006060848603121561027557600080fd5b61027e84610237565b925061028c60208501610237565b9150604084013562ffffff811681146102a457600080fd5b809150509250925092565b6000602082840312156102c157600080fd5b6102ca82610237565b9392505050565b6000602082840312156102e357600080fd5b815161ffff811681146102ca57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61ffff82811682821603908082111561033f5761033f6102f5565b5092915050565b808202811582820484141761035d5761035d6102f5565b92915050565b600082610399577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x4C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x1018860C EQ PUSH2 0x51 JUMPI DUP1 PUSH4 0x6408F820 EQ PUSH2 0x7D JUMPI DUP1 PUSH4 0xA9DD77E7 EQ PUSH2 0xC4 JUMPI DUP1 PUSH4 0xC3DA7978 EQ PUSH2 0xC4 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x64 PUSH2 0x5F CALLDATASIZE PUSH1 0x4 PUSH2 0x260 JUMP JUMPDEST PUSH2 0x13A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0xFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH32 0xE4C4DBEE56C110A8CEF43909D8E93740944B39C20CF0E5FA421F1DE331E3273A SLOAD PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x74 JUMP JUMPDEST PUSH2 0x138 PUSH2 0xD2 CALLDATASIZE PUSH1 0x4 PUSH2 0x2AF JUMP JUMPDEST PUSH32 0xE4C4DBEE56C110A8CEF43909D8E93740944B39C20CF0E5FA421F1DE331E3273A DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 PUSH32 0xE4C4DBEE56C110A8CEF43909D8E93740944B39C20CF0E5FA421F1DE331E3273A DUP1 SLOAD PUSH1 0x40 MLOAD PUSH32 0x1101CE3E00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP9 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP8 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE SWAP3 SWAP4 POP PUSH1 0x0 SWAP3 SWAP1 SWAP2 AND SWAP1 PUSH4 0x1101CE3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1DD 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 0x201 SWAP2 SWAP1 PUSH2 0x2D1 JUMP JUMPDEST SWAP1 POP PUSH2 0x3E8 PUSH2 0x210 DUP3 DUP3 PUSH2 0x324 JUMP JUMPDEST PUSH2 0x223 SWAP1 PUSH2 0xFFFF AND PUSH3 0xFFFFFF DUP8 AND PUSH2 0x346 JUMP JUMPDEST PUSH2 0x22D SWAP2 SWAP1 PUSH2 0x363 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x25B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x275 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x27E DUP5 PUSH2 0x237 JUMP JUMPDEST SWAP3 POP PUSH2 0x28C PUSH1 0x20 DUP6 ADD PUSH2 0x237 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0x2A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2C1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2CA DUP3 PUSH2 0x237 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2E3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0x2CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0xFFFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP1 DUP3 GT ISZERO PUSH2 0x33F JUMPI PUSH2 0x33F PUSH2 0x2F5 JUMP JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x35D JUMPI PUSH2 0x35D PUSH2 0x2F5 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x399 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"356:2281:40:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2247:387;;;;;;:::i;:::-;;:::i;:::-;;;816:8:52;804:21;;;786:40;;774:2;759:18;2247:387:40;;;;;;;;1830:177;521:40;1975:26;1830:177;;1975:26;;;;983:74:52;;971:2;956:18;1830:177:40;837:226:52;1127:197:40;;;;;;:::i;:::-;521:40;1269:49;;;;;;;;;;;;;;;1127:197;;;2247:387;2331:17;;521:40;2464:26;;2443:73;;;;;2464:26;1512:15:52;;;2443:73:40;;;1494:34:52;1564:15;;;1544:18;;;1537:43;2464:26:40;;-1:-1:-1;2422:18:40;;2464:26;;;;2443:61;;1406:18:52;;2443:73:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2422:94;-1:-1:-1;619:4:40;2560:38;2422:94;619:4;2560:38;:::i;:::-;2544:55;;;;:12;;;:55;:::i;:::-;2543:84;;;;:::i;:::-;2523:105;2247:387;-1:-1:-1;;;;;;2247:387:40:o;14:196:52:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:422::-;291:6;299;307;360:2;348:9;339:7;335:23;331:32;328:52;;;376:1;373;366:12;328:52;399:29;418:9;399:29;:::i;:::-;389:39;;447:38;481:2;470:9;466:18;447:38;:::i;:::-;437:48;;535:2;524:9;520:18;507:32;579:8;572:5;568:20;561:5;558:31;548:59;;603:1;600;593:12;548:59;626:5;616:15;;;215:422;;;;;:::o;1068:186::-;1127:6;1180:2;1168:9;1159:7;1155:23;1151:32;1148:52;;;1196:1;1193;1186:12;1148:52;1219:29;1238:9;1219:29;:::i;:::-;1209:39;1068:186;-1:-1:-1;;;1068:186:52:o;1591:276::-;1660:6;1713:2;1701:9;1692:7;1688:23;1684:32;1681:52;;;1729:1;1726;1719:12;1681:52;1761:9;1755:16;1811:6;1804:5;1800:18;1793:5;1790:29;1780:57;;1833:1;1830;1823:12;1872:184;1924:77;1921:1;1914:88;2021:4;2018:1;2011:15;2045:4;2042:1;2035:15;2061:171;2129:6;2168:10;;;2156;;;2152:27;;2191:12;;;2188:38;;;2206:18;;:::i;:::-;2188:38;2061:171;;;;:::o;2237:168::-;2310:9;;;2341;;2358:15;;;2352:22;;2338:37;2328:71;;2379:18;;:::i;:::-;2237:168;;;;:::o;2410:274::-;2450:1;2476;2466:189;;2511:77;2508:1;2501:88;2612:4;2609:1;2602:15;2640:4;2637:1;2630:15;2466:189;-1:-1:-1;2669:9:52;;2410:274::o"},"methodIdentifiers":{"applyFeeDiscount(address,address,uint24)":"1018860c","getFeeDiscountRegistry()":"6408f820","initializeFeeDiscount(address)":"a9dd77e7","setFeeDiscountRegistry(address)":"c3da7978"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"applyFeeDiscount\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"updatedFee\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFeeDiscountRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeDiscountRegistry\",\"type\":\"address\"}],\"name\":\"initializeFeeDiscount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeDiscountRegistry\",\"type\":\"address\"}],\"name\":\"setFeeDiscountRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Called via delegatecall from FeeDiscountConnector to reduce main contract size\",\"kind\":\"dev\",\"methods\":{\"applyFeeDiscount(address,address,uint24)\":{\"details\":\"Called via delegatecall from connector\",\"params\":{\"fee\":\"Original fee\",\"pool\":\"Pool address\",\"user\":\"User address\"},\"returns\":{\"updatedFee\":\"Fee after discount\"}},\"getFeeDiscountRegistry()\":{\"details\":\"Called via staticcall from connector\",\"returns\":{\"_0\":\"Fee discount registry address\"}},\"initializeFeeDiscount(address)\":{\"details\":\"Called via delegatecall from connector\",\"params\":{\"_feeDiscountRegistry\":\"Address of fee discount registry\"}},\"setFeeDiscountRegistry(address)\":{\"details\":\"Called via delegatecall from connector\",\"params\":{\"_feeDiscountRegistry\":\"New fee discount registry address\"}}},\"stateVariables\":{\"FEE_DISCOUNT_NAMESPACE\":{\"details\":\"Storage namespace for FeeDiscount plugin using ERC-7201\"}},\"title\":\"FeeDiscount Plugin Implementation\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"applyFeeDiscount(address,address,uint24)\":{\"notice\":\"Apply fee discount for user\"},\"getFeeDiscountRegistry()\":{\"notice\":\"Get fee discount registry\"},\"initializeFeeDiscount(address)\":{\"notice\":\"Initialize FeeDiscount plugin\"},\"setFeeDiscountRegistry(address)\":{\"notice\":\"Set fee discount registry\"}},\"notice\":\"This contract contains ALL logic for FeeDiscount plugin that works with namespaced storage\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/FeeDiscountPluginImplementation.sol\":\"FeeDiscountPluginImplementation\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/FeeDiscountPluginImplementation.sol\":{\"keccak256\":\"0x3dcf351a6a5c9693035598a6e7e3d56ec822f25bb58c1e16e5e3decf0d6faa21\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://5255cc5b2717bf67c2b627f4f1e0f8b3879ca9240475de730302f28d2eb7f13e\",\"dweb:/ipfs/QmY5uB47LE2nAA7hUHY51KezAtdp9f3LAos4eww62fQCAi\"]},\"contracts/interfaces/IFeeDiscountRegistry.sol\":{\"keccak256\":\"0x21904fdeb60ce4df4a47668660e5d6c512c722f0bc38f3935b0a505346f267fd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1cbdebe7b9d97da98c52557cb680116c2df7080a4a6b08772b73846e9fe10e54\",\"dweb:/ipfs/QmdcWkBjqb4aWpvH6tkqm5RKgQ4GXGwBbaaZPtmC9fZWaP\"]}},\"version\":1}"}},"contracts/FeeDiscountRegistry.sol":{"FeeDiscountRegistry":{"abi":[{"inputs":[{"internalType":"address","name":"_algebraFactory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"uint16","name":"newDiscount","type":"uint16"}],"name":"FeeDiscount","type":"event"},{"inputs":[],"name":"FEE_DISCOUNT_DENOMINATOR","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_DISCOUNT_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"algebraFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"feeDiscounts","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address[]","name":"pools","type":"address[]"},{"internalType":"uint16[]","name":"newDiscounts","type":"uint16[]"}],"name":"setFeeDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_6285":{"entryPoint":null,"id":6285,"parameterSlots":1,"returnSlots":0},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":64,"id":null,"parameterSlots":2,"returnSlots":1}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:306:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"95:209:52","statements":[{"body":{"nodeType":"YulBlock","src":"141:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"150:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"153:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"143:6:52"},"nodeType":"YulFunctionCall","src":"143:12:52"},"nodeType":"YulExpressionStatement","src":"143:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"116:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"125:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"112:3:52"},"nodeType":"YulFunctionCall","src":"112:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"137:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"108:3:52"},"nodeType":"YulFunctionCall","src":"108:32:52"},"nodeType":"YulIf","src":"105:52:52"},{"nodeType":"YulVariableDeclaration","src":"166:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"185:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"179:5:52"},"nodeType":"YulFunctionCall","src":"179:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"170:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"258:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"267:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"270:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"260:6:52"},"nodeType":"YulFunctionCall","src":"260:12:52"},"nodeType":"YulExpressionStatement","src":"260:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"217:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"228:5:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"243:3:52","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"248:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"239:3:52"},"nodeType":"YulFunctionCall","src":"239:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"252:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"235:3:52"},"nodeType":"YulFunctionCall","src":"235:19:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"224:3:52"},"nodeType":"YulFunctionCall","src":"224:31:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"214:2:52"},"nodeType":"YulFunctionCall","src":"214:42:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"207:6:52"},"nodeType":"YulFunctionCall","src":"207:50:52"},"nodeType":"YulIf","src":"204:70:52"},{"nodeType":"YulAssignment","src":"283:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"293:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"283:6:52"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"61:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"72:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"84:6:52","type":""}],"src":"14:290:52"}]},"contents":"{\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        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n        value0 := value\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60a060405234801561001057600080fd5b506040516108b03803806108b083398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161081f6100916000396000818160d301526101a3015261081f6000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063978e13ea11610050578063978e13ea146100b9578063a7b64b04146100ce578063d2426f071461011a57600080fd5b80631101ce3e1461006c57806351f8ba46146100b0575b600080fd5b61009861007a366004610538565b600060208181529281526040808220909352908152205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b6100986103e881565b6100cc6100c7366004610689565b61014f565b005b6100f57f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100a7565b6101417fa49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e881565b6040519081526020016100a7565b6040517fe8ae2b690000000000000000000000000000000000000000000000000000000081527fa49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e860048201523360248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e8ae2b6990604401602060405180830381865afa1580156101ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610223919061075b565b61028e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a6564000000000000000000000000000000000000000060448201526064015b60405180910390fd5b80518251146102f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4172726179734c656e6774684d69736d617463680000000000000000000000006044820152606401610285565b60005b8251811015610509576103e861ffff1682828151811061031e5761031e610784565b602002602001015161ffff161115610392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f66656520646973636f756e7420657865636565647320313030250000000000006044820152606401610285565b8181815181106103a4576103a4610784565b60200260200101516000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008584815181106103fe576103fe610784565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055507f7a30dcbbc729b723963056eb5780229274194a05bbe6fe5174b8864d96c37a2c8484838151811061048e5761048e610784565b60200260200101518484815181106104a8576104a8610784565b60200260200101516040516104ef9392919073ffffffffffffffffffffffffffffffffffffffff938416815291909216602082015261ffff91909116604082015260600190565b60405180910390a180610501816107b3565b9150506102fc565b50505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461053357600080fd5b919050565b6000806040838503121561054b57600080fd5b6105548361050f565b91506105626020840161050f565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156105e1576105e161056b565b604052919050565b600067ffffffffffffffff8211156106035761060361056b565b5060051b60200190565b600082601f83011261061e57600080fd5b8135602061063361062e836105e9565b61059a565b82815260059290921b8401810191818101908684111561065257600080fd5b8286015b8481101561067e57803561ffff811681146106715760008081fd5b8352918301918301610656565b509695505050505050565b60008060006060848603121561069e57600080fd5b6106a78461050f565b925060208085013567ffffffffffffffff808211156106c557600080fd5b818701915087601f8301126106d957600080fd5b81356106e761062e826105e9565b81815260059190911b8301840190848101908a83111561070657600080fd5b938501935b8285101561072b5761071c8561050f565b8252938501939085019061070b565b96505050604087013592508083111561074357600080fd5b50506107518682870161060d565b9150509250925092565b60006020828403121561076d57600080fd5b8151801515811461077d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361080b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea164736f6c6343000814000a","opcodes":"PUSH1 0xA0 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x8B0 CODESIZE SUB DUP1 PUSH2 0x8B0 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0x40 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x80 MSTORE PUSH2 0x70 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x52 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x69 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH2 0x81F PUSH2 0x91 PUSH1 0x0 CODECOPY PUSH1 0x0 DUP2 DUP2 PUSH1 0xD3 ADD MSTORE PUSH2 0x1A3 ADD MSTORE PUSH2 0x81F 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 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x978E13EA GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x978E13EA EQ PUSH2 0xB9 JUMPI DUP1 PUSH4 0xA7B64B04 EQ PUSH2 0xCE JUMPI DUP1 PUSH4 0xD2426F07 EQ PUSH2 0x11A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1101CE3E EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x51F8BA46 EQ PUSH2 0xB0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x98 PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP2 DUP2 MSTORE SWAP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP1 SWAP4 MSTORE SWAP1 DUP2 MSTORE KECCAK256 SLOAD PUSH2 0xFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x98 PUSH2 0x3E8 DUP2 JUMP JUMPDEST PUSH2 0xCC PUSH2 0xC7 CALLDATASIZE PUSH1 0x4 PUSH2 0x689 JUMP JUMPDEST PUSH2 0x14F JUMP JUMPDEST STOP JUMPDEST PUSH2 0xF5 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xA7 JUMP JUMPDEST PUSH2 0x141 PUSH32 0xA49C1B804BB17A3ECB97D6C1EE253D7E7BF88B50D66BA600BB4B026E1FB144E8 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xA7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xE8AE2B6900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH32 0xA49C1B804BB17A3ECB97D6C1EE253D7E7BF88B50D66BA600BB4B026E1FB144E8 PUSH1 0x4 DUP3 ADD MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xE8AE2B69 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1FF 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 0x223 SWAP2 SWAP1 PUSH2 0x75B JUMP JUMPDEST PUSH2 0x28E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xC PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x556E617574686F72697A65640000000000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 MLOAD DUP3 MLOAD EQ PUSH2 0x2F9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4172726179734C656E6774684D69736D61746368000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x285 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0x509 JUMPI PUSH2 0x3E8 PUSH2 0xFFFF AND DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x31E JUMPI PUSH2 0x31E PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH2 0xFFFF AND GT ISZERO PUSH2 0x392 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x66656520646973636F756E742065786563656564732031303025000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x285 JUMP JUMPDEST DUP2 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x3A4 JUMPI PUSH2 0x3A4 PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP6 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x3FE JUMPI PUSH2 0x3FE PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH2 0xFFFF MUL NOT AND SWAP1 DUP4 PUSH2 0xFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x7A30DCBBC729B723963056EB5780229274194A05BBE6FE5174B8864D96C37A2C DUP5 DUP5 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x48E JUMPI PUSH2 0x48E PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD DUP5 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x4A8 JUMPI PUSH2 0x4A8 PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 MLOAD PUSH2 0x4EF SWAP4 SWAP3 SWAP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP4 DUP5 AND DUP2 MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0xFFFF SWAP2 SWAP1 SWAP2 AND PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP1 PUSH2 0x501 DUP2 PUSH2 0x7B3 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x2FC JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x533 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x54B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x554 DUP4 PUSH2 0x50F JUMP JUMPDEST SWAP2 POP PUSH2 0x562 PUSH1 0x20 DUP5 ADD PUSH2 0x50F JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x5E1 JUMPI PUSH2 0x5E1 PUSH2 0x56B JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x603 JUMPI PUSH2 0x603 PUSH2 0x56B JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x61E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x20 PUSH2 0x633 PUSH2 0x62E DUP4 PUSH2 0x5E9 JUMP JUMPDEST PUSH2 0x59A JUMP JUMPDEST DUP3 DUP2 MSTORE PUSH1 0x5 SWAP3 SWAP1 SWAP3 SHL DUP5 ADD DUP2 ADD SWAP2 DUP2 DUP2 ADD SWAP1 DUP7 DUP5 GT ISZERO PUSH2 0x652 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 DUP7 ADD JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x67E JUMPI DUP1 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0x671 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 DUP4 ADD PUSH2 0x656 JUMP JUMPDEST POP SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x69E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6A7 DUP5 PUSH2 0x50F JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP1 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x6C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD SWAP2 POP DUP8 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x6D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x6E7 PUSH2 0x62E DUP3 PUSH2 0x5E9 JUMP JUMPDEST DUP2 DUP2 MSTORE PUSH1 0x5 SWAP2 SWAP1 SWAP2 SHL DUP4 ADD DUP5 ADD SWAP1 DUP5 DUP2 ADD SWAP1 DUP11 DUP4 GT ISZERO PUSH2 0x706 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 DUP6 ADD SWAP4 JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0x72B JUMPI PUSH2 0x71C DUP6 PUSH2 0x50F JUMP JUMPDEST DUP3 MSTORE SWAP4 DUP6 ADD SWAP4 SWAP1 DUP6 ADD SWAP1 PUSH2 0x70B JUMP JUMPDEST SWAP7 POP POP POP PUSH1 0x40 DUP8 ADD CALLDATALOAD SWAP3 POP DUP1 DUP4 GT ISZERO PUSH2 0x743 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP PUSH2 0x751 DUP7 DUP3 DUP8 ADD PUSH2 0x60D JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x76D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x77D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x80B JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"192:1023:41:-:0;;;575:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;618:32:41;;;192:1023;;14:290:52;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:52;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:52:o;:::-;192:1023:41;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@FEE_DISCOUNT_DENOMINATOR_6268":{"entryPoint":null,"id":6268,"parameterSlots":0,"returnSlots":0},"@FEE_DISCOUNT_MANAGER_6264":{"entryPoint":null,"id":6264,"parameterSlots":0,"returnSlots":0},"@algebraFactory_6258":{"entryPoint":null,"id":6258,"parameterSlots":0,"returnSlots":0},"@feeDiscounts_6275":{"entryPoint":null,"id":6275,"parameterSlots":0,"returnSlots":0},"@setFeeDiscount_6363":{"entryPoint":335,"id":6363,"parameterSlots":3,"returnSlots":0},"abi_decode_address":{"entryPoint":1295,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_array_uint16_dyn":{"entryPoint":1549,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_address":{"entryPoint":1336,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_array$_t_address_$dyn_memory_ptrt_array$_t_uint16_$dyn_memory_ptr":{"entryPoint":1673,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_bool_fromMemory":{"entryPoint":1883,"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_address_t_uint16__to_t_address_t_address_t_uint16__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_3c58f19163f601dd85ead03796119784c7f52032728be2538d5061c7e5c87c99__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_f73b17d3ca641c2b52f75f4a055c27b2da4da29789376898c173e019d125ee4b__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_uint16__to_t_uint16__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"allocate_memory":{"entryPoint":1434,"id":null,"parameterSlots":1,"returnSlots":1},"array_allocation_size_array_address_dyn":{"entryPoint":1513,"id":null,"parameterSlots":1,"returnSlots":1},"increment_t_uint256":{"entryPoint":1971,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x32":{"entryPoint":1924,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":1387,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:6443:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"63:147:52","statements":[{"nodeType":"YulAssignment","src":"73:29:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"95:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"82:12:52"},"nodeType":"YulFunctionCall","src":"82:20:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"73:5:52"}]},{"body":{"nodeType":"YulBlock","src":"188:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"197:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"200:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"190:6:52"},"nodeType":"YulFunctionCall","src":"190:12:52"},"nodeType":"YulExpressionStatement","src":"190:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"124:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"135:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"142:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"131:3:52"},"nodeType":"YulFunctionCall","src":"131:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"121:2:52"},"nodeType":"YulFunctionCall","src":"121:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"114:6:52"},"nodeType":"YulFunctionCall","src":"114:73:52"},"nodeType":"YulIf","src":"111:93:52"}]},"name":"abi_decode_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"42:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"53:5:52","type":""}],"src":"14:196:52"},{"body":{"nodeType":"YulBlock","src":"302:173:52","statements":[{"body":{"nodeType":"YulBlock","src":"348:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"357:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"360:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"350:6:52"},"nodeType":"YulFunctionCall","src":"350:12:52"},"nodeType":"YulExpressionStatement","src":"350:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"323:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"332:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"319:3:52"},"nodeType":"YulFunctionCall","src":"319:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"344:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"315:3:52"},"nodeType":"YulFunctionCall","src":"315:32:52"},"nodeType":"YulIf","src":"312:52:52"},{"nodeType":"YulAssignment","src":"373:39:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"402:9:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"383:18:52"},"nodeType":"YulFunctionCall","src":"383:29:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"373:6:52"}]},{"nodeType":"YulAssignment","src":"421:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"454:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"465:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"450:3:52"},"nodeType":"YulFunctionCall","src":"450:18:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"431:18:52"},"nodeType":"YulFunctionCall","src":"431:38:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"421:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"260:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"271:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"283:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"291:6:52","type":""}],"src":"215:260:52"},{"body":{"nodeType":"YulBlock","src":"579:89:52","statements":[{"nodeType":"YulAssignment","src":"589:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"601:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"612:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"597:3:52"},"nodeType":"YulFunctionCall","src":"597:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"589:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"631:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"646:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"654:6:52","type":"","value":"0xffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"642:3:52"},"nodeType":"YulFunctionCall","src":"642:19:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"624:6:52"},"nodeType":"YulFunctionCall","src":"624:38:52"},"nodeType":"YulExpressionStatement","src":"624:38:52"}]},"name":"abi_encode_tuple_t_uint16__to_t_uint16__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"548:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"559:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"570:4:52","type":""}],"src":"480:188:52"},{"body":{"nodeType":"YulBlock","src":"705:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"722:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"725:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"715:6:52"},"nodeType":"YulFunctionCall","src":"715:88:52"},"nodeType":"YulExpressionStatement","src":"715:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"819:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"822:4:52","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"812:6:52"},"nodeType":"YulFunctionCall","src":"812:15:52"},"nodeType":"YulExpressionStatement","src":"812:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"843:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"846:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"836:6:52"},"nodeType":"YulFunctionCall","src":"836:15:52"},"nodeType":"YulExpressionStatement","src":"836:15:52"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"673:184:52"},{"body":{"nodeType":"YulBlock","src":"907:289:52","statements":[{"nodeType":"YulAssignment","src":"917:19:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"933:2:52","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"927:5:52"},"nodeType":"YulFunctionCall","src":"927:9:52"},"variableNames":[{"name":"memPtr","nodeType":"YulIdentifier","src":"917:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"945:117:52","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"967:6:52"},{"arguments":[{"arguments":[{"name":"size","nodeType":"YulIdentifier","src":"983:4:52"},{"kind":"number","nodeType":"YulLiteral","src":"989:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"979:3:52"},"nodeType":"YulFunctionCall","src":"979:13:52"},{"kind":"number","nodeType":"YulLiteral","src":"994:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"975:3:52"},"nodeType":"YulFunctionCall","src":"975:86:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"963:3:52"},"nodeType":"YulFunctionCall","src":"963:99:52"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"949:10:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1137:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"1139:16:52"},"nodeType":"YulFunctionCall","src":"1139:18:52"},"nodeType":"YulExpressionStatement","src":"1139:18:52"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1080:10:52"},{"kind":"number","nodeType":"YulLiteral","src":"1092:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1077:2:52"},"nodeType":"YulFunctionCall","src":"1077:34:52"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1116:10:52"},{"name":"memPtr","nodeType":"YulIdentifier","src":"1128:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1113:2:52"},"nodeType":"YulFunctionCall","src":"1113:22:52"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"1074:2:52"},"nodeType":"YulFunctionCall","src":"1074:62:52"},"nodeType":"YulIf","src":"1071:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1175:2:52","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1179:10:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1168:6:52"},"nodeType":"YulFunctionCall","src":"1168:22:52"},"nodeType":"YulExpressionStatement","src":"1168:22:52"}]},"name":"allocate_memory","nodeType":"YulFunctionDefinition","parameters":[{"name":"size","nodeType":"YulTypedName","src":"887:4:52","type":""}],"returnVariables":[{"name":"memPtr","nodeType":"YulTypedName","src":"896:6:52","type":""}],"src":"862:334:52"},{"body":{"nodeType":"YulBlock","src":"1270:114:52","statements":[{"body":{"nodeType":"YulBlock","src":"1314:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"1316:16:52"},"nodeType":"YulFunctionCall","src":"1316:18:52"},"nodeType":"YulExpressionStatement","src":"1316:18:52"}]},"condition":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"1286:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1294:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1283:2:52"},"nodeType":"YulFunctionCall","src":"1283:30:52"},"nodeType":"YulIf","src":"1280:56:52"},{"nodeType":"YulAssignment","src":"1345:33:52","value":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1361:1:52","type":"","value":"5"},{"name":"length","nodeType":"YulIdentifier","src":"1364:6:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1357:3:52"},"nodeType":"YulFunctionCall","src":"1357:14:52"},{"kind":"number","nodeType":"YulLiteral","src":"1373:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1353:3:52"},"nodeType":"YulFunctionCall","src":"1353:25:52"},"variableNames":[{"name":"size","nodeType":"YulIdentifier","src":"1345:4:52"}]}]},"name":"array_allocation_size_array_address_dyn","nodeType":"YulFunctionDefinition","parameters":[{"name":"length","nodeType":"YulTypedName","src":"1250:6:52","type":""}],"returnVariables":[{"name":"size","nodeType":"YulTypedName","src":"1261:4:52","type":""}],"src":"1201:183:52"},{"body":{"nodeType":"YulBlock","src":"1452:769:52","statements":[{"body":{"nodeType":"YulBlock","src":"1501:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1510:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1513:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1503:6:52"},"nodeType":"YulFunctionCall","src":"1503:12:52"},"nodeType":"YulExpressionStatement","src":"1503:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1480:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1488:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1476:3:52"},"nodeType":"YulFunctionCall","src":"1476:17:52"},{"name":"end","nodeType":"YulIdentifier","src":"1495:3:52"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1472:3:52"},"nodeType":"YulFunctionCall","src":"1472:27:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1465:6:52"},"nodeType":"YulFunctionCall","src":"1465:35:52"},"nodeType":"YulIf","src":"1462:55:52"},{"nodeType":"YulVariableDeclaration","src":"1526:30:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1549:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1536:12:52"},"nodeType":"YulFunctionCall","src":"1536:20:52"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"1530:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1565:14:52","value":{"kind":"number","nodeType":"YulLiteral","src":"1575:4:52","type":"","value":"0x20"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"1569:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1588:71:52","value":{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"1655:2:52"}],"functionName":{"name":"array_allocation_size_array_address_dyn","nodeType":"YulIdentifier","src":"1615:39:52"},"nodeType":"YulFunctionCall","src":"1615:43:52"}],"functionName":{"name":"allocate_memory","nodeType":"YulIdentifier","src":"1599:15:52"},"nodeType":"YulFunctionCall","src":"1599:60:52"},"variables":[{"name":"dst","nodeType":"YulTypedName","src":"1592:3:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1668:16:52","value":{"name":"dst","nodeType":"YulIdentifier","src":"1681:3:52"},"variables":[{"name":"dst_1","nodeType":"YulTypedName","src":"1672:5:52","type":""}]},{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"1700:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"1705:2:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1693:6:52"},"nodeType":"YulFunctionCall","src":"1693:15:52"},"nodeType":"YulExpressionStatement","src":"1693:15:52"},{"nodeType":"YulAssignment","src":"1717:19:52","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"1728:3:52"},{"name":"_2","nodeType":"YulIdentifier","src":"1733:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1724:3:52"},"nodeType":"YulFunctionCall","src":"1724:12:52"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"1717:3:52"}]},{"nodeType":"YulVariableDeclaration","src":"1745:46:52","value":{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1767:6:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1779:1:52","type":"","value":"5"},{"name":"_1","nodeType":"YulIdentifier","src":"1782:2:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1775:3:52"},"nodeType":"YulFunctionCall","src":"1775:10:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1763:3:52"},"nodeType":"YulFunctionCall","src":"1763:23:52"},{"name":"_2","nodeType":"YulIdentifier","src":"1788:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1759:3:52"},"nodeType":"YulFunctionCall","src":"1759:32:52"},"variables":[{"name":"srcEnd","nodeType":"YulTypedName","src":"1749:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1819:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1828:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1831:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1821:6:52"},"nodeType":"YulFunctionCall","src":"1821:12:52"},"nodeType":"YulExpressionStatement","src":"1821:12:52"}]},"condition":{"arguments":[{"name":"srcEnd","nodeType":"YulIdentifier","src":"1806:6:52"},{"name":"end","nodeType":"YulIdentifier","src":"1814:3:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1803:2:52"},"nodeType":"YulFunctionCall","src":"1803:15:52"},"nodeType":"YulIf","src":"1800:35:52"},{"nodeType":"YulVariableDeclaration","src":"1844:26:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1859:6:52"},{"name":"_2","nodeType":"YulIdentifier","src":"1867:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1855:3:52"},"nodeType":"YulFunctionCall","src":"1855:15:52"},"variables":[{"name":"src","nodeType":"YulTypedName","src":"1848:3:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1935:257:52","statements":[{"nodeType":"YulVariableDeclaration","src":"1949:30:52","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"1975:3:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1962:12:52"},"nodeType":"YulFunctionCall","src":"1962:17:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"1953:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"2045:74:52","statements":[{"nodeType":"YulVariableDeclaration","src":"2063:11:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2073:1:52","type":"","value":"0"},"variables":[{"name":"_3","nodeType":"YulTypedName","src":"2067:2:52","type":""}]},{"expression":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"2098:2:52"},{"name":"_3","nodeType":"YulIdentifier","src":"2102:2:52"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2091:6:52"},"nodeType":"YulFunctionCall","src":"2091:14:52"},"nodeType":"YulExpressionStatement","src":"2091:14:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2005:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2016:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"2023:6:52","type":"","value":"0xffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2012:3:52"},"nodeType":"YulFunctionCall","src":"2012:18:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"2002:2:52"},"nodeType":"YulFunctionCall","src":"2002:29:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1995:6:52"},"nodeType":"YulFunctionCall","src":"1995:37:52"},"nodeType":"YulIf","src":"1992:127:52"},{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2139:3:52"},{"name":"value","nodeType":"YulIdentifier","src":"2144:5:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2132:6:52"},"nodeType":"YulFunctionCall","src":"2132:18:52"},"nodeType":"YulExpressionStatement","src":"2132:18:52"},{"nodeType":"YulAssignment","src":"2163:19:52","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2174:3:52"},{"name":"_2","nodeType":"YulIdentifier","src":"2179:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2170:3:52"},"nodeType":"YulFunctionCall","src":"2170:12:52"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"2163:3:52"}]}]},"condition":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"1890:3:52"},{"name":"srcEnd","nodeType":"YulIdentifier","src":"1895:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1887:2:52"},"nodeType":"YulFunctionCall","src":"1887:15:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"1903:23:52","statements":[{"nodeType":"YulAssignment","src":"1905:19:52","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"1916:3:52"},{"name":"_2","nodeType":"YulIdentifier","src":"1921:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1912:3:52"},"nodeType":"YulFunctionCall","src":"1912:12:52"},"variableNames":[{"name":"src","nodeType":"YulIdentifier","src":"1905:3:52"}]}]},"pre":{"nodeType":"YulBlock","src":"1883:3:52","statements":[]},"src":"1879:313:52"},{"nodeType":"YulAssignment","src":"2201:14:52","value":{"name":"dst_1","nodeType":"YulIdentifier","src":"2210:5:52"},"variableNames":[{"name":"array","nodeType":"YulIdentifier","src":"2201:5:52"}]}]},"name":"abi_decode_array_uint16_dyn","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"1426:6:52","type":""},{"name":"end","nodeType":"YulTypedName","src":"1434:3:52","type":""}],"returnVariables":[{"name":"array","nodeType":"YulTypedName","src":"1442:5:52","type":""}],"src":"1389:832:52"},{"body":{"nodeType":"YulBlock","src":"2379:1063:52","statements":[{"body":{"nodeType":"YulBlock","src":"2425:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2434:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2437:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2427:6:52"},"nodeType":"YulFunctionCall","src":"2427:12:52"},"nodeType":"YulExpressionStatement","src":"2427:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2400:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"2409:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2396:3:52"},"nodeType":"YulFunctionCall","src":"2396:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"2421:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2392:3:52"},"nodeType":"YulFunctionCall","src":"2392:32:52"},"nodeType":"YulIf","src":"2389:52:52"},{"nodeType":"YulAssignment","src":"2450:39:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2479:9:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"2460:18:52"},"nodeType":"YulFunctionCall","src":"2460:29:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2450:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"2498:12:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2508:2:52","type":"","value":"32"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2502:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2519:46:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2550:9:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2561:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2546:3:52"},"nodeType":"YulFunctionCall","src":"2546:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2533:12:52"},"nodeType":"YulFunctionCall","src":"2533:32:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"2523:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2574:28:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2584:18:52","type":"","value":"0xffffffffffffffff"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"2578:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"2629:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2638:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2641:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2631:6:52"},"nodeType":"YulFunctionCall","src":"2631:12:52"},"nodeType":"YulExpressionStatement","src":"2631:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"2617:6:52"},{"name":"_2","nodeType":"YulIdentifier","src":"2625:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2614:2:52"},"nodeType":"YulFunctionCall","src":"2614:14:52"},"nodeType":"YulIf","src":"2611:34:52"},{"nodeType":"YulVariableDeclaration","src":"2654:32:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2668:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"2679:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2664:3:52"},"nodeType":"YulFunctionCall","src":"2664:22:52"},"variables":[{"name":"_3","nodeType":"YulTypedName","src":"2658:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"2734:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2743:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2746:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2736:6:52"},"nodeType":"YulFunctionCall","src":"2736:12:52"},"nodeType":"YulExpressionStatement","src":"2736:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"2713:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"2717:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2709:3:52"},"nodeType":"YulFunctionCall","src":"2709:13:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"2724:7:52"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2705:3:52"},"nodeType":"YulFunctionCall","src":"2705:27:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2698:6:52"},"nodeType":"YulFunctionCall","src":"2698:35:52"},"nodeType":"YulIf","src":"2695:55:52"},{"nodeType":"YulVariableDeclaration","src":"2759:26:52","value":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"2782:2:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2769:12:52"},"nodeType":"YulFunctionCall","src":"2769:16:52"},"variables":[{"name":"_4","nodeType":"YulTypedName","src":"2763:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2794:71:52","value":{"arguments":[{"arguments":[{"name":"_4","nodeType":"YulIdentifier","src":"2861:2:52"}],"functionName":{"name":"array_allocation_size_array_address_dyn","nodeType":"YulIdentifier","src":"2821:39:52"},"nodeType":"YulFunctionCall","src":"2821:43:52"}],"functionName":{"name":"allocate_memory","nodeType":"YulIdentifier","src":"2805:15:52"},"nodeType":"YulFunctionCall","src":"2805:60:52"},"variables":[{"name":"dst","nodeType":"YulTypedName","src":"2798:3:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2874:16:52","value":{"name":"dst","nodeType":"YulIdentifier","src":"2887:3:52"},"variables":[{"name":"dst_1","nodeType":"YulTypedName","src":"2878:5:52","type":""}]},{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2906:3:52"},{"name":"_4","nodeType":"YulIdentifier","src":"2911:2:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2899:6:52"},"nodeType":"YulFunctionCall","src":"2899:15:52"},"nodeType":"YulExpressionStatement","src":"2899:15:52"},{"nodeType":"YulAssignment","src":"2923:19:52","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2934:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2939:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2930:3:52"},"nodeType":"YulFunctionCall","src":"2930:12:52"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"2923:3:52"}]},{"nodeType":"YulVariableDeclaration","src":"2951:42:52","value":{"arguments":[{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"2973:2:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2981:1:52","type":"","value":"5"},{"name":"_4","nodeType":"YulIdentifier","src":"2984:2:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2977:3:52"},"nodeType":"YulFunctionCall","src":"2977:10:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2969:3:52"},"nodeType":"YulFunctionCall","src":"2969:19:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2990:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2965:3:52"},"nodeType":"YulFunctionCall","src":"2965:28:52"},"variables":[{"name":"srcEnd","nodeType":"YulTypedName","src":"2955:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"3025:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3034:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3037:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3027:6:52"},"nodeType":"YulFunctionCall","src":"3027:12:52"},"nodeType":"YulExpressionStatement","src":"3027:12:52"}]},"condition":{"arguments":[{"name":"srcEnd","nodeType":"YulIdentifier","src":"3008:6:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3016:7:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3005:2:52"},"nodeType":"YulFunctionCall","src":"3005:19:52"},"nodeType":"YulIf","src":"3002:39:52"},{"nodeType":"YulVariableDeclaration","src":"3050:22:52","value":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"3065:2:52"},{"name":"_1","nodeType":"YulIdentifier","src":"3069:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3061:3:52"},"nodeType":"YulFunctionCall","src":"3061:11:52"},"variables":[{"name":"src","nodeType":"YulTypedName","src":"3054:3:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"3137:92:52","statements":[{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"3158:3:52"},{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3182:3:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"3163:18:52"},"nodeType":"YulFunctionCall","src":"3163:23:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3151:6:52"},"nodeType":"YulFunctionCall","src":"3151:36:52"},"nodeType":"YulExpressionStatement","src":"3151:36:52"},{"nodeType":"YulAssignment","src":"3200:19:52","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"3211:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"3216:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3207:3:52"},"nodeType":"YulFunctionCall","src":"3207:12:52"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"3200:3:52"}]}]},"condition":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3092:3:52"},{"name":"srcEnd","nodeType":"YulIdentifier","src":"3097:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"3089:2:52"},"nodeType":"YulFunctionCall","src":"3089:15:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"3105:23:52","statements":[{"nodeType":"YulAssignment","src":"3107:19:52","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3118:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"3123:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3114:3:52"},"nodeType":"YulFunctionCall","src":"3114:12:52"},"variableNames":[{"name":"src","nodeType":"YulIdentifier","src":"3107:3:52"}]}]},"pre":{"nodeType":"YulBlock","src":"3085:3:52","statements":[]},"src":"3081:148:52"},{"nodeType":"YulAssignment","src":"3238:15:52","value":{"name":"dst_1","nodeType":"YulIdentifier","src":"3248:5:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3238:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"3262:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3295:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3306:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3291:3:52"},"nodeType":"YulFunctionCall","src":"3291:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3278:12:52"},"nodeType":"YulFunctionCall","src":"3278:32:52"},"variables":[{"name":"offset_1","nodeType":"YulTypedName","src":"3266:8:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"3339:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3348:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3351:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3341:6:52"},"nodeType":"YulFunctionCall","src":"3341:12:52"},"nodeType":"YulExpressionStatement","src":"3341:12:52"}]},"condition":{"arguments":[{"name":"offset_1","nodeType":"YulIdentifier","src":"3325:8:52"},{"name":"_2","nodeType":"YulIdentifier","src":"3335:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3322:2:52"},"nodeType":"YulFunctionCall","src":"3322:16:52"},"nodeType":"YulIf","src":"3319:36:52"},{"nodeType":"YulAssignment","src":"3364:72:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3406:9:52"},{"name":"offset_1","nodeType":"YulIdentifier","src":"3417:8:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3402:3:52"},"nodeType":"YulFunctionCall","src":"3402:24:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3428:7:52"}],"functionName":{"name":"abi_decode_array_uint16_dyn","nodeType":"YulIdentifier","src":"3374:27:52"},"nodeType":"YulFunctionCall","src":"3374:62:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"3364:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_array$_t_address_$dyn_memory_ptrt_array$_t_uint16_$dyn_memory_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2329:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2340:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2352:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2360:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"2368:6:52","type":""}],"src":"2226:1216:52"},{"body":{"nodeType":"YulBlock","src":"3548:125:52","statements":[{"nodeType":"YulAssignment","src":"3558:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3570:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3581:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3566:3:52"},"nodeType":"YulFunctionCall","src":"3566:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3558:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3600:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3615:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3623:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3611:3:52"},"nodeType":"YulFunctionCall","src":"3611:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3593:6:52"},"nodeType":"YulFunctionCall","src":"3593:74:52"},"nodeType":"YulExpressionStatement","src":"3593:74:52"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3517:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3528:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3539:4:52","type":""}],"src":"3447:226:52"},{"body":{"nodeType":"YulBlock","src":"3779:76:52","statements":[{"nodeType":"YulAssignment","src":"3789:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3801:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3812:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3797:3:52"},"nodeType":"YulFunctionCall","src":"3797:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3789:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3831:9:52"},{"name":"value0","nodeType":"YulIdentifier","src":"3842:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3824:6:52"},"nodeType":"YulFunctionCall","src":"3824:25:52"},"nodeType":"YulExpressionStatement","src":"3824:25:52"}]},"name":"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3748:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3759:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3770:4:52","type":""}],"src":"3678:177:52"},{"body":{"nodeType":"YulBlock","src":"3989:168:52","statements":[{"nodeType":"YulAssignment","src":"3999:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4011:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4022:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4007:3:52"},"nodeType":"YulFunctionCall","src":"4007:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3999:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4041:9:52"},{"name":"value0","nodeType":"YulIdentifier","src":"4052:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4034:6:52"},"nodeType":"YulFunctionCall","src":"4034:25:52"},"nodeType":"YulExpressionStatement","src":"4034:25:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4079:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4090:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4075:3:52"},"nodeType":"YulFunctionCall","src":"4075:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"4099:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"4107:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"4095:3:52"},"nodeType":"YulFunctionCall","src":"4095:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4068:6:52"},"nodeType":"YulFunctionCall","src":"4068:83:52"},"nodeType":"YulExpressionStatement","src":"4068:83:52"}]},"name":"abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3950:9:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"3961:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3969:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3980:4:52","type":""}],"src":"3860:297:52"},{"body":{"nodeType":"YulBlock","src":"4240:199:52","statements":[{"body":{"nodeType":"YulBlock","src":"4286:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4295:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4298:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4288:6:52"},"nodeType":"YulFunctionCall","src":"4288:12:52"},"nodeType":"YulExpressionStatement","src":"4288:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"4261:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"4270:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"4257:3:52"},"nodeType":"YulFunctionCall","src":"4257:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"4282:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"4253:3:52"},"nodeType":"YulFunctionCall","src":"4253:32:52"},"nodeType":"YulIf","src":"4250:52:52"},{"nodeType":"YulVariableDeclaration","src":"4311:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4330:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4324:5:52"},"nodeType":"YulFunctionCall","src":"4324:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"4315:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"4393:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4402:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4405:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4395:6:52"},"nodeType":"YulFunctionCall","src":"4395:12:52"},"nodeType":"YulExpressionStatement","src":"4395:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4362:5:52"},{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4383:5:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"4376:6:52"},"nodeType":"YulFunctionCall","src":"4376:13:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"4369:6:52"},"nodeType":"YulFunctionCall","src":"4369:21:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"4359:2:52"},"nodeType":"YulFunctionCall","src":"4359:32:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"4352:6:52"},"nodeType":"YulFunctionCall","src":"4352:40:52"},"nodeType":"YulIf","src":"4349:60:52"},{"nodeType":"YulAssignment","src":"4418:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"4428:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"4418:6:52"}]}]},"name":"abi_decode_tuple_t_bool_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4206:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"4217:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"4229:6:52","type":""}],"src":"4162:277:52"},{"body":{"nodeType":"YulBlock","src":"4618:162:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4635:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4646:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4628:6:52"},"nodeType":"YulFunctionCall","src":"4628:21:52"},"nodeType":"YulExpressionStatement","src":"4628:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4669:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4680:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4665:3:52"},"nodeType":"YulFunctionCall","src":"4665:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"4685:2:52","type":"","value":"12"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4658:6:52"},"nodeType":"YulFunctionCall","src":"4658:30:52"},"nodeType":"YulExpressionStatement","src":"4658:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4708:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4719:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4704:3:52"},"nodeType":"YulFunctionCall","src":"4704:18:52"},{"hexValue":"556e617574686f72697a6564","kind":"string","nodeType":"YulLiteral","src":"4724:14:52","type":"","value":"Unauthorized"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4697:6:52"},"nodeType":"YulFunctionCall","src":"4697:42:52"},"nodeType":"YulExpressionStatement","src":"4697:42:52"},{"nodeType":"YulAssignment","src":"4748:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4760:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4771:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4756:3:52"},"nodeType":"YulFunctionCall","src":"4756:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"4748:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4595:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"4609:4:52","type":""}],"src":"4444:336:52"},{"body":{"nodeType":"YulBlock","src":"4959:170:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4976:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4987:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4969:6:52"},"nodeType":"YulFunctionCall","src":"4969:21:52"},"nodeType":"YulExpressionStatement","src":"4969:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5010:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5021:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5006:3:52"},"nodeType":"YulFunctionCall","src":"5006:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"5026:2:52","type":"","value":"20"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4999:6:52"},"nodeType":"YulFunctionCall","src":"4999:30:52"},"nodeType":"YulExpressionStatement","src":"4999:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5049:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5060:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5045:3:52"},"nodeType":"YulFunctionCall","src":"5045:18:52"},{"hexValue":"4172726179734c656e6774684d69736d61746368","kind":"string","nodeType":"YulLiteral","src":"5065:22:52","type":"","value":"ArraysLengthMismatch"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5038:6:52"},"nodeType":"YulFunctionCall","src":"5038:50:52"},"nodeType":"YulExpressionStatement","src":"5038:50:52"},{"nodeType":"YulAssignment","src":"5097:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5109:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5120:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5105:3:52"},"nodeType":"YulFunctionCall","src":"5105:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5097:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_3c58f19163f601dd85ead03796119784c7f52032728be2538d5061c7e5c87c99__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4936:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"4950:4:52","type":""}],"src":"4785:344:52"},{"body":{"nodeType":"YulBlock","src":"5166:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5183:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5186:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5176:6:52"},"nodeType":"YulFunctionCall","src":"5176:88:52"},"nodeType":"YulExpressionStatement","src":"5176:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5280:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"5283:4:52","type":"","value":"0x32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5273:6:52"},"nodeType":"YulFunctionCall","src":"5273:15:52"},"nodeType":"YulExpressionStatement","src":"5273:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5304:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5307:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5297:6:52"},"nodeType":"YulFunctionCall","src":"5297:15:52"},"nodeType":"YulExpressionStatement","src":"5297:15:52"}]},"name":"panic_error_0x32","nodeType":"YulFunctionDefinition","src":"5134:184:52"},{"body":{"nodeType":"YulBlock","src":"5497:176:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5514:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5525:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5507:6:52"},"nodeType":"YulFunctionCall","src":"5507:21:52"},"nodeType":"YulExpressionStatement","src":"5507:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5548:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5559:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5544:3:52"},"nodeType":"YulFunctionCall","src":"5544:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"5564:2:52","type":"","value":"26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5537:6:52"},"nodeType":"YulFunctionCall","src":"5537:30:52"},"nodeType":"YulExpressionStatement","src":"5537:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5587:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5598:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5583:3:52"},"nodeType":"YulFunctionCall","src":"5583:18:52"},{"hexValue":"66656520646973636f756e742065786563656564732031303025","kind":"string","nodeType":"YulLiteral","src":"5603:28:52","type":"","value":"fee discount execeeds 100%"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5576:6:52"},"nodeType":"YulFunctionCall","src":"5576:56:52"},"nodeType":"YulExpressionStatement","src":"5576:56:52"},{"nodeType":"YulAssignment","src":"5641:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5653:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5664:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5649:3:52"},"nodeType":"YulFunctionCall","src":"5649:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5641:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_f73b17d3ca641c2b52f75f4a055c27b2da4da29789376898c173e019d125ee4b__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5474:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"5488:4:52","type":""}],"src":"5323:350:52"},{"body":{"nodeType":"YulBlock","src":"5833:254:52","statements":[{"nodeType":"YulAssignment","src":"5843:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5855:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5866:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5851:3:52"},"nodeType":"YulFunctionCall","src":"5851:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5843:4:52"}]},{"nodeType":"YulVariableDeclaration","src":"5878:52:52","value":{"kind":"number","nodeType":"YulLiteral","src":"5888:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"5882:2:52","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5946:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"5961:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"5969:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"5957:3:52"},"nodeType":"YulFunctionCall","src":"5957:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5939:6:52"},"nodeType":"YulFunctionCall","src":"5939:34:52"},"nodeType":"YulExpressionStatement","src":"5939:34:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5993:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6004:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5989:3:52"},"nodeType":"YulFunctionCall","src":"5989:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"6013:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"6021:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6009:3:52"},"nodeType":"YulFunctionCall","src":"6009:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5982:6:52"},"nodeType":"YulFunctionCall","src":"5982:43:52"},"nodeType":"YulExpressionStatement","src":"5982:43:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6045:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6056:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6041:3:52"},"nodeType":"YulFunctionCall","src":"6041:18:52"},{"arguments":[{"name":"value2","nodeType":"YulIdentifier","src":"6065:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"6073:6:52","type":"","value":"0xffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6061:3:52"},"nodeType":"YulFunctionCall","src":"6061:19:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6034:6:52"},"nodeType":"YulFunctionCall","src":"6034:47:52"},"nodeType":"YulExpressionStatement","src":"6034:47:52"}]},"name":"abi_encode_tuple_t_address_t_address_t_uint16__to_t_address_t_address_t_uint16__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5786:9:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"5797:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"5805:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"5813:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"5824:4:52","type":""}],"src":"5678:409:52"},{"body":{"nodeType":"YulBlock","src":"6139:302:52","statements":[{"body":{"nodeType":"YulBlock","src":"6238:168:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6259:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"6262:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6252:6:52"},"nodeType":"YulFunctionCall","src":"6252:88:52"},"nodeType":"YulExpressionStatement","src":"6252:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6360:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"6363:4:52","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6353:6:52"},"nodeType":"YulFunctionCall","src":"6353:15:52"},"nodeType":"YulExpressionStatement","src":"6353:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6388:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"6391:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"6381:6:52"},"nodeType":"YulFunctionCall","src":"6381:15:52"},"nodeType":"YulExpressionStatement","src":"6381:15:52"}]},"condition":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"6155:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"6162:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"6152:2:52"},"nodeType":"YulFunctionCall","src":"6152:77:52"},"nodeType":"YulIf","src":"6149:257:52"},{"nodeType":"YulAssignment","src":"6415:20:52","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"6426:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"6433:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6422:3:52"},"nodeType":"YulFunctionCall","src":"6422:13:52"},"variableNames":[{"name":"ret","nodeType":"YulIdentifier","src":"6415:3:52"}]}]},"name":"increment_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"6121:5:52","type":""}],"returnVariables":[{"name":"ret","nodeType":"YulTypedName","src":"6131:3:52","type":""}],"src":"6092:349:52"}]},"contents":"{\n    { }\n    function abi_decode_address(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n    }\n    function abi_encode_tuple_t_uint16__to_t_uint16__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffff))\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function allocate_memory(size) -> memPtr\n    {\n        memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(size, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))\n        if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n    }\n    function array_allocation_size_array_address_dyn(length) -> size\n    {\n        if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n        size := add(shl(5, length), 0x20)\n    }\n    function abi_decode_array_uint16_dyn(offset, end) -> array\n    {\n        if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n        let _1 := calldataload(offset)\n        let _2 := 0x20\n        let dst := allocate_memory(array_allocation_size_array_address_dyn(_1))\n        let dst_1 := dst\n        mstore(dst, _1)\n        dst := add(dst, _2)\n        let srcEnd := add(add(offset, shl(5, _1)), _2)\n        if gt(srcEnd, end) { revert(0, 0) }\n        let src := add(offset, _2)\n        for { } lt(src, srcEnd) { src := add(src, _2) }\n        {\n            let value := calldataload(src)\n            if iszero(eq(value, and(value, 0xffff)))\n            {\n                let _3 := 0\n                revert(_3, _3)\n            }\n            mstore(dst, value)\n            dst := add(dst, _2)\n        }\n        array := dst_1\n    }\n    function abi_decode_tuple_t_addresst_array$_t_address_$dyn_memory_ptrt_array$_t_uint16_$dyn_memory_ptr(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        let _1 := 32\n        let offset := calldataload(add(headStart, _1))\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        let dst := allocate_memory(array_allocation_size_array_address_dyn(_4))\n        let dst_1 := dst\n        mstore(dst, _4)\n        dst := add(dst, _1)\n        let srcEnd := add(add(_3, shl(5, _4)), _1)\n        if gt(srcEnd, dataEnd) { revert(0, 0) }\n        let src := add(_3, _1)\n        for { } lt(src, srcEnd) { src := add(src, _1) }\n        {\n            mstore(dst, abi_decode_address(src))\n            dst := add(dst, _1)\n        }\n        value1 := dst_1\n        let offset_1 := calldataload(add(headStart, 64))\n        if gt(offset_1, _2) { revert(0, 0) }\n        value2 := abi_decode_array_uint16_dyn(add(headStart, offset_1), dataEnd)\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, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, value0)\n        mstore(add(headStart, 32), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\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        if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n        value0 := value\n    }\n    function abi_encode_tuple_t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 12)\n        mstore(add(headStart, 64), \"Unauthorized\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_stringliteral_3c58f19163f601dd85ead03796119784c7f52032728be2538d5061c7e5c87c99__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), \"ArraysLengthMismatch\")\n        tail := add(headStart, 96)\n    }\n    function panic_error_0x32()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x32)\n        revert(0, 0x24)\n    }\n    function abi_encode_tuple_t_stringliteral_f73b17d3ca641c2b52f75f4a055c27b2da4da29789376898c173e019d125ee4b__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), \"fee discount execeeds 100%\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_address_t_address_t_uint16__to_t_address_t_address_t_uint16__fromStack_reversed(headStart, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 96)\n        let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n        mstore(headStart, and(value0, _1))\n        mstore(add(headStart, 32), and(value1, _1))\n        mstore(add(headStart, 64), and(value2, 0xffff))\n    }\n    function increment_t_uint256(value) -> ret\n    {\n        if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n        {\n            mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x11)\n            revert(0, 0x24)\n        }\n        ret := add(value, 1)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{"6258":[{"length":32,"start":211},{"length":32,"start":419}]},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100675760003560e01c8063978e13ea11610050578063978e13ea146100b9578063a7b64b04146100ce578063d2426f071461011a57600080fd5b80631101ce3e1461006c57806351f8ba46146100b0575b600080fd5b61009861007a366004610538565b600060208181529281526040808220909352908152205461ffff1681565b60405161ffff90911681526020015b60405180910390f35b6100986103e881565b6100cc6100c7366004610689565b61014f565b005b6100f57f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100a7565b6101417fa49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e881565b6040519081526020016100a7565b6040517fe8ae2b690000000000000000000000000000000000000000000000000000000081527fa49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e860048201523360248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e8ae2b6990604401602060405180830381865afa1580156101ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610223919061075b565b61028e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a6564000000000000000000000000000000000000000060448201526064015b60405180910390fd5b80518251146102f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4172726179734c656e6774684d69736d617463680000000000000000000000006044820152606401610285565b60005b8251811015610509576103e861ffff1682828151811061031e5761031e610784565b602002602001015161ffff161115610392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f66656520646973636f756e7420657865636565647320313030250000000000006044820152606401610285565b8181815181106103a4576103a4610784565b60200260200101516000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008584815181106103fe576103fe610784565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055507f7a30dcbbc729b723963056eb5780229274194a05bbe6fe5174b8864d96c37a2c8484838151811061048e5761048e610784565b60200260200101518484815181106104a8576104a8610784565b60200260200101516040516104ef9392919073ffffffffffffffffffffffffffffffffffffffff938416815291909216602082015261ffff91909116604082015260600190565b60405180910390a180610501816107b3565b9150506102fc565b50505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461053357600080fd5b919050565b6000806040838503121561054b57600080fd5b6105548361050f565b91506105626020840161050f565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156105e1576105e161056b565b604052919050565b600067ffffffffffffffff8211156106035761060361056b565b5060051b60200190565b600082601f83011261061e57600080fd5b8135602061063361062e836105e9565b61059a565b82815260059290921b8401810191818101908684111561065257600080fd5b8286015b8481101561067e57803561ffff811681146106715760008081fd5b8352918301918301610656565b509695505050505050565b60008060006060848603121561069e57600080fd5b6106a78461050f565b925060208085013567ffffffffffffffff808211156106c557600080fd5b818701915087601f8301126106d957600080fd5b81356106e761062e826105e9565b81815260059190911b8301840190848101908a83111561070657600080fd5b938501935b8285101561072b5761071c8561050f565b8252938501939085019061070b565b96505050604087013592508083111561074357600080fd5b50506107518682870161060d565b9150509250925092565b60006020828403121561076d57600080fd5b8151801515811461077d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361080b577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x978E13EA GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x978E13EA EQ PUSH2 0xB9 JUMPI DUP1 PUSH4 0xA7B64B04 EQ PUSH2 0xCE JUMPI DUP1 PUSH4 0xD2426F07 EQ PUSH2 0x11A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1101CE3E EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x51F8BA46 EQ PUSH2 0xB0 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x98 PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP2 DUP2 MSTORE SWAP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP1 SWAP4 MSTORE SWAP1 DUP2 MSTORE KECCAK256 SLOAD PUSH2 0xFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x98 PUSH2 0x3E8 DUP2 JUMP JUMPDEST PUSH2 0xCC PUSH2 0xC7 CALLDATASIZE PUSH1 0x4 PUSH2 0x689 JUMP JUMPDEST PUSH2 0x14F JUMP JUMPDEST STOP JUMPDEST PUSH2 0xF5 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xA7 JUMP JUMPDEST PUSH2 0x141 PUSH32 0xA49C1B804BB17A3ECB97D6C1EE253D7E7BF88B50D66BA600BB4B026E1FB144E8 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xA7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xE8AE2B6900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH32 0xA49C1B804BB17A3ECB97D6C1EE253D7E7BF88B50D66BA600BB4B026E1FB144E8 PUSH1 0x4 DUP3 ADD MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xE8AE2B69 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1FF 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 0x223 SWAP2 SWAP1 PUSH2 0x75B JUMP JUMPDEST PUSH2 0x28E JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xC PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x556E617574686F72697A65640000000000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 MLOAD DUP3 MLOAD EQ PUSH2 0x2F9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4172726179734C656E6774684D69736D61746368000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x285 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0x509 JUMPI PUSH2 0x3E8 PUSH2 0xFFFF AND DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x31E JUMPI PUSH2 0x31E PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH2 0xFFFF AND GT ISZERO PUSH2 0x392 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x66656520646973636F756E742065786563656564732031303025000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x285 JUMP JUMPDEST DUP2 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x3A4 JUMPI PUSH2 0x3A4 PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP6 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x3FE JUMPI PUSH2 0x3FE PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH2 0xFFFF MUL NOT AND SWAP1 DUP4 PUSH2 0xFFFF AND MUL OR SWAP1 SSTORE POP PUSH32 0x7A30DCBBC729B723963056EB5780229274194A05BBE6FE5174B8864D96C37A2C DUP5 DUP5 DUP4 DUP2 MLOAD DUP2 LT PUSH2 0x48E JUMPI PUSH2 0x48E PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD DUP5 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x4A8 JUMPI PUSH2 0x4A8 PUSH2 0x784 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x40 MLOAD PUSH2 0x4EF SWAP4 SWAP3 SWAP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP4 DUP5 AND DUP2 MSTORE SWAP2 SWAP1 SWAP3 AND PUSH1 0x20 DUP3 ADD MSTORE PUSH2 0xFFFF SWAP2 SWAP1 SWAP2 AND PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 DUP1 PUSH2 0x501 DUP2 PUSH2 0x7B3 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x2FC JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x533 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x54B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x554 DUP4 PUSH2 0x50F JUMP JUMPDEST SWAP2 POP PUSH2 0x562 PUSH1 0x20 DUP5 ADD PUSH2 0x50F JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x5E1 JUMPI PUSH2 0x5E1 PUSH2 0x56B JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x603 JUMPI PUSH2 0x603 PUSH2 0x56B JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x61E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x20 PUSH2 0x633 PUSH2 0x62E DUP4 PUSH2 0x5E9 JUMP JUMPDEST PUSH2 0x59A JUMP JUMPDEST DUP3 DUP2 MSTORE PUSH1 0x5 SWAP3 SWAP1 SWAP3 SHL DUP5 ADD DUP2 ADD SWAP2 DUP2 DUP2 ADD SWAP1 DUP7 DUP5 GT ISZERO PUSH2 0x652 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 DUP7 ADD JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x67E JUMPI DUP1 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0x671 JUMPI PUSH1 0x0 DUP1 DUP2 REVERT JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 DUP4 ADD PUSH2 0x656 JUMP JUMPDEST POP SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x69E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x6A7 DUP5 PUSH2 0x50F JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP1 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x6C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD SWAP2 POP DUP8 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x6D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x6E7 PUSH2 0x62E DUP3 PUSH2 0x5E9 JUMP JUMPDEST DUP2 DUP2 MSTORE PUSH1 0x5 SWAP2 SWAP1 SWAP2 SHL DUP4 ADD DUP5 ADD SWAP1 DUP5 DUP2 ADD SWAP1 DUP11 DUP4 GT ISZERO PUSH2 0x706 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 DUP6 ADD SWAP4 JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0x72B JUMPI PUSH2 0x71C DUP6 PUSH2 0x50F JUMP JUMPDEST DUP3 MSTORE SWAP4 DUP6 ADD SWAP4 SWAP1 DUP6 ADD SWAP1 PUSH2 0x70B JUMP JUMPDEST SWAP7 POP POP POP PUSH1 0x40 DUP8 ADD CALLDATALOAD SWAP3 POP DUP1 DUP4 GT ISZERO PUSH2 0x743 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP PUSH2 0x751 DUP7 DUP3 DUP8 ADD PUSH2 0x60D JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x76D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x77D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x80B JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"192:1023:41:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;495:75;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;654:6:52;642:19;;;624:38;;612:2;597:18;495:75:41;;;;;;;;394:63;;453:4;394:63;;659:554;;;;;;:::i;:::-;;:::i;:::-;;249:48;;;;;;;;3623:42:52;3611:55;;;3593:74;;3581:2;3566:18;249:48:41;3447:226:52;301:89:41;;357:33;301:89;;;;;3824:25:52;;;3812:2;3797:18;301:89:41;3678:177:52;659:554:41;783:80;;;;;357:33;783:80;;;4034:25:52;852:10:41;4075:18:52;;;4068:83;799:14:41;783:46;;;;;4007:18:52;;783:80:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;775:105;;;;;;;4646:2:52;775:105:41;;;4628:21:52;4685:2;4665:18;;;4658:30;4724:14;4704:18;;;4697:42;4756:18;;775:105:41;;;;;;;;;910:12;:19;894:5;:12;:35;886:68;;;;;;;4987:2:52;886:68:41;;;4969:21:52;5026:2;5006:18;;;4999:30;5065:22;5045:18;;;5038:50;5105:18;;886:68:41;4785:344:52;886:68:41;966:6;961:248;982:5;:12;978:1;:16;961:248;;;453:4;1017:43;;:12;1030:1;1017:15;;;;;;;;:::i;:::-;;;;;;;:43;;;;1009:82;;;;;;;5525:2:52;1009:82:41;;;5507:21:52;5564:2;5544:18;;;5537:30;5603:28;5583:18;;;5576:56;5649:18;;1009:82:41;5323:350:52;1009:82:41;1130:12;1143:1;1130:15;;;;;;;;:::i;:::-;;;;;;;1099:12;:18;1112:4;1099:18;;;;;;;;;;;;;;;:28;1118:5;1124:1;1118:8;;;;;;;;:::i;:::-;;;;;;;1099:28;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;1158:44;1170:4;1176:5;1182:1;1176:8;;;;;;;;:::i;:::-;;;;;;;1186:12;1199:1;1186:15;;;;;;;;:::i;:::-;;;;;;;1158:44;;;;;;;5888:42:52;5957:15;;;5939:34;;6009:15;;;;6004:2;5989:18;;5982:43;6073:6;6061:19;;;;6056:2;6041:18;;6034:47;5866:2;5851:18;;5678:409;1158:44:41;;;;;;;;996:3;;;;:::i;:::-;;;;961:248;;;;659:554;;;:::o;14:196:52:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:260::-;283:6;291;344:2;332:9;323:7;319:23;315:32;312:52;;;360:1;357;350:12;312:52;383:29;402:9;383:29;:::i;:::-;373:39;;431:38;465:2;454:9;450:18;431:38;:::i;:::-;421:48;;215:260;;;;;:::o;673:184::-;725:77;722:1;715:88;822:4;819:1;812:15;846:4;843:1;836:15;862:334;933:2;927:9;989:2;979:13;;994:66;975:86;963:99;;1092:18;1077:34;;1113:22;;;1074:62;1071:88;;;1139:18;;:::i;:::-;1175:2;1168:22;862:334;;-1:-1:-1;862:334:52:o;1201:183::-;1261:4;1294:18;1286:6;1283:30;1280:56;;;1316:18;;:::i;:::-;-1:-1:-1;1361:1:52;1357:14;1373:4;1353:25;;1201:183::o;1389:832::-;1442:5;1495:3;1488:4;1480:6;1476:17;1472:27;1462:55;;1513:1;1510;1503:12;1462:55;1549:6;1536:20;1575:4;1599:60;1615:43;1655:2;1615:43;:::i;:::-;1599:60;:::i;:::-;1693:15;;;1779:1;1775:10;;;;1763:23;;1759:32;;;1724:12;;;;1803:15;;;1800:35;;;1831:1;1828;1821:12;1800:35;1867:2;1859:6;1855:15;1879:313;1895:6;1890:3;1887:15;1879:313;;;1975:3;1962:17;2023:6;2016:5;2012:18;2005:5;2002:29;1992:127;;2073:1;2102:2;2098;2091:14;1992:127;2132:18;;2170:12;;;;1912;;1879:313;;;-1:-1:-1;2210:5:52;1389:832;-1:-1:-1;;;;;;1389:832:52:o;2226:1216::-;2352:6;2360;2368;2421:2;2409:9;2400:7;2396:23;2392:32;2389:52;;;2437:1;2434;2427:12;2389:52;2460:29;2479:9;2460:29;:::i;:::-;2450:39;;2508:2;2561;2550:9;2546:18;2533:32;2584:18;2625:2;2617:6;2614:14;2611:34;;;2641:1;2638;2631:12;2611:34;2679:6;2668:9;2664:22;2654:32;;2724:7;2717:4;2713:2;2709:13;2705:27;2695:55;;2746:1;2743;2736:12;2695:55;2782:2;2769:16;2805:60;2821:43;2861:2;2821:43;:::i;2805:60::-;2899:15;;;2981:1;2977:10;;;;2969:19;;2965:28;;;2930:12;;;;3005:19;;;3002:39;;;3037:1;3034;3027:12;3002:39;3061:11;;;;3081:148;3097:6;3092:3;3089:15;3081:148;;;3163:23;3182:3;3163:23;:::i;:::-;3151:36;;3114:12;;;;3207;;;;3081:148;;;3248:5;-1:-1:-1;;;3306:2:52;3291:18;;3278:32;;-1:-1:-1;3322:16:52;;;3319:36;;;3351:1;3348;3341:12;3319:36;;;3374:62;3428:7;3417:8;3406:9;3402:24;3374:62;:::i;:::-;3364:72;;;2226:1216;;;;;:::o;4162:277::-;4229:6;4282:2;4270:9;4261:7;4257:23;4253:32;4250:52;;;4298:1;4295;4288:12;4250:52;4330:9;4324:16;4383:5;4376:13;4369:21;4362:5;4359:32;4349:60;;4405:1;4402;4395:12;4349:60;4428:5;4162:277;-1:-1:-1;;;4162:277:52:o;5134:184::-;5186:77;5183:1;5176:88;5283:4;5280:1;5273:15;5307:4;5304:1;5297:15;6092:349;6131:3;6162:66;6155:5;6152:77;6149:257;;6262:77;6259:1;6252:88;6363:4;6360:1;6353:15;6391:4;6388:1;6381:15;6149:257;-1:-1:-1;6433:1:52;6422:13;;6092:349::o"},"methodIdentifiers":{"FEE_DISCOUNT_DENOMINATOR()":"51f8ba46","FEE_DISCOUNT_MANAGER()":"d2426f07","algebraFactory()":"a7b64b04","feeDiscounts(address,address)":"1101ce3e","setFeeDiscount(address,address[],uint16[])":"978e13ea"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_algebraFactory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"newDiscount\",\"type\":\"uint16\"}],\"name\":\"FeeDiscount\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FEE_DISCOUNT_DENOMINATOR\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_DISCOUNT_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"algebraFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"feeDiscounts\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"pools\",\"type\":\"address[]\"},{\"internalType\":\"uint16[]\",\"name\":\"newDiscounts\",\"type\":\"uint16[]\"}],\"name\":\"setFeeDiscount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/FeeDiscountRegistry.sol\":\"FeeDiscountRegistry\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol\":{\"keccak256\":\"0xb87bef911483f054559e6567a5a958200131b5101fbcee1ed7daefcfc082faf7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://46c8f76cde3c16aed0446e98dc61ddb196288652f6a8735ed87d6e53a13b4142\",\"dweb:/ipfs/Qmd7omugWuFrjrCcwfeRQbeUS1FhqvhscTij4xtqCmjNKG\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":{\"keccak256\":\"0xcdaae6cd6af79c4f344e673fe886a980ef5203b15b49f7a466c336c0152ce6ae\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fa2d3073bd4ca013e2769cf0fa5b68f32cec4fa53a6cc66adb59d86e6293cf15\",\"dweb:/ipfs/QmcwveJdf3JLAPfFZShijKTTxMTP4joDDuSuFboXBe711S\"]},\"contracts/FeeDiscountRegistry.sol\":{\"keccak256\":\"0x5ee05276b2a245e858538f84987eca1371566e1e791be88e0bd190fdeeec694a\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://cb55f0ae647736ab13a4db25b0e0458058fd8cdf80e683d074e3cc49febbe798\",\"dweb:/ipfs/QmeDk1i2dsAf8w3J8rMaFxmXoNGjqiW6PxpiZH9X3wdRQM\"]},\"contracts/interfaces/IFeeDiscountRegistry.sol\":{\"keccak256\":\"0x21904fdeb60ce4df4a47668660e5d6c512c722f0bc38f3935b0a505346f267fd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1cbdebe7b9d97da98c52557cb680116c2df7080a4a6b08772b73846e9fe10e54\",\"dweb:/ipfs/QmdcWkBjqb4aWpvH6tkqm5RKgQ4GXGwBbaaZPtmC9fZWaP\"]}},\"version\":1}"}},"contracts/interfaces/IFeeDiscountPlugin.sol":{"IFeeDiscountPlugin":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registry","type":"address"}],"name":"FeeDiscountRegistry","type":"event"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"uint256","name":"paid0","type":"uint256"},{"internalType":"uint256","name":"paid1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"int128","name":"desiredLiquidityDelta","type":"int128"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"int256","name":"amount0","type":"int256"},{"internalType":"int256","name":"amount1","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint160","name":"sqrtPriceX96","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"int128","name":"desiredLiquidityDelta","type":"int128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"uint24","name":"pluginFee","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"zeroToOne","type":"bool"},{"internalType":"int256","name":"amountRequired","type":"int256"},{"internalType":"uint160","name":"limitSqrtPrice","type":"uint160"},{"internalType":"bool","name":"withPaymentInAdvance","type":"bool"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"uint24","name":"feeOverride","type":"uint24"},{"internalType":"uint24","name":"pluginFee","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"collectPluginFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDiscountRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getActiveModuleNames","outputs":[{"internalType":"string[]","name":"moduleNames","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pluginFee0","type":"uint256"},{"internalType":"uint256","name":"pluginFee1","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"registry","type":"address"}],"name":"setFeeDiscountRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","collectPluginFee(address,uint256,address)":"e72c652d","defaultPluginConfig()":"689ea370","feeDiscountRegistry()":"f20cdc1a","getActiveModuleNames()":"b6f78cc9","handlePluginFee(uint256,uint256)":"aa6b14bb","setFeeDiscountRegistry(address)":"c3da7978"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"FeeDiscountRegistry\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"desiredLiquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"desiredLiquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroToOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountRequired\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"limitSqrtPrice\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"withPaymentInAdvance\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"feeOverride\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"pluginFee\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"collectPluginFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeDiscountRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveModuleNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"moduleNames\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pluginFee0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pluginFee1\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"setFeeDiscountRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being requested for flash\",\"amount1\":\"The amount of token1 being requested for flash\",\"data\":\"Data that passed through the callback\",\"paid0\":\"The amount of token0 being paid for flash\",\"paid1\":\"The amount of token1 being paid for flash\",\"recipient\":\"The address which will receive the token0 and token1 amounts\",\"sender\":\"The initial msg.sender for the flash call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterInitialize(address,uint160,int24)\":{\"params\":{\"sender\":\"The initial msg.sender for the initialize call\",\"sqrtPriceX96\":\"The sqrt(price) of the pool as a Q64.96\",\"tick\":\"The current tick after the state of a pool is initialized\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 sent to the recipient or was paid to mint\",\"amount1\":\"The amount of token0 sent to the recipient or was paid to mint\",\"bottomTick\":\"The lower tick of the position\",\"data\":\"Data that passed through the callback\",\"desiredLiquidityDelta\":\"The desired amount of liquidity to mint/burn\",\"recipient\":\"Address to which the liquidity will be assigned in case of a mint or to which tokens will be sent in case of a burn\",\"sender\":\"The initial msg.sender for the modify position call\",\"topTick\":\"The upper tick of the position\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)\":{\"params\":{\"amount0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"amount1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\",\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Data that passed through the callback\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"sender\":\"The initial msg.sender for the swap call\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeFlash(address,address,uint256,uint256,bytes)\":{\"params\":{\"amount0\":\"The amount of token0 being requested for flash\",\"amount1\":\"The amount of token1 being requested for flash\",\"data\":\"Data that passed through the callback\",\"recipient\":\"The address which will receive the token0 and token1 amounts\",\"sender\":\"The initial msg.sender for the flash call\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeInitialize(address,uint160)\":{\"params\":{\"sender\":\"The initial msg.sender for the initialize call\",\"sqrtPriceX96\":\"The sqrt(price) of the pool as a Q64.96\"},\"returns\":{\"_0\":\"bytes4 The function selector for the hook\"}},\"beforeModifyPosition(address,address,int24,int24,int128,bytes)\":{\"params\":{\"bottomTick\":\"The lower tick of the position\",\"data\":\"Data that passed through the callback\",\"desiredLiquidityDelta\":\"The desired amount of liquidity to mint/burn\",\"recipient\":\"Address to which the liquidity will be assigned in case of a mint or to which tokens will be sent in case of a burn\",\"sender\":\"The initial msg.sender for the modify position call\",\"topTick\":\"The upper tick of the position\"},\"returns\":{\"selector\":\"The function selector for the hook\"}},\"beforeSwap(address,address,bool,int256,uint160,bool,bytes)\":{\"params\":{\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Data that passed through the callback\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"sender\":\"The initial msg.sender for the swap call\",\"withPaymentInAdvance\":\"The flag indicating whether the `swapWithPaymentInAdvance` method was called\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"selector\":\"The function selector for the hook\"}},\"collectPluginFee(address,uint256,address)\":{\"params\":{\"amount\":\"Amount of tokens\",\"recipient\":\"Recipient address\",\"token\":\"The token address\"}},\"defaultPluginConfig()\":{\"returns\":{\"_0\":\"config Each bit of the config is responsible for enabling/disabling the hooks. The last bit indicates whether the plugin contains dynamic fees logic\"}},\"getActiveModuleNames()\":{\"returns\":{\"moduleNames\":\"Array of active module names\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)\":{\"notice\":\"The hook called after flash\"},\"afterInitialize(address,uint160,int24)\":{\"notice\":\"The hook called after the state of a pool is initialized\"},\"afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)\":{\"notice\":\"The hook called after a position is modified\"},\"afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)\":{\"notice\":\"The hook called after a swap\"},\"beforeFlash(address,address,uint256,uint256,bytes)\":{\"notice\":\"The hook called before flash\"},\"beforeInitialize(address,uint160)\":{\"notice\":\"The hook called before the state of a pool is initialized\"},\"beforeModifyPosition(address,address,int24,int24,int128,bytes)\":{\"notice\":\"The hook called before a position is modified\"},\"beforeSwap(address,address,bool,int256,uint160,bool,bytes)\":{\"notice\":\"The hook called before a swap\"},\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"defaultPluginConfig()\":{\"notice\":\"Returns plugin config\"},\"getActiveModuleNames()\":{\"notice\":\"Get all active module names\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IFeeDiscountPlugin.sol\":\"IFeeDiscountPlugin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0x9cee862dd93a6dc061a5e54a262bc9cc1e84ca6f3352176fb8c7138eec97ae0e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c1e17f9dd356b457ca024b11d5340a6564109d27f46fec43b9a4f97421a2b315\",\"dweb:/ipfs/QmVH7uBmx22RkbMsYTszsnvGBXssH5DtLMYGPwZEc2HPjN\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]},\"contracts/interfaces/IFeeDiscountPlugin.sol\":{\"keccak256\":\"0x5fd8ce2295eeb9e622a64a6fd8c566ee4b299a2012c826f54772f7c77c849937\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://5523749e1b9b92a5137ecc27ffca992da8db3b7928355c35b36d8dd223422bd7\",\"dweb:/ipfs/QmVTkTPzpLKKMihtmvSsEHSZQapDmF1F6XfE6kpa5htbCr\"]}},\"version\":1}"}},"contracts/interfaces/IFeeDiscountRegistry.sol":{"IFeeDiscountRegistry":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"uint16","name":"newDiscount","type":"uint16"}],"name":"FeeDiscount","type":"event"},{"inputs":[],"name":"FEE_DISCOUNT_DENOMINATOR","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"FEE_DISCOUNT_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"algebraFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"pool","type":"address"}],"name":"feeDiscounts","outputs":[{"internalType":"uint16","name":"feeDiscount","type":"uint16"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address[]","name":"pools","type":"address[]"},{"internalType":"uint16[]","name":"newDiscounts","type":"uint16[]"}],"name":"setFeeDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"FEE_DISCOUNT_DENOMINATOR()":"51f8ba46","FEE_DISCOUNT_MANAGER()":"d2426f07","algebraFactory()":"a7b64b04","feeDiscounts(address,address)":"1101ce3e","setFeeDiscount(address,address[],uint16[])":"978e13ea"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"newDiscount\",\"type\":\"uint16\"}],\"name\":\"FeeDiscount\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FEE_DISCOUNT_DENOMINATOR\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_DISCOUNT_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"algebraFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"feeDiscounts\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"feeDiscount\",\"type\":\"uint16\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"pools\",\"type\":\"address[]\"},{\"internalType\":\"uint16[]\",\"name\":\"newDiscounts\",\"type\":\"uint16[]\"}],\"name\":\"setFeeDiscount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IFeeDiscountRegistry.sol\":\"IFeeDiscountRegistry\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IFeeDiscountRegistry.sol\":{\"keccak256\":\"0x21904fdeb60ce4df4a47668660e5d6c512c722f0bc38f3935b0a505346f267fd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1cbdebe7b9d97da98c52557cb680116c2df7080a4a6b08772b73846e9fe10e54\",\"dweb:/ipfs/QmdcWkBjqb4aWpvH6tkqm5RKgQ4GXGwBbaaZPtmC9fZWaP\"]}},\"version\":1}"}},"contracts/test/BeaconProxy.sol":{"BeaconProxy":{"abi":[{"inputs":[{"internalType":"address","name":"beacon","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}],"evm":{"bytecode":{"functionDebugData":{"@_5189":{"entryPoint":null,"id":5189,"parameterSlots":2,"returnSlots":0},"@_6448":{"entryPoint":null,"id":6448,"parameterSlots":2,"returnSlots":0},"@_revert_5644":{"entryPoint":945,"id":5644,"parameterSlots":2,"returnSlots":0},"@_setBeacon_5073":{"entryPoint":263,"id":5073,"parameterSlots":1,"returnSlots":0},"@_upgradeBeaconToAndCall_5111":{"entryPoint":70,"id":5111,"parameterSlots":3,"returnSlots":0},"@functionDelegateCall_5532":{"entryPoint":651,"id":5532,"parameterSlots":2,"returnSlots":1},"@functionDelegateCall_5561":{"entryPoint":695,"id":5561,"parameterSlots":3,"returnSlots":1},"@getAddressSlot_5699":{"entryPoint":null,"id":5699,"parameterSlots":1,"returnSlots":1},"@isContract_5333":{"entryPoint":null,"id":5333,"parameterSlots":1,"returnSlots":1},"@verifyCallResultFromTarget_5600":{"entryPoint":816,"id":5600,"parameterSlots":4,"returnSlots":1},"abi_decode_address_fromMemory":{"entryPoint":987,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":1265,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory":{"entryPoint":1073,"id":null,"parameterSlots":2,"returnSlots":2},"abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed":{"entryPoint":1292,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":1320,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"copy_memory_to_memory_with_cleanup":{"entryPoint":1037,"id":null,"parameterSlots":3,"returnSlots":0},"panic_error_0x41":{"entryPoint":1015,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:3653:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"74:117:52","statements":[{"nodeType":"YulAssignment","src":"84:22:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"99:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"93:5:52"},"nodeType":"YulFunctionCall","src":"93:13:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"84:5:52"}]},{"body":{"nodeType":"YulBlock","src":"169:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"178:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"181:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"171:6:52"},"nodeType":"YulFunctionCall","src":"171:12:52"},"nodeType":"YulExpressionStatement","src":"171:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"128:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"139:5:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"154:3:52","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"159:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"150:3:52"},"nodeType":"YulFunctionCall","src":"150:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"163:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"146:3:52"},"nodeType":"YulFunctionCall","src":"146:19:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"135:3:52"},"nodeType":"YulFunctionCall","src":"135:31:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"125:2:52"},"nodeType":"YulFunctionCall","src":"125:42:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"118:6:52"},"nodeType":"YulFunctionCall","src":"118:50:52"},"nodeType":"YulIf","src":"115:70:52"}]},"name":"abi_decode_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"53:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"64:5:52","type":""}],"src":"14:177:52"},{"body":{"nodeType":"YulBlock","src":"228:95:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"245:1:52","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"252:3:52","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"257:10:52","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"248:3:52"},"nodeType":"YulFunctionCall","src":"248:20:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"238:6:52"},"nodeType":"YulFunctionCall","src":"238:31:52"},"nodeType":"YulExpressionStatement","src":"238:31:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"285:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"288:4:52","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"278:6:52"},"nodeType":"YulFunctionCall","src":"278:15:52"},"nodeType":"YulExpressionStatement","src":"278:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"309:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"312:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"302:6:52"},"nodeType":"YulFunctionCall","src":"302:15:52"},"nodeType":"YulExpressionStatement","src":"302:15:52"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"196:127:52"},{"body":{"nodeType":"YulBlock","src":"394:184:52","statements":[{"nodeType":"YulVariableDeclaration","src":"404:10:52","value":{"kind":"number","nodeType":"YulLiteral","src":"413:1:52","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"408:1:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"473:63:52","statements":[{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"498:3:52"},{"name":"i","nodeType":"YulIdentifier","src":"503:1:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"494:3:52"},"nodeType":"YulFunctionCall","src":"494:11:52"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"517:3:52"},{"name":"i","nodeType":"YulIdentifier","src":"522:1:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"513:3:52"},"nodeType":"YulFunctionCall","src":"513:11:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"507:5:52"},"nodeType":"YulFunctionCall","src":"507:18:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"487:6:52"},"nodeType":"YulFunctionCall","src":"487:39:52"},"nodeType":"YulExpressionStatement","src":"487:39:52"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"434:1:52"},{"name":"length","nodeType":"YulIdentifier","src":"437:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"431:2:52"},"nodeType":"YulFunctionCall","src":"431:13:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"445:19:52","statements":[{"nodeType":"YulAssignment","src":"447:15:52","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"456:1:52"},{"kind":"number","nodeType":"YulLiteral","src":"459:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"452:3:52"},"nodeType":"YulFunctionCall","src":"452:10:52"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"447:1:52"}]}]},"pre":{"nodeType":"YulBlock","src":"427:3:52","statements":[]},"src":"423:113:52"},{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"556:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"561:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"552:3:52"},"nodeType":"YulFunctionCall","src":"552:16:52"},{"kind":"number","nodeType":"YulLiteral","src":"570:1:52","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"545:6:52"},"nodeType":"YulFunctionCall","src":"545:27:52"},"nodeType":"YulExpressionStatement","src":"545:27:52"}]},"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulFunctionDefinition","parameters":[{"name":"src","nodeType":"YulTypedName","src":"372:3:52","type":""},{"name":"dst","nodeType":"YulTypedName","src":"377:3:52","type":""},{"name":"length","nodeType":"YulTypedName","src":"382:6:52","type":""}],"src":"328:250:52"},{"body":{"nodeType":"YulBlock","src":"690:874:52","statements":[{"body":{"nodeType":"YulBlock","src":"736:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"745:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"748:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"738:6:52"},"nodeType":"YulFunctionCall","src":"738:12:52"},"nodeType":"YulExpressionStatement","src":"738:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"711:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"720:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"707:3:52"},"nodeType":"YulFunctionCall","src":"707:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"732:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"703:3:52"},"nodeType":"YulFunctionCall","src":"703:32:52"},"nodeType":"YulIf","src":"700:52:52"},{"nodeType":"YulAssignment","src":"761:50:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"801:9:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"771:29:52"},"nodeType":"YulFunctionCall","src":"771:40:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"761:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"820:39:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"844:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"855:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"840:3:52"},"nodeType":"YulFunctionCall","src":"840:18:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"834:5:52"},"nodeType":"YulFunctionCall","src":"834:25:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"824:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"868:28:52","value":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"886:2:52","type":"","value":"64"},{"kind":"number","nodeType":"YulLiteral","src":"890:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"882:3:52"},"nodeType":"YulFunctionCall","src":"882:10:52"},{"kind":"number","nodeType":"YulLiteral","src":"894:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"878:3:52"},"nodeType":"YulFunctionCall","src":"878:18:52"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"872:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"923:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"932:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"935:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"925:6:52"},"nodeType":"YulFunctionCall","src":"925:12:52"},"nodeType":"YulExpressionStatement","src":"925:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"911:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"919:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"908:2:52"},"nodeType":"YulFunctionCall","src":"908:14:52"},"nodeType":"YulIf","src":"905:34:52"},{"nodeType":"YulVariableDeclaration","src":"948:32:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"962:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"973:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"958:3:52"},"nodeType":"YulFunctionCall","src":"958:22:52"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"952:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1028:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1037:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1040:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1030:6:52"},"nodeType":"YulFunctionCall","src":"1030:12:52"},"nodeType":"YulExpressionStatement","src":"1030:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"1007:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"1011:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1003:3:52"},"nodeType":"YulFunctionCall","src":"1003:13:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1018:7:52"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"999:3:52"},"nodeType":"YulFunctionCall","src":"999:27:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"992:6:52"},"nodeType":"YulFunctionCall","src":"992:35:52"},"nodeType":"YulIf","src":"989:55:52"},{"nodeType":"YulVariableDeclaration","src":"1053:19:52","value":{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"1069:2:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1063:5:52"},"nodeType":"YulFunctionCall","src":"1063:9:52"},"variables":[{"name":"_3","nodeType":"YulTypedName","src":"1057:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1095:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"1097:16:52"},"nodeType":"YulFunctionCall","src":"1097:18:52"},"nodeType":"YulExpressionStatement","src":"1097:18:52"}]},"condition":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"1087:2:52"},{"name":"_1","nodeType":"YulIdentifier","src":"1091:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1084:2:52"},"nodeType":"YulFunctionCall","src":"1084:10:52"},"nodeType":"YulIf","src":"1081:36:52"},{"nodeType":"YulVariableDeclaration","src":"1126:17:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1140:2:52","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"1136:3:52"},"nodeType":"YulFunctionCall","src":"1136:7:52"},"variables":[{"name":"_4","nodeType":"YulTypedName","src":"1130:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1152:23:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1172:2:52","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1166:5:52"},"nodeType":"YulFunctionCall","src":"1166:9:52"},"variables":[{"name":"memPtr","nodeType":"YulTypedName","src":"1156:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1184:71:52","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1206:6:52"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"1230:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"1234:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1226:3:52"},"nodeType":"YulFunctionCall","src":"1226:13:52"},{"name":"_4","nodeType":"YulIdentifier","src":"1241:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1222:3:52"},"nodeType":"YulFunctionCall","src":"1222:22:52"},{"kind":"number","nodeType":"YulLiteral","src":"1246:2:52","type":"","value":"63"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1218:3:52"},"nodeType":"YulFunctionCall","src":"1218:31:52"},{"name":"_4","nodeType":"YulIdentifier","src":"1251:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1214:3:52"},"nodeType":"YulFunctionCall","src":"1214:40:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1202:3:52"},"nodeType":"YulFunctionCall","src":"1202:53:52"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"1188:10:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1314:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"1316:16:52"},"nodeType":"YulFunctionCall","src":"1316:18:52"},"nodeType":"YulExpressionStatement","src":"1316:18:52"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1273:10:52"},{"name":"_1","nodeType":"YulIdentifier","src":"1285:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1270:2:52"},"nodeType":"YulFunctionCall","src":"1270:18:52"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1293:10:52"},{"name":"memPtr","nodeType":"YulIdentifier","src":"1305:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1290:2:52"},"nodeType":"YulFunctionCall","src":"1290:22:52"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"1267:2:52"},"nodeType":"YulFunctionCall","src":"1267:46:52"},"nodeType":"YulIf","src":"1264:72:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1352:2:52","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1356:10:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1345:6:52"},"nodeType":"YulFunctionCall","src":"1345:22:52"},"nodeType":"YulExpressionStatement","src":"1345:22:52"},{"expression":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1383:6:52"},{"name":"_3","nodeType":"YulIdentifier","src":"1391:2:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1376:6:52"},"nodeType":"YulFunctionCall","src":"1376:18:52"},"nodeType":"YulExpressionStatement","src":"1376:18:52"},{"body":{"nodeType":"YulBlock","src":"1440:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1449:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1452:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1442:6:52"},"nodeType":"YulFunctionCall","src":"1442:12:52"},"nodeType":"YulExpressionStatement","src":"1442:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"1417:2:52"},{"name":"_3","nodeType":"YulIdentifier","src":"1421:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1413:3:52"},"nodeType":"YulFunctionCall","src":"1413:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"1426:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1409:3:52"},"nodeType":"YulFunctionCall","src":"1409:20:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1431:7:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1406:2:52"},"nodeType":"YulFunctionCall","src":"1406:33:52"},"nodeType":"YulIf","src":"1403:53:52"},{"expression":{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"1504:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"1508:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1500:3:52"},"nodeType":"YulFunctionCall","src":"1500:11:52"},{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"1517:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1525:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1513:3:52"},"nodeType":"YulFunctionCall","src":"1513:15:52"},{"name":"_3","nodeType":"YulIdentifier","src":"1530:2:52"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"1465:34:52"},"nodeType":"YulFunctionCall","src":"1465:68:52"},"nodeType":"YulExpressionStatement","src":"1465:68:52"},{"nodeType":"YulAssignment","src":"1542:16:52","value":{"name":"memPtr","nodeType":"YulIdentifier","src":"1552:6:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"1542:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"648:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"659:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"671:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"679:6:52","type":""}],"src":"583:981:52"},{"body":{"nodeType":"YulBlock","src":"1650:127:52","statements":[{"body":{"nodeType":"YulBlock","src":"1696:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1705:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1708:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1698:6:52"},"nodeType":"YulFunctionCall","src":"1698:12:52"},"nodeType":"YulExpressionStatement","src":"1698:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1671:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"1680:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1667:3:52"},"nodeType":"YulFunctionCall","src":"1667:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"1692:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1663:3:52"},"nodeType":"YulFunctionCall","src":"1663:32:52"},"nodeType":"YulIf","src":"1660:52:52"},{"nodeType":"YulAssignment","src":"1721:50:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1761:9:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"1731:29:52"},"nodeType":"YulFunctionCall","src":"1731:40:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1721:6:52"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1616:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1627:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1639:6:52","type":""}],"src":"1569:208:52"},{"body":{"nodeType":"YulBlock","src":"1956:227:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1973:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1984:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1966:6:52"},"nodeType":"YulFunctionCall","src":"1966:21:52"},"nodeType":"YulExpressionStatement","src":"1966:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2007:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2018:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2003:3:52"},"nodeType":"YulFunctionCall","src":"2003:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"2023:2:52","type":"","value":"37"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1996:6:52"},"nodeType":"YulFunctionCall","src":"1996:30:52"},"nodeType":"YulExpressionStatement","src":"1996:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2046:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2057:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2042:3:52"},"nodeType":"YulFunctionCall","src":"2042:18:52"},{"hexValue":"455243313936373a206e657720626561636f6e206973206e6f74206120636f6e","kind":"string","nodeType":"YulLiteral","src":"2062:34:52","type":"","value":"ERC1967: new beacon is not a con"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2035:6:52"},"nodeType":"YulFunctionCall","src":"2035:62:52"},"nodeType":"YulExpressionStatement","src":"2035:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2117:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2128:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2113:3:52"},"nodeType":"YulFunctionCall","src":"2113:18:52"},{"hexValue":"7472616374","kind":"string","nodeType":"YulLiteral","src":"2133:7:52","type":"","value":"tract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2106:6:52"},"nodeType":"YulFunctionCall","src":"2106:35:52"},"nodeType":"YulExpressionStatement","src":"2106:35:52"},{"nodeType":"YulAssignment","src":"2150:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2162:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2173:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2158:3:52"},"nodeType":"YulFunctionCall","src":"2158:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2150:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1933:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1947:4:52","type":""}],"src":"1782:401:52"},{"body":{"nodeType":"YulBlock","src":"2362:238:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2379:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2390:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2372:6:52"},"nodeType":"YulFunctionCall","src":"2372:21:52"},"nodeType":"YulExpressionStatement","src":"2372:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2413:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2424:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2409:3:52"},"nodeType":"YulFunctionCall","src":"2409:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"2429:2:52","type":"","value":"48"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2402:6:52"},"nodeType":"YulFunctionCall","src":"2402:30:52"},"nodeType":"YulExpressionStatement","src":"2402:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2452:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2463:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2448:3:52"},"nodeType":"YulFunctionCall","src":"2448:18:52"},{"hexValue":"455243313936373a20626561636f6e20696d706c656d656e746174696f6e2069","kind":"string","nodeType":"YulLiteral","src":"2468:34:52","type":"","value":"ERC1967: beacon implementation i"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2441:6:52"},"nodeType":"YulFunctionCall","src":"2441:62:52"},"nodeType":"YulExpressionStatement","src":"2441:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2523:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2534:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2519:3:52"},"nodeType":"YulFunctionCall","src":"2519:18:52"},{"hexValue":"73206e6f74206120636f6e7472616374","kind":"string","nodeType":"YulLiteral","src":"2539:18:52","type":"","value":"s not a contract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2512:6:52"},"nodeType":"YulFunctionCall","src":"2512:46:52"},"nodeType":"YulExpressionStatement","src":"2512:46:52"},{"nodeType":"YulAssignment","src":"2567:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2579:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2590:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2575:3:52"},"nodeType":"YulFunctionCall","src":"2575:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2567:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2339:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2353:4:52","type":""}],"src":"2188:412:52"},{"body":{"nodeType":"YulBlock","src":"2742:150:52","statements":[{"nodeType":"YulVariableDeclaration","src":"2752:27:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2772:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2766:5:52"},"nodeType":"YulFunctionCall","src":"2766:13:52"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"2756:6:52","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2827:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"2835:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2823:3:52"},"nodeType":"YulFunctionCall","src":"2823:17:52"},{"name":"pos","nodeType":"YulIdentifier","src":"2842:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"2847:6:52"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"2788:34:52"},"nodeType":"YulFunctionCall","src":"2788:66:52"},"nodeType":"YulExpressionStatement","src":"2788:66:52"},{"nodeType":"YulAssignment","src":"2863:23:52","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"2874:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"2879:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2870:3:52"},"nodeType":"YulFunctionCall","src":"2870:16:52"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"2863:3:52"}]}]},"name":"abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"2718:3:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2723:6:52","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"2734:3:52","type":""}],"src":"2605:287:52"},{"body":{"nodeType":"YulBlock","src":"3071:179:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3088:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3099:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3081:6:52"},"nodeType":"YulFunctionCall","src":"3081:21:52"},"nodeType":"YulExpressionStatement","src":"3081:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3122:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3133:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3118:3:52"},"nodeType":"YulFunctionCall","src":"3118:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"3138:2:52","type":"","value":"29"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3111:6:52"},"nodeType":"YulFunctionCall","src":"3111:30:52"},"nodeType":"YulExpressionStatement","src":"3111:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3161:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3172:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3157:3:52"},"nodeType":"YulFunctionCall","src":"3157:18:52"},{"hexValue":"416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374","kind":"string","nodeType":"YulLiteral","src":"3177:31:52","type":"","value":"Address: call to non-contract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3150:6:52"},"nodeType":"YulFunctionCall","src":"3150:59:52"},"nodeType":"YulExpressionStatement","src":"3150:59:52"},{"nodeType":"YulAssignment","src":"3218:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3230:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3241:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3226:3:52"},"nodeType":"YulFunctionCall","src":"3226:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3218:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3048:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3062:4:52","type":""}],"src":"2897:353:52"},{"body":{"nodeType":"YulBlock","src":"3376:275:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3393:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3404:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3386:6:52"},"nodeType":"YulFunctionCall","src":"3386:21:52"},"nodeType":"YulExpressionStatement","src":"3386:21:52"},{"nodeType":"YulVariableDeclaration","src":"3416:27:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3436:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"3430:5:52"},"nodeType":"YulFunctionCall","src":"3430:13:52"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"3420:6:52","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3463:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3474:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3459:3:52"},"nodeType":"YulFunctionCall","src":"3459:18:52"},{"name":"length","nodeType":"YulIdentifier","src":"3479:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3452:6:52"},"nodeType":"YulFunctionCall","src":"3452:34:52"},"nodeType":"YulExpressionStatement","src":"3452:34:52"},{"expression":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3534:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3542:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3530:3:52"},"nodeType":"YulFunctionCall","src":"3530:15:52"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3551:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3562:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3547:3:52"},"nodeType":"YulFunctionCall","src":"3547:18:52"},{"name":"length","nodeType":"YulIdentifier","src":"3567:6:52"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"3495:34:52"},"nodeType":"YulFunctionCall","src":"3495:79:52"},"nodeType":"YulExpressionStatement","src":"3495:79:52"},{"nodeType":"YulAssignment","src":"3583:62:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3599:9:52"},{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"3618:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3626:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3614:3:52"},"nodeType":"YulFunctionCall","src":"3614:15:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3635:2:52","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3631:3:52"},"nodeType":"YulFunctionCall","src":"3631:7:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3610:3:52"},"nodeType":"YulFunctionCall","src":"3610:29:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3595:3:52"},"nodeType":"YulFunctionCall","src":"3595:45:52"},{"kind":"number","nodeType":"YulLiteral","src":"3642:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3591:3:52"},"nodeType":"YulFunctionCall","src":"3591:54:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3583:4:52"}]}]},"name":"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3345:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3356:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3367:4:52","type":""}],"src":"3255:396:52"}]},"contents":"{\n    { }\n    function abi_decode_address_fromMemory(offset) -> value\n    {\n        value := mload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function copy_memory_to_memory_with_cleanup(src, dst, length)\n    {\n        let i := 0\n        for { } lt(i, length) { i := add(i, 32) }\n        {\n            mstore(add(dst, i), mload(add(src, i)))\n        }\n        mstore(add(dst, length), 0)\n    }\n    function abi_decode_tuple_t_addresst_bytes_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address_fromMemory(headStart)\n        let offset := mload(add(headStart, 32))\n        let _1 := sub(shl(64, 1), 1)\n        if gt(offset, _1) { revert(0, 0) }\n        let _2 := add(headStart, offset)\n        if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n        let _3 := mload(_2)\n        if gt(_3, _1) { panic_error_0x41() }\n        let _4 := not(31)\n        let memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(and(add(_3, 0x1f), _4), 63), _4))\n        if or(gt(newFreePtr, _1), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n        mstore(memPtr, _3)\n        if gt(add(add(_2, _3), 32), dataEnd) { revert(0, 0) }\n        copy_memory_to_memory_with_cleanup(add(_2, 32), add(memPtr, 32), _3)\n        value1 := memPtr\n    }\n    function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := abi_decode_address_fromMemory(headStart)\n    }\n    function abi_encode_tuple_t_stringliteral_9589b7809634e4928033de18bb696e9af4ef71b703652af5245f2dbebf2f4470__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), \"ERC1967: new beacon is not a con\")\n        mstore(add(headStart, 96), \"tract\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_stringliteral_f95fd1f5b5578816eb23f6ca0f2439b4b5e4094dc16e99c3b8e91603a83f93c8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 48)\n        mstore(add(headStart, 64), \"ERC1967: beacon implementation i\")\n        mstore(add(headStart, 96), \"s not a contract\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n    {\n        let length := mload(value0)\n        copy_memory_to_memory_with_cleanup(add(value0, 0x20), pos, length)\n        end := add(pos, length)\n    }\n    function abi_encode_tuple_t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 29)\n        mstore(add(headStart, 64), \"Address: call to non-contract\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        mstore(headStart, 32)\n        let length := mload(value0)\n        mstore(add(headStart, 32), length)\n        copy_memory_to_memory_with_cleanup(add(value0, 32), add(headStart, 64), length)\n        tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"608060405234801561001057600080fd5b506040516106db3803806106db83398101604081905261002f91610431565b818161003d82826000610046565b5050505061055b565b61004f83610107565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a26000825111806100905750805b1561010257610100836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100fa91906104f1565b8361028b565b505b505050565b6001600160a01b0381163b6101715760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b6101e5816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d691906104f1565b6001600160a01b03163b151590565b61024a5760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610168565b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5080546001600160a01b0319166001600160a01b0392909216919091179055565b60606102b083836040518060600160405280602781526020016106b4602791396102b7565b9392505050565b6060600080856001600160a01b0316856040516102d4919061050c565b600060405180830381855af49150503d806000811461030f576040519150601f19603f3d011682016040523d82523d6000602084013e610314565b606091505b50909250905061032686838387610330565b9695505050505050565b6060831561039f578251600003610398576001600160a01b0385163b6103985760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610168565b50816103a9565b6103a983836103b1565b949350505050565b8151156103c15781518083602001fd5b8060405162461bcd60e51b81526004016101689190610528565b80516001600160a01b03811681146103f257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610428578181015183820152602001610410565b50506000910152565b6000806040838503121561044457600080fd5b61044d836103db565b60208401519092506001600160401b038082111561046a57600080fd5b818501915085601f83011261047e57600080fd5b815181811115610490576104906103f7565b604051601f8201601f19908116603f011681019083821181831017156104b8576104b86103f7565b816040528281528860208487010111156104d157600080fd5b6104e283602083016020880161040d565b80955050505050509250929050565b60006020828403121561050357600080fd5b6102b0826103db565b6000825161051e81846020870161040d565b9190910192915050565b602081526000825180602084015261054781604085016020870161040d565b601f01601f19169190910160400192915050565b61014a8061056a6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610029565b6100dc565b565b60006100697fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d505473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100d79190610100565b905090565b3660008037600080366000845af43d6000803e8080156100fb573d6000f35b3d6000fd5b60006020828403121561011257600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461013657600080fd5b939250505056fea164736f6c6343000814000a416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x6DB CODESIZE SUB DUP1 PUSH2 0x6DB DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0x431 JUMP JUMPDEST DUP2 DUP2 PUSH2 0x3D DUP3 DUP3 PUSH1 0x0 PUSH2 0x46 JUMP JUMPDEST POP POP POP POP PUSH2 0x55B JUMP JUMPDEST PUSH2 0x4F DUP4 PUSH2 0x107 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH32 0x1CF3B03A6CF19FA2BABA4DF148E9DCABEDEA7F8A5C07840E207E5C089BE95D3E SWAP1 PUSH1 0x0 SWAP1 LOG2 PUSH1 0x0 DUP3 MLOAD GT DUP1 PUSH2 0x90 JUMPI POP DUP1 JUMPDEST ISZERO PUSH2 0x102 JUMPI PUSH2 0x100 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x5C60DA1B 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 0xD6 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 0xFA SWAP2 SWAP1 PUSH2 0x4F1 JUMP JUMPDEST DUP4 PUSH2 0x28B JUMP JUMPDEST POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND EXTCODESIZE PUSH2 0x171 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 0x455243313936373A206E657720626561636F6E206973206E6F74206120636F6E PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x1D1C9858DD PUSH1 0xDA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1E5 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x5C60DA1B 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 0x1B2 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 0x1D6 SWAP2 SWAP1 PUSH2 0x4F1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EXTCODESIZE ISZERO ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x24A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x30 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x455243313936373A20626561636F6E20696D706C656D656E746174696F6E2069 PUSH1 0x44 DUP3 ADD MSTORE PUSH16 0x1CC81B9BDD08184818DBDB9D1C9858DD PUSH1 0x82 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x168 JUMP JUMPDEST PUSH32 0xA3F0AD74E5423AEBFD80D3EF4346578335A9A72AEAEE59FF6CB3582B35133D50 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x60 PUSH2 0x2B0 DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x27 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x6B4 PUSH1 0x27 SWAP2 CODECOPY PUSH2 0x2B7 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 PUSH1 0x40 MLOAD PUSH2 0x2D4 SWAP2 SWAP1 PUSH2 0x50C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x30F JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x314 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x326 DUP7 DUP4 DUP4 DUP8 PUSH2 0x330 JUMP JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP4 ISZERO PUSH2 0x39F JUMPI DUP3 MLOAD PUSH1 0x0 SUB PUSH2 0x398 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND EXTCODESIZE PUSH2 0x398 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416464726573733A2063616C6C20746F206E6F6E2D636F6E7472616374000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x168 JUMP JUMPDEST POP DUP2 PUSH2 0x3A9 JUMP JUMPDEST PUSH2 0x3A9 DUP4 DUP4 PUSH2 0x3B1 JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP2 MLOAD ISZERO PUSH2 0x3C1 JUMPI DUP2 MLOAD DUP1 DUP4 PUSH1 0x20 ADD REVERT JUMPDEST DUP1 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x168 SWAP2 SWAP1 PUSH2 0x528 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x3F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x428 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x410 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x444 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x44D DUP4 PUSH2 0x3DB JUMP JUMPDEST PUSH1 0x20 DUP5 ADD MLOAD SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH2 0x46A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x47E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD DUP2 DUP2 GT ISZERO PUSH2 0x490 JUMPI PUSH2 0x490 PUSH2 0x3F7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP4 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH2 0x4B8 JUMPI PUSH2 0x4B8 PUSH2 0x3F7 JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP3 DUP2 MSTORE DUP9 PUSH1 0x20 DUP5 DUP8 ADD ADD GT ISZERO PUSH2 0x4D1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E2 DUP4 PUSH1 0x20 DUP4 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x40D JUMP JUMPDEST DUP1 SWAP6 POP POP POP POP POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x503 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2B0 DUP3 PUSH2 0x3DB JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x51E DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x40D JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x547 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x40D JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x14A DUP1 PUSH2 0x56A PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0x13 JUMPI PUSH2 0x11 PUSH2 0x17 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x11 JUMPDEST PUSH2 0x27 PUSH2 0x22 PUSH2 0x29 JUMP JUMPDEST PUSH2 0xDC JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x69 PUSH32 0xA3F0AD74E5423AEBFD80D3EF4346578335A9A72AEAEE59FF6CB3582B35133D50 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x5C60DA1B 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 0xB3 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 0xD7 SWAP2 SWAP1 PUSH2 0x100 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xFB JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x112 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x136 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP COINBASE PUSH5 0x6472657373 GASPRICE KECCAK256 PUSH13 0x6F772D6C6576656C2064656C65 PUSH8 0x6174652063616C6C KECCAK256 PUSH7 0x61696C65640000 ","sourceMap":"256:149:44:-:0;;;313:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;386:6;394:4;1125:44:32;386:6:44;394:4;1163:5:32;1125:23;:44::i;:::-;1060:116;;313:89:44;;256:149;;5728:313:30;5834:21;5845:9;5834:10;:21::i;:::-;5870:25;;-1:-1:-1;;;;;5870:25:30;;;;;;;;5923:1;5909:4;:11;:15;:28;;;;5928:9;5909:28;5905:130;;;5953:71;5990:9;-1:-1:-1;;;;;5982:33:30;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6019:4;5953:28;:71::i;:::-;;5905:130;5728:313;;;:::o;5054:371::-;-1:-1:-1;;;;;1702:19:35;;;5111:79:30;;;;-1:-1:-1;;;5111:79:30;;1984:2:52;5111:79:30;;;1966:21:52;2023:2;2003:18;;;1996:30;2062:34;2042:18;;;2035:62;-1:-1:-1;;;2113:18:52;;;2106:35;2158:19;;5111:79:30;;;;;;;;;5221:55;5248:9;-1:-1:-1;;;;;5240:33:30;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1702:19:35;;:23;;;1412:320;5221:55:30;5200:150;;;;-1:-1:-1;;;5200:150:30;;2390:2:52;5200:150:30;;;2372:21:52;2429:2;2409:18;;;2402:30;2468:34;2448:18;;;2441:62;-1:-1:-1;;;2519:18:52;;;2512:46;2575:19;;5200:150:30;2188:412:52;5200:150:30;4719:66;5360:58;;-1:-1:-1;;;;;;5360:58:30;-1:-1:-1;;;;;5360:58:30;;;;;;;;;;5054:371::o;6674:198:35:-;6757:12;6788:77;6809:6;6817:4;6788:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;6781:84;6674:198;-1:-1:-1;;;6674:198:35:o;7058:325::-;7199:12;7224;7238:23;7265:6;-1:-1:-1;;;;;7265:19:35;7285:4;7265:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7223:67:35;;-1:-1:-1;7223:67:35;-1:-1:-1;7307:69:35;7334:6;7223:67;;7363:12;7307:26;:69::i;:::-;7300:76;7058:325;-1:-1:-1;;;;;;7058:325:35:o;7671:628::-;7851:12;7879:7;7875:418;;;7906:10;:17;7927:1;7906:22;7902:286;;-1:-1:-1;;;;;1702:19:35;;;8113:60;;;;-1:-1:-1;;;8113:60:35;;3099:2:52;8113:60:35;;;3081:21:52;3138:2;3118:18;;;3111:30;3177:31;3157:18;;;3150:59;3226:18;;8113:60:35;2897:353:52;8113:60:35;-1:-1:-1;8208:10:35;8201:17;;7875:418;8249:33;8257:10;8269:12;8249:7;:33::i;:::-;7671:628;;;;;;:::o;8821:540::-;8980:17;;:21;8976:379;;9208:10;9202:17;9264:15;9251:10;9247:2;9243:19;9236:44;8976:379;9331:12;9324:20;;-1:-1:-1;;;9324:20:35;;;;;;;;:::i;14:177:52:-;93:13;;-1:-1:-1;;;;;135:31:52;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:127::-;257:10;252:3;248:20;245:1;238:31;288:4;285:1;278:15;312:4;309:1;302:15;328:250;413:1;423:113;437:6;434:1;431:13;423:113;;;513:11;;;507:18;494:11;;;487:39;459:2;452:10;423:113;;;-1:-1:-1;;570:1:52;552:16;;545:27;328:250::o;583:981::-;671:6;679;732:2;720:9;711:7;707:23;703:32;700:52;;;748:1;745;738:12;700:52;771:40;801:9;771:40;:::i;:::-;855:2;840:18;;834:25;761:50;;-1:-1:-1;;;;;;908:14:52;;;905:34;;;935:1;932;925:12;905:34;973:6;962:9;958:22;948:32;;1018:7;1011:4;1007:2;1003:13;999:27;989:55;;1040:1;1037;1030:12;989:55;1069:2;1063:9;1091:2;1087;1084:10;1081:36;;;1097:18;;:::i;:::-;1172:2;1166:9;1140:2;1226:13;;-1:-1:-1;;1222:22:52;;;1246:2;1218:31;1214:40;1202:53;;;1270:18;;;1290:22;;;1267:46;1264:72;;;1316:18;;:::i;:::-;1356:10;1352:2;1345:22;1391:2;1383:6;1376:18;1431:7;1426:2;1421;1417;1413:11;1409:20;1406:33;1403:53;;;1452:1;1449;1442:12;1403:53;1465:68;1530:2;1525;1517:6;1513:15;1508:2;1504;1500:11;1465:68;:::i;:::-;1552:6;1542:16;;;;;;;583:981;;;;;:::o;1569:208::-;1639:6;1692:2;1680:9;1671:7;1667:23;1663:32;1660:52;;;1708:1;1705;1698:12;1660:52;1731:40;1761:9;1731:40;:::i;2605:287::-;2734:3;2772:6;2766:13;2788:66;2847:6;2842:3;2835:4;2827:6;2823:17;2788:66;:::i;:::-;2870:16;;;;;2605:287;-1:-1:-1;;2605:287:52:o;3255:396::-;3404:2;3393:9;3386:21;3367:4;3436:6;3430:13;3479:6;3474:2;3463:9;3459:18;3452:34;3495:79;3567:6;3562:2;3551:9;3547:18;3542:2;3534:6;3530:15;3495:79;:::i;:::-;3635:2;3614:15;-1:-1:-1;;3610:29:52;3595:45;;;;3642:2;3591:54;;3255:396;-1:-1:-1;;3255:396:52:o;:::-;256:149:44;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_5150":{"entryPoint":null,"id":5150,"parameterSlots":0,"returnSlots":0},"@_5158":{"entryPoint":null,"id":5158,"parameterSlots":0,"returnSlots":0},"@_beforeFallback_5163":{"entryPoint":null,"id":5163,"parameterSlots":0,"returnSlots":0},"@_delegate_5123":{"entryPoint":220,"id":5123,"parameterSlots":1,"returnSlots":0},"@_fallback_5142":{"entryPoint":23,"id":5142,"parameterSlots":0,"returnSlots":0},"@_getBeacon_5037":{"entryPoint":null,"id":5037,"parameterSlots":0,"returnSlots":1},"@_implementation_5214":{"entryPoint":41,"id":5214,"parameterSlots":0,"returnSlots":1},"@getAddressSlot_5699":{"entryPoint":null,"id":5699,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":256,"id":null,"parameterSlots":2,"returnSlots":1}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:329:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"95:232:52","statements":[{"body":{"nodeType":"YulBlock","src":"141:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"150:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"153:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"143:6:52"},"nodeType":"YulFunctionCall","src":"143:12:52"},"nodeType":"YulExpressionStatement","src":"143:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"116:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"125:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"112:3:52"},"nodeType":"YulFunctionCall","src":"112:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"137:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"108:3:52"},"nodeType":"YulFunctionCall","src":"108:32:52"},"nodeType":"YulIf","src":"105:52:52"},{"nodeType":"YulVariableDeclaration","src":"166:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"185:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"179:5:52"},"nodeType":"YulFunctionCall","src":"179:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"170:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"281:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"290:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"293:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"283:6:52"},"nodeType":"YulFunctionCall","src":"283:12:52"},"nodeType":"YulExpressionStatement","src":"283:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"217:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"228:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"235:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"224:3:52"},"nodeType":"YulFunctionCall","src":"224:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"214:2:52"},"nodeType":"YulFunctionCall","src":"214:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"207:6:52"},"nodeType":"YulFunctionCall","src":"207:73:52"},"nodeType":"YulIf","src":"204:93:52"},{"nodeType":"YulAssignment","src":"306:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"316:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"306:6:52"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"61:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"72:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"84:6:52","type":""}],"src":"14:313:52"}]},"contents":"{\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        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n        value0 := value\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"60806040523661001357610011610017565b005b6100115b610027610022610029565b6100dc565b565b60006100697fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d505473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100d79190610100565b905090565b3660008037600080366000845af43d6000803e8080156100fb573d6000f35b3d6000fd5b60006020828403121561011257600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461013657600080fd5b939250505056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLDATASIZE PUSH2 0x13 JUMPI PUSH2 0x11 PUSH2 0x17 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x11 JUMPDEST PUSH2 0x27 PUSH2 0x22 PUSH2 0x29 JUMP JUMPDEST PUSH2 0xDC JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 PUSH2 0x69 PUSH32 0xA3F0AD74E5423AEBFD80D3EF4346578335A9A72AEAEE59FF6CB3582B35133D50 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x5C60DA1B 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 0xB3 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 0xD7 SWAP2 SWAP1 PUSH2 0x100 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST CALLDATASIZE PUSH1 0x0 DUP1 CALLDATACOPY PUSH1 0x0 DUP1 CALLDATASIZE PUSH1 0x0 DUP5 GAS DELEGATECALL RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY DUP1 DUP1 ISZERO PUSH2 0xFB JUMPI RETURNDATASIZE PUSH1 0x0 RETURN JUMPDEST RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x112 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x136 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"256:149:44:-:0;;;;;;2898:11:31;:9;:11::i;:::-;256:149:44;;2675:11:31;2322:110;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;1444:138:32:-;1511:7;1545:12;4719:66:30;4919:46;;;;4848:124;1545:12:32;1537:36;;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1530:45;;1444:138;:::o;948:895:31:-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27;14:313:52;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;185:9;179:16;235:42;228:5;224:54;217:5;214:65;204:93;;293:1;290;283:12;204:93;316:5;14:313;-1:-1:-1;;;14:313:52:o"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is changed.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{},\"title\":\"BeaconProxy wrapper for testing\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Re-exports OpenZeppelin BeaconProxy for test contracts\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/BeaconProxy.sol\":\"BeaconProxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0x3cbef5ebc24b415252e2f8c0c9254555d30d9f085603b4b80d9b5ed20ab87e90\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8fa670c3bdce78e642cc6ae11c4cb38b133499cdce5e1990a9979d424703263\",\"dweb:/ipfs/QmVxeCUk4jL2pXQyhsoNJwyU874wRufS2WvGe8TgPKPqhE\"]},\"@openzeppelin/contracts/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0x1d4afe6cb24200cc4545eed814ecf5847277dfe5d613a1707aad5fceecebcfff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://383fb7b8181016ac5ccf07bc9cdb7c1b5045ea36e2cc4df52bcbf20396fc7688\",\"dweb:/ipfs/QmYJ7Cg4WmE3rR8KGQxjUCXFfTH6TcwZ2Z1f6tPrq7jHFr\"]},\"@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol\":{\"keccak256\":\"0x3b21ae06bf5957f73fa16754b0669c77b7abd8ba6c072d35c3281d446fdb86c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2db8e18505e86e02526847005d7287a33e397ed7fb9eaba3fd4a4a197add16e2\",\"dweb:/ipfs/QmW9BSuKTzHWHBNSHF4L8XfVuU1uJrP2vLg84YtBd8mL82\"]},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0xc130fe33f1b2132158531a87734153293f6d07bc263ff4ac90e85da9c82c0e27\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8831721b6f4cc26534d190f9f1631c3f59c9ff38efdd911f85e0882b8e360472\",\"dweb:/ipfs/QmQZnLErZNStirSQ13ZNWQgvEYUtGE5tXYwn4QUPaVUfPN\"]},\"@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol\":{\"keccak256\":\"0x85439e74ab467b6a23d45d32bdc9506cbc3760320289afd605f11638c4138e95\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e18633c182e445895e5a70f9e79f2558d0f6eac86767fd1d90552177df2955c\",\"dweb:/ipfs/QmagUFUJbiNGRGGajg9CF5LPuopc44XSCtcCaYvQasBuX9\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ada1e030c0231db8d143b44ce92b4d1158eedb087880cad6d8cc7bd7ebe7b354\",\"dweb:/ipfs/QmWZ2NHZweRpz1U9GF6R1h65ri76dnX7fNxLBeM2t5N5Ce\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931\",\"dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xf09e68aa0dc6722a25bc46490e8d48ed864466d17313b8a0b254c36b54e49899\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e26daf81e2252dc1fe1ce0e4b55c2eb7c6d1ee84ae6558d1a9554432ea1d32da\",\"dweb:/ipfs/Qmb1UANWiWq5pCKbmHSu772hd4nt374dVaghGmwSVNuk8Q\"]},\"contracts/test/BeaconProxy.sol\":{\"keccak256\":\"0x374aa4b9a333f25e797e0258b3a1a3f1ffc1b294639c1b839dccf3590eab93af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://afaf4fd07a165ea688082af1d6a1c69bff2c9ead8afd2bde06d682e1968c3e9b\",\"dweb:/ipfs/QmQ66z3KhBzd56oH13uRQARey5hqHmUJVfjgh5oRxB9Wq9\"]}},\"version\":1}"}},"contracts/test/MockFactory.sol":{"MockFactory":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ALGEBRA_BASE_PLUGIN_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOLS_ADMINISTRATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pluginFactory","type":"address"},{"internalType":"address","name":"pool","type":"address"}],"name":"beforeCreatePoolHook","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRoleOrOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"poolByPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"address","name":"pool","type":"address"}],"name":"stubPool","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_6486":{"entryPoint":null,"id":6486,"parameterSlots":0,"returnSlots":0}},"generatedSources":[],"linkReferences":{},"object":"608060405234801561001057600080fd5b50600080546001600160a01b031916331790556105d6806100326000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063b500a48b11610076578063d9a641e11161005b578063d9a641e114610289578063e8ae2b69146102ca578063f89b66ec146102dd57600080fd5b8063b500a48b146101fe578063d547741f1461022557600080fd5b806331b25d1a116100a757806331b25d1a146101415780638da5cb5b1461017b578063ac4ab3fb146101c057600080fd5b80632cb8189e146100c35780632f2ff15d146100d8575b600080fd5b6100d66100d13660046104d7565b610369565b005b6100d66100e6366004610510565b73ffffffffffffffffffffffffffffffffffffffff16600090815260016020818152604080842094845293905291902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055565b6101687f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f581565b6040519081526020015b60405180910390f35b60005461019b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610172565b6101ee6101ce366004610535565b600160209081526000928352604080842090915290825290205460ff1681565b6040519015158152602001610172565b6101687fb73ce166ead2f8e9add217713a7989e4edfba9625f71dfd2516204bb67ad344281565b6100d6610233366004610510565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602090815260408083209383529290522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b61019b6102973660046104d7565b600260209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff1681565b6101ee6102d8366004610510565b610451565b6100d66102eb366004610561565b73ffffffffffffffffffffffffffffffffffffffff928316600081815260026020818152604080842096881684529581528583208054979095167fffffffffffffffffffffffff0000000000000000000000000000000000000000978816811790955590815284822092825291909152919091208054909216179055565b6040517f1d0338d900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301526000602483018190526044830181905260648301819052608483015260c060a4830152600260c48301527f307800000000000000000000000000000000000000000000000000000000000060e4830152831690631d0338d990610104016020604051808303816000875af1158015610428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044c91906105ac565b505050565b6000805473ffffffffffffffffffffffffffffffffffffffff838116911614806104ab575073ffffffffffffffffffffffffffffffffffffffff8216600090815260016020908152604080832086845290915290205460ff165b9392505050565b73ffffffffffffffffffffffffffffffffffffffff811681146104d457600080fd5b50565b600080604083850312156104ea57600080fd5b82356104f5816104b2565b91506020830135610505816104b2565b809150509250929050565b6000806040838503121561052357600080fd5b823591506020830135610505816104b2565b6000806040838503121561054857600080fd5b8235610553816104b2565b946020939093013593505050565b60008060006060848603121561057657600080fd5b8335610581816104b2565b92506020840135610591816104b2565b915060408401356105a1816104b2565b809150509250925092565b6000602082840312156105be57600080fd5b81516104ab816104b256fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER OR SWAP1 SSTORE PUSH2 0x5D6 DUP1 PUSH2 0x32 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 0xBE JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xB500A48B GT PUSH2 0x76 JUMPI DUP1 PUSH4 0xD9A641E1 GT PUSH2 0x5B JUMPI DUP1 PUSH4 0xD9A641E1 EQ PUSH2 0x289 JUMPI DUP1 PUSH4 0xE8AE2B69 EQ PUSH2 0x2CA JUMPI DUP1 PUSH4 0xF89B66EC EQ PUSH2 0x2DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xB500A48B EQ PUSH2 0x1FE JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x225 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x31B25D1A GT PUSH2 0xA7 JUMPI DUP1 PUSH4 0x31B25D1A EQ PUSH2 0x141 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x17B JUMPI DUP1 PUSH4 0xAC4AB3FB EQ PUSH2 0x1C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2CB8189E EQ PUSH2 0xC3 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0xD8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD6 PUSH2 0xD1 CALLDATASIZE PUSH1 0x4 PUSH2 0x4D7 JUMP JUMPDEST PUSH2 0x369 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xD6 PUSH2 0xE6 CALLDATASIZE PUSH1 0x4 PUSH2 0x510 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP5 DUP5 MSTORE SWAP4 SWAP1 MSTORE SWAP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x168 PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x19B SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x172 JUMP JUMPDEST PUSH2 0x1EE PUSH2 0x1CE CALLDATASIZE PUSH1 0x4 PUSH2 0x535 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x172 JUMP JUMPDEST PUSH2 0x168 PUSH32 0xB73CE166EAD2F8E9ADD217713A7989E4EDFBA9625F71DFD2516204BB67AD3442 DUP2 JUMP JUMPDEST PUSH2 0xD6 PUSH2 0x233 CALLDATASIZE PUSH1 0x4 PUSH2 0x510 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 AND SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x19B PUSH2 0x297 CALLDATASIZE PUSH1 0x4 PUSH2 0x4D7 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH2 0x1EE PUSH2 0x2D8 CALLDATASIZE PUSH1 0x4 PUSH2 0x510 JUMP JUMPDEST PUSH2 0x451 JUMP JUMPDEST PUSH2 0xD6 PUSH2 0x2EB CALLDATASIZE PUSH1 0x4 PUSH2 0x561 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP7 DUP9 AND DUP5 MSTORE SWAP6 DUP2 MSTORE DUP6 DUP4 KECCAK256 DUP1 SLOAD SWAP8 SWAP1 SWAP6 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 SWAP8 DUP9 AND DUP2 OR SWAP1 SWAP6 SSTORE SWAP1 DUP2 MSTORE DUP5 DUP3 KECCAK256 SWAP3 DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD SWAP1 SWAP3 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x1D0338D900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x0 PUSH1 0x24 DUP4 ADD DUP2 SWAP1 MSTORE PUSH1 0x44 DUP4 ADD DUP2 SWAP1 MSTORE PUSH1 0x64 DUP4 ADD DUP2 SWAP1 MSTORE PUSH1 0x84 DUP4 ADD MSTORE PUSH1 0xC0 PUSH1 0xA4 DUP4 ADD MSTORE PUSH1 0x2 PUSH1 0xC4 DUP4 ADD MSTORE PUSH32 0x3078000000000000000000000000000000000000000000000000000000000000 PUSH1 0xE4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0x1D0338D9 SWAP1 PUSH2 0x104 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x428 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 0x44C SWAP2 SWAP1 PUSH2 0x5AC JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 AND SWAP2 AND EQ DUP1 PUSH2 0x4AB JUMPI POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP7 DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x4D4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4EA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x4F5 DUP2 PUSH2 0x4B2 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x505 DUP2 PUSH2 0x4B2 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x523 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x505 DUP2 PUSH2 0x4B2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x548 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x553 DUP2 PUSH2 0x4B2 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x576 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x581 DUP2 PUSH2 0x4B2 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x591 DUP2 PUSH2 0x4B2 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x5A1 DUP2 PUSH2 0x4B2 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x5BE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x4AB DUP2 PUSH2 0x4B2 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"212:1137:45:-:0;;;582:43;;;;;;;;;-1:-1:-1;602:5:45;:18;;-1:-1:-1;;;;;;602:18:45;610:10;602:18;;;212:1137;;;;;;"},"deployedBytecode":{"functionDebugData":{"@ALGEBRA_BASE_PLUGIN_MANAGER_6463":{"entryPoint":null,"id":6463,"parameterSlots":0,"returnSlots":0},"@POOLS_ADMINISTRATOR_ROLE_6458":{"entryPoint":null,"id":6458,"parameterSlots":0,"returnSlots":0},"@beforeCreatePoolHook_6597":{"entryPoint":873,"id":6597,"parameterSlots":2,"returnSlots":0},"@grantRole_6523":{"entryPoint":null,"id":6523,"parameterSlots":2,"returnSlots":0},"@hasRoleOrOwner_6507":{"entryPoint":1105,"id":6507,"parameterSlots":2,"returnSlots":1},"@hasRole_6471":{"entryPoint":null,"id":6471,"parameterSlots":0,"returnSlots":0},"@owner_6465":{"entryPoint":null,"id":6465,"parameterSlots":0,"returnSlots":0},"@poolByPair_6477":{"entryPoint":null,"id":6477,"parameterSlots":0,"returnSlots":0},"@revokeRole_6539":{"entryPoint":null,"id":6539,"parameterSlots":2,"returnSlots":0},"@stubPool_6565":{"entryPoint":null,"id":6565,"parameterSlots":3,"returnSlots":0},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":1452,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_address":{"entryPoint":1239,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_addresst_address":{"entryPoint":1377,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_bytes32":{"entryPoint":1333,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_bytes32t_address":{"entryPoint":1296,"id":null,"parameterSlots":2,"returnSlots":2},"abi_encode_tuple_t_address__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_address_t_address_t_address_t_address_t_address_t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837__to_t_address_t_address_t_address_t_address_t_address_t_bytes_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":6,"returnSlots":1},"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"validator_revert_address":{"entryPoint":1202,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:3394:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"59:109:52","statements":[{"body":{"nodeType":"YulBlock","src":"146:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"155:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"158:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"148:6:52"},"nodeType":"YulFunctionCall","src":"148:12:52"},"nodeType":"YulExpressionStatement","src":"148:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"82:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"93:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"100:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"89:3:52"},"nodeType":"YulFunctionCall","src":"89:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"79:2:52"},"nodeType":"YulFunctionCall","src":"79:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"72:6:52"},"nodeType":"YulFunctionCall","src":"72:73:52"},"nodeType":"YulIf","src":"69:93:52"}]},"name":"validator_revert_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"48:5:52","type":""}],"src":"14:154:52"},{"body":{"nodeType":"YulBlock","src":"260:301:52","statements":[{"body":{"nodeType":"YulBlock","src":"306:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"315:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"318:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"308:6:52"},"nodeType":"YulFunctionCall","src":"308:12:52"},"nodeType":"YulExpressionStatement","src":"308:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"281:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"290:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"277:3:52"},"nodeType":"YulFunctionCall","src":"277:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"302:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"273:3:52"},"nodeType":"YulFunctionCall","src":"273:32:52"},"nodeType":"YulIf","src":"270:52:52"},{"nodeType":"YulVariableDeclaration","src":"331:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"357:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"344:12:52"},"nodeType":"YulFunctionCall","src":"344:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"335:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"401:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"376:24:52"},"nodeType":"YulFunctionCall","src":"376:31:52"},"nodeType":"YulExpressionStatement","src":"376:31:52"},{"nodeType":"YulAssignment","src":"416:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"426:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"416:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"440:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"472:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"483:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"468:3:52"},"nodeType":"YulFunctionCall","src":"468:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"455:12:52"},"nodeType":"YulFunctionCall","src":"455:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"444:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"521:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"496:24:52"},"nodeType":"YulFunctionCall","src":"496:33:52"},"nodeType":"YulExpressionStatement","src":"496:33:52"},{"nodeType":"YulAssignment","src":"538:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"548:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"538:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"218:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"229:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"241:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"249:6:52","type":""}],"src":"173:388:52"},{"body":{"nodeType":"YulBlock","src":"653:228:52","statements":[{"body":{"nodeType":"YulBlock","src":"699:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"708:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"711:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"701:6:52"},"nodeType":"YulFunctionCall","src":"701:12:52"},"nodeType":"YulExpressionStatement","src":"701:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"674:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"683:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"670:3:52"},"nodeType":"YulFunctionCall","src":"670:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"695:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"666:3:52"},"nodeType":"YulFunctionCall","src":"666:32:52"},"nodeType":"YulIf","src":"663:52:52"},{"nodeType":"YulAssignment","src":"724:33:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"747:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"734:12:52"},"nodeType":"YulFunctionCall","src":"734:23:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"724:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"766:45:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"796:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"807:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"792:3:52"},"nodeType":"YulFunctionCall","src":"792:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"779:12:52"},"nodeType":"YulFunctionCall","src":"779:32:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"770:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"845:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"820:24:52"},"nodeType":"YulFunctionCall","src":"820:31:52"},"nodeType":"YulExpressionStatement","src":"820:31:52"},{"nodeType":"YulAssignment","src":"860:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"870:5:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"860:6:52"}]}]},"name":"abi_decode_tuple_t_bytes32t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"611:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"622:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"634:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"642:6:52","type":""}],"src":"566:315:52"},{"body":{"nodeType":"YulBlock","src":"987:76:52","statements":[{"nodeType":"YulAssignment","src":"997:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1009:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1020:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1005:3:52"},"nodeType":"YulFunctionCall","src":"1005:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"997:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1039:9:52"},{"name":"value0","nodeType":"YulIdentifier","src":"1050:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1032:6:52"},"nodeType":"YulFunctionCall","src":"1032:25:52"},"nodeType":"YulExpressionStatement","src":"1032:25:52"}]},"name":"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"956:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"967:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"978:4:52","type":""}],"src":"886:177:52"},{"body":{"nodeType":"YulBlock","src":"1169:125:52","statements":[{"nodeType":"YulAssignment","src":"1179:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1191:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1202:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1187:3:52"},"nodeType":"YulFunctionCall","src":"1187:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1179:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1221:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1236:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1244:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1232:3:52"},"nodeType":"YulFunctionCall","src":"1232:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1214:6:52"},"nodeType":"YulFunctionCall","src":"1214:74:52"},"nodeType":"YulExpressionStatement","src":"1214:74:52"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1138:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1149:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1160:4:52","type":""}],"src":"1068:226:52"},{"body":{"nodeType":"YulBlock","src":"1386:228:52","statements":[{"body":{"nodeType":"YulBlock","src":"1432:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1441:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1444:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1434:6:52"},"nodeType":"YulFunctionCall","src":"1434:12:52"},"nodeType":"YulExpressionStatement","src":"1434:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1407:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"1416:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1403:3:52"},"nodeType":"YulFunctionCall","src":"1403:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"1428:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1399:3:52"},"nodeType":"YulFunctionCall","src":"1399:32:52"},"nodeType":"YulIf","src":"1396:52:52"},{"nodeType":"YulVariableDeclaration","src":"1457:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1483:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1470:12:52"},"nodeType":"YulFunctionCall","src":"1470:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"1461:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1527:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"1502:24:52"},"nodeType":"YulFunctionCall","src":"1502:31:52"},"nodeType":"YulExpressionStatement","src":"1502:31:52"},{"nodeType":"YulAssignment","src":"1542:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"1552:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1542:6:52"}]},{"nodeType":"YulAssignment","src":"1566:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1593:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1604:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1589:3:52"},"nodeType":"YulFunctionCall","src":"1589:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1576:12:52"},"nodeType":"YulFunctionCall","src":"1576:32:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"1566:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_bytes32","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1344:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1355:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1367:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"1375:6:52","type":""}],"src":"1299:315:52"},{"body":{"nodeType":"YulBlock","src":"1714:92:52","statements":[{"nodeType":"YulAssignment","src":"1724:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1736:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1747:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1732:3:52"},"nodeType":"YulFunctionCall","src":"1732:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1724:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1766:9:52"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1791:6:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1784:6:52"},"nodeType":"YulFunctionCall","src":"1784:14:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1777:6:52"},"nodeType":"YulFunctionCall","src":"1777:22:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1759:6:52"},"nodeType":"YulFunctionCall","src":"1759:41:52"},"nodeType":"YulExpressionStatement","src":"1759:41:52"}]},"name":"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1683:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1694:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1705:4:52","type":""}],"src":"1619:187:52"},{"body":{"nodeType":"YulBlock","src":"1915:425:52","statements":[{"body":{"nodeType":"YulBlock","src":"1961:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1970:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1973:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1963:6:52"},"nodeType":"YulFunctionCall","src":"1963:12:52"},"nodeType":"YulExpressionStatement","src":"1963:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1936:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"1945:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1932:3:52"},"nodeType":"YulFunctionCall","src":"1932:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"1957:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1928:3:52"},"nodeType":"YulFunctionCall","src":"1928:32:52"},"nodeType":"YulIf","src":"1925:52:52"},{"nodeType":"YulVariableDeclaration","src":"1986:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2012:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1999:12:52"},"nodeType":"YulFunctionCall","src":"1999:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"1990:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2056:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"2031:24:52"},"nodeType":"YulFunctionCall","src":"2031:31:52"},"nodeType":"YulExpressionStatement","src":"2031:31:52"},{"nodeType":"YulAssignment","src":"2071:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"2081:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2071:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"2095:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2127:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2138:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2123:3:52"},"nodeType":"YulFunctionCall","src":"2123:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2110:12:52"},"nodeType":"YulFunctionCall","src":"2110:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"2099:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"2176:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"2151:24:52"},"nodeType":"YulFunctionCall","src":"2151:33:52"},"nodeType":"YulExpressionStatement","src":"2151:33:52"},{"nodeType":"YulAssignment","src":"2193:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"2203:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"2193:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"2219:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2251:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2262:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2247:3:52"},"nodeType":"YulFunctionCall","src":"2247:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2234:12:52"},"nodeType":"YulFunctionCall","src":"2234:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"2223:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"2300:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"2275:24:52"},"nodeType":"YulFunctionCall","src":"2275:33:52"},"nodeType":"YulExpressionStatement","src":"2275:33:52"},{"nodeType":"YulAssignment","src":"2317:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"2327:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"2317:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1865:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1876:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1888:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"1896:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"1904:6:52","type":""}],"src":"1811:529:52"},{"body":{"nodeType":"YulBlock","src":"2658:478:52","statements":[{"nodeType":"YulVariableDeclaration","src":"2668:52:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2678:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2672:2:52","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2736:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2751:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2759:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2747:3:52"},"nodeType":"YulFunctionCall","src":"2747:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2729:6:52"},"nodeType":"YulFunctionCall","src":"2729:34:52"},"nodeType":"YulExpressionStatement","src":"2729:34:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2783:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2794:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2779:3:52"},"nodeType":"YulFunctionCall","src":"2779:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"2803:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2811:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2799:3:52"},"nodeType":"YulFunctionCall","src":"2799:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2772:6:52"},"nodeType":"YulFunctionCall","src":"2772:43:52"},"nodeType":"YulExpressionStatement","src":"2772:43:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2835:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2846:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2831:3:52"},"nodeType":"YulFunctionCall","src":"2831:18:52"},{"arguments":[{"name":"value2","nodeType":"YulIdentifier","src":"2855:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2863:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2851:3:52"},"nodeType":"YulFunctionCall","src":"2851:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2824:6:52"},"nodeType":"YulFunctionCall","src":"2824:43:52"},"nodeType":"YulExpressionStatement","src":"2824:43:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2887:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2898:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2883:3:52"},"nodeType":"YulFunctionCall","src":"2883:18:52"},{"arguments":[{"name":"value3","nodeType":"YulIdentifier","src":"2907:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2915:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2903:3:52"},"nodeType":"YulFunctionCall","src":"2903:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2876:6:52"},"nodeType":"YulFunctionCall","src":"2876:43:52"},"nodeType":"YulExpressionStatement","src":"2876:43:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2939:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2950:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2935:3:52"},"nodeType":"YulFunctionCall","src":"2935:19:52"},{"arguments":[{"name":"value4","nodeType":"YulIdentifier","src":"2960:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2968:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2956:3:52"},"nodeType":"YulFunctionCall","src":"2956:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2928:6:52"},"nodeType":"YulFunctionCall","src":"2928:44:52"},"nodeType":"YulExpressionStatement","src":"2928:44:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2992:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3003:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2988:3:52"},"nodeType":"YulFunctionCall","src":"2988:19:52"},{"kind":"number","nodeType":"YulLiteral","src":"3009:3:52","type":"","value":"192"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2981:6:52"},"nodeType":"YulFunctionCall","src":"2981:32:52"},"nodeType":"YulExpressionStatement","src":"2981:32:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3033:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3044:3:52","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3029:3:52"},"nodeType":"YulFunctionCall","src":"3029:19:52"},{"kind":"number","nodeType":"YulLiteral","src":"3050:1:52","type":"","value":"2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3022:6:52"},"nodeType":"YulFunctionCall","src":"3022:30:52"},"nodeType":"YulExpressionStatement","src":"3022:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3072:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3083:3:52","type":"","value":"224"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3068:3:52"},"nodeType":"YulFunctionCall","src":"3068:19:52"},{"hexValue":"3078","kind":"string","nodeType":"YulLiteral","src":"3089:4:52","type":"","value":"0x"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3061:6:52"},"nodeType":"YulFunctionCall","src":"3061:33:52"},"nodeType":"YulExpressionStatement","src":"3061:33:52"},{"nodeType":"YulAssignment","src":"3103:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3115:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3126:3:52","type":"","value":"256"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3111:3:52"},"nodeType":"YulFunctionCall","src":"3111:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3103:4:52"}]}]},"name":"abi_encode_tuple_t_address_t_address_t_address_t_address_t_address_t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837__to_t_address_t_address_t_address_t_address_t_address_t_bytes_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2595:9:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"2606:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"2614:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"2622:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2630:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2638:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2649:4:52","type":""}],"src":"2345:791:52"},{"body":{"nodeType":"YulBlock","src":"3222:170:52","statements":[{"body":{"nodeType":"YulBlock","src":"3268:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3277:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3280:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3270:6:52"},"nodeType":"YulFunctionCall","src":"3270:12:52"},"nodeType":"YulExpressionStatement","src":"3270:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3243:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"3252:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3239:3:52"},"nodeType":"YulFunctionCall","src":"3239:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"3264:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3235:3:52"},"nodeType":"YulFunctionCall","src":"3235:32:52"},"nodeType":"YulIf","src":"3232:52:52"},{"nodeType":"YulVariableDeclaration","src":"3293:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3312:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"3306:5:52"},"nodeType":"YulFunctionCall","src":"3306:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"3297:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3356:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"3331:24:52"},"nodeType":"YulFunctionCall","src":"3331:31:52"},"nodeType":"YulExpressionStatement","src":"3331:31:52"},{"nodeType":"YulAssignment","src":"3371:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"3381:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3371:6:52"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3188:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3199:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3211:6:52","type":""}],"src":"3141:251:52"}]},"contents":"{\n    { }\n    function validator_revert_address(value)\n    {\n        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n    }\n    function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := calldataload(headStart)\n        let value := calldataload(add(headStart, 32))\n        validator_revert_address(value)\n        value1 := value\n    }\n    function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\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, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function abi_decode_tuple_t_addresst_bytes32(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        value1 := calldataload(add(headStart, 32))\n    }\n    function abi_encode_tuple_t_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_addresst_address(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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_address(value_2)\n        value2 := value_2\n    }\n    function abi_encode_tuple_t_address_t_address_t_address_t_address_t_address_t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837__to_t_address_t_address_t_address_t_address_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value4, value3, value2, value1, value0) -> tail\n    {\n        let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n        mstore(headStart, and(value0, _1))\n        mstore(add(headStart, 32), and(value1, _1))\n        mstore(add(headStart, 64), and(value2, _1))\n        mstore(add(headStart, 96), and(value3, _1))\n        mstore(add(headStart, 128), and(value4, _1))\n        mstore(add(headStart, 160), 192)\n        mstore(add(headStart, 192), 2)\n        mstore(add(headStart, 224), \"0x\")\n        tail := add(headStart, 256)\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}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100be5760003560e01c8063b500a48b11610076578063d9a641e11161005b578063d9a641e114610289578063e8ae2b69146102ca578063f89b66ec146102dd57600080fd5b8063b500a48b146101fe578063d547741f1461022557600080fd5b806331b25d1a116100a757806331b25d1a146101415780638da5cb5b1461017b578063ac4ab3fb146101c057600080fd5b80632cb8189e146100c35780632f2ff15d146100d8575b600080fd5b6100d66100d13660046104d7565b610369565b005b6100d66100e6366004610510565b73ffffffffffffffffffffffffffffffffffffffff16600090815260016020818152604080842094845293905291902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055565b6101687f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f581565b6040519081526020015b60405180910390f35b60005461019b9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610172565b6101ee6101ce366004610535565b600160209081526000928352604080842090915290825290205460ff1681565b6040519015158152602001610172565b6101687fb73ce166ead2f8e9add217713a7989e4edfba9625f71dfd2516204bb67ad344281565b6100d6610233366004610510565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602090815260408083209383529290522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b61019b6102973660046104d7565b600260209081526000928352604080842090915290825290205473ffffffffffffffffffffffffffffffffffffffff1681565b6101ee6102d8366004610510565b610451565b6100d66102eb366004610561565b73ffffffffffffffffffffffffffffffffffffffff928316600081815260026020818152604080842096881684529581528583208054979095167fffffffffffffffffffffffff0000000000000000000000000000000000000000978816811790955590815284822092825291909152919091208054909216179055565b6040517f1d0338d900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301526000602483018190526044830181905260648301819052608483015260c060a4830152600260c48301527f307800000000000000000000000000000000000000000000000000000000000060e4830152831690631d0338d990610104016020604051808303816000875af1158015610428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044c91906105ac565b505050565b6000805473ffffffffffffffffffffffffffffffffffffffff838116911614806104ab575073ffffffffffffffffffffffffffffffffffffffff8216600090815260016020908152604080832086845290915290205460ff165b9392505050565b73ffffffffffffffffffffffffffffffffffffffff811681146104d457600080fd5b50565b600080604083850312156104ea57600080fd5b82356104f5816104b2565b91506020830135610505816104b2565b809150509250929050565b6000806040838503121561052357600080fd5b823591506020830135610505816104b2565b6000806040838503121561054857600080fd5b8235610553816104b2565b946020939093013593505050565b60008060006060848603121561057657600080fd5b8335610581816104b2565b92506020840135610591816104b2565b915060408401356105a1816104b2565b809150509250925092565b6000602082840312156105be57600080fd5b81516104ab816104b256fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xBE JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xB500A48B GT PUSH2 0x76 JUMPI DUP1 PUSH4 0xD9A641E1 GT PUSH2 0x5B JUMPI DUP1 PUSH4 0xD9A641E1 EQ PUSH2 0x289 JUMPI DUP1 PUSH4 0xE8AE2B69 EQ PUSH2 0x2CA JUMPI DUP1 PUSH4 0xF89B66EC EQ PUSH2 0x2DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xB500A48B EQ PUSH2 0x1FE JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x225 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x31B25D1A GT PUSH2 0xA7 JUMPI DUP1 PUSH4 0x31B25D1A EQ PUSH2 0x141 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x17B JUMPI DUP1 PUSH4 0xAC4AB3FB EQ PUSH2 0x1C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2CB8189E EQ PUSH2 0xC3 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0xD8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD6 PUSH2 0xD1 CALLDATASIZE PUSH1 0x4 PUSH2 0x4D7 JUMP JUMPDEST PUSH2 0x369 JUMP JUMPDEST STOP JUMPDEST PUSH2 0xD6 PUSH2 0xE6 CALLDATASIZE PUSH1 0x4 PUSH2 0x510 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP5 DUP5 MSTORE SWAP4 SWAP1 MSTORE SWAP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 AND SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x168 PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x19B SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x172 JUMP JUMPDEST PUSH2 0x1EE PUSH2 0x1CE CALLDATASIZE PUSH1 0x4 PUSH2 0x535 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x172 JUMP JUMPDEST PUSH2 0x168 PUSH32 0xB73CE166EAD2F8E9ADD217713A7989E4EDFBA9625F71DFD2516204BB67AD3442 DUP2 JUMP JUMPDEST PUSH2 0xD6 PUSH2 0x233 CALLDATASIZE PUSH1 0x4 PUSH2 0x510 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 AND SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x19B PUSH2 0x297 CALLDATASIZE PUSH1 0x4 PUSH2 0x4D7 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x0 SWAP3 DUP4 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP1 SWAP2 MSTORE SWAP1 DUP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH2 0x1EE PUSH2 0x2D8 CALLDATASIZE PUSH1 0x4 PUSH2 0x510 JUMP JUMPDEST PUSH2 0x451 JUMP JUMPDEST PUSH2 0xD6 PUSH2 0x2EB CALLDATASIZE PUSH1 0x4 PUSH2 0x561 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SWAP7 DUP9 AND DUP5 MSTORE SWAP6 DUP2 MSTORE DUP6 DUP4 KECCAK256 DUP1 SLOAD SWAP8 SWAP1 SWAP6 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 SWAP8 DUP9 AND DUP2 OR SWAP1 SWAP6 SSTORE SWAP1 DUP2 MSTORE DUP5 DUP3 KECCAK256 SWAP3 DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE SWAP2 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD SWAP1 SWAP3 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x1D0338D900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x0 PUSH1 0x24 DUP4 ADD DUP2 SWAP1 MSTORE PUSH1 0x44 DUP4 ADD DUP2 SWAP1 MSTORE PUSH1 0x64 DUP4 ADD DUP2 SWAP1 MSTORE PUSH1 0x84 DUP4 ADD MSTORE PUSH1 0xC0 PUSH1 0xA4 DUP4 ADD MSTORE PUSH1 0x2 PUSH1 0xC4 DUP4 ADD MSTORE PUSH32 0x3078000000000000000000000000000000000000000000000000000000000000 PUSH1 0xE4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0x1D0338D9 SWAP1 PUSH2 0x104 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x428 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 0x44C SWAP2 SWAP1 PUSH2 0x5AC JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 AND SWAP2 AND EQ DUP1 PUSH2 0x4AB JUMPI POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 DUP7 DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x4D4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x4EA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x4F5 DUP2 PUSH2 0x4B2 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x505 DUP2 PUSH2 0x4B2 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x523 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x505 DUP2 PUSH2 0x4B2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x548 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x553 DUP2 PUSH2 0x4B2 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x576 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x581 DUP2 PUSH2 0x4B2 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x591 DUP2 PUSH2 0x4B2 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x5A1 DUP2 PUSH2 0x4B2 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x5BE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x4AB DUP2 PUSH2 0x4B2 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"212:1137:45:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1143:204;;;;;;:::i;:::-;;:::i;:::-;;777:99;;;;;;:::i;:::-;842:16;;;;;;867:4;842:16;;;;;;;;:22;;;;;;;;;:29;;;;;;;;;777:99;324:94;;378:40;324:94;;;;;1032:25:52;;;1020:2;1005:18;324:94:45;;;;;;;;423:20;;;;;;;;;;;;1244:42:52;1232:55;;;1214:74;;1202:2;1187:18;423:20:45;1068:226:52;448:59:45;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1784:14:52;;1777:22;1759:41;;1747:2;1732:18;448:59:45;1619:187:52;237:83:45;;288:32;237:83;;880:101;;;;;;:::i;:::-;946:16;;971:5;946:16;;;:7;:16;;;;;;;;:22;;;;;;;:30;;;;;;880:101;512:65;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;629:144;;;;;;:::i;:::-;;:::i;985:154::-;;;;;;:::i;:::-;1062:18;;;;;;;;:10;:18;;;;;;;;:26;;;;;;;;;;;:33;;;;;;;;;;;;;;;1101:18;;;;;;:26;;;;;;;;;;;:33;;;;;;;;985:154;1143:204;1225:117;;;;;:57;2747:15:52;;;1225:117:45;;;2729:34:52;1297:1:45;2779:18:52;;;2772:43;;;2831:18;;;2824:43;;;2883:18;;;2876:43;;;2935:19;;;2928:44;3009:3;2988:19;;;2981:32;3050:1;3029:19;;;3022:30;3089:4;3068:19;;;3061:33;1225:57:45;;;;;3111:19:52;;1225:117:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1143:204;;:::o;629:144::-;705:4;725:5;;:16;;;;:5;;:16;;:42;;-1:-1:-1;745:16:45;;;;;;;:7;:16;;;;;;;;:22;;;;;;;;;;;725:42;717:51;629:144;-1:-1:-1;;;629:144:45:o;14:154:52:-;100:42;93:5;89:54;82:5;79:65;69:93;;158:1;155;148:12;69:93;14:154;:::o;173:388::-;241:6;249;302:2;290:9;281:7;277:23;273:32;270:52;;;318:1;315;308:12;270:52;357:9;344:23;376:31;401:5;376:31;:::i;:::-;426:5;-1:-1:-1;483:2:52;468:18;;455:32;496:33;455:32;496:33;:::i;:::-;548:7;538:17;;;173:388;;;;;:::o;566:315::-;634:6;642;695:2;683:9;674:7;670:23;666:32;663:52;;;711:1;708;701:12;663:52;747:9;734:23;724:33;;807:2;796:9;792:18;779:32;820:31;845:5;820:31;:::i;1299:315::-;1367:6;1375;1428:2;1416:9;1407:7;1403:23;1399:32;1396:52;;;1444:1;1441;1434:12;1396:52;1483:9;1470:23;1502:31;1527:5;1502:31;:::i;:::-;1552:5;1604:2;1589:18;;;;1576:32;;-1:-1:-1;;;1299:315:52:o;1811:529::-;1888:6;1896;1904;1957:2;1945:9;1936:7;1932:23;1928:32;1925:52;;;1973:1;1970;1963:12;1925:52;2012:9;1999:23;2031:31;2056:5;2031:31;:::i;:::-;2081:5;-1:-1:-1;2138:2:52;2123:18;;2110:32;2151:33;2110:32;2151:33;:::i;:::-;2203:7;-1:-1:-1;2262:2:52;2247:18;;2234:32;2275:33;2234:32;2275:33;:::i;:::-;2327:7;2317:17;;;1811:529;;;;;:::o;3141:251::-;3211:6;3264:2;3252:9;3243:7;3239:23;3235:32;3232:52;;;3280:1;3277;3270:12;3232:52;3312:9;3306:16;3331:31;3356:5;3331:31;:::i"},"methodIdentifiers":{"ALGEBRA_BASE_PLUGIN_MANAGER()":"31b25d1a","POOLS_ADMINISTRATOR_ROLE()":"b500a48b","beforeCreatePoolHook(address,address)":"2cb8189e","grantRole(bytes32,address)":"2f2ff15d","hasRole(address,bytes32)":"ac4ab3fb","hasRoleOrOwner(bytes32,address)":"e8ae2b69","owner()":"8da5cb5b","poolByPair(address,address)":"d9a641e1","revokeRole(bytes32,address)":"d547741f","stubPool(address,address,address)":"f89b66ec"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ALGEBRA_BASE_PLUGIN_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOLS_ADMINISTRATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"pluginFactory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"beforeCreatePoolHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRoleOrOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"poolByPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"stubPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Mock of Algebra factory for plugins testing\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/MockFactory.sol\":\"MockFactory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]},\"contracts/test/MockFactory.sol\":{\"keccak256\":\"0x44a8219553e3c3e0dbbc669b192684e06a9ffca2ee2685a6135d71d6da32685a\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://8dc4f4e6c5ac765cbe1e4d2648a832ae85e07360319194fbcc780e3b495c7ebe\",\"dweb:/ipfs/QmXyV1MHReWpKibNxRFWb2sKxfRDJE89WkPDMrjNjAt4XP\"]}},\"version\":1}"}},"contracts/test/MockFeeDiscountRegistry.sol":{"MockFeeDiscountRegistry":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"uint16","name":"newDiscount","type":"uint16"}],"name":"FeeDiscount","type":"event"},{"inputs":[],"name":"FEE_DISCOUNT_DENOMINATOR","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"FEE_DISCOUNT_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"algebraFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"pool","type":"address"}],"name":"feeDiscounts","outputs":[{"internalType":"uint16","name":"feeDiscount","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address[]","name":"pools","type":"address[]"},{"internalType":"uint16[]","name":"newDiscounts","type":"uint16[]"}],"name":"setFeeDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"pool","type":"address"},{"internalType":"uint16","name":"discount","type":"uint16"}],"name":"setFeeDiscountSimple","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608060405234801561001057600080fd5b506105c4806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c8063a7b64b0411610050578063a7b64b04146100f4578063c7174fe314610103578063d2426f071461017757600080fd5b80631101ce3e1461007757806351f8ba46146100d7578063978e13ea146100df575b600080fd5b6100bf6100853660046102bb565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205461ffff1690565b60405161ffff90911681526020015b60405180910390f35b6103e86100bf565b6100f26100ed366004610414565b6101a5565b005b604051600081526020016100ce565b6100f26101113660046104e6565b73ffffffffffffffffffffffffffffffffffffffff9283166000908152602081815260408083209490951682529290925291902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff909216919091179055565b6040517fa49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e881526020016100ce565b60005b825181101561028c578181815181106101c3576101c3610529565b60200260200101516000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085848151811061021d5761021d610529565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550808061028490610558565b9150506101a8565b50505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146102b657600080fd5b919050565b600080604083850312156102ce57600080fd5b6102d783610292565b91506102e560208401610292565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610364576103646102ee565b604052919050565b600067ffffffffffffffff821115610386576103866102ee565b5060051b60200190565b803561ffff811681146102b657600080fd5b600082601f8301126103b357600080fd5b813560206103c86103c38361036c565b61031d565b82815260059290921b840181019181810190868411156103e757600080fd5b8286015b84811015610409576103fc81610390565b83529183019183016103eb565b509695505050505050565b60008060006060848603121561042957600080fd5b61043284610292565b925060208085013567ffffffffffffffff8082111561045057600080fd5b818701915087601f83011261046457600080fd5b81356104726103c38261036c565b81815260059190911b8301840190848101908a83111561049157600080fd5b938501935b828510156104b6576104a785610292565b82529385019390850190610496565b9650505060408701359250808311156104ce57600080fd5b50506104dc868287016103a2565b9150509250925092565b6000806000606084860312156104fb57600080fd5b61050484610292565b925061051260208501610292565b915061052060408501610390565b90509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036105b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x5C4 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 0x72 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA7B64B04 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0xA7B64B04 EQ PUSH2 0xF4 JUMPI DUP1 PUSH4 0xC7174FE3 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0xD2426F07 EQ PUSH2 0x177 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1101CE3E EQ PUSH2 0x77 JUMPI DUP1 PUSH4 0x51F8BA46 EQ PUSH2 0xD7 JUMPI DUP1 PUSH4 0x978E13EA EQ PUSH2 0xDF JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xBF PUSH2 0x85 CALLDATASIZE PUSH1 0x4 PUSH2 0x2BB JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD PUSH2 0xFFFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x3E8 PUSH2 0xBF JUMP JUMPDEST PUSH2 0xF2 PUSH2 0xED CALLDATASIZE PUSH1 0x4 PUSH2 0x414 JUMP JUMPDEST PUSH2 0x1A5 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xCE JUMP JUMPDEST PUSH2 0xF2 PUSH2 0x111 CALLDATASIZE PUSH1 0x4 PUSH2 0x4E6 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP6 AND DUP3 MSTORE SWAP3 SWAP1 SWAP3 MSTORE SWAP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xA49C1B804BB17A3ECB97D6C1EE253D7E7BF88B50D66BA600BB4B026E1FB144E8 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xCE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0x28C JUMPI DUP2 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x1C3 JUMPI PUSH2 0x1C3 PUSH2 0x529 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP6 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x21D JUMPI PUSH2 0x21D PUSH2 0x529 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH2 0xFFFF MUL NOT AND SWAP1 DUP4 PUSH2 0xFFFF AND MUL OR SWAP1 SSTORE POP DUP1 DUP1 PUSH2 0x284 SWAP1 PUSH2 0x558 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x1A8 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x2B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2CE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2D7 DUP4 PUSH2 0x292 JUMP JUMPDEST SWAP2 POP PUSH2 0x2E5 PUSH1 0x20 DUP5 ADD PUSH2 0x292 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x364 JUMPI PUSH2 0x364 PUSH2 0x2EE JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x386 JUMPI PUSH2 0x386 PUSH2 0x2EE JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0x2B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x3B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x20 PUSH2 0x3C8 PUSH2 0x3C3 DUP4 PUSH2 0x36C JUMP JUMPDEST PUSH2 0x31D JUMP JUMPDEST DUP3 DUP2 MSTORE PUSH1 0x5 SWAP3 SWAP1 SWAP3 SHL DUP5 ADD DUP2 ADD SWAP2 DUP2 DUP2 ADD SWAP1 DUP7 DUP5 GT ISZERO PUSH2 0x3E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 DUP7 ADD JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x409 JUMPI PUSH2 0x3FC DUP2 PUSH2 0x390 JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 DUP4 ADD PUSH2 0x3EB JUMP JUMPDEST POP SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x429 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x432 DUP5 PUSH2 0x292 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP1 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x450 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD SWAP2 POP DUP8 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x464 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x472 PUSH2 0x3C3 DUP3 PUSH2 0x36C JUMP JUMPDEST DUP2 DUP2 MSTORE PUSH1 0x5 SWAP2 SWAP1 SWAP2 SHL DUP4 ADD DUP5 ADD SWAP1 DUP5 DUP2 ADD SWAP1 DUP11 DUP4 GT ISZERO PUSH2 0x491 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 DUP6 ADD SWAP4 JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0x4B6 JUMPI PUSH2 0x4A7 DUP6 PUSH2 0x292 JUMP JUMPDEST DUP3 MSTORE SWAP4 DUP6 ADD SWAP4 SWAP1 DUP6 ADD SWAP1 PUSH2 0x496 JUMP JUMPDEST SWAP7 POP POP POP PUSH1 0x40 DUP8 ADD CALLDATALOAD SWAP3 POP DUP1 DUP4 GT ISZERO PUSH2 0x4CE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP PUSH2 0x4DC DUP7 DUP3 DUP8 ADD PUSH2 0x3A2 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x504 DUP5 PUSH2 0x292 JUMP JUMPDEST SWAP3 POP PUSH2 0x512 PUSH1 0x20 DUP6 ADD PUSH2 0x292 JUMP JUMPDEST SWAP2 POP PUSH2 0x520 PUSH1 0x40 DUP6 ADD PUSH2 0x390 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x5B0 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"213:1062:46:-:0;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@FEE_DISCOUNT_DENOMINATOR_6715":{"entryPoint":null,"id":6715,"parameterSlots":0,"returnSlots":1},"@FEE_DISCOUNT_MANAGER_6706":{"entryPoint":null,"id":6706,"parameterSlots":0,"returnSlots":1},"@algebraFactory_6695":{"entryPoint":null,"id":6695,"parameterSlots":0,"returnSlots":1},"@feeDiscounts_6627":{"entryPoint":null,"id":6627,"parameterSlots":2,"returnSlots":1},"@setFeeDiscountSimple_6683":{"entryPoint":null,"id":6683,"parameterSlots":3,"returnSlots":0},"@setFeeDiscount_6665":{"entryPoint":421,"id":6665,"parameterSlots":3,"returnSlots":0},"abi_decode_address":{"entryPoint":658,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_array_uint16_dyn":{"entryPoint":930,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_address":{"entryPoint":699,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_addresst_uint16":{"entryPoint":1254,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_array$_t_address_$dyn_memory_ptrt_array$_t_uint16_$dyn_memory_ptr":{"entryPoint":1044,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_uint16":{"entryPoint":912,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_address__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint16__to_t_uint16__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"allocate_memory":{"entryPoint":797,"id":null,"parameterSlots":1,"returnSlots":1},"array_allocation_size_array_address_dyn":{"entryPoint":876,"id":null,"parameterSlots":1,"returnSlots":1},"increment_t_uint256":{"entryPoint":1368,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x32":{"entryPoint":1321,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":750,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:4735:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"63:147:52","statements":[{"nodeType":"YulAssignment","src":"73:29:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"95:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"82:12:52"},"nodeType":"YulFunctionCall","src":"82:20:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"73:5:52"}]},{"body":{"nodeType":"YulBlock","src":"188:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"197:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"200:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"190:6:52"},"nodeType":"YulFunctionCall","src":"190:12:52"},"nodeType":"YulExpressionStatement","src":"190:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"124:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"135:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"142:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"131:3:52"},"nodeType":"YulFunctionCall","src":"131:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"121:2:52"},"nodeType":"YulFunctionCall","src":"121:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"114:6:52"},"nodeType":"YulFunctionCall","src":"114:73:52"},"nodeType":"YulIf","src":"111:93:52"}]},"name":"abi_decode_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"42:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"53:5:52","type":""}],"src":"14:196:52"},{"body":{"nodeType":"YulBlock","src":"302:173:52","statements":[{"body":{"nodeType":"YulBlock","src":"348:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"357:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"360:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"350:6:52"},"nodeType":"YulFunctionCall","src":"350:12:52"},"nodeType":"YulExpressionStatement","src":"350:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"323:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"332:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"319:3:52"},"nodeType":"YulFunctionCall","src":"319:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"344:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"315:3:52"},"nodeType":"YulFunctionCall","src":"315:32:52"},"nodeType":"YulIf","src":"312:52:52"},{"nodeType":"YulAssignment","src":"373:39:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"402:9:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"383:18:52"},"nodeType":"YulFunctionCall","src":"383:29:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"373:6:52"}]},{"nodeType":"YulAssignment","src":"421:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"454:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"465:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"450:3:52"},"nodeType":"YulFunctionCall","src":"450:18:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"431:18:52"},"nodeType":"YulFunctionCall","src":"431:38:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"421:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"260:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"271:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"283:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"291:6:52","type":""}],"src":"215:260:52"},{"body":{"nodeType":"YulBlock","src":"579:89:52","statements":[{"nodeType":"YulAssignment","src":"589:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"601:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"612:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"597:3:52"},"nodeType":"YulFunctionCall","src":"597:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"589:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"631:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"646:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"654:6:52","type":"","value":"0xffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"642:3:52"},"nodeType":"YulFunctionCall","src":"642:19:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"624:6:52"},"nodeType":"YulFunctionCall","src":"624:38:52"},"nodeType":"YulExpressionStatement","src":"624:38:52"}]},"name":"abi_encode_tuple_t_uint16__to_t_uint16__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"548:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"559:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"570:4:52","type":""}],"src":"480:188:52"},{"body":{"nodeType":"YulBlock","src":"705:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"722:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"725:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"715:6:52"},"nodeType":"YulFunctionCall","src":"715:88:52"},"nodeType":"YulExpressionStatement","src":"715:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"819:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"822:4:52","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"812:6:52"},"nodeType":"YulFunctionCall","src":"812:15:52"},"nodeType":"YulExpressionStatement","src":"812:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"843:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"846:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"836:6:52"},"nodeType":"YulFunctionCall","src":"836:15:52"},"nodeType":"YulExpressionStatement","src":"836:15:52"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"673:184:52"},{"body":{"nodeType":"YulBlock","src":"907:289:52","statements":[{"nodeType":"YulAssignment","src":"917:19:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"933:2:52","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"927:5:52"},"nodeType":"YulFunctionCall","src":"927:9:52"},"variableNames":[{"name":"memPtr","nodeType":"YulIdentifier","src":"917:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"945:117:52","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"967:6:52"},{"arguments":[{"arguments":[{"name":"size","nodeType":"YulIdentifier","src":"983:4:52"},{"kind":"number","nodeType":"YulLiteral","src":"989:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"979:3:52"},"nodeType":"YulFunctionCall","src":"979:13:52"},{"kind":"number","nodeType":"YulLiteral","src":"994:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"975:3:52"},"nodeType":"YulFunctionCall","src":"975:86:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"963:3:52"},"nodeType":"YulFunctionCall","src":"963:99:52"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"949:10:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1137:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"1139:16:52"},"nodeType":"YulFunctionCall","src":"1139:18:52"},"nodeType":"YulExpressionStatement","src":"1139:18:52"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1080:10:52"},{"kind":"number","nodeType":"YulLiteral","src":"1092:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1077:2:52"},"nodeType":"YulFunctionCall","src":"1077:34:52"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1116:10:52"},{"name":"memPtr","nodeType":"YulIdentifier","src":"1128:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1113:2:52"},"nodeType":"YulFunctionCall","src":"1113:22:52"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"1074:2:52"},"nodeType":"YulFunctionCall","src":"1074:62:52"},"nodeType":"YulIf","src":"1071:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1175:2:52","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"1179:10:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1168:6:52"},"nodeType":"YulFunctionCall","src":"1168:22:52"},"nodeType":"YulExpressionStatement","src":"1168:22:52"}]},"name":"allocate_memory","nodeType":"YulFunctionDefinition","parameters":[{"name":"size","nodeType":"YulTypedName","src":"887:4:52","type":""}],"returnVariables":[{"name":"memPtr","nodeType":"YulTypedName","src":"896:6:52","type":""}],"src":"862:334:52"},{"body":{"nodeType":"YulBlock","src":"1270:114:52","statements":[{"body":{"nodeType":"YulBlock","src":"1314:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"1316:16:52"},"nodeType":"YulFunctionCall","src":"1316:18:52"},"nodeType":"YulExpressionStatement","src":"1316:18:52"}]},"condition":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"1286:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1294:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1283:2:52"},"nodeType":"YulFunctionCall","src":"1283:30:52"},"nodeType":"YulIf","src":"1280:56:52"},{"nodeType":"YulAssignment","src":"1345:33:52","value":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1361:1:52","type":"","value":"5"},{"name":"length","nodeType":"YulIdentifier","src":"1364:6:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1357:3:52"},"nodeType":"YulFunctionCall","src":"1357:14:52"},{"kind":"number","nodeType":"YulLiteral","src":"1373:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1353:3:52"},"nodeType":"YulFunctionCall","src":"1353:25:52"},"variableNames":[{"name":"size","nodeType":"YulIdentifier","src":"1345:4:52"}]}]},"name":"array_allocation_size_array_address_dyn","nodeType":"YulFunctionDefinition","parameters":[{"name":"length","nodeType":"YulTypedName","src":"1250:6:52","type":""}],"returnVariables":[{"name":"size","nodeType":"YulTypedName","src":"1261:4:52","type":""}],"src":"1201:183:52"},{"body":{"nodeType":"YulBlock","src":"1437:111:52","statements":[{"nodeType":"YulAssignment","src":"1447:29:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1469:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1456:12:52"},"nodeType":"YulFunctionCall","src":"1456:20:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"1447:5:52"}]},{"body":{"nodeType":"YulBlock","src":"1526:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1535:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1538:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1528:6:52"},"nodeType":"YulFunctionCall","src":"1528:12:52"},"nodeType":"YulExpressionStatement","src":"1528:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1498:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1509:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"1516:6:52","type":"","value":"0xffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1505:3:52"},"nodeType":"YulFunctionCall","src":"1505:18:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1495:2:52"},"nodeType":"YulFunctionCall","src":"1495:29:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1488:6:52"},"nodeType":"YulFunctionCall","src":"1488:37:52"},"nodeType":"YulIf","src":"1485:57:52"}]},"name":"abi_decode_uint16","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"1416:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"1427:5:52","type":""}],"src":"1389:159:52"},{"body":{"nodeType":"YulBlock","src":"1616:603:52","statements":[{"body":{"nodeType":"YulBlock","src":"1665:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1674:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1677:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1667:6:52"},"nodeType":"YulFunctionCall","src":"1667:12:52"},"nodeType":"YulExpressionStatement","src":"1667:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1644:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1652:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1640:3:52"},"nodeType":"YulFunctionCall","src":"1640:17:52"},{"name":"end","nodeType":"YulIdentifier","src":"1659:3:52"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1636:3:52"},"nodeType":"YulFunctionCall","src":"1636:27:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1629:6:52"},"nodeType":"YulFunctionCall","src":"1629:35:52"},"nodeType":"YulIf","src":"1626:55:52"},{"nodeType":"YulVariableDeclaration","src":"1690:30:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1713:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1700:12:52"},"nodeType":"YulFunctionCall","src":"1700:20:52"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"1694:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1729:14:52","value":{"kind":"number","nodeType":"YulLiteral","src":"1739:4:52","type":"","value":"0x20"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"1733:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1752:71:52","value":{"arguments":[{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"1819:2:52"}],"functionName":{"name":"array_allocation_size_array_address_dyn","nodeType":"YulIdentifier","src":"1779:39:52"},"nodeType":"YulFunctionCall","src":"1779:43:52"}],"functionName":{"name":"allocate_memory","nodeType":"YulIdentifier","src":"1763:15:52"},"nodeType":"YulFunctionCall","src":"1763:60:52"},"variables":[{"name":"dst","nodeType":"YulTypedName","src":"1756:3:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1832:16:52","value":{"name":"dst","nodeType":"YulIdentifier","src":"1845:3:52"},"variables":[{"name":"dst_1","nodeType":"YulTypedName","src":"1836:5:52","type":""}]},{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"1864:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"1869:2:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1857:6:52"},"nodeType":"YulFunctionCall","src":"1857:15:52"},"nodeType":"YulExpressionStatement","src":"1857:15:52"},{"nodeType":"YulAssignment","src":"1881:19:52","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"1892:3:52"},{"name":"_2","nodeType":"YulIdentifier","src":"1897:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1888:3:52"},"nodeType":"YulFunctionCall","src":"1888:12:52"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"1881:3:52"}]},{"nodeType":"YulVariableDeclaration","src":"1909:46:52","value":{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1931:6:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1943:1:52","type":"","value":"5"},{"name":"_1","nodeType":"YulIdentifier","src":"1946:2:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1939:3:52"},"nodeType":"YulFunctionCall","src":"1939:10:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1927:3:52"},"nodeType":"YulFunctionCall","src":"1927:23:52"},{"name":"_2","nodeType":"YulIdentifier","src":"1952:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1923:3:52"},"nodeType":"YulFunctionCall","src":"1923:32:52"},"variables":[{"name":"srcEnd","nodeType":"YulTypedName","src":"1913:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1983:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1992:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1995:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1985:6:52"},"nodeType":"YulFunctionCall","src":"1985:12:52"},"nodeType":"YulExpressionStatement","src":"1985:12:52"}]},"condition":{"arguments":[{"name":"srcEnd","nodeType":"YulIdentifier","src":"1970:6:52"},{"name":"end","nodeType":"YulIdentifier","src":"1978:3:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1967:2:52"},"nodeType":"YulFunctionCall","src":"1967:15:52"},"nodeType":"YulIf","src":"1964:35:52"},{"nodeType":"YulVariableDeclaration","src":"2008:26:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"2023:6:52"},{"name":"_2","nodeType":"YulIdentifier","src":"2031:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2019:3:52"},"nodeType":"YulFunctionCall","src":"2019:15:52"},"variables":[{"name":"src","nodeType":"YulTypedName","src":"2012:3:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"2099:91:52","statements":[{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2120:3:52"},{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2143:3:52"}],"functionName":{"name":"abi_decode_uint16","nodeType":"YulIdentifier","src":"2125:17:52"},"nodeType":"YulFunctionCall","src":"2125:22:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2113:6:52"},"nodeType":"YulFunctionCall","src":"2113:35:52"},"nodeType":"YulExpressionStatement","src":"2113:35:52"},{"nodeType":"YulAssignment","src":"2161:19:52","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2172:3:52"},{"name":"_2","nodeType":"YulIdentifier","src":"2177:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2168:3:52"},"nodeType":"YulFunctionCall","src":"2168:12:52"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"2161:3:52"}]}]},"condition":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2054:3:52"},{"name":"srcEnd","nodeType":"YulIdentifier","src":"2059:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"2051:2:52"},"nodeType":"YulFunctionCall","src":"2051:15:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"2067:23:52","statements":[{"nodeType":"YulAssignment","src":"2069:19:52","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2080:3:52"},{"name":"_2","nodeType":"YulIdentifier","src":"2085:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2076:3:52"},"nodeType":"YulFunctionCall","src":"2076:12:52"},"variableNames":[{"name":"src","nodeType":"YulIdentifier","src":"2069:3:52"}]}]},"pre":{"nodeType":"YulBlock","src":"2047:3:52","statements":[]},"src":"2043:147:52"},{"nodeType":"YulAssignment","src":"2199:14:52","value":{"name":"dst_1","nodeType":"YulIdentifier","src":"2208:5:52"},"variableNames":[{"name":"array","nodeType":"YulIdentifier","src":"2199:5:52"}]}]},"name":"abi_decode_array_uint16_dyn","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"1590:6:52","type":""},{"name":"end","nodeType":"YulTypedName","src":"1598:3:52","type":""}],"returnVariables":[{"name":"array","nodeType":"YulTypedName","src":"1606:5:52","type":""}],"src":"1553:666:52"},{"body":{"nodeType":"YulBlock","src":"2377:1063:52","statements":[{"body":{"nodeType":"YulBlock","src":"2423:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2432:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2435:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2425:6:52"},"nodeType":"YulFunctionCall","src":"2425:12:52"},"nodeType":"YulExpressionStatement","src":"2425:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2398:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"2407:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2394:3:52"},"nodeType":"YulFunctionCall","src":"2394:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"2419:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2390:3:52"},"nodeType":"YulFunctionCall","src":"2390:32:52"},"nodeType":"YulIf","src":"2387:52:52"},{"nodeType":"YulAssignment","src":"2448:39:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2477:9:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"2458:18:52"},"nodeType":"YulFunctionCall","src":"2458:29:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2448:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"2496:12:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2506:2:52","type":"","value":"32"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2500:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2517:46:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2548:9:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2559:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2544:3:52"},"nodeType":"YulFunctionCall","src":"2544:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2531:12:52"},"nodeType":"YulFunctionCall","src":"2531:32:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"2521:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2572:28:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2582:18:52","type":"","value":"0xffffffffffffffff"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"2576:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"2627:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2636:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2639:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2629:6:52"},"nodeType":"YulFunctionCall","src":"2629:12:52"},"nodeType":"YulExpressionStatement","src":"2629:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"2615:6:52"},{"name":"_2","nodeType":"YulIdentifier","src":"2623:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2612:2:52"},"nodeType":"YulFunctionCall","src":"2612:14:52"},"nodeType":"YulIf","src":"2609:34:52"},{"nodeType":"YulVariableDeclaration","src":"2652:32:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2666:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"2677:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2662:3:52"},"nodeType":"YulFunctionCall","src":"2662:22:52"},"variables":[{"name":"_3","nodeType":"YulTypedName","src":"2656:2:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"2732:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2741:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2744:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2734:6:52"},"nodeType":"YulFunctionCall","src":"2734:12:52"},"nodeType":"YulExpressionStatement","src":"2734:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"2711:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"2715:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2707:3:52"},"nodeType":"YulFunctionCall","src":"2707:13:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"2722:7:52"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2703:3:52"},"nodeType":"YulFunctionCall","src":"2703:27:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2696:6:52"},"nodeType":"YulFunctionCall","src":"2696:35:52"},"nodeType":"YulIf","src":"2693:55:52"},{"nodeType":"YulVariableDeclaration","src":"2757:26:52","value":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"2780:2:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2767:12:52"},"nodeType":"YulFunctionCall","src":"2767:16:52"},"variables":[{"name":"_4","nodeType":"YulTypedName","src":"2761:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2792:71:52","value":{"arguments":[{"arguments":[{"name":"_4","nodeType":"YulIdentifier","src":"2859:2:52"}],"functionName":{"name":"array_allocation_size_array_address_dyn","nodeType":"YulIdentifier","src":"2819:39:52"},"nodeType":"YulFunctionCall","src":"2819:43:52"}],"functionName":{"name":"allocate_memory","nodeType":"YulIdentifier","src":"2803:15:52"},"nodeType":"YulFunctionCall","src":"2803:60:52"},"variables":[{"name":"dst","nodeType":"YulTypedName","src":"2796:3:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2872:16:52","value":{"name":"dst","nodeType":"YulIdentifier","src":"2885:3:52"},"variables":[{"name":"dst_1","nodeType":"YulTypedName","src":"2876:5:52","type":""}]},{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2904:3:52"},{"name":"_4","nodeType":"YulIdentifier","src":"2909:2:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2897:6:52"},"nodeType":"YulFunctionCall","src":"2897:15:52"},"nodeType":"YulExpressionStatement","src":"2897:15:52"},{"nodeType":"YulAssignment","src":"2921:19:52","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2932:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2937:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2928:3:52"},"nodeType":"YulFunctionCall","src":"2928:12:52"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"2921:3:52"}]},{"nodeType":"YulVariableDeclaration","src":"2949:42:52","value":{"arguments":[{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"2971:2:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2979:1:52","type":"","value":"5"},{"name":"_4","nodeType":"YulIdentifier","src":"2982:2:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2975:3:52"},"nodeType":"YulFunctionCall","src":"2975:10:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2967:3:52"},"nodeType":"YulFunctionCall","src":"2967:19:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2988:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2963:3:52"},"nodeType":"YulFunctionCall","src":"2963:28:52"},"variables":[{"name":"srcEnd","nodeType":"YulTypedName","src":"2953:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"3023:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3032:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3035:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3025:6:52"},"nodeType":"YulFunctionCall","src":"3025:12:52"},"nodeType":"YulExpressionStatement","src":"3025:12:52"}]},"condition":{"arguments":[{"name":"srcEnd","nodeType":"YulIdentifier","src":"3006:6:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3014:7:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3003:2:52"},"nodeType":"YulFunctionCall","src":"3003:19:52"},"nodeType":"YulIf","src":"3000:39:52"},{"nodeType":"YulVariableDeclaration","src":"3048:22:52","value":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"3063:2:52"},{"name":"_1","nodeType":"YulIdentifier","src":"3067:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3059:3:52"},"nodeType":"YulFunctionCall","src":"3059:11:52"},"variables":[{"name":"src","nodeType":"YulTypedName","src":"3052:3:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"3135:92:52","statements":[{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"3156:3:52"},{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3180:3:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"3161:18:52"},"nodeType":"YulFunctionCall","src":"3161:23:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3149:6:52"},"nodeType":"YulFunctionCall","src":"3149:36:52"},"nodeType":"YulExpressionStatement","src":"3149:36:52"},{"nodeType":"YulAssignment","src":"3198:19:52","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"3209:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"3214:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3205:3:52"},"nodeType":"YulFunctionCall","src":"3205:12:52"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"3198:3:52"}]}]},"condition":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3090:3:52"},{"name":"srcEnd","nodeType":"YulIdentifier","src":"3095:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"3087:2:52"},"nodeType":"YulFunctionCall","src":"3087:15:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"3103:23:52","statements":[{"nodeType":"YulAssignment","src":"3105:19:52","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3116:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"3121:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3112:3:52"},"nodeType":"YulFunctionCall","src":"3112:12:52"},"variableNames":[{"name":"src","nodeType":"YulIdentifier","src":"3105:3:52"}]}]},"pre":{"nodeType":"YulBlock","src":"3083:3:52","statements":[]},"src":"3079:148:52"},{"nodeType":"YulAssignment","src":"3236:15:52","value":{"name":"dst_1","nodeType":"YulIdentifier","src":"3246:5:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3236:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"3260:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3293:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3304:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3289:3:52"},"nodeType":"YulFunctionCall","src":"3289:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3276:12:52"},"nodeType":"YulFunctionCall","src":"3276:32:52"},"variables":[{"name":"offset_1","nodeType":"YulTypedName","src":"3264:8:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"3337:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3346:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3349:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3339:6:52"},"nodeType":"YulFunctionCall","src":"3339:12:52"},"nodeType":"YulExpressionStatement","src":"3339:12:52"}]},"condition":{"arguments":[{"name":"offset_1","nodeType":"YulIdentifier","src":"3323:8:52"},{"name":"_2","nodeType":"YulIdentifier","src":"3333:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3320:2:52"},"nodeType":"YulFunctionCall","src":"3320:16:52"},"nodeType":"YulIf","src":"3317:36:52"},{"nodeType":"YulAssignment","src":"3362:72:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3404:9:52"},{"name":"offset_1","nodeType":"YulIdentifier","src":"3415:8:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3400:3:52"},"nodeType":"YulFunctionCall","src":"3400:24:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3426:7:52"}],"functionName":{"name":"abi_decode_array_uint16_dyn","nodeType":"YulIdentifier","src":"3372:27:52"},"nodeType":"YulFunctionCall","src":"3372:62:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"3362:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_array$_t_address_$dyn_memory_ptrt_array$_t_uint16_$dyn_memory_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2327:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2338:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2350:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2358:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"2366:6:52","type":""}],"src":"2224:1216:52"},{"body":{"nodeType":"YulBlock","src":"3546:125:52","statements":[{"nodeType":"YulAssignment","src":"3556:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3568:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3579:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3564:3:52"},"nodeType":"YulFunctionCall","src":"3564:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3556:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3598:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3613:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3621:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3609:3:52"},"nodeType":"YulFunctionCall","src":"3609:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3591:6:52"},"nodeType":"YulFunctionCall","src":"3591:74:52"},"nodeType":"YulExpressionStatement","src":"3591:74:52"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3515:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3526:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3537:4:52","type":""}],"src":"3445:226:52"},{"body":{"nodeType":"YulBlock","src":"3779:229:52","statements":[{"body":{"nodeType":"YulBlock","src":"3825:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3834:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3837:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3827:6:52"},"nodeType":"YulFunctionCall","src":"3827:12:52"},"nodeType":"YulExpressionStatement","src":"3827:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3800:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"3809:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3796:3:52"},"nodeType":"YulFunctionCall","src":"3796:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"3821:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3792:3:52"},"nodeType":"YulFunctionCall","src":"3792:32:52"},"nodeType":"YulIf","src":"3789:52:52"},{"nodeType":"YulAssignment","src":"3850:39:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3879:9:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"3860:18:52"},"nodeType":"YulFunctionCall","src":"3860:29:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3850:6:52"}]},{"nodeType":"YulAssignment","src":"3898:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3931:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3942:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3927:3:52"},"nodeType":"YulFunctionCall","src":"3927:18:52"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"3908:18:52"},"nodeType":"YulFunctionCall","src":"3908:38:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3898:6:52"}]},{"nodeType":"YulAssignment","src":"3955:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3987:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3998:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3983:3:52"},"nodeType":"YulFunctionCall","src":"3983:18:52"}],"functionName":{"name":"abi_decode_uint16","nodeType":"YulIdentifier","src":"3965:17:52"},"nodeType":"YulFunctionCall","src":"3965:37:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"3955:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint16","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3729:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3740:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3752:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"3760:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"3768:6:52","type":""}],"src":"3676:332:52"},{"body":{"nodeType":"YulBlock","src":"4114:76:52","statements":[{"nodeType":"YulAssignment","src":"4124:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4136:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4147:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4132:3:52"},"nodeType":"YulFunctionCall","src":"4132:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"4124:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4166:9:52"},{"name":"value0","nodeType":"YulIdentifier","src":"4177:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4159:6:52"},"nodeType":"YulFunctionCall","src":"4159:25:52"},"nodeType":"YulExpressionStatement","src":"4159:25:52"}]},"name":"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4083:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"4094:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"4105:4:52","type":""}],"src":"4013:177:52"},{"body":{"nodeType":"YulBlock","src":"4227:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4244:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4247:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4237:6:52"},"nodeType":"YulFunctionCall","src":"4237:88:52"},"nodeType":"YulExpressionStatement","src":"4237:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4341:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"4344:4:52","type":"","value":"0x32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4334:6:52"},"nodeType":"YulFunctionCall","src":"4334:15:52"},"nodeType":"YulExpressionStatement","src":"4334:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4365:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4368:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4358:6:52"},"nodeType":"YulFunctionCall","src":"4358:15:52"},"nodeType":"YulExpressionStatement","src":"4358:15:52"}]},"name":"panic_error_0x32","nodeType":"YulFunctionDefinition","src":"4195:184:52"},{"body":{"nodeType":"YulBlock","src":"4431:302:52","statements":[{"body":{"nodeType":"YulBlock","src":"4530:168:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4551:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4554:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4544:6:52"},"nodeType":"YulFunctionCall","src":"4544:88:52"},"nodeType":"YulExpressionStatement","src":"4544:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4652:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"4655:4:52","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4645:6:52"},"nodeType":"YulFunctionCall","src":"4645:15:52"},"nodeType":"YulExpressionStatement","src":"4645:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4680:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4683:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4673:6:52"},"nodeType":"YulFunctionCall","src":"4673:15:52"},"nodeType":"YulExpressionStatement","src":"4673:15:52"}]},"condition":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4447:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"4454:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"4444:2:52"},"nodeType":"YulFunctionCall","src":"4444:77:52"},"nodeType":"YulIf","src":"4441:257:52"},{"nodeType":"YulAssignment","src":"4707:20:52","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4718:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"4725:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4714:3:52"},"nodeType":"YulFunctionCall","src":"4714:13:52"},"variableNames":[{"name":"ret","nodeType":"YulIdentifier","src":"4707:3:52"}]}]},"name":"increment_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"4413:5:52","type":""}],"returnVariables":[{"name":"ret","nodeType":"YulTypedName","src":"4423:3:52","type":""}],"src":"4384:349:52"}]},"contents":"{\n    { }\n    function abi_decode_address(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n    }\n    function abi_encode_tuple_t_uint16__to_t_uint16__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffff))\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function allocate_memory(size) -> memPtr\n    {\n        memPtr := mload(64)\n        let newFreePtr := add(memPtr, and(add(size, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0))\n        if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n        mstore(64, newFreePtr)\n    }\n    function array_allocation_size_array_address_dyn(length) -> size\n    {\n        if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n        size := add(shl(5, length), 0x20)\n    }\n    function abi_decode_uint16(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, and(value, 0xffff))) { revert(0, 0) }\n    }\n    function abi_decode_array_uint16_dyn(offset, end) -> array\n    {\n        if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n        let _1 := calldataload(offset)\n        let _2 := 0x20\n        let dst := allocate_memory(array_allocation_size_array_address_dyn(_1))\n        let dst_1 := dst\n        mstore(dst, _1)\n        dst := add(dst, _2)\n        let srcEnd := add(add(offset, shl(5, _1)), _2)\n        if gt(srcEnd, end) { revert(0, 0) }\n        let src := add(offset, _2)\n        for { } lt(src, srcEnd) { src := add(src, _2) }\n        {\n            mstore(dst, abi_decode_uint16(src))\n            dst := add(dst, _2)\n        }\n        array := dst_1\n    }\n    function abi_decode_tuple_t_addresst_array$_t_address_$dyn_memory_ptrt_array$_t_uint16_$dyn_memory_ptr(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        let _1 := 32\n        let offset := calldataload(add(headStart, _1))\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        let dst := allocate_memory(array_allocation_size_array_address_dyn(_4))\n        let dst_1 := dst\n        mstore(dst, _4)\n        dst := add(dst, _1)\n        let srcEnd := add(add(_3, shl(5, _4)), _1)\n        if gt(srcEnd, dataEnd) { revert(0, 0) }\n        let src := add(_3, _1)\n        for { } lt(src, srcEnd) { src := add(src, _1) }\n        {\n            mstore(dst, abi_decode_address(src))\n            dst := add(dst, _1)\n        }\n        value1 := dst_1\n        let offset_1 := calldataload(add(headStart, 64))\n        if gt(offset_1, _2) { revert(0, 0) }\n        value2 := abi_decode_array_uint16_dyn(add(headStart, offset_1), dataEnd)\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, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint16(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        value0 := abi_decode_address(headStart)\n        value1 := abi_decode_address(add(headStart, 32))\n        value2 := abi_decode_uint16(add(headStart, 64))\n    }\n    function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function panic_error_0x32()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x32)\n        revert(0, 0x24)\n    }\n    function increment_t_uint256(value) -> ret\n    {\n        if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n        {\n            mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x11)\n            revert(0, 0x24)\n        }\n        ret := add(value, 1)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100725760003560e01c8063a7b64b0411610050578063a7b64b04146100f4578063c7174fe314610103578063d2426f071461017757600080fd5b80631101ce3e1461007757806351f8ba46146100d7578063978e13ea146100df575b600080fd5b6100bf6100853660046102bb565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526020818152604080832093909416825291909152205461ffff1690565b60405161ffff90911681526020015b60405180910390f35b6103e86100bf565b6100f26100ed366004610414565b6101a5565b005b604051600081526020016100ce565b6100f26101113660046104e6565b73ffffffffffffffffffffffffffffffffffffffff9283166000908152602081815260408083209490951682529290925291902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff909216919091179055565b6040517fa49c1b804bb17a3ecb97d6c1ee253d7e7bf88b50d66ba600bb4b026e1fb144e881526020016100ce565b60005b825181101561028c578181815181106101c3576101c3610529565b60200260200101516000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085848151811061021d5761021d610529565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550808061028490610558565b9150506101a8565b50505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146102b657600080fd5b919050565b600080604083850312156102ce57600080fd5b6102d783610292565b91506102e560208401610292565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610364576103646102ee565b604052919050565b600067ffffffffffffffff821115610386576103866102ee565b5060051b60200190565b803561ffff811681146102b657600080fd5b600082601f8301126103b357600080fd5b813560206103c86103c38361036c565b61031d565b82815260059290921b840181019181810190868411156103e757600080fd5b8286015b84811015610409576103fc81610390565b83529183019183016103eb565b509695505050505050565b60008060006060848603121561042957600080fd5b61043284610292565b925060208085013567ffffffffffffffff8082111561045057600080fd5b818701915087601f83011261046457600080fd5b81356104726103c38261036c565b81815260059190911b8301840190848101908a83111561049157600080fd5b938501935b828510156104b6576104a785610292565b82529385019390850190610496565b9650505060408701359250808311156104ce57600080fd5b50506104dc868287016103a2565b9150509250925092565b6000806000606084860312156104fb57600080fd5b61050484610292565b925061051260208501610292565b915061052060408501610390565b90509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036105b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x72 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0xA7B64B04 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0xA7B64B04 EQ PUSH2 0xF4 JUMPI DUP1 PUSH4 0xC7174FE3 EQ PUSH2 0x103 JUMPI DUP1 PUSH4 0xD2426F07 EQ PUSH2 0x177 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1101CE3E EQ PUSH2 0x77 JUMPI DUP1 PUSH4 0x51F8BA46 EQ PUSH2 0xD7 JUMPI DUP1 PUSH4 0x978E13EA EQ PUSH2 0xDF JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xBF PUSH2 0x85 CALLDATASIZE PUSH1 0x4 PUSH2 0x2BB JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD PUSH2 0xFFFF AND SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x3E8 PUSH2 0xBF JUMP JUMPDEST PUSH2 0xF2 PUSH2 0xED CALLDATASIZE PUSH1 0x4 PUSH2 0x414 JUMP JUMPDEST PUSH2 0x1A5 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xCE JUMP JUMPDEST PUSH2 0xF2 PUSH2 0x111 CALLDATASIZE PUSH1 0x4 PUSH2 0x4E6 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP6 AND DUP3 MSTORE SWAP3 SWAP1 SWAP3 MSTORE SWAP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 AND PUSH2 0xFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xA49C1B804BB17A3ECB97D6C1EE253D7E7BF88B50D66BA600BB4B026E1FB144E8 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xCE JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0x28C JUMPI DUP2 DUP2 DUP2 MLOAD DUP2 LT PUSH2 0x1C3 JUMPI PUSH2 0x1C3 PUSH2 0x529 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH1 0x0 DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 DUP6 DUP5 DUP2 MLOAD DUP2 LT PUSH2 0x21D JUMPI PUSH2 0x21D PUSH2 0x529 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH2 0xFFFF MUL NOT AND SWAP1 DUP4 PUSH2 0xFFFF AND MUL OR SWAP1 SSTORE POP DUP1 DUP1 PUSH2 0x284 SWAP1 PUSH2 0x558 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x1A8 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x2B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2CE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x2D7 DUP4 PUSH2 0x292 JUMP JUMPDEST SWAP2 POP PUSH2 0x2E5 PUSH1 0x20 DUP5 ADD PUSH2 0x292 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x364 JUMPI PUSH2 0x364 PUSH2 0x2EE JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH2 0x386 JUMPI PUSH2 0x386 PUSH2 0x2EE JUMP JUMPDEST POP PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0x2B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x3B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x20 PUSH2 0x3C8 PUSH2 0x3C3 DUP4 PUSH2 0x36C JUMP JUMPDEST PUSH2 0x31D JUMP JUMPDEST DUP3 DUP2 MSTORE PUSH1 0x5 SWAP3 SWAP1 SWAP3 SHL DUP5 ADD DUP2 ADD SWAP2 DUP2 DUP2 ADD SWAP1 DUP7 DUP5 GT ISZERO PUSH2 0x3E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 DUP7 ADD JUMPDEST DUP5 DUP2 LT ISZERO PUSH2 0x409 JUMPI PUSH2 0x3FC DUP2 PUSH2 0x390 JUMP JUMPDEST DUP4 MSTORE SWAP2 DUP4 ADD SWAP2 DUP4 ADD PUSH2 0x3EB JUMP JUMPDEST POP SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x429 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x432 DUP5 PUSH2 0x292 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP1 DUP6 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x450 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP8 ADD SWAP2 POP DUP8 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x464 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x472 PUSH2 0x3C3 DUP3 PUSH2 0x36C JUMP JUMPDEST DUP2 DUP2 MSTORE PUSH1 0x5 SWAP2 SWAP1 SWAP2 SHL DUP4 ADD DUP5 ADD SWAP1 DUP5 DUP2 ADD SWAP1 DUP11 DUP4 GT ISZERO PUSH2 0x491 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 DUP6 ADD SWAP4 JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0x4B6 JUMPI PUSH2 0x4A7 DUP6 PUSH2 0x292 JUMP JUMPDEST DUP3 MSTORE SWAP4 DUP6 ADD SWAP4 SWAP1 DUP6 ADD SWAP1 PUSH2 0x496 JUMP JUMPDEST SWAP7 POP POP POP PUSH1 0x40 DUP8 ADD CALLDATALOAD SWAP3 POP DUP1 DUP4 GT ISZERO PUSH2 0x4CE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP PUSH2 0x4DC DUP7 DUP3 DUP8 ADD PUSH2 0x3A2 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x4FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x504 DUP5 PUSH2 0x292 JUMP JUMPDEST SWAP3 POP PUSH2 0x512 PUSH1 0x20 DUP6 ADD PUSH2 0x292 JUMP JUMPDEST SWAP2 POP PUSH2 0x520 PUSH1 0x40 DUP6 ADD PUSH2 0x390 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x5B0 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"213:1062:46:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;354:153;;;;;;:::i;:::-;474:19;;;;436:18;474:19;;;;;;;;;;;:25;;;;;;;;;;;;;;;354:153;;;;654:6:52;642:19;;;624:38;;612:2;597:18;354:153:46;;;;;;;;1166:106;1260:4;1166:106;;515:245;;;;;;:::i;:::-;;:::i;:::-;;915:103;;;973:7;3591:74:52;;3579:2;3564:18;915:103:46;3445:226:52;768:139:46;;;;;;:::i;:::-;863:19;;;;:13;:19;;;;;;;;;;;:25;;;;;;;;;;;;;:36;;;;;;;;;;;;;;768:139;1026:132;;;1117:33;4159:25:52;;4147:2;4132:18;1026:132:46;4013:177:52;515:245:46;641:9;636:117;660:5;:12;656:1;:16;636:117;;;726:12;739:1;726:15;;;;;;;;:::i;:::-;;;;;;;694:13;:19;708:4;694:19;;;;;;;;;;;;;;;:29;714:5;720:1;714:8;;;;;;;;:::i;:::-;;;;;;;694:29;;;;;;;;;;;;;;;;:47;;;;;;;;;;;;;;;;;;674:3;;;;;:::i;:::-;;;;636:117;;;;515:245;;;:::o;14:196:52:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:260::-;283:6;291;344:2;332:9;323:7;319:23;315:32;312:52;;;360:1;357;350:12;312:52;383:29;402:9;383:29;:::i;:::-;373:39;;431:38;465:2;454:9;450:18;431:38;:::i;:::-;421:48;;215:260;;;;;:::o;673:184::-;725:77;722:1;715:88;822:4;819:1;812:15;846:4;843:1;836:15;862:334;933:2;927:9;989:2;979:13;;994:66;975:86;963:99;;1092:18;1077:34;;1113:22;;;1074:62;1071:88;;;1139:18;;:::i;:::-;1175:2;1168:22;862:334;;-1:-1:-1;862:334:52:o;1201:183::-;1261:4;1294:18;1286:6;1283:30;1280:56;;;1316:18;;:::i;:::-;-1:-1:-1;1361:1:52;1357:14;1373:4;1353:25;;1201:183::o;1389:159::-;1456:20;;1516:6;1505:18;;1495:29;;1485:57;;1538:1;1535;1528:12;1553:666;1606:5;1659:3;1652:4;1644:6;1640:17;1636:27;1626:55;;1677:1;1674;1667:12;1626:55;1713:6;1700:20;1739:4;1763:60;1779:43;1819:2;1779:43;:::i;:::-;1763:60;:::i;:::-;1857:15;;;1943:1;1939:10;;;;1927:23;;1923:32;;;1888:12;;;;1967:15;;;1964:35;;;1995:1;1992;1985:12;1964:35;2031:2;2023:6;2019:15;2043:147;2059:6;2054:3;2051:15;2043:147;;;2125:22;2143:3;2125:22;:::i;:::-;2113:35;;2168:12;;;;2076;;2043:147;;;-1:-1:-1;2208:5:52;1553:666;-1:-1:-1;;;;;;1553:666:52:o;2224:1216::-;2350:6;2358;2366;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;2458:29;2477:9;2458:29;:::i;:::-;2448:39;;2506:2;2559;2548:9;2544:18;2531:32;2582:18;2623:2;2615:6;2612:14;2609:34;;;2639:1;2636;2629:12;2609:34;2677:6;2666:9;2662:22;2652:32;;2722:7;2715:4;2711:2;2707:13;2703:27;2693:55;;2744:1;2741;2734:12;2693:55;2780:2;2767:16;2803:60;2819:43;2859:2;2819:43;:::i;2803:60::-;2897:15;;;2979:1;2975:10;;;;2967:19;;2963:28;;;2928:12;;;;3003:19;;;3000:39;;;3035:1;3032;3025:12;3000:39;3059:11;;;;3079:148;3095:6;3090:3;3087:15;3079:148;;;3161:23;3180:3;3161:23;:::i;:::-;3149:36;;3112:12;;;;3205;;;;3079:148;;;3246:5;-1:-1:-1;;;3304:2:52;3289:18;;3276:32;;-1:-1:-1;3320:16:52;;;3317:36;;;3349:1;3346;3339:12;3317:36;;;3372:62;3426:7;3415:8;3404:9;3400:24;3372:62;:::i;:::-;3362:72;;;2224:1216;;;;;:::o;3676:332::-;3752:6;3760;3768;3821:2;3809:9;3800:7;3796:23;3792:32;3789:52;;;3837:1;3834;3827:12;3789:52;3860:29;3879:9;3860:29;:::i;:::-;3850:39;;3908:38;3942:2;3931:9;3927:18;3908:38;:::i;:::-;3898:48;;3965:37;3998:2;3987:9;3983:18;3965:37;:::i;:::-;3955:47;;3676:332;;;;;:::o;4195:184::-;4247:77;4244:1;4237:88;4344:4;4341:1;4334:15;4368:4;4365:1;4358:15;4384:349;4423:3;4454:66;4447:5;4444:77;4441:257;;4554:77;4551:1;4544:88;4655:4;4652:1;4645:15;4683:4;4680:1;4673:15;4441:257;-1:-1:-1;4725:1:52;4714:13;;4384:349::o"},"methodIdentifiers":{"FEE_DISCOUNT_DENOMINATOR()":"51f8ba46","FEE_DISCOUNT_MANAGER()":"d2426f07","algebraFactory()":"a7b64b04","feeDiscounts(address,address)":"1101ce3e","setFeeDiscount(address,address[],uint16[])":"978e13ea","setFeeDiscountSimple(address,address,uint16)":"c7174fe3"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"newDiscount\",\"type\":\"uint16\"}],\"name\":\"FeeDiscount\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FEE_DISCOUNT_DENOMINATOR\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_DISCOUNT_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"algebraFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"feeDiscounts\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"feeDiscount\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"pools\",\"type\":\"address[]\"},{\"internalType\":\"uint16[]\",\"name\":\"newDiscounts\",\"type\":\"uint16[]\"}],\"name\":\"setFeeDiscount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"discount\",\"type\":\"uint16\"}],\"name\":\"setFeeDiscountSimple\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Mock Fee Discount Registry for testing\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Simplified mock for unit tests\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/MockFeeDiscountRegistry.sol\":\"MockFeeDiscountRegistry\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IFeeDiscountRegistry.sol\":{\"keccak256\":\"0x21904fdeb60ce4df4a47668660e5d6c512c722f0bc38f3935b0a505346f267fd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1cbdebe7b9d97da98c52557cb680116c2df7080a4a6b08772b73846e9fe10e54\",\"dweb:/ipfs/QmdcWkBjqb4aWpvH6tkqm5RKgQ4GXGwBbaaZPtmC9fZWaP\"]},\"contracts/test/MockFeeDiscountRegistry.sol\":{\"keccak256\":\"0x6651b840b12e2c51e63a78d6ad6bab13993f88b5026eb4fe5c7865c7e82e6594\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://1d0643d518b2802ff193be4b2d59fe922ae0fe188fe9336ebc97e85ee9a849f3\",\"dweb:/ipfs/Qmf58hmr69a4Uj9a19vq5Z26dVcev1i9ezM3nFJSnZsRuW\"]}},\"version\":1}"}},"contracts/test/MockPluginFactory.sol":{"MockPluginFactory":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"6080604052348015600f57600080fd5b50601680601d6000396000f3fe6080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x16 DUP1 PUSH1 0x1D PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"172:92:47:-:0;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"6080604052600080fdfea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"172:92:47:-:0;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Mock Plugin Factory for testing\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Simplified mock of plugin factory for unit tests\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/MockPluginFactory.sol\":\"MockPluginFactory\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/test/MockPluginFactory.sol\":{\"keccak256\":\"0xb8b2833eceb04ebf2948fc2b61b5ec13b0d93d96285aa896f0457d30cacd6d50\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://480bf85da1b9b1b27111e7266bba1b710df162b2e667159d22b7f603c37296ed\",\"dweb:/ipfs/Qmb9MhcTqVvhw2f2NBsqbKJnw9FRCd51rixKfQpx2D4zup\"]}},\"version\":1}"}},"contracts/test/MockPool.sol":{"MockPool":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"invalidNewCommunityFee","type":"error"},{"inputs":[],"name":"invalidNewTickSpacing","type":"error"},{"inputs":[],"name":"priceOutOfRange","type":"error"},{"inputs":[],"name":"tickOutOfRange","type":"error"},{"inputs":[{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"uint128","name":"liquidityDesired","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"burn","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"uint128","name":"","type":"uint128"},{"internalType":"uint128","name":"","type":"uint128"}],"name":"collect","outputs":[{"internalType":"uint128","name":"","type":"uint128"},{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"communityVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCommunityFeePending","outputs":[{"internalType":"uint128","name":"","type":"uint128"},{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getPluginFeePending","outputs":[{"internalType":"uint128","name":"","type":"uint128"},{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint128","name":"","type":"uint128"},{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"globalState","outputs":[{"internalType":"uint160","name":"price","type":"uint160"},{"internalType":"int24","name":"tick","type":"int24"},{"internalType":"uint16","name":"fee","type":"uint16"},{"internalType":"uint8","name":"pluginConfig","type":"uint8"},{"internalType":"uint16","name":"communityFee","type":"uint16"},{"internalType":"bool","name":"unlocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint160","name":"initialPrice","type":"uint160"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isUnlocked","outputs":[{"internalType":"bool","name":"unlocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastFeeTransferTimestamp","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidity","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"int24","name":"bottomTick","type":"int24"},{"internalType":"int24","name":"topTick","type":"int24"},{"internalType":"uint128","name":"liquidityDesired","type":"uint128"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nextTickGlobal","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"overrideFee","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"plugin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pluginFee","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"positions","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"innerFeeGrowth0Token","type":"uint256"},{"internalType":"uint256","name":"innerFeeGrowth1Token","type":"uint256"},{"internalType":"uint128","name":"fees0","type":"uint128"},{"internalType":"uint128","name":"fees1","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prevTickGlobal","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"safelyGetStateOfAMM","outputs":[{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint128","name":"","type":"uint128"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint16","name":"newCommunityFee","type":"uint16"}],"name":"setCommunityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newCommunityVault","type":"address"}],"name":"setCommunityVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newFee","type":"uint16"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPluginAddress","type":"address"}],"name":"setPlugin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newConfig","type":"uint8"}],"name":"setPluginConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int24","name":"newTickSpacing","type":"int24"}],"name":"setTickSpacing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skim","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"swap","outputs":[{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"int24","name":"targetTick","type":"int24"}],"name":"swapToTick","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"swapWithPaymentInAdvance","outputs":[{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"tickSpacing","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int16","name":"","type":"int16"}],"name":"tickTable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickTreeRoot","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int16","name":"","type":"int16"}],"name":"tickTreeSecondLayer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int24","name":"","type":"int24"}],"name":"ticks","outputs":[{"internalType":"uint256","name":"liquidityTotal","type":"uint256"},{"internalType":"int128","name":"liquidityDelta","type":"int128"},{"internalType":"int24","name":"prevTick","type":"int24"},{"internalType":"int24","name":"nextTick","type":"int24"},{"internalType":"uint256","name":"outerFeeGrowth0Token","type":"uint256"},{"internalType":"uint256","name":"outerFeeGrowth1Token","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeGrowth0Token","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeGrowth1Token","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_6924":{"entryPoint":null,"id":6924,"parameterSlots":0,"returnSlots":0}},"generatedSources":[],"linkReferences":{},"object":"608060405234801561001057600080fd5b506002805464400000007d60ba1b65ff000000ffff60b81b19909116179055600b80546001600160a01b031916331790556126ff806100506000396000f3fe608060405234801561001057600080fd5b50600436106102ad5760003560e01c8063998e2cbe1161017b578063d8619037116100d8578063ef01df4f1161008c578063f30dba9311610071578063f30dba9314610cd3578063f637731d14610d89578063fff6cae91461042d57600080fd5b8063ef01df4f14610c93578063f085a61014610cb357600080fd5b8063e47cd4cf116100bd578063e47cd4cf14610b50578063e76c01e414610b70578063ecdecf4214610c8a57600080fd5b8063d861903714610b04578063ddca3f4314610b3157600080fd5b8063c677e3e01161012f578063d0c93a7c11610114578063d0c93a7c14610a73578063d5c35a7e14610a9a578063d8544cf314610aa757600080fd5b8063c677e3e014610a13578063cc1f97cf14610a4057600080fd5b8063a1eded8711610160578063a1eded87146102dd578063aafe29c014610900578063bca57f81146109f357600080fd5b8063998e2cbe1461086c5780639e4e02271461089357600080fd5b8063514ea4bf1161022957806377f8c3a9116101dd5780638380edb7116101c25780638380edb71461079a5780638e005553146107d457806397ce1c51146107f557600080fd5b806377f8c3a91461076d5780637bd78025146102dd57600080fd5b8063578b9a361161020e578063578b9a36146106e75780636378ae441461071057806367c25a471461072b57600080fd5b8063514ea4bf146105f557806353e978681461069e57600080fd5b80631dd19cb4116102805780633b3bc70e116102655780633b3bc70e14610458578063490e6cbc146104f55780634f1eb3d81461058e57600080fd5b80631dd19cb41461042d578063240a875a1461043757600080fd5b8063050a4d21146102b25780630902f1ac146102dd578063128acb08146103265780631a686502146103e2575b600080fd5b6003546102c6906301000000900460020b81565b6040805160029290920b8252519081900360200190f35b6102e5610dbc565b60405180836fffffffffffffffffffffffffffffffff168152602001826fffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b6103c9600480360360a081101561033c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135151592604082013592606083013516919081019060a08101608082013564010000000081111561038a57600080fd5b82018360208201111561039c57600080fd5b803590602001918460018302840111640100000000831117156103be57600080fd5b509092509050610e28565b6040805192835260208301919091528051918290030190f35b60035461040890660100000000000090046fffffffffffffffffffffffffffffffff1681565b604080516fffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610435610e94565b005b6104356004803603602081101561044d57600080fd5b503561ffff16610efb565b6103c96004803603608081101561046e57600080fd5b8135600290810b92602081013590910b916fffffffffffffffffffffffffffffffff60408301351691908101906080810160608201356401000000008111156104b657600080fd5b8201836020820111156104c857600080fd5b803590602001918460018302840111640100000000831117156104ea57600080fd5b509092509050610fbf565b6104356004803603608081101561050b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516916020810135916040820135919081019060808101606082013564010000000081111561054f57600080fd5b82018360208201111561056157600080fd5b8035906020019184600183028401116401000000008311171561058357600080fd5b50909250905061123b565b6102e5600480360360a08110156105a457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135600290810b91604081013590910b906fffffffffffffffffffffffffffffffff60608201358116916080013516610e28565b61065e6004803603602081101561060b57600080fd5b50600a60205235600090815260409020805460018201546002830154600390930154919290916fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041685565b604080519586526020860194909452848401929092526fffffffffffffffffffffffffffffffff9081166060850152166080830152519081900360a00190f35b6007546106be9073ffffffffffffffffffffffffffffffffffffffff1681565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6004546106f79063ffffffff1681565b6040805163ffffffff9092168252519081900360200190f35b61071960005481565b60408051918252519081900360200190f35b600b546107559077010000000000000000000000000000000000000000000000900462ffffff1681565b6040805162ffffff9092168252519081900360200190f35b6003546106f790790100000000000000000000000000000000000000000000000000900463ffffffff1681565b6002547c0100000000000000000000000000000000000000000000000000000000900460ff16604080519115158252519081900360200190f35b610435600480360360208110156107ea57600080fd5b503561ffff16611453565b6107fd61156d565b6040805173ffffffffffffffffffffffffffffffffffffffff9098168852600296870b602089015261ffff9095168786015260ff90931660608701526fffffffffffffffffffffffffffffffff9091166080860152830b60a085015290910b60c0830152519081900360e00190f35b600b546107559074010000000000000000000000000000000000000000900462ffffff1681565b6103c9600480360360c08110156108a957600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135821692604082013515159260608301359260808101359091169181019060c0810160a082013564010000000081111561038a57600080fd5b6109c3600480360360c081101561091657600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135600290810b92606081013590910b916fffffffffffffffffffffffffffffffff608083013516919081019060c0810160a082013564010000000081111561098457600080fd5b82018360208201111561099657600080fd5b803590602001918460018302840111640100000000831117156109b857600080fd5b5090925090506115e2565b6040805193845260208401929092526fffffffffffffffffffffffffffffffff1682820152519081900360600190f35b61043560048036036020811015610a0957600080fd5b503560ff1661186a565b61071960048036036020811015610a2957600080fd5b5060096020523560010b6000908152604090205481565b61043560048036036020811015610a5657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611901565b6003546102c690760100000000000000000000000000000000000000000000900460020b81565b6003546102c69060020b81565b61043560048036036020811015610abd57600080fd5b50600780547fffffffffffffffffffffffff000000000000000000000000000000000000000016913573ffffffffffffffffffffffffffffffffffffffff16919091179055565b61071960048036036020811015610b1a57600080fd5b5060056020523560010b6000908152604090205481565b610b3961196c565b6040805161ffff9092168252519081900360200190f35b61043560048036036020811015610b6657600080fd5b503560020b6119d5565b60028054610c339173ffffffffffffffffffffffffffffffffffffffff82169174010000000000000000000000000000000000000000810490910b9061ffff77010000000000000000000000000000000000000000000000820481169160ff79010000000000000000000000000000000000000000000000000082048116927a010000000000000000000000000000000000000000000000000000830416917c010000000000000000000000000000000000000000000000000000000090041686565b6040805173ffffffffffffffffffffffffffffffffffffffff909716875260029590950b602087015261ffff9384168686015260ff90921660608601529091166080840152151560a0830152519081900360c00190f35b61071960015481565b6006546106be9073ffffffffffffffffffffffffffffffffffffffff1681565b61043560048036036020811015610cc957600080fd5b503560020b611cd4565b610d4d60048036036020811015610ce957600080fd5b50600860205235600290810b60009081526040902080546001820154828401546003909301549193600f82900b937001000000000000000000000000000000008304820b9373010000000000000000000000000000000000000090930490910b9186565b60408051968752600f9590950b6020870152600293840b868601529190920b6060850152608084019190915260a0830152519081900360c00190f35b61043560048036036020811015610d9f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611da0565b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f7420696d706c656d656e74656400000000000000000000000000000000006044820152905160009182919081900360640190fd5b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7420696d706c656d656e74656400000000000000000000000000000000006044820152905160009182919081900360640190fd5b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7420696d706c656d656e7465640000000000000000000000000000000000604482015290519081900360640190fd5b6103e861ffff82161180610f35575060025461ffff8281167a01000000000000000000000000000000000000000000000000000090920416145b15610f6c576040517fa709b9af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002805461ffff9092167a010000000000000000000000000000000000000000000000000000027fffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60025460009081907901000000000000000000000000000000000000000000000000009004600416156110ef5760065473ffffffffffffffffffffffffffffffffffffffff16635e2411b233808a8a6110178b61268d565b8a8a6040518863ffffffff1660e01b8152600401808873ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff1681526020018660020b81526020018560020b815260200184600f0b8152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509850505050505050505060408051808303816000875af11580156110d6573d6000803e3d6000fd5b505050506040513d60408110156110ec57600080fd5b50505b60025479010000000000000000000000000000000000000000000000000090046008161561122c5760065473ffffffffffffffffffffffffffffffffffffffff1663d685201033808a8a6111428b61268d565b6000808c8c6040518a63ffffffff1660e01b8152600401808a73ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff1681526020018860020b81526020018760020b815260200186600f0b8152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509a50505050505050505050506020604051808303816000875af1158015611213573d6000803e3d6000fd5b505050506040513d602081101561122957600080fd5b50505b50600096879650945050505050565b600254790100000000000000000000000000000000000000000000000000900460ff8116906010161561134a576006546040517f8de0a8ee000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff8a81166024850152604484018a90526064840189905260a06084850190815260a48501889052941693638de0a8ee938b928b928b928b928b92909160c401848480828437600081840152601f19601f8201169050808301925050509750505050505050506020604051808303816000875af1158015611331573d6000803e3d6000fd5b505050506040513d602081101561134757600080fd5b50505b602081161561144b576006546040517f343d37ff000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff8a81166024850152604484018a90526064840189905260006084850181905260a4850181905260e060c4860190815260e48601899052919095169463343d37ff948c938c938c939283928d928d9261010401848480828437600081840152601f19601f82011690508083019250505099505050505050505050506020604051808303816000875af1158015611432573d6000803e3d6000fd5b505050506040513d602081101561144857600080fd5b50505b505050505050565b600b5473ffffffffffffffffffffffffffffffffffffffff16331480611490575060065473ffffffffffffffffffffffffffffffffffffffff1633145b61149957600080fd5b60025460065479010000000000000000000000000000000000000000000000000090910460801615159073ffffffffffffffffffffffffffffffffffffffff1633036114ee57806114e957600080fd5b61151c565b801580156115135750600b5473ffffffffffffffffffffffffffffffffffffffff1633145b61151c57600080fd5b506002805461ffff90921677010000000000000000000000000000000000000000000000027fffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f7420696d706c656d656e74656400000000000000000000000000000000006044820152905160009182918291829182918291829181900360640190fd5b60025460009081908190790100000000000000000000000000000000000000000000000000900460041615611701576006546040517f5e2411b2000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff8d8116602485015260028d810b60448601528c900b6064850152600f8b900b608485015260c060a4850190815260c485018a9052941693635e2411b2938e928e928e928e928e928e9260e401848480828437600081840152601f19601f8201169050808301925050509850505050505050505060408051808303816000875af11580156116e8573d6000803e3d6000fd5b505050506040513d60408110156116fe57600080fd5b50505b60025479010000000000000000000000000000000000000000000000000090046008161561185657600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d6852010338b8b8b8b6000808d8d6040518a63ffffffff1660e01b8152600401808a73ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff1681526020018860020b81526020018760020b815260200186600f0b8152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509a50505050505050505050506020604051808303816000875af115801561183d573d6000803e3d6000fd5b505050506040513d602081101561185357600080fd5b50505b506000998a99508998509650505050505050565b600b5473ffffffffffffffffffffffffffffffffffffffff163314806118a7575060065473ffffffffffffffffffffffffffffffffffffffff1633145b6118b057600080fd5b6002805460ff909216790100000000000000000000000000000000000000000000000000027fffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b600b5473ffffffffffffffffffffffffffffffffffffffff16331461192557600080fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f7420696d706c656d656e74656400000000000000000000000000000000006044820152905160009181900360640190fd5b60065460025473ffffffffffffffffffffffffffffffffffffffff90911690790100000000000000000000000000000000000000000000000000900460011615611b7357604080517f029c1cb700000000000000000000000000000000000000000000000000000000815233600482018190526024820152600160448201526000606482018190526084820181905260a4820181905260e060c483015260e48201819052915173ffffffffffffffffffffffffffffffffffffffff84169263029c1cb792610104808201936060939092839003909101908290875af1158015611ac2573d6000803e3d6000fd5b505050506040513d6060811015611ad857600080fd5b506020810151604090910151600b80547fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff167701000000000000000000000000000000000000000000000062ffffff938416027fffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff16177401000000000000000000000000000000000000000092909316919091029190911790555b611b7c82611fd8565b6002805473ffffffffffffffffffffffffffffffffffffffff929092167fffffffffffffffffff0000000000000000000000000000000000000000000000909216919091177401000000000000000000000000000000000000000062ffffff8516021780825579010000000000000000000000000000000000000000000000000090041615611cd057604080517f9cb5a96300000000000000000000000000000000000000000000000000000000815233600482018190526024820152600160448201526000606482018190526084820181905260a4820181905260c4820181905261010060e48301526101048201819052915173ffffffffffffffffffffffffffffffffffffffff841692639cb5a96392610124808201936020939092839003909101908290875af1158015611cb7573d6000803e3d6000fd5b505050506040513d6020811015611ccd57600080fd5b50505b5050565b60008160020b131580611cec57506101f4600282900b135b80611d195750600354600282810b760100000000000000000000000000000000000000000000909204900b145b15611d50576040517fafe09f4400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003805462ffffff909216760100000000000000000000000000000000000000000000027fffffffffffffff000000ffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000611dab826122f7565b60065490915073ffffffffffffffffffffffffffffffffffffffff1615611e6557600654604080517f636fd80400000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff85811660248301529151919092169163636fd80491604480830192602092919082900301816000875af1158015611e4c573d6000803e3d6000fd5b505050506040513d6020811015611e6257600080fd5b50505b600380547fffffffffffffff000000ffffffffffffffffffffffffffffffffffffffffffff16763c000000000000000000000000000000000000000000001790556002805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffff00000000000000000000000000000000000000000000008216177401000000000000000000000000000000000000000062ffffff85160217909155790100000000000000000000000000000000000000000000000000900460ff81169060401615611fd357600654604080517f82dd652200000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff8681166024830152600286900b6044830152915191909216916382dd652291606480830192602092919082900301816000875af1158015611fba573d6000803e3d6000fd5b505050506040513d6020811015611fd057600080fd5b50505b505050565b6000600282900b60171d62ffffff818401821816620d89e8811115612029576040517f3c10250f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b700100000000000000000000000000000000600182161561205757506ffffcb933bd6fad37aa2d162d1a5940015b6002821615612076576ffff97272373d413259a46990580e213a0260801c5b6004821615612095576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b60088216156120b4576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b60108216156120d3576fffcb9843d60f6159c9db58835c9266440260801c5b60208216156120f2576fff973b41fa98c081472e6896dfb254c00260801c5b6040821615612111576fff2ea16466c96a3843ec78b326b528610260801c5b6080821615612130576ffe5dee046a99a2a811c461f1969c30530260801c5b610100821615612150576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b610200821615612170576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615612190576ff3392b0822b70005940c7a398e4b70f30260801c5b6108008216156121b0576fe7159475a2c29b7443b29c7fa6e889d90260801c5b6110008216156121d0576fd097f3bdfd2022b8845ad8f792aa58250260801c5b6120008216156121f0576fa9f746462d870fdf8a65dc1f90e061e50260801c5b614000821615612210576f70d869a156d2a1b890bb3df62baf32f70260801c5b618000821615612230576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615612251576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615612271576e5d6af8dedb81196699c329225ee6040260801c5b6204000082106122b7576204000082161561229a576d2216e584f5fa1ea926041bedfe980260801c5b620800008216156122b7576b048a170391f7dc42444e8fa20260801c5b60008560020b13156122e6577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff045b63ffffffff0160201c949350505050565b60006401000276a373ffffffffffffffffffffffffffffffffffffffff8316108061234c575073fffd8963efd1fc6a506488495d951d5263988d2673ffffffffffffffffffffffffffffffffffffffff831610155b15612383576040517f55cf1e2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b77ffffffffffffffffffffffffffffffffffffffff00000000602083901b166fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211600190811b92831c9790881196179094179092171790911717176080811061242d57607f810383901c9150612437565b80607f0383901b91505b908002607f81811c60ff83811c9190911c800280831c81831c1c800280841c81841c1c800280851c81851c1c800280861c81861c1c800280871c81871c1c800280881c81881c1c800280891c81891c1c8002808a1c818a1c1c8002808b1c818b1c1c8002808c1c818c1c1c8002808d1c818d1c1c8002808e1c9c81901c9c909c1c80029c8d901c9e9d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808f0160401b60c09190911c678000000000000000161760c19b909b1c674000000000000000169a909a1760c29990991c672000000000000000169890981760c39790971c671000000000000000169690961760c49590951c670800000000000000169490941760c59390931c670400000000000000169290921760c69190911c670200000000000000161760c79190911c670100000000000000161760c89190911c6680000000000000161760c99190911c6640000000000000161760ca9190911c6620000000000000161760cb9190911c6610000000000000161760cc9190911c6608000000000000161760cd9190911c66040000000000001617693627a301d71055774c8581027ffffffffffffffffffffffffffffffffffd709b7e5480fba5a50fed5e62ffc5568101608090811d906fdb2df09e81959a81455e260799a0632f8301901d600281810b9083900b1461267e578873ffffffffffffffffffffffffffffffffffffffff1661265682611fd8565b73ffffffffffffffffffffffffffffffffffffffff1611156126785781612680565b80612680565b815b9998505050505050505050565b600081600f0b7fffffffffffffffffffffffffffffffff8000000000000000000000000000000081036126e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000039291505056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 DUP1 SLOAD PUSH5 0x400000007D PUSH1 0xBA SHL PUSH6 0xFF000000FFFF PUSH1 0xB8 SHL NOT SWAP1 SWAP2 AND OR SWAP1 SSTORE PUSH1 0xB DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER OR SWAP1 SSTORE PUSH2 0x26FF DUP1 PUSH2 0x50 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 0x2AD JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x998E2CBE GT PUSH2 0x17B JUMPI DUP1 PUSH4 0xD8619037 GT PUSH2 0xD8 JUMPI DUP1 PUSH4 0xEF01DF4F GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xF30DBA93 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xF30DBA93 EQ PUSH2 0xCD3 JUMPI DUP1 PUSH4 0xF637731D EQ PUSH2 0xD89 JUMPI DUP1 PUSH4 0xFFF6CAE9 EQ PUSH2 0x42D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xEF01DF4F EQ PUSH2 0xC93 JUMPI DUP1 PUSH4 0xF085A610 EQ PUSH2 0xCB3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xE47CD4CF GT PUSH2 0xBD JUMPI DUP1 PUSH4 0xE47CD4CF EQ PUSH2 0xB50 JUMPI DUP1 PUSH4 0xE76C01E4 EQ PUSH2 0xB70 JUMPI DUP1 PUSH4 0xECDECF42 EQ PUSH2 0xC8A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xD8619037 EQ PUSH2 0xB04 JUMPI DUP1 PUSH4 0xDDCA3F43 EQ PUSH2 0xB31 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC677E3E0 GT PUSH2 0x12F JUMPI DUP1 PUSH4 0xD0C93A7C GT PUSH2 0x114 JUMPI DUP1 PUSH4 0xD0C93A7C EQ PUSH2 0xA73 JUMPI DUP1 PUSH4 0xD5C35A7E EQ PUSH2 0xA9A JUMPI DUP1 PUSH4 0xD8544CF3 EQ PUSH2 0xAA7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC677E3E0 EQ PUSH2 0xA13 JUMPI DUP1 PUSH4 0xCC1F97CF EQ PUSH2 0xA40 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xA1EDED87 GT PUSH2 0x160 JUMPI DUP1 PUSH4 0xA1EDED87 EQ PUSH2 0x2DD JUMPI DUP1 PUSH4 0xAAFE29C0 EQ PUSH2 0x900 JUMPI DUP1 PUSH4 0xBCA57F81 EQ PUSH2 0x9F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x998E2CBE EQ PUSH2 0x86C JUMPI DUP1 PUSH4 0x9E4E0227 EQ PUSH2 0x893 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x514EA4BF GT PUSH2 0x229 JUMPI DUP1 PUSH4 0x77F8C3A9 GT PUSH2 0x1DD JUMPI DUP1 PUSH4 0x8380EDB7 GT PUSH2 0x1C2 JUMPI DUP1 PUSH4 0x8380EDB7 EQ PUSH2 0x79A JUMPI DUP1 PUSH4 0x8E005553 EQ PUSH2 0x7D4 JUMPI DUP1 PUSH4 0x97CE1C51 EQ PUSH2 0x7F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x77F8C3A9 EQ PUSH2 0x76D JUMPI DUP1 PUSH4 0x7BD78025 EQ PUSH2 0x2DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x578B9A36 GT PUSH2 0x20E JUMPI DUP1 PUSH4 0x578B9A36 EQ PUSH2 0x6E7 JUMPI DUP1 PUSH4 0x6378AE44 EQ PUSH2 0x710 JUMPI DUP1 PUSH4 0x67C25A47 EQ PUSH2 0x72B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x514EA4BF EQ PUSH2 0x5F5 JUMPI DUP1 PUSH4 0x53E97868 EQ PUSH2 0x69E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1DD19CB4 GT PUSH2 0x280 JUMPI DUP1 PUSH4 0x3B3BC70E GT PUSH2 0x265 JUMPI DUP1 PUSH4 0x3B3BC70E EQ PUSH2 0x458 JUMPI DUP1 PUSH4 0x490E6CBC EQ PUSH2 0x4F5 JUMPI DUP1 PUSH4 0x4F1EB3D8 EQ PUSH2 0x58E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1DD19CB4 EQ PUSH2 0x42D JUMPI DUP1 PUSH4 0x240A875A EQ PUSH2 0x437 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x50A4D21 EQ PUSH2 0x2B2 JUMPI DUP1 PUSH4 0x902F1AC EQ PUSH2 0x2DD JUMPI DUP1 PUSH4 0x128ACB08 EQ PUSH2 0x326 JUMPI DUP1 PUSH4 0x1A686502 EQ PUSH2 0x3E2 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x2C6 SWAP1 PUSH4 0x1000000 SWAP1 DIV PUSH1 0x2 SIGNEXTEND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 SWAP3 SWAP1 SWAP3 SIGNEXTEND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x2E5 PUSH2 0xDBC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP4 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x3C9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x33C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 CALLDATALOAD DUP2 AND SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP3 PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP3 PUSH1 0x60 DUP4 ADD CALLDATALOAD AND SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0xA0 DUP2 ADD PUSH1 0x80 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x38A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x39C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x3BE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0xE28 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP1 SUB ADD SWAP1 RETURN JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x408 SWAP1 PUSH7 0x1000000000000 SWAP1 DIV PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH2 0xE94 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x44D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH2 0xFFFF AND PUSH2 0xEFB JUMP JUMPDEST PUSH2 0x3C9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x80 DUP2 LT ISZERO PUSH2 0x46E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x2 SWAP1 DUP2 SIGNEXTEND SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 SIGNEXTEND SWAP2 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x40 DUP4 ADD CALLDATALOAD AND SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0x80 DUP2 ADD PUSH1 0x60 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x4B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x4C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x4EA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0xFBF JUMP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x80 DUP2 LT ISZERO PUSH2 0x50B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 CALLDATALOAD AND SWAP2 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP2 PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0x80 DUP2 ADD PUSH1 0x60 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x54F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x561 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x583 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x123B JUMP JUMPDEST PUSH2 0x2E5 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x5A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 CALLDATALOAD AND SWAP1 PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH1 0x2 SWAP1 DUP2 SIGNEXTEND SWAP2 PUSH1 0x40 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 SIGNEXTEND SWAP1 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x60 DUP3 ADD CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x80 ADD CALLDATALOAD AND PUSH2 0xE28 JUMP JUMPDEST PUSH2 0x65E PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x60B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0xA PUSH1 0x20 MSTORE CALLDATALOAD PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 DUP3 ADD SLOAD PUSH1 0x2 DUP4 ADD SLOAD PUSH1 0x3 SWAP1 SWAP4 ADD SLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP3 AND SWAP2 PUSH17 0x100000000000000000000000000000000 SWAP1 DIV AND DUP6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP6 DUP7 MSTORE PUSH1 0x20 DUP7 ADD SWAP5 SWAP1 SWAP5 MSTORE DUP5 DUP5 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH1 0x60 DUP6 ADD MSTORE AND PUSH1 0x80 DUP4 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0xA0 ADD SWAP1 RETURN JUMPDEST PUSH1 0x7 SLOAD PUSH2 0x6BE SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x6F7 SWAP1 PUSH4 0xFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH4 0xFFFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x719 PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH1 0xB SLOAD PUSH2 0x755 SWAP1 PUSH24 0x10000000000000000000000000000000000000000000000 SWAP1 DIV PUSH3 0xFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH3 0xFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x6F7 SWAP1 PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH4 0xFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH29 0x100000000000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF AND PUSH1 0x40 DUP1 MLOAD SWAP2 ISZERO ISZERO DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x7EA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH2 0xFFFF AND PUSH2 0x1453 JUMP JUMPDEST PUSH2 0x7FD PUSH2 0x156D JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP9 AND DUP9 MSTORE PUSH1 0x2 SWAP7 DUP8 SIGNEXTEND PUSH1 0x20 DUP10 ADD MSTORE PUSH2 0xFFFF SWAP1 SWAP6 AND DUP8 DUP7 ADD MSTORE PUSH1 0xFF SWAP1 SWAP4 AND PUSH1 0x60 DUP8 ADD MSTORE PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND PUSH1 0x80 DUP7 ADD MSTORE DUP4 SIGNEXTEND PUSH1 0xA0 DUP6 ADD MSTORE SWAP1 SWAP2 SIGNEXTEND PUSH1 0xC0 DUP4 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0xE0 ADD SWAP1 RETURN JUMPDEST PUSH1 0xB SLOAD PUSH2 0x755 SWAP1 PUSH21 0x10000000000000000000000000000000000000000 SWAP1 DIV PUSH3 0xFFFFFF AND DUP2 JUMP JUMPDEST PUSH2 0x3C9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xC0 DUP2 LT ISZERO PUSH2 0x8A9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 CALLDATALOAD DUP2 AND SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 AND SWAP3 PUSH1 0x40 DUP3 ADD CALLDATALOAD ISZERO ISZERO SWAP3 PUSH1 0x60 DUP4 ADD CALLDATALOAD SWAP3 PUSH1 0x80 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 AND SWAP2 DUP2 ADD SWAP1 PUSH1 0xC0 DUP2 ADD PUSH1 0xA0 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x38A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x9C3 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xC0 DUP2 LT ISZERO PUSH2 0x916 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 CALLDATALOAD DUP2 AND SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 AND SWAP2 PUSH1 0x40 DUP3 ADD CALLDATALOAD PUSH1 0x2 SWAP1 DUP2 SIGNEXTEND SWAP3 PUSH1 0x60 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 SIGNEXTEND SWAP2 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x80 DUP4 ADD CALLDATALOAD AND SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0xC0 DUP2 ADD PUSH1 0xA0 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x984 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x996 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x9B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x15E2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP4 DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 DUP3 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x60 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xA09 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0xFF AND PUSH2 0x186A JUMP JUMPDEST PUSH2 0x719 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xA29 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x9 PUSH1 0x20 MSTORE CALLDATALOAD PUSH1 0x1 SIGNEXTEND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xA56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1901 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x2C6 SWAP1 PUSH23 0x100000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x2 SIGNEXTEND DUP2 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x2C6 SWAP1 PUSH1 0x2 SIGNEXTEND DUP2 JUMP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xABD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x7 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x719 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xB1A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x5 PUSH1 0x20 MSTORE CALLDATALOAD PUSH1 0x1 SIGNEXTEND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xB39 PUSH2 0x196C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH2 0xFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xB66 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x19D5 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH2 0xC33 SWAP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP2 PUSH21 0x10000000000000000000000000000000000000000 DUP2 DIV SWAP1 SWAP2 SIGNEXTEND SWAP1 PUSH2 0xFFFF PUSH24 0x10000000000000000000000000000000000000000000000 DUP3 DIV DUP2 AND SWAP2 PUSH1 0xFF PUSH26 0x100000000000000000000000000000000000000000000000000 DUP3 DIV DUP2 AND SWAP3 PUSH27 0x10000000000000000000000000000000000000000000000000000 DUP4 DIV AND SWAP2 PUSH29 0x100000000000000000000000000000000000000000000000000000000 SWAP1 DIV AND DUP7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP8 AND DUP8 MSTORE PUSH1 0x2 SWAP6 SWAP1 SWAP6 SIGNEXTEND PUSH1 0x20 DUP8 ADD MSTORE PUSH2 0xFFFF SWAP4 DUP5 AND DUP7 DUP7 ADD MSTORE PUSH1 0xFF SWAP1 SWAP3 AND PUSH1 0x60 DUP7 ADD MSTORE SWAP1 SWAP2 AND PUSH1 0x80 DUP5 ADD MSTORE ISZERO ISZERO PUSH1 0xA0 DUP4 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0xC0 ADD SWAP1 RETURN JUMPDEST PUSH2 0x719 PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH2 0x6BE SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xCC9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x1CD4 JUMP JUMPDEST PUSH2 0xD4D PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xCE9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x8 PUSH1 0x20 MSTORE CALLDATALOAD PUSH1 0x2 SWAP1 DUP2 SIGNEXTEND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 DUP3 ADD SLOAD DUP3 DUP5 ADD SLOAD PUSH1 0x3 SWAP1 SWAP4 ADD SLOAD SWAP2 SWAP4 PUSH1 0xF DUP3 SWAP1 SIGNEXTEND SWAP4 PUSH17 0x100000000000000000000000000000000 DUP4 DIV DUP3 SIGNEXTEND SWAP4 PUSH20 0x100000000000000000000000000000000000000 SWAP1 SWAP4 DIV SWAP1 SWAP2 SIGNEXTEND SWAP2 DUP7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP7 DUP8 MSTORE PUSH1 0xF SWAP6 SWAP1 SWAP6 SIGNEXTEND PUSH1 0x20 DUP8 ADD MSTORE PUSH1 0x2 SWAP4 DUP5 SIGNEXTEND DUP7 DUP7 ADD MSTORE SWAP2 SWAP1 SWAP3 SIGNEXTEND PUSH1 0x60 DUP6 ADD MSTORE PUSH1 0x80 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0xA0 DUP4 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0xC0 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xD9F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1DA0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x6E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 DUP3 SWAP2 SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 DUP3 SWAP2 SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH2 0x3E8 PUSH2 0xFFFF DUP3 AND GT DUP1 PUSH2 0xF35 JUMPI POP PUSH1 0x2 SLOAD PUSH2 0xFFFF DUP3 DUP2 AND PUSH27 0x10000000000000000000000000000000000000000000000000000 SWAP1 SWAP3 DIV AND EQ JUMPDEST ISZERO PUSH2 0xF6C JUMPI PUSH1 0x40 MLOAD PUSH32 0xA709B9AF00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH2 0xFFFF SWAP1 SWAP3 AND PUSH27 0x10000000000000000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x4 AND ISZERO PUSH2 0x10EF JUMPI PUSH1 0x6 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x5E2411B2 CALLER DUP1 DUP11 DUP11 PUSH2 0x1017 DUP12 PUSH2 0x268D JUMP JUMPDEST DUP11 DUP11 PUSH1 0x40 MLOAD DUP9 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP9 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP7 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP5 PUSH1 0xF SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP5 DUP5 DUP3 DUP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP9 POP POP POP POP POP POP POP POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x10D6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x10EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST PUSH1 0x2 SLOAD PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x8 AND ISZERO PUSH2 0x122C JUMPI PUSH1 0x6 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xD6852010 CALLER DUP1 DUP11 DUP11 PUSH2 0x1142 DUP12 PUSH2 0x268D JUMP JUMPDEST PUSH1 0x0 DUP1 DUP13 DUP13 PUSH1 0x40 MLOAD DUP11 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP10 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP9 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP8 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP7 PUSH1 0xF SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP5 DUP5 DUP3 DUP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP11 POP POP POP POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1213 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1229 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP PUSH1 0x0 SWAP7 DUP8 SWAP7 POP SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF DUP2 AND SWAP1 PUSH1 0x10 AND ISZERO PUSH2 0x134A JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH32 0x8DE0A8EE00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 DUP2 AND PUSH1 0x24 DUP6 ADD MSTORE PUSH1 0x44 DUP5 ADD DUP11 SWAP1 MSTORE PUSH1 0x64 DUP5 ADD DUP10 SWAP1 MSTORE PUSH1 0xA0 PUSH1 0x84 DUP6 ADD SWAP1 DUP2 MSTORE PUSH1 0xA4 DUP6 ADD DUP9 SWAP1 MSTORE SWAP5 AND SWAP4 PUSH4 0x8DE0A8EE SWAP4 DUP12 SWAP3 DUP12 SWAP3 DUP12 SWAP3 DUP12 SWAP3 DUP12 SWAP3 SWAP1 SWAP2 PUSH1 0xC4 ADD DUP5 DUP5 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP8 POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1331 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1347 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST PUSH1 0x20 DUP2 AND ISZERO PUSH2 0x144B JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH32 0x343D37FF00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 DUP2 AND PUSH1 0x24 DUP6 ADD MSTORE PUSH1 0x44 DUP5 ADD DUP11 SWAP1 MSTORE PUSH1 0x64 DUP5 ADD DUP10 SWAP1 MSTORE PUSH1 0x0 PUSH1 0x84 DUP6 ADD DUP2 SWAP1 MSTORE PUSH1 0xA4 DUP6 ADD DUP2 SWAP1 MSTORE PUSH1 0xE0 PUSH1 0xC4 DUP7 ADD SWAP1 DUP2 MSTORE PUSH1 0xE4 DUP7 ADD DUP10 SWAP1 MSTORE SWAP2 SWAP1 SWAP6 AND SWAP5 PUSH4 0x343D37FF SWAP5 DUP13 SWAP4 DUP13 SWAP4 DUP13 SWAP4 SWAP3 DUP4 SWAP3 DUP14 SWAP3 DUP14 SWAP3 PUSH2 0x104 ADD DUP5 DUP5 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP10 POP POP POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1432 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1448 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xB SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ DUP1 PUSH2 0x1490 JUMPI POP PUSH1 0x6 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ JUMPDEST PUSH2 0x1499 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x6 SLOAD PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH1 0x80 AND ISZERO ISZERO SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER SUB PUSH2 0x14EE JUMPI DUP1 PUSH2 0x14E9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x151C JUMP JUMPDEST DUP1 ISZERO DUP1 ISZERO PUSH2 0x1513 JUMPI POP PUSH1 0xB SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ JUMPDEST PUSH2 0x151C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 DUP1 SLOAD PUSH2 0xFFFF SWAP1 SWAP3 AND PUSH24 0x10000000000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x6E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x0 SWAP1 DUP2 SWAP1 DUP2 SWAP1 PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x4 AND ISZERO PUSH2 0x1701 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH32 0x5E2411B200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP14 DUP2 AND PUSH1 0x24 DUP6 ADD MSTORE PUSH1 0x2 DUP14 DUP2 SIGNEXTEND PUSH1 0x44 DUP7 ADD MSTORE DUP13 SWAP1 SIGNEXTEND PUSH1 0x64 DUP6 ADD MSTORE PUSH1 0xF DUP12 SWAP1 SIGNEXTEND PUSH1 0x84 DUP6 ADD MSTORE PUSH1 0xC0 PUSH1 0xA4 DUP6 ADD SWAP1 DUP2 MSTORE PUSH1 0xC4 DUP6 ADD DUP11 SWAP1 MSTORE SWAP5 AND SWAP4 PUSH4 0x5E2411B2 SWAP4 DUP15 SWAP3 DUP15 SWAP3 DUP15 SWAP3 DUP15 SWAP3 DUP15 SWAP3 DUP15 SWAP3 PUSH1 0xE4 ADD DUP5 DUP5 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP9 POP POP POP POP POP POP POP POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x16E8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x16FE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST PUSH1 0x2 SLOAD PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x8 AND ISZERO PUSH2 0x1856 JUMPI PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xD6852010 CALLER DUP12 DUP12 DUP12 DUP12 PUSH1 0x0 DUP1 DUP14 DUP14 PUSH1 0x40 MLOAD DUP11 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP10 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP9 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP8 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP7 PUSH1 0xF SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP5 DUP5 DUP3 DUP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP11 POP POP POP POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x183D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1853 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP PUSH1 0x0 SWAP10 DUP11 SWAP10 POP DUP10 SWAP9 POP SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xB SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ DUP1 PUSH2 0x18A7 JUMPI POP PUSH1 0x6 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ JUMPDEST PUSH2 0x18B0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH1 0xFF SWAP1 SWAP3 AND PUSH26 0x100000000000000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFFFFFF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0xB SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x1925 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x6 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x6E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND SWAP1 PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x1 AND ISZERO PUSH2 0x1B73 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x29C1CB700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x0 PUSH1 0x64 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x84 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0xA4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0xE0 PUSH1 0xC4 DUP4 ADD MSTORE PUSH1 0xE4 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND SWAP3 PUSH4 0x29C1CB7 SWAP3 PUSH2 0x104 DUP1 DUP3 ADD SWAP4 PUSH1 0x60 SWAP4 SWAP1 SWAP3 DUP4 SWAP1 SUB SWAP1 SWAP2 ADD SWAP1 DUP3 SWAP1 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1AC2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x60 DUP2 LT ISZERO PUSH2 0x1AD8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x40 SWAP1 SWAP2 ADD MLOAD PUSH1 0xB DUP1 SLOAD PUSH32 0xFFFFFFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH24 0x10000000000000000000000000000000000000000000000 PUSH3 0xFFFFFF SWAP4 DUP5 AND MUL PUSH32 0xFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND OR PUSH21 0x10000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP4 AND SWAP2 SWAP1 SWAP2 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH2 0x1B7C DUP3 PUSH2 0x1FD8 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND PUSH32 0xFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000000000 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR PUSH21 0x10000000000000000000000000000000000000000 PUSH3 0xFFFFFF DUP6 AND MUL OR DUP1 DUP3 SSTORE PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV AND ISZERO PUSH2 0x1CD0 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x9CB5A96300000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x0 PUSH1 0x64 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x84 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0xA4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0xC4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH2 0x100 PUSH1 0xE4 DUP4 ADD MSTORE PUSH2 0x104 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND SWAP3 PUSH4 0x9CB5A963 SWAP3 PUSH2 0x124 DUP1 DUP3 ADD SWAP4 PUSH1 0x20 SWAP4 SWAP1 SWAP3 DUP4 SWAP1 SUB SWAP1 SWAP2 ADD SWAP1 DUP3 SWAP1 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1CB7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1CCD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x2 SIGNEXTEND SGT ISZERO DUP1 PUSH2 0x1CEC JUMPI POP PUSH2 0x1F4 PUSH1 0x2 DUP3 SWAP1 SIGNEXTEND SGT JUMPDEST DUP1 PUSH2 0x1D19 JUMPI POP PUSH1 0x3 SLOAD PUSH1 0x2 DUP3 DUP2 SIGNEXTEND PUSH23 0x100000000000000000000000000000000000000000000 SWAP1 SWAP3 DIV SWAP1 SIGNEXTEND EQ JUMPDEST ISZERO PUSH2 0x1D50 JUMPI PUSH1 0x40 MLOAD PUSH32 0xAFE09F4400000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x3 DUP1 SLOAD PUSH3 0xFFFFFF SWAP1 SWAP3 AND PUSH23 0x100000000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1DAB DUP3 PUSH2 0x22F7 JUMP JUMPDEST PUSH1 0x6 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND ISZERO PUSH2 0x1E65 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH32 0x636FD80400000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE SWAP2 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP2 PUSH4 0x636FD804 SWAP2 PUSH1 0x44 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1E4C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1E62 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST PUSH1 0x3 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH23 0x3C00000000000000000000000000000000000000000000 OR SWAP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH32 0xFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000000000 DUP3 AND OR PUSH21 0x10000000000000000000000000000000000000000 PUSH3 0xFFFFFF DUP6 AND MUL OR SWAP1 SWAP2 SSTORE PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF DUP2 AND SWAP1 PUSH1 0x40 AND ISZERO PUSH2 0x1FD3 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH32 0x82DD652200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x2 DUP7 SWAP1 SIGNEXTEND PUSH1 0x44 DUP4 ADD MSTORE SWAP2 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP2 PUSH4 0x82DD6522 SWAP2 PUSH1 0x64 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1FBA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1FD0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 SWAP1 SIGNEXTEND PUSH1 0x17 SAR PUSH3 0xFFFFFF DUP2 DUP5 ADD DUP3 XOR AND PUSH3 0xD89E8 DUP2 GT ISZERO PUSH2 0x2029 JUMPI PUSH1 0x40 MLOAD PUSH32 0x3C10250F00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH17 0x100000000000000000000000000000000 PUSH1 0x1 DUP3 AND ISZERO PUSH2 0x2057 JUMPI POP PUSH16 0xFFFCB933BD6FAD37AA2D162D1A594001 JUMPDEST PUSH1 0x2 DUP3 AND ISZERO PUSH2 0x2076 JUMPI PUSH16 0xFFF97272373D413259A46990580E213A MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x4 DUP3 AND ISZERO PUSH2 0x2095 JUMPI PUSH16 0xFFF2E50F5F656932EF12357CF3C7FDCC MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x8 DUP3 AND ISZERO PUSH2 0x20B4 JUMPI PUSH16 0xFFE5CACA7E10E4E61C3624EAA0941CD0 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x10 DUP3 AND ISZERO PUSH2 0x20D3 JUMPI PUSH16 0xFFCB9843D60F6159C9DB58835C926644 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x20 DUP3 AND ISZERO PUSH2 0x20F2 JUMPI PUSH16 0xFF973B41FA98C081472E6896DFB254C0 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x40 DUP3 AND ISZERO PUSH2 0x2111 JUMPI PUSH16 0xFF2EA16466C96A3843EC78B326B52861 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x80 DUP3 AND ISZERO PUSH2 0x2130 JUMPI PUSH16 0xFE5DEE046A99A2A811C461F1969C3053 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x100 DUP3 AND ISZERO PUSH2 0x2150 JUMPI PUSH16 0xFCBE86C7900A88AEDCFFC83B479AA3A4 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x200 DUP3 AND ISZERO PUSH2 0x2170 JUMPI PUSH16 0xF987A7253AC413176F2B074CF7815E54 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x400 DUP3 AND ISZERO PUSH2 0x2190 JUMPI PUSH16 0xF3392B0822B70005940C7A398E4B70F3 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x800 DUP3 AND ISZERO PUSH2 0x21B0 JUMPI PUSH16 0xE7159475A2C29B7443B29C7FA6E889D9 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x1000 DUP3 AND ISZERO PUSH2 0x21D0 JUMPI PUSH16 0xD097F3BDFD2022B8845AD8F792AA5825 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x2000 DUP3 AND ISZERO PUSH2 0x21F0 JUMPI PUSH16 0xA9F746462D870FDF8A65DC1F90E061E5 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x4000 DUP3 AND ISZERO PUSH2 0x2210 JUMPI PUSH16 0x70D869A156D2A1B890BB3DF62BAF32F7 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x8000 DUP3 AND ISZERO PUSH2 0x2230 JUMPI PUSH16 0x31BE135F97D08FD981231505542FCFA6 MUL PUSH1 0x80 SHR JUMPDEST PUSH3 0x10000 DUP3 AND ISZERO PUSH2 0x2251 JUMPI PUSH16 0x9AA508B5B7A84E1C677DE54F3E99BC9 MUL PUSH1 0x80 SHR JUMPDEST PUSH3 0x20000 DUP3 AND ISZERO PUSH2 0x2271 JUMPI PUSH15 0x5D6AF8DEDB81196699C329225EE604 MUL PUSH1 0x80 SHR JUMPDEST PUSH3 0x40000 DUP3 LT PUSH2 0x22B7 JUMPI PUSH3 0x40000 DUP3 AND ISZERO PUSH2 0x229A JUMPI PUSH14 0x2216E584F5FA1EA926041BEDFE98 MUL PUSH1 0x80 SHR JUMPDEST PUSH3 0x80000 DUP3 AND ISZERO PUSH2 0x22B7 JUMPI PUSH12 0x48A170391F7DC42444E8FA2 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x0 DUP6 PUSH1 0x2 SIGNEXTEND SGT ISZERO PUSH2 0x22E6 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DIV JUMPDEST PUSH4 0xFFFFFFFF ADD PUSH1 0x20 SHR SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH5 0x1000276A3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND LT DUP1 PUSH2 0x234C JUMPI POP PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D26 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND LT ISZERO JUMPDEST ISZERO PUSH2 0x2383 JUMPI PUSH1 0x40 MLOAD PUSH32 0x55CF1E2300000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH24 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000 PUSH1 0x20 DUP4 SWAP1 SHL AND PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 GT PUSH1 0x7 SHL DUP2 DUP2 SHR PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH1 0x6 SHL SWAP1 DUP2 SHR PUSH4 0xFFFFFFFF DUP2 GT PUSH1 0x5 SHL SWAP1 DUP2 SHR PUSH2 0xFFFF DUP2 GT PUSH1 0x4 SHL SWAP1 DUP2 SHR PUSH1 0xFF DUP2 GT PUSH1 0x3 SWAP1 DUP2 SHL SWAP2 DUP3 SHR PUSH1 0xF DUP2 GT PUSH1 0x2 SHL SWAP1 DUP2 SHR SWAP2 DUP3 GT PUSH1 0x1 SWAP1 DUP2 SHL SWAP3 DUP4 SHR SWAP8 SWAP1 DUP9 GT SWAP7 OR SWAP1 SWAP5 OR SWAP1 SWAP3 OR OR SWAP1 SWAP2 OR OR OR PUSH1 0x80 DUP2 LT PUSH2 0x242D JUMPI PUSH1 0x7F DUP2 SUB DUP4 SWAP1 SHR SWAP2 POP PUSH2 0x2437 JUMP JUMPDEST DUP1 PUSH1 0x7F SUB DUP4 SWAP1 SHL SWAP2 POP JUMPDEST SWAP1 DUP1 MUL PUSH1 0x7F DUP2 DUP2 SHR PUSH1 0xFF DUP4 DUP2 SHR SWAP2 SWAP1 SWAP2 SHR DUP1 MUL DUP1 DUP4 SHR DUP2 DUP4 SHR SHR DUP1 MUL DUP1 DUP5 SHR DUP2 DUP5 SHR SHR DUP1 MUL DUP1 DUP6 SHR DUP2 DUP6 SHR SHR DUP1 MUL DUP1 DUP7 SHR DUP2 DUP7 SHR SHR DUP1 MUL DUP1 DUP8 SHR DUP2 DUP8 SHR SHR DUP1 MUL DUP1 DUP9 SHR DUP2 DUP9 SHR SHR DUP1 MUL DUP1 DUP10 SHR DUP2 DUP10 SHR SHR DUP1 MUL DUP1 DUP11 SHR DUP2 DUP11 SHR SHR DUP1 MUL DUP1 DUP12 SHR DUP2 DUP12 SHR SHR DUP1 MUL DUP1 DUP13 SHR DUP2 DUP13 SHR SHR DUP1 MUL DUP1 DUP14 SHR DUP2 DUP14 SHR SHR DUP1 MUL DUP1 DUP15 SHR SWAP13 DUP2 SWAP1 SHR SWAP13 SWAP1 SWAP13 SHR DUP1 MUL SWAP13 DUP14 SWAP1 SHR SWAP15 SWAP14 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP16 ADD PUSH1 0x40 SHL PUSH1 0xC0 SWAP2 SWAP1 SWAP2 SHR PUSH8 0x8000000000000000 AND OR PUSH1 0xC1 SWAP12 SWAP1 SWAP12 SHR PUSH8 0x4000000000000000 AND SWAP11 SWAP1 SWAP11 OR PUSH1 0xC2 SWAP10 SWAP1 SWAP10 SHR PUSH8 0x2000000000000000 AND SWAP9 SWAP1 SWAP9 OR PUSH1 0xC3 SWAP8 SWAP1 SWAP8 SHR PUSH8 0x1000000000000000 AND SWAP7 SWAP1 SWAP7 OR PUSH1 0xC4 SWAP6 SWAP1 SWAP6 SHR PUSH8 0x800000000000000 AND SWAP5 SWAP1 SWAP5 OR PUSH1 0xC5 SWAP4 SWAP1 SWAP4 SHR PUSH8 0x400000000000000 AND SWAP3 SWAP1 SWAP3 OR PUSH1 0xC6 SWAP2 SWAP1 SWAP2 SHR PUSH8 0x200000000000000 AND OR PUSH1 0xC7 SWAP2 SWAP1 SWAP2 SHR PUSH8 0x100000000000000 AND OR PUSH1 0xC8 SWAP2 SWAP1 SWAP2 SHR PUSH7 0x80000000000000 AND OR PUSH1 0xC9 SWAP2 SWAP1 SWAP2 SHR PUSH7 0x40000000000000 AND OR PUSH1 0xCA SWAP2 SWAP1 SWAP2 SHR PUSH7 0x20000000000000 AND OR PUSH1 0xCB SWAP2 SWAP1 SWAP2 SHR PUSH7 0x10000000000000 AND OR PUSH1 0xCC SWAP2 SWAP1 SWAP2 SHR PUSH7 0x8000000000000 AND OR PUSH1 0xCD SWAP2 SWAP1 SWAP2 SHR PUSH7 0x4000000000000 AND OR PUSH10 0x3627A301D71055774C85 DUP2 MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD709B7E5480FBA5A50FED5E62FFC556 DUP2 ADD PUSH1 0x80 SWAP1 DUP2 SAR SWAP1 PUSH16 0xDB2DF09E81959A81455E260799A0632F DUP4 ADD SWAP1 SAR PUSH1 0x2 DUP2 DUP2 SIGNEXTEND SWAP1 DUP4 SWAP1 SIGNEXTEND EQ PUSH2 0x267E JUMPI DUP9 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x2656 DUP3 PUSH2 0x1FD8 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND GT ISZERO PUSH2 0x2678 JUMPI DUP2 PUSH2 0x2680 JUMP JUMPDEST DUP1 PUSH2 0x2680 JUMP JUMPDEST DUP2 JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0xF SIGNEXTEND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000 DUP2 SUB PUSH2 0x26E9 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 SUB SWAP3 SWAP2 POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"905:8741:48:-:0;;;3745:126;;;;;;;;;-1:-1:-1;3765:11:48;:44;;-1:-1:-1;;;;;;;3815:27:48;;;;;;3848:5;:18;;-1:-1:-1;;;;;;3848:18:48;3856:10;3848:18;;;905:8741;;;;;;"},"deployedBytecode":{"functionDebugData":{"@burn_7179":{"entryPoint":4031,"id":7179,"parameterSlots":5,"returnSlots":2},"@collect_7203":{"entryPoint":null,"id":7203,"parameterSlots":5,"returnSlots":2},"@communityVault_6802":{"entryPoint":null,"id":6802,"parameterSlots":0,"returnSlots":0},"@fee_6878":{"entryPoint":6508,"id":6878,"parameterSlots":0,"returnSlots":1},"@flash_7392":{"entryPoint":4667,"id":7392,"parameterSlots":5,"returnSlots":0},"@getCommunityFeePending_6853":{"entryPoint":null,"id":6853,"parameterSlots":0,"returnSlots":2},"@getPluginFeePending_6867":{"entryPoint":null,"id":6867,"parameterSlots":0,"returnSlots":2},"@getReserves_6938":{"entryPoint":3516,"id":6938,"parameterSlots":0,"returnSlots":2},"@getSqrtRatioAtTick_3815":{"entryPoint":8152,"id":3815,"parameterSlots":1,"returnSlots":1},"@getTickAtSqrtRatio_3956":{"entryPoint":8951,"id":3956,"parameterSlots":1,"returnSlots":1},"@globalState_6765":{"entryPoint":null,"id":6765,"parameterSlots":0,"returnSlots":0},"@initialize_7020":{"entryPoint":7584,"id":7020,"parameterSlots":1,"returnSlots":0},"@isUnlocked_6949":{"entryPoint":null,"id":6949,"parameterSlots":0,"returnSlots":1},"@lastFeeTransferTimestamp_6785":{"entryPoint":null,"id":6785,"parameterSlots":0,"returnSlots":0},"@liquidity_6777":{"entryPoint":null,"id":6777,"parameterSlots":0,"returnSlots":0},"@mint_7101":{"entryPoint":5602,"id":7101,"parameterSlots":7,"returnSlots":3},"@nextTickGlobal_6769":{"entryPoint":null,"id":6769,"parameterSlots":0,"returnSlots":0},"@overrideFee_6837":{"entryPoint":null,"id":6837,"parameterSlots":0,"returnSlots":0},"@pluginFee_6839":{"entryPoint":null,"id":6839,"parameterSlots":0,"returnSlots":0},"@plugin_6799":{"entryPoint":null,"id":6799,"parameterSlots":0,"returnSlots":0},"@positions_6833":{"entryPoint":null,"id":6833,"parameterSlots":0,"returnSlots":0},"@prevTickGlobal_6773":{"entryPoint":null,"id":6773,"parameterSlots":0,"returnSlots":0},"@safelyGetStateOfAMM_6902":{"entryPoint":5485,"id":6902,"parameterSlots":0,"returnSlots":7},"@setCommunityFee_7421":{"entryPoint":3835,"id":7421,"parameterSlots":1,"returnSlots":0},"@setCommunityVault_7567":{"entryPoint":null,"id":7567,"parameterSlots":1,"returnSlots":0},"@setFee_7556":{"entryPoint":5203,"id":7556,"parameterSlots":1,"returnSlots":0},"@setPluginConfig_7496":{"entryPoint":6250,"id":7496,"parameterSlots":1,"returnSlots":0},"@setPlugin_7470":{"entryPoint":6401,"id":7470,"parameterSlots":1,"returnSlots":0},"@setTickSpacing_7451":{"entryPoint":7380,"id":7451,"parameterSlots":1,"returnSlots":0},"@skim_7587":{"entryPoint":3732,"id":7587,"parameterSlots":0,"returnSlots":0},"@swapToTick_7305":{"entryPoint":6613,"id":7305,"parameterSlots":1,"returnSlots":0},"@swapWithPaymentInAdvance_7331":{"entryPoint":null,"id":7331,"parameterSlots":7,"returnSlots":2},"@swap_7227":{"entryPoint":3624,"id":7227,"parameterSlots":6,"returnSlots":2},"@sync_7577":{"entryPoint":null,"id":7577,"parameterSlots":0,"returnSlots":0},"@tickSpacing_6781":{"entryPoint":null,"id":6781,"parameterSlots":0,"returnSlots":0},"@tickTable_6815":{"entryPoint":null,"id":6815,"parameterSlots":0,"returnSlots":0},"@tickTreeRoot_6789":{"entryPoint":null,"id":6789,"parameterSlots":0,"returnSlots":0},"@tickTreeSecondLayer_6795":{"entryPoint":null,"id":6795,"parameterSlots":0,"returnSlots":0},"@ticks_6809":{"entryPoint":null,"id":6809,"parameterSlots":0,"returnSlots":0},"@totalFeeGrowth0Token_6756":{"entryPoint":null,"id":6756,"parameterSlots":0,"returnSlots":0},"@totalFeeGrowth1Token_6760":{"entryPoint":null,"id":6760,"parameterSlots":0,"returnSlots":0},"negate_t_int128":{"entryPoint":9869,"id":null,"parameterSlots":1,"returnSlots":1}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:410:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"57:351:52","statements":[{"nodeType":"YulVariableDeclaration","src":"67:36:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"93:2:52","type":"","value":"15"},{"name":"value","nodeType":"YulIdentifier","src":"97:5:52"}],"functionName":{"name":"signextend","nodeType":"YulIdentifier","src":"82:10:52"},"nodeType":"YulFunctionCall","src":"82:21:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"71:7:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"203:168:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"224:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"227:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"217:6:52"},"nodeType":"YulFunctionCall","src":"217:88:52"},"nodeType":"YulExpressionStatement","src":"217:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"325:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"328:4:52","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"318:6:52"},"nodeType":"YulFunctionCall","src":"318:15:52"},"nodeType":"YulExpressionStatement","src":"318:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"353:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"356:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"346:6:52"},"nodeType":"YulFunctionCall","src":"346:15:52"},"nodeType":"YulExpressionStatement","src":"346:15:52"}]},"condition":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"118:7:52"},{"kind":"number","nodeType":"YulLiteral","src":"127:66:52","type":"","value":"0xffffffffffffffffffffffffffffffff80000000000000000000000000000000"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"115:2:52"},"nodeType":"YulFunctionCall","src":"115:79:52"},"nodeType":"YulIf","src":"112:259:52"},{"nodeType":"YulAssignment","src":"380:22:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"391:1:52","type":"","value":"0"},{"name":"value_1","nodeType":"YulIdentifier","src":"394:7:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"387:3:52"},"nodeType":"YulFunctionCall","src":"387:15:52"},"variableNames":[{"name":"ret","nodeType":"YulIdentifier","src":"380:3:52"}]}]},"name":"negate_t_int128","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"39:5:52","type":""}],"returnVariables":[{"name":"ret","nodeType":"YulTypedName","src":"49:3:52","type":""}],"src":"14:394:52"}]},"contents":"{\n    { }\n    function negate_t_int128(value) -> ret\n    {\n        let value_1 := signextend(15, value)\n        if eq(value_1, 0xffffffffffffffffffffffffffffffff80000000000000000000000000000000)\n        {\n            mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x11)\n            revert(0, 0x24)\n        }\n        ret := sub(0, value_1)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106102ad5760003560e01c8063998e2cbe1161017b578063d8619037116100d8578063ef01df4f1161008c578063f30dba9311610071578063f30dba9314610cd3578063f637731d14610d89578063fff6cae91461042d57600080fd5b8063ef01df4f14610c93578063f085a61014610cb357600080fd5b8063e47cd4cf116100bd578063e47cd4cf14610b50578063e76c01e414610b70578063ecdecf4214610c8a57600080fd5b8063d861903714610b04578063ddca3f4314610b3157600080fd5b8063c677e3e01161012f578063d0c93a7c11610114578063d0c93a7c14610a73578063d5c35a7e14610a9a578063d8544cf314610aa757600080fd5b8063c677e3e014610a13578063cc1f97cf14610a4057600080fd5b8063a1eded8711610160578063a1eded87146102dd578063aafe29c014610900578063bca57f81146109f357600080fd5b8063998e2cbe1461086c5780639e4e02271461089357600080fd5b8063514ea4bf1161022957806377f8c3a9116101dd5780638380edb7116101c25780638380edb71461079a5780638e005553146107d457806397ce1c51146107f557600080fd5b806377f8c3a91461076d5780637bd78025146102dd57600080fd5b8063578b9a361161020e578063578b9a36146106e75780636378ae441461071057806367c25a471461072b57600080fd5b8063514ea4bf146105f557806353e978681461069e57600080fd5b80631dd19cb4116102805780633b3bc70e116102655780633b3bc70e14610458578063490e6cbc146104f55780634f1eb3d81461058e57600080fd5b80631dd19cb41461042d578063240a875a1461043757600080fd5b8063050a4d21146102b25780630902f1ac146102dd578063128acb08146103265780631a686502146103e2575b600080fd5b6003546102c6906301000000900460020b81565b6040805160029290920b8252519081900360200190f35b6102e5610dbc565b60405180836fffffffffffffffffffffffffffffffff168152602001826fffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b6103c9600480360360a081101561033c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135151592604082013592606083013516919081019060a08101608082013564010000000081111561038a57600080fd5b82018360208201111561039c57600080fd5b803590602001918460018302840111640100000000831117156103be57600080fd5b509092509050610e28565b6040805192835260208301919091528051918290030190f35b60035461040890660100000000000090046fffffffffffffffffffffffffffffffff1681565b604080516fffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610435610e94565b005b6104356004803603602081101561044d57600080fd5b503561ffff16610efb565b6103c96004803603608081101561046e57600080fd5b8135600290810b92602081013590910b916fffffffffffffffffffffffffffffffff60408301351691908101906080810160608201356401000000008111156104b657600080fd5b8201836020820111156104c857600080fd5b803590602001918460018302840111640100000000831117156104ea57600080fd5b509092509050610fbf565b6104356004803603608081101561050b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516916020810135916040820135919081019060808101606082013564010000000081111561054f57600080fd5b82018360208201111561056157600080fd5b8035906020019184600183028401116401000000008311171561058357600080fd5b50909250905061123b565b6102e5600480360360a08110156105a457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020810135600290810b91604081013590910b906fffffffffffffffffffffffffffffffff60608201358116916080013516610e28565b61065e6004803603602081101561060b57600080fd5b50600a60205235600090815260409020805460018201546002830154600390930154919290916fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041685565b604080519586526020860194909452848401929092526fffffffffffffffffffffffffffffffff9081166060850152166080830152519081900360a00190f35b6007546106be9073ffffffffffffffffffffffffffffffffffffffff1681565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6004546106f79063ffffffff1681565b6040805163ffffffff9092168252519081900360200190f35b61071960005481565b60408051918252519081900360200190f35b600b546107559077010000000000000000000000000000000000000000000000900462ffffff1681565b6040805162ffffff9092168252519081900360200190f35b6003546106f790790100000000000000000000000000000000000000000000000000900463ffffffff1681565b6002547c0100000000000000000000000000000000000000000000000000000000900460ff16604080519115158252519081900360200190f35b610435600480360360208110156107ea57600080fd5b503561ffff16611453565b6107fd61156d565b6040805173ffffffffffffffffffffffffffffffffffffffff9098168852600296870b602089015261ffff9095168786015260ff90931660608701526fffffffffffffffffffffffffffffffff9091166080860152830b60a085015290910b60c0830152519081900360e00190f35b600b546107559074010000000000000000000000000000000000000000900462ffffff1681565b6103c9600480360360c08110156108a957600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135821692604082013515159260608301359260808101359091169181019060c0810160a082013564010000000081111561038a57600080fd5b6109c3600480360360c081101561091657600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135600290810b92606081013590910b916fffffffffffffffffffffffffffffffff608083013516919081019060c0810160a082013564010000000081111561098457600080fd5b82018360208201111561099657600080fd5b803590602001918460018302840111640100000000831117156109b857600080fd5b5090925090506115e2565b6040805193845260208401929092526fffffffffffffffffffffffffffffffff1682820152519081900360600190f35b61043560048036036020811015610a0957600080fd5b503560ff1661186a565b61071960048036036020811015610a2957600080fd5b5060096020523560010b6000908152604090205481565b61043560048036036020811015610a5657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611901565b6003546102c690760100000000000000000000000000000000000000000000900460020b81565b6003546102c69060020b81565b61043560048036036020811015610abd57600080fd5b50600780547fffffffffffffffffffffffff000000000000000000000000000000000000000016913573ffffffffffffffffffffffffffffffffffffffff16919091179055565b61071960048036036020811015610b1a57600080fd5b5060056020523560010b6000908152604090205481565b610b3961196c565b6040805161ffff9092168252519081900360200190f35b61043560048036036020811015610b6657600080fd5b503560020b6119d5565b60028054610c339173ffffffffffffffffffffffffffffffffffffffff82169174010000000000000000000000000000000000000000810490910b9061ffff77010000000000000000000000000000000000000000000000820481169160ff79010000000000000000000000000000000000000000000000000082048116927a010000000000000000000000000000000000000000000000000000830416917c010000000000000000000000000000000000000000000000000000000090041686565b6040805173ffffffffffffffffffffffffffffffffffffffff909716875260029590950b602087015261ffff9384168686015260ff90921660608601529091166080840152151560a0830152519081900360c00190f35b61071960015481565b6006546106be9073ffffffffffffffffffffffffffffffffffffffff1681565b61043560048036036020811015610cc957600080fd5b503560020b611cd4565b610d4d60048036036020811015610ce957600080fd5b50600860205235600290810b60009081526040902080546001820154828401546003909301549193600f82900b937001000000000000000000000000000000008304820b9373010000000000000000000000000000000000000090930490910b9186565b60408051968752600f9590950b6020870152600293840b868601529190920b6060850152608084019190915260a0830152519081900360c00190f35b61043560048036036020811015610d9f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611da0565b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f7420696d706c656d656e74656400000000000000000000000000000000006044820152905160009182919081900360640190fd5b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7420696d706c656d656e74656400000000000000000000000000000000006044820152905160009182919081900360640190fd5b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7420696d706c656d656e7465640000000000000000000000000000000000604482015290519081900360640190fd5b6103e861ffff82161180610f35575060025461ffff8281167a01000000000000000000000000000000000000000000000000000090920416145b15610f6c576040517fa709b9af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002805461ffff9092167a010000000000000000000000000000000000000000000000000000027fffffffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60025460009081907901000000000000000000000000000000000000000000000000009004600416156110ef5760065473ffffffffffffffffffffffffffffffffffffffff16635e2411b233808a8a6110178b61268d565b8a8a6040518863ffffffff1660e01b8152600401808873ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff1681526020018660020b81526020018560020b815260200184600f0b8152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509850505050505050505060408051808303816000875af11580156110d6573d6000803e3d6000fd5b505050506040513d60408110156110ec57600080fd5b50505b60025479010000000000000000000000000000000000000000000000000090046008161561122c5760065473ffffffffffffffffffffffffffffffffffffffff1663d685201033808a8a6111428b61268d565b6000808c8c6040518a63ffffffff1660e01b8152600401808a73ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff1681526020018860020b81526020018760020b815260200186600f0b8152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509a50505050505050505050506020604051808303816000875af1158015611213573d6000803e3d6000fd5b505050506040513d602081101561122957600080fd5b50505b50600096879650945050505050565b600254790100000000000000000000000000000000000000000000000000900460ff8116906010161561134a576006546040517f8de0a8ee000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff8a81166024850152604484018a90526064840189905260a06084850190815260a48501889052941693638de0a8ee938b928b928b928b928b92909160c401848480828437600081840152601f19601f8201169050808301925050509750505050505050506020604051808303816000875af1158015611331573d6000803e3d6000fd5b505050506040513d602081101561134757600080fd5b50505b602081161561144b576006546040517f343d37ff000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff8a81166024850152604484018a90526064840189905260006084850181905260a4850181905260e060c4860190815260e48601899052919095169463343d37ff948c938c938c939283928d928d9261010401848480828437600081840152601f19601f82011690508083019250505099505050505050505050506020604051808303816000875af1158015611432573d6000803e3d6000fd5b505050506040513d602081101561144857600080fd5b50505b505050505050565b600b5473ffffffffffffffffffffffffffffffffffffffff16331480611490575060065473ffffffffffffffffffffffffffffffffffffffff1633145b61149957600080fd5b60025460065479010000000000000000000000000000000000000000000000000090910460801615159073ffffffffffffffffffffffffffffffffffffffff1633036114ee57806114e957600080fd5b61151c565b801580156115135750600b5473ffffffffffffffffffffffffffffffffffffffff1633145b61151c57600080fd5b506002805461ffff90921677010000000000000000000000000000000000000000000000027fffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f7420696d706c656d656e74656400000000000000000000000000000000006044820152905160009182918291829182918291829181900360640190fd5b60025460009081908190790100000000000000000000000000000000000000000000000000900460041615611701576006546040517f5e2411b2000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff8d8116602485015260028d810b60448601528c900b6064850152600f8b900b608485015260c060a4850190815260c485018a9052941693635e2411b2938e928e928e928e928e928e9260e401848480828437600081840152601f19601f8201169050808301925050509850505050505050505060408051808303816000875af11580156116e8573d6000803e3d6000fd5b505050506040513d60408110156116fe57600080fd5b50505b60025479010000000000000000000000000000000000000000000000000090046008161561185657600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d6852010338b8b8b8b6000808d8d6040518a63ffffffff1660e01b8152600401808a73ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff1681526020018860020b81526020018760020b815260200186600f0b8152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509a50505050505050505050506020604051808303816000875af115801561183d573d6000803e3d6000fd5b505050506040513d602081101561185357600080fd5b50505b506000998a99508998509650505050505050565b600b5473ffffffffffffffffffffffffffffffffffffffff163314806118a7575060065473ffffffffffffffffffffffffffffffffffffffff1633145b6118b057600080fd5b6002805460ff909216790100000000000000000000000000000000000000000000000000027fffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b600b5473ffffffffffffffffffffffffffffffffffffffff16331461192557600080fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f7420696d706c656d656e74656400000000000000000000000000000000006044820152905160009181900360640190fd5b60065460025473ffffffffffffffffffffffffffffffffffffffff90911690790100000000000000000000000000000000000000000000000000900460011615611b7357604080517f029c1cb700000000000000000000000000000000000000000000000000000000815233600482018190526024820152600160448201526000606482018190526084820181905260a4820181905260e060c483015260e48201819052915173ffffffffffffffffffffffffffffffffffffffff84169263029c1cb792610104808201936060939092839003909101908290875af1158015611ac2573d6000803e3d6000fd5b505050506040513d6060811015611ad857600080fd5b506020810151604090910151600b80547fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff167701000000000000000000000000000000000000000000000062ffffff938416027fffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff16177401000000000000000000000000000000000000000092909316919091029190911790555b611b7c82611fd8565b6002805473ffffffffffffffffffffffffffffffffffffffff929092167fffffffffffffffffff0000000000000000000000000000000000000000000000909216919091177401000000000000000000000000000000000000000062ffffff8516021780825579010000000000000000000000000000000000000000000000000090041615611cd057604080517f9cb5a96300000000000000000000000000000000000000000000000000000000815233600482018190526024820152600160448201526000606482018190526084820181905260a4820181905260c4820181905261010060e48301526101048201819052915173ffffffffffffffffffffffffffffffffffffffff841692639cb5a96392610124808201936020939092839003909101908290875af1158015611cb7573d6000803e3d6000fd5b505050506040513d6020811015611ccd57600080fd5b50505b5050565b60008160020b131580611cec57506101f4600282900b135b80611d195750600354600282810b760100000000000000000000000000000000000000000000909204900b145b15611d50576040517fafe09f4400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003805462ffffff909216760100000000000000000000000000000000000000000000027fffffffffffffff000000ffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000611dab826122f7565b60065490915073ffffffffffffffffffffffffffffffffffffffff1615611e6557600654604080517f636fd80400000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff85811660248301529151919092169163636fd80491604480830192602092919082900301816000875af1158015611e4c573d6000803e3d6000fd5b505050506040513d6020811015611e6257600080fd5b50505b600380547fffffffffffffff000000ffffffffffffffffffffffffffffffffffffffffffff16763c000000000000000000000000000000000000000000001790556002805473ffffffffffffffffffffffffffffffffffffffff84167fffffffffffffffffff00000000000000000000000000000000000000000000008216177401000000000000000000000000000000000000000062ffffff85160217909155790100000000000000000000000000000000000000000000000000900460ff81169060401615611fd357600654604080517f82dd652200000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff8681166024830152600286900b6044830152915191909216916382dd652291606480830192602092919082900301816000875af1158015611fba573d6000803e3d6000fd5b505050506040513d6020811015611fd057600080fd5b50505b505050565b6000600282900b60171d62ffffff818401821816620d89e8811115612029576040517f3c10250f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b700100000000000000000000000000000000600182161561205757506ffffcb933bd6fad37aa2d162d1a5940015b6002821615612076576ffff97272373d413259a46990580e213a0260801c5b6004821615612095576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b60088216156120b4576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b60108216156120d3576fffcb9843d60f6159c9db58835c9266440260801c5b60208216156120f2576fff973b41fa98c081472e6896dfb254c00260801c5b6040821615612111576fff2ea16466c96a3843ec78b326b528610260801c5b6080821615612130576ffe5dee046a99a2a811c461f1969c30530260801c5b610100821615612150576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b610200821615612170576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615612190576ff3392b0822b70005940c7a398e4b70f30260801c5b6108008216156121b0576fe7159475a2c29b7443b29c7fa6e889d90260801c5b6110008216156121d0576fd097f3bdfd2022b8845ad8f792aa58250260801c5b6120008216156121f0576fa9f746462d870fdf8a65dc1f90e061e50260801c5b614000821615612210576f70d869a156d2a1b890bb3df62baf32f70260801c5b618000821615612230576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615612251576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615612271576e5d6af8dedb81196699c329225ee6040260801c5b6204000082106122b7576204000082161561229a576d2216e584f5fa1ea926041bedfe980260801c5b620800008216156122b7576b048a170391f7dc42444e8fa20260801c5b60008560020b13156122e6577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff045b63ffffffff0160201c949350505050565b60006401000276a373ffffffffffffffffffffffffffffffffffffffff8316108061234c575073fffd8963efd1fc6a506488495d951d5263988d2673ffffffffffffffffffffffffffffffffffffffff831610155b15612383576040517f55cf1e2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b77ffffffffffffffffffffffffffffffffffffffff00000000602083901b166fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211600190811b92831c9790881196179094179092171790911717176080811061242d57607f810383901c9150612437565b80607f0383901b91505b908002607f81811c60ff83811c9190911c800280831c81831c1c800280841c81841c1c800280851c81851c1c800280861c81861c1c800280871c81871c1c800280881c81881c1c800280891c81891c1c8002808a1c818a1c1c8002808b1c818b1c1c8002808c1c818c1c1c8002808d1c818d1c1c8002808e1c9c81901c9c909c1c80029c8d901c9e9d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808f0160401b60c09190911c678000000000000000161760c19b909b1c674000000000000000169a909a1760c29990991c672000000000000000169890981760c39790971c671000000000000000169690961760c49590951c670800000000000000169490941760c59390931c670400000000000000169290921760c69190911c670200000000000000161760c79190911c670100000000000000161760c89190911c6680000000000000161760c99190911c6640000000000000161760ca9190911c6620000000000000161760cb9190911c6610000000000000161760cc9190911c6608000000000000161760cd9190911c66040000000000001617693627a301d71055774c8581027ffffffffffffffffffffffffffffffffffd709b7e5480fba5a50fed5e62ffc5568101608090811d906fdb2df09e81959a81455e260799a0632f8301901d600281810b9083900b1461267e578873ffffffffffffffffffffffffffffffffffffffff1661265682611fd8565b73ffffffffffffffffffffffffffffffffffffffff1611156126785781612680565b80612680565b815b9998505050505050505050565b600081600f0b7fffffffffffffffffffffffffffffffff8000000000000000000000000000000081036126e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000039291505056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x2AD JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x998E2CBE GT PUSH2 0x17B JUMPI DUP1 PUSH4 0xD8619037 GT PUSH2 0xD8 JUMPI DUP1 PUSH4 0xEF01DF4F GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xF30DBA93 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xF30DBA93 EQ PUSH2 0xCD3 JUMPI DUP1 PUSH4 0xF637731D EQ PUSH2 0xD89 JUMPI DUP1 PUSH4 0xFFF6CAE9 EQ PUSH2 0x42D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xEF01DF4F EQ PUSH2 0xC93 JUMPI DUP1 PUSH4 0xF085A610 EQ PUSH2 0xCB3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xE47CD4CF GT PUSH2 0xBD JUMPI DUP1 PUSH4 0xE47CD4CF EQ PUSH2 0xB50 JUMPI DUP1 PUSH4 0xE76C01E4 EQ PUSH2 0xB70 JUMPI DUP1 PUSH4 0xECDECF42 EQ PUSH2 0xC8A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xD8619037 EQ PUSH2 0xB04 JUMPI DUP1 PUSH4 0xDDCA3F43 EQ PUSH2 0xB31 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC677E3E0 GT PUSH2 0x12F JUMPI DUP1 PUSH4 0xD0C93A7C GT PUSH2 0x114 JUMPI DUP1 PUSH4 0xD0C93A7C EQ PUSH2 0xA73 JUMPI DUP1 PUSH4 0xD5C35A7E EQ PUSH2 0xA9A JUMPI DUP1 PUSH4 0xD8544CF3 EQ PUSH2 0xAA7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC677E3E0 EQ PUSH2 0xA13 JUMPI DUP1 PUSH4 0xCC1F97CF EQ PUSH2 0xA40 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xA1EDED87 GT PUSH2 0x160 JUMPI DUP1 PUSH4 0xA1EDED87 EQ PUSH2 0x2DD JUMPI DUP1 PUSH4 0xAAFE29C0 EQ PUSH2 0x900 JUMPI DUP1 PUSH4 0xBCA57F81 EQ PUSH2 0x9F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x998E2CBE EQ PUSH2 0x86C JUMPI DUP1 PUSH4 0x9E4E0227 EQ PUSH2 0x893 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x514EA4BF GT PUSH2 0x229 JUMPI DUP1 PUSH4 0x77F8C3A9 GT PUSH2 0x1DD JUMPI DUP1 PUSH4 0x8380EDB7 GT PUSH2 0x1C2 JUMPI DUP1 PUSH4 0x8380EDB7 EQ PUSH2 0x79A JUMPI DUP1 PUSH4 0x8E005553 EQ PUSH2 0x7D4 JUMPI DUP1 PUSH4 0x97CE1C51 EQ PUSH2 0x7F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x77F8C3A9 EQ PUSH2 0x76D JUMPI DUP1 PUSH4 0x7BD78025 EQ PUSH2 0x2DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x578B9A36 GT PUSH2 0x20E JUMPI DUP1 PUSH4 0x578B9A36 EQ PUSH2 0x6E7 JUMPI DUP1 PUSH4 0x6378AE44 EQ PUSH2 0x710 JUMPI DUP1 PUSH4 0x67C25A47 EQ PUSH2 0x72B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x514EA4BF EQ PUSH2 0x5F5 JUMPI DUP1 PUSH4 0x53E97868 EQ PUSH2 0x69E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1DD19CB4 GT PUSH2 0x280 JUMPI DUP1 PUSH4 0x3B3BC70E GT PUSH2 0x265 JUMPI DUP1 PUSH4 0x3B3BC70E EQ PUSH2 0x458 JUMPI DUP1 PUSH4 0x490E6CBC EQ PUSH2 0x4F5 JUMPI DUP1 PUSH4 0x4F1EB3D8 EQ PUSH2 0x58E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1DD19CB4 EQ PUSH2 0x42D JUMPI DUP1 PUSH4 0x240A875A EQ PUSH2 0x437 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x50A4D21 EQ PUSH2 0x2B2 JUMPI DUP1 PUSH4 0x902F1AC EQ PUSH2 0x2DD JUMPI DUP1 PUSH4 0x128ACB08 EQ PUSH2 0x326 JUMPI DUP1 PUSH4 0x1A686502 EQ PUSH2 0x3E2 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x2C6 SWAP1 PUSH4 0x1000000 SWAP1 DIV PUSH1 0x2 SIGNEXTEND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x2 SWAP3 SWAP1 SWAP3 SIGNEXTEND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x2E5 PUSH2 0xDBC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP4 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x3C9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x33C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 CALLDATALOAD DUP2 AND SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP3 PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP3 PUSH1 0x60 DUP4 ADD CALLDATALOAD AND SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0xA0 DUP2 ADD PUSH1 0x80 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x38A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x39C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x3BE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0xE28 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP1 MLOAD SWAP2 DUP3 SWAP1 SUB ADD SWAP1 RETURN JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x408 SWAP1 PUSH7 0x1000000000000 SWAP1 DIV PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH2 0xE94 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x44D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH2 0xFFFF AND PUSH2 0xEFB JUMP JUMPDEST PUSH2 0x3C9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x80 DUP2 LT ISZERO PUSH2 0x46E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x2 SWAP1 DUP2 SIGNEXTEND SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 SIGNEXTEND SWAP2 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x40 DUP4 ADD CALLDATALOAD AND SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0x80 DUP2 ADD PUSH1 0x60 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x4B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x4C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x4EA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0xFBF JUMP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x80 DUP2 LT ISZERO PUSH2 0x50B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 CALLDATALOAD AND SWAP2 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP2 PUSH1 0x40 DUP3 ADD CALLDATALOAD SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0x80 DUP2 ADD PUSH1 0x60 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x54F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x561 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x583 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x123B JUMP JUMPDEST PUSH2 0x2E5 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x5A4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 CALLDATALOAD AND SWAP1 PUSH1 0x20 DUP2 ADD CALLDATALOAD PUSH1 0x2 SWAP1 DUP2 SIGNEXTEND SWAP2 PUSH1 0x40 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 SIGNEXTEND SWAP1 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x60 DUP3 ADD CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x80 ADD CALLDATALOAD AND PUSH2 0xE28 JUMP JUMPDEST PUSH2 0x65E PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x60B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0xA PUSH1 0x20 MSTORE CALLDATALOAD PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 DUP3 ADD SLOAD PUSH1 0x2 DUP4 ADD SLOAD PUSH1 0x3 SWAP1 SWAP4 ADD SLOAD SWAP2 SWAP3 SWAP1 SWAP2 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP3 AND SWAP2 PUSH17 0x100000000000000000000000000000000 SWAP1 DIV AND DUP6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP6 DUP7 MSTORE PUSH1 0x20 DUP7 ADD SWAP5 SWAP1 SWAP5 MSTORE DUP5 DUP5 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 DUP2 AND PUSH1 0x60 DUP6 ADD MSTORE AND PUSH1 0x80 DUP4 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0xA0 ADD SWAP1 RETURN JUMPDEST PUSH1 0x7 SLOAD PUSH2 0x6BE SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x6F7 SWAP1 PUSH4 0xFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH4 0xFFFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x719 PUSH1 0x0 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH1 0xB SLOAD PUSH2 0x755 SWAP1 PUSH24 0x10000000000000000000000000000000000000000000000 SWAP1 DIV PUSH3 0xFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH3 0xFFFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x6F7 SWAP1 PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH4 0xFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH29 0x100000000000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF AND PUSH1 0x40 DUP1 MLOAD SWAP2 ISZERO ISZERO DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x7EA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH2 0xFFFF AND PUSH2 0x1453 JUMP JUMPDEST PUSH2 0x7FD PUSH2 0x156D JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP9 AND DUP9 MSTORE PUSH1 0x2 SWAP7 DUP8 SIGNEXTEND PUSH1 0x20 DUP10 ADD MSTORE PUSH2 0xFFFF SWAP1 SWAP6 AND DUP8 DUP7 ADD MSTORE PUSH1 0xFF SWAP1 SWAP4 AND PUSH1 0x60 DUP8 ADD MSTORE PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND PUSH1 0x80 DUP7 ADD MSTORE DUP4 SIGNEXTEND PUSH1 0xA0 DUP6 ADD MSTORE SWAP1 SWAP2 SIGNEXTEND PUSH1 0xC0 DUP4 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0xE0 ADD SWAP1 RETURN JUMPDEST PUSH1 0xB SLOAD PUSH2 0x755 SWAP1 PUSH21 0x10000000000000000000000000000000000000000 SWAP1 DIV PUSH3 0xFFFFFF AND DUP2 JUMP JUMPDEST PUSH2 0x3C9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xC0 DUP2 LT ISZERO PUSH2 0x8A9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 CALLDATALOAD DUP2 AND SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 AND SWAP3 PUSH1 0x40 DUP3 ADD CALLDATALOAD ISZERO ISZERO SWAP3 PUSH1 0x60 DUP4 ADD CALLDATALOAD SWAP3 PUSH1 0x80 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 AND SWAP2 DUP2 ADD SWAP1 PUSH1 0xC0 DUP2 ADD PUSH1 0xA0 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x38A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x9C3 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xC0 DUP2 LT ISZERO PUSH2 0x916 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 CALLDATALOAD DUP2 AND SWAP3 PUSH1 0x20 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 AND SWAP2 PUSH1 0x40 DUP3 ADD CALLDATALOAD PUSH1 0x2 SWAP1 DUP2 SIGNEXTEND SWAP3 PUSH1 0x60 DUP2 ADD CALLDATALOAD SWAP1 SWAP2 SIGNEXTEND SWAP2 PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x80 DUP4 ADD CALLDATALOAD AND SWAP2 SWAP1 DUP2 ADD SWAP1 PUSH1 0xC0 DUP2 ADD PUSH1 0xA0 DUP3 ADD CALLDATALOAD PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x984 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x996 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x9B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP SWAP1 SWAP3 POP SWAP1 POP PUSH2 0x15E2 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP4 DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 DUP3 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x60 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xA09 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0xFF AND PUSH2 0x186A JUMP JUMPDEST PUSH2 0x719 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xA29 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x9 PUSH1 0x20 MSTORE CALLDATALOAD PUSH1 0x1 SIGNEXTEND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xA56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1901 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x2C6 SWAP1 PUSH23 0x100000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x2 SIGNEXTEND DUP2 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x2C6 SWAP1 PUSH1 0x2 SIGNEXTEND DUP2 JUMP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xABD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x7 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND SWAP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x719 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xB1A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x5 PUSH1 0x20 MSTORE CALLDATALOAD PUSH1 0x1 SIGNEXTEND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0xB39 PUSH2 0x196C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH2 0xFFFF SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xB66 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x19D5 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH2 0xC33 SWAP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP2 PUSH21 0x10000000000000000000000000000000000000000 DUP2 DIV SWAP1 SWAP2 SIGNEXTEND SWAP1 PUSH2 0xFFFF PUSH24 0x10000000000000000000000000000000000000000000000 DUP3 DIV DUP2 AND SWAP2 PUSH1 0xFF PUSH26 0x100000000000000000000000000000000000000000000000000 DUP3 DIV DUP2 AND SWAP3 PUSH27 0x10000000000000000000000000000000000000000000000000000 DUP4 DIV AND SWAP2 PUSH29 0x100000000000000000000000000000000000000000000000000000000 SWAP1 DIV AND DUP7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP8 AND DUP8 MSTORE PUSH1 0x2 SWAP6 SWAP1 SWAP6 SIGNEXTEND PUSH1 0x20 DUP8 ADD MSTORE PUSH2 0xFFFF SWAP4 DUP5 AND DUP7 DUP7 ADD MSTORE PUSH1 0xFF SWAP1 SWAP3 AND PUSH1 0x60 DUP7 ADD MSTORE SWAP1 SWAP2 AND PUSH1 0x80 DUP5 ADD MSTORE ISZERO ISZERO PUSH1 0xA0 DUP4 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0xC0 ADD SWAP1 RETURN JUMPDEST PUSH2 0x719 PUSH1 0x1 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH2 0x6BE SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xCC9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH1 0x2 SIGNEXTEND PUSH2 0x1CD4 JUMP JUMPDEST PUSH2 0xD4D PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xCE9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x8 PUSH1 0x20 MSTORE CALLDATALOAD PUSH1 0x2 SWAP1 DUP2 SIGNEXTEND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 DUP3 ADD SLOAD DUP3 DUP5 ADD SLOAD PUSH1 0x3 SWAP1 SWAP4 ADD SLOAD SWAP2 SWAP4 PUSH1 0xF DUP3 SWAP1 SIGNEXTEND SWAP4 PUSH17 0x100000000000000000000000000000000 DUP4 DIV DUP3 SIGNEXTEND SWAP4 PUSH20 0x100000000000000000000000000000000000000 SWAP1 SWAP4 DIV SWAP1 SWAP2 SIGNEXTEND SWAP2 DUP7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP7 DUP8 MSTORE PUSH1 0xF SWAP6 SWAP1 SWAP6 SIGNEXTEND PUSH1 0x20 DUP8 ADD MSTORE PUSH1 0x2 SWAP4 DUP5 SIGNEXTEND DUP7 DUP7 ADD MSTORE SWAP2 SWAP1 SWAP3 SIGNEXTEND PUSH1 0x60 DUP6 ADD MSTORE PUSH1 0x80 DUP5 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0xA0 DUP4 ADD MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0xC0 ADD SWAP1 RETURN JUMPDEST PUSH2 0x435 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xD9F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1DA0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x6E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 DUP3 SWAP2 SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 DUP3 SWAP2 SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH2 0x3E8 PUSH2 0xFFFF DUP3 AND GT DUP1 PUSH2 0xF35 JUMPI POP PUSH1 0x2 SLOAD PUSH2 0xFFFF DUP3 DUP2 AND PUSH27 0x10000000000000000000000000000000000000000000000000000 SWAP1 SWAP3 DIV AND EQ JUMPDEST ISZERO PUSH2 0xF6C JUMPI PUSH1 0x40 MLOAD PUSH32 0xA709B9AF00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH2 0xFFFF SWAP1 SWAP3 AND PUSH27 0x10000000000000000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x4 AND ISZERO PUSH2 0x10EF JUMPI PUSH1 0x6 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x5E2411B2 CALLER DUP1 DUP11 DUP11 PUSH2 0x1017 DUP12 PUSH2 0x268D JUMP JUMPDEST DUP11 DUP11 PUSH1 0x40 MLOAD DUP9 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP9 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP7 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP5 PUSH1 0xF SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP5 DUP5 DUP3 DUP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP9 POP POP POP POP POP POP POP POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x10D6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x10EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST PUSH1 0x2 SLOAD PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x8 AND ISZERO PUSH2 0x122C JUMPI PUSH1 0x6 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xD6852010 CALLER DUP1 DUP11 DUP11 PUSH2 0x1142 DUP12 PUSH2 0x268D JUMP JUMPDEST PUSH1 0x0 DUP1 DUP13 DUP13 PUSH1 0x40 MLOAD DUP11 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP10 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP9 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP8 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP7 PUSH1 0xF SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP5 DUP5 DUP3 DUP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP11 POP POP POP POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1213 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1229 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP PUSH1 0x0 SWAP7 DUP8 SWAP7 POP SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF DUP2 AND SWAP1 PUSH1 0x10 AND ISZERO PUSH2 0x134A JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH32 0x8DE0A8EE00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 DUP2 AND PUSH1 0x24 DUP6 ADD MSTORE PUSH1 0x44 DUP5 ADD DUP11 SWAP1 MSTORE PUSH1 0x64 DUP5 ADD DUP10 SWAP1 MSTORE PUSH1 0xA0 PUSH1 0x84 DUP6 ADD SWAP1 DUP2 MSTORE PUSH1 0xA4 DUP6 ADD DUP9 SWAP1 MSTORE SWAP5 AND SWAP4 PUSH4 0x8DE0A8EE SWAP4 DUP12 SWAP3 DUP12 SWAP3 DUP12 SWAP3 DUP12 SWAP3 DUP12 SWAP3 SWAP1 SWAP2 PUSH1 0xC4 ADD DUP5 DUP5 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP8 POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1331 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1347 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST PUSH1 0x20 DUP2 AND ISZERO PUSH2 0x144B JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH32 0x343D37FF00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP11 DUP2 AND PUSH1 0x24 DUP6 ADD MSTORE PUSH1 0x44 DUP5 ADD DUP11 SWAP1 MSTORE PUSH1 0x64 DUP5 ADD DUP10 SWAP1 MSTORE PUSH1 0x0 PUSH1 0x84 DUP6 ADD DUP2 SWAP1 MSTORE PUSH1 0xA4 DUP6 ADD DUP2 SWAP1 MSTORE PUSH1 0xE0 PUSH1 0xC4 DUP7 ADD SWAP1 DUP2 MSTORE PUSH1 0xE4 DUP7 ADD DUP10 SWAP1 MSTORE SWAP2 SWAP1 SWAP6 AND SWAP5 PUSH4 0x343D37FF SWAP5 DUP13 SWAP4 DUP13 SWAP4 DUP13 SWAP4 SWAP3 DUP4 SWAP3 DUP14 SWAP3 DUP14 SWAP3 PUSH2 0x104 ADD DUP5 DUP5 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP10 POP POP POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1432 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1448 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xB SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ DUP1 PUSH2 0x1490 JUMPI POP PUSH1 0x6 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ JUMPDEST PUSH2 0x1499 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x6 SLOAD PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 SWAP2 DIV PUSH1 0x80 AND ISZERO ISZERO SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER SUB PUSH2 0x14EE JUMPI DUP1 PUSH2 0x14E9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x151C JUMP JUMPDEST DUP1 ISZERO DUP1 ISZERO PUSH2 0x1513 JUMPI POP PUSH1 0xB SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ JUMPDEST PUSH2 0x151C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x2 DUP1 SLOAD PUSH2 0xFFFF SWAP1 SWAP3 AND PUSH24 0x10000000000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x6E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP3 SWAP2 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x0 SWAP1 DUP2 SWAP1 DUP2 SWAP1 PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x4 AND ISZERO PUSH2 0x1701 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH32 0x5E2411B200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP14 DUP2 AND PUSH1 0x24 DUP6 ADD MSTORE PUSH1 0x2 DUP14 DUP2 SIGNEXTEND PUSH1 0x44 DUP7 ADD MSTORE DUP13 SWAP1 SIGNEXTEND PUSH1 0x64 DUP6 ADD MSTORE PUSH1 0xF DUP12 SWAP1 SIGNEXTEND PUSH1 0x84 DUP6 ADD MSTORE PUSH1 0xC0 PUSH1 0xA4 DUP6 ADD SWAP1 DUP2 MSTORE PUSH1 0xC4 DUP6 ADD DUP11 SWAP1 MSTORE SWAP5 AND SWAP4 PUSH4 0x5E2411B2 SWAP4 DUP15 SWAP3 DUP15 SWAP3 DUP15 SWAP3 DUP15 SWAP3 DUP15 SWAP3 DUP15 SWAP3 PUSH1 0xE4 ADD DUP5 DUP5 DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP9 POP POP POP POP POP POP POP POP POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x16E8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x16FE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST PUSH1 0x2 SLOAD PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x8 AND ISZERO PUSH2 0x1856 JUMPI PUSH1 0x6 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xD6852010 CALLER DUP12 DUP12 DUP12 DUP12 PUSH1 0x0 DUP1 DUP14 DUP14 PUSH1 0x40 MLOAD DUP11 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP11 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP10 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP9 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP8 PUSH1 0x2 SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP7 PUSH1 0xF SIGNEXTEND DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP5 DUP5 DUP3 DUP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP DUP1 DUP3 DUP5 CALLDATACOPY PUSH1 0x0 DUP2 DUP5 ADD MSTORE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND SWAP1 POP DUP1 DUP4 ADD SWAP3 POP POP POP SWAP11 POP POP POP POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x183D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1853 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP PUSH1 0x0 SWAP10 DUP11 SWAP10 POP DUP10 SWAP9 POP SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0xB SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ DUP1 PUSH2 0x18A7 JUMPI POP PUSH1 0x6 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ JUMPDEST PUSH2 0x18B0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH1 0xFF SWAP1 SWAP3 AND PUSH26 0x100000000000000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFFFFFF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0xB SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x1925 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x6 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x6E6F7420696D706C656D656E7465640000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST PUSH1 0x6 SLOAD PUSH1 0x2 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND SWAP1 PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0x1 AND ISZERO PUSH2 0x1B73 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x29C1CB700000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x0 PUSH1 0x64 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x84 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0xA4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0xE0 PUSH1 0xC4 DUP4 ADD MSTORE PUSH1 0xE4 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND SWAP3 PUSH4 0x29C1CB7 SWAP3 PUSH2 0x104 DUP1 DUP3 ADD SWAP4 PUSH1 0x60 SWAP4 SWAP1 SWAP3 DUP4 SWAP1 SUB SWAP1 SWAP2 ADD SWAP1 DUP3 SWAP1 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1AC2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x60 DUP2 LT ISZERO PUSH2 0x1AD8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x20 DUP2 ADD MLOAD PUSH1 0x40 SWAP1 SWAP2 ADD MLOAD PUSH1 0xB DUP1 SLOAD PUSH32 0xFFFFFFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH24 0x10000000000000000000000000000000000000000000000 PUSH3 0xFFFFFF SWAP4 DUP5 AND MUL PUSH32 0xFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND OR PUSH21 0x10000000000000000000000000000000000000000 SWAP3 SWAP1 SWAP4 AND SWAP2 SWAP1 SWAP2 MUL SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMPDEST PUSH2 0x1B7C DUP3 PUSH2 0x1FD8 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND PUSH32 0xFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000000000 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR PUSH21 0x10000000000000000000000000000000000000000 PUSH3 0xFFFFFF DUP6 AND MUL OR DUP1 DUP3 SSTORE PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV AND ISZERO PUSH2 0x1CD0 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH32 0x9CB5A96300000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x0 PUSH1 0x64 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x84 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0xA4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0xC4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH2 0x100 PUSH1 0xE4 DUP4 ADD MSTORE PUSH2 0x104 DUP3 ADD DUP2 SWAP1 MSTORE SWAP2 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND SWAP3 PUSH4 0x9CB5A963 SWAP3 PUSH2 0x124 DUP1 DUP3 ADD SWAP4 PUSH1 0x20 SWAP4 SWAP1 SWAP3 DUP4 SWAP1 SUB SWAP1 SWAP2 ADD SWAP1 DUP3 SWAP1 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1CB7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1CCD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x2 SIGNEXTEND SGT ISZERO DUP1 PUSH2 0x1CEC JUMPI POP PUSH2 0x1F4 PUSH1 0x2 DUP3 SWAP1 SIGNEXTEND SGT JUMPDEST DUP1 PUSH2 0x1D19 JUMPI POP PUSH1 0x3 SLOAD PUSH1 0x2 DUP3 DUP2 SIGNEXTEND PUSH23 0x100000000000000000000000000000000000000000000 SWAP1 SWAP3 DIV SWAP1 SIGNEXTEND EQ JUMPDEST ISZERO PUSH2 0x1D50 JUMPI PUSH1 0x40 MLOAD PUSH32 0xAFE09F4400000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x3 DUP1 SLOAD PUSH3 0xFFFFFF SWAP1 SWAP3 AND PUSH23 0x100000000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1DAB DUP3 PUSH2 0x22F7 JUMP JUMPDEST PUSH1 0x6 SLOAD SWAP1 SWAP2 POP PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND ISZERO PUSH2 0x1E65 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH32 0x636FD80400000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE SWAP2 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP2 PUSH4 0x636FD804 SWAP2 PUSH1 0x44 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1E4C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1E62 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST PUSH1 0x3 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH23 0x3C00000000000000000000000000000000000000000000 OR SWAP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH32 0xFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000000000 DUP3 AND OR PUSH21 0x10000000000000000000000000000000000000000 PUSH3 0xFFFFFF DUP6 AND MUL OR SWAP1 SWAP2 SSTORE PUSH26 0x100000000000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF DUP2 AND SWAP1 PUSH1 0x40 AND ISZERO PUSH2 0x1FD3 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH32 0x82DD652200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP7 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x2 DUP7 SWAP1 SIGNEXTEND PUSH1 0x44 DUP4 ADD MSTORE SWAP2 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP2 PUSH4 0x82DD6522 SWAP2 PUSH1 0x64 DUP1 DUP4 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1FBA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1FD0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 DUP3 SWAP1 SIGNEXTEND PUSH1 0x17 SAR PUSH3 0xFFFFFF DUP2 DUP5 ADD DUP3 XOR AND PUSH3 0xD89E8 DUP2 GT ISZERO PUSH2 0x2029 JUMPI PUSH1 0x40 MLOAD PUSH32 0x3C10250F00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH17 0x100000000000000000000000000000000 PUSH1 0x1 DUP3 AND ISZERO PUSH2 0x2057 JUMPI POP PUSH16 0xFFFCB933BD6FAD37AA2D162D1A594001 JUMPDEST PUSH1 0x2 DUP3 AND ISZERO PUSH2 0x2076 JUMPI PUSH16 0xFFF97272373D413259A46990580E213A MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x4 DUP3 AND ISZERO PUSH2 0x2095 JUMPI PUSH16 0xFFF2E50F5F656932EF12357CF3C7FDCC MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x8 DUP3 AND ISZERO PUSH2 0x20B4 JUMPI PUSH16 0xFFE5CACA7E10E4E61C3624EAA0941CD0 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x10 DUP3 AND ISZERO PUSH2 0x20D3 JUMPI PUSH16 0xFFCB9843D60F6159C9DB58835C926644 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x20 DUP3 AND ISZERO PUSH2 0x20F2 JUMPI PUSH16 0xFF973B41FA98C081472E6896DFB254C0 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x40 DUP3 AND ISZERO PUSH2 0x2111 JUMPI PUSH16 0xFF2EA16466C96A3843EC78B326B52861 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x80 DUP3 AND ISZERO PUSH2 0x2130 JUMPI PUSH16 0xFE5DEE046A99A2A811C461F1969C3053 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x100 DUP3 AND ISZERO PUSH2 0x2150 JUMPI PUSH16 0xFCBE86C7900A88AEDCFFC83B479AA3A4 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x200 DUP3 AND ISZERO PUSH2 0x2170 JUMPI PUSH16 0xF987A7253AC413176F2B074CF7815E54 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x400 DUP3 AND ISZERO PUSH2 0x2190 JUMPI PUSH16 0xF3392B0822B70005940C7A398E4B70F3 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x800 DUP3 AND ISZERO PUSH2 0x21B0 JUMPI PUSH16 0xE7159475A2C29B7443B29C7FA6E889D9 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x1000 DUP3 AND ISZERO PUSH2 0x21D0 JUMPI PUSH16 0xD097F3BDFD2022B8845AD8F792AA5825 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x2000 DUP3 AND ISZERO PUSH2 0x21F0 JUMPI PUSH16 0xA9F746462D870FDF8A65DC1F90E061E5 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x4000 DUP3 AND ISZERO PUSH2 0x2210 JUMPI PUSH16 0x70D869A156D2A1B890BB3DF62BAF32F7 MUL PUSH1 0x80 SHR JUMPDEST PUSH2 0x8000 DUP3 AND ISZERO PUSH2 0x2230 JUMPI PUSH16 0x31BE135F97D08FD981231505542FCFA6 MUL PUSH1 0x80 SHR JUMPDEST PUSH3 0x10000 DUP3 AND ISZERO PUSH2 0x2251 JUMPI PUSH16 0x9AA508B5B7A84E1C677DE54F3E99BC9 MUL PUSH1 0x80 SHR JUMPDEST PUSH3 0x20000 DUP3 AND ISZERO PUSH2 0x2271 JUMPI PUSH15 0x5D6AF8DEDB81196699C329225EE604 MUL PUSH1 0x80 SHR JUMPDEST PUSH3 0x40000 DUP3 LT PUSH2 0x22B7 JUMPI PUSH3 0x40000 DUP3 AND ISZERO PUSH2 0x229A JUMPI PUSH14 0x2216E584F5FA1EA926041BEDFE98 MUL PUSH1 0x80 SHR JUMPDEST PUSH3 0x80000 DUP3 AND ISZERO PUSH2 0x22B7 JUMPI PUSH12 0x48A170391F7DC42444E8FA2 MUL PUSH1 0x80 SHR JUMPDEST PUSH1 0x0 DUP6 PUSH1 0x2 SIGNEXTEND SGT ISZERO PUSH2 0x22E6 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DIV JUMPDEST PUSH4 0xFFFFFFFF ADD PUSH1 0x20 SHR SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH5 0x1000276A3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND LT DUP1 PUSH2 0x234C JUMPI POP PUSH20 0xFFFD8963EFD1FC6A506488495D951D5263988D26 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND LT ISZERO JUMPDEST ISZERO PUSH2 0x2383 JUMPI PUSH1 0x40 MLOAD PUSH32 0x55CF1E2300000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH24 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000 PUSH1 0x20 DUP4 SWAP1 SHL AND PUSH16 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 GT PUSH1 0x7 SHL DUP2 DUP2 SHR PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH1 0x6 SHL SWAP1 DUP2 SHR PUSH4 0xFFFFFFFF DUP2 GT PUSH1 0x5 SHL SWAP1 DUP2 SHR PUSH2 0xFFFF DUP2 GT PUSH1 0x4 SHL SWAP1 DUP2 SHR PUSH1 0xFF DUP2 GT PUSH1 0x3 SWAP1 DUP2 SHL SWAP2 DUP3 SHR PUSH1 0xF DUP2 GT PUSH1 0x2 SHL SWAP1 DUP2 SHR SWAP2 DUP3 GT PUSH1 0x1 SWAP1 DUP2 SHL SWAP3 DUP4 SHR SWAP8 SWAP1 DUP9 GT SWAP7 OR SWAP1 SWAP5 OR SWAP1 SWAP3 OR OR SWAP1 SWAP2 OR OR OR PUSH1 0x80 DUP2 LT PUSH2 0x242D JUMPI PUSH1 0x7F DUP2 SUB DUP4 SWAP1 SHR SWAP2 POP PUSH2 0x2437 JUMP JUMPDEST DUP1 PUSH1 0x7F SUB DUP4 SWAP1 SHL SWAP2 POP JUMPDEST SWAP1 DUP1 MUL PUSH1 0x7F DUP2 DUP2 SHR PUSH1 0xFF DUP4 DUP2 SHR SWAP2 SWAP1 SWAP2 SHR DUP1 MUL DUP1 DUP4 SHR DUP2 DUP4 SHR SHR DUP1 MUL DUP1 DUP5 SHR DUP2 DUP5 SHR SHR DUP1 MUL DUP1 DUP6 SHR DUP2 DUP6 SHR SHR DUP1 MUL DUP1 DUP7 SHR DUP2 DUP7 SHR SHR DUP1 MUL DUP1 DUP8 SHR DUP2 DUP8 SHR SHR DUP1 MUL DUP1 DUP9 SHR DUP2 DUP9 SHR SHR DUP1 MUL DUP1 DUP10 SHR DUP2 DUP10 SHR SHR DUP1 MUL DUP1 DUP11 SHR DUP2 DUP11 SHR SHR DUP1 MUL DUP1 DUP12 SHR DUP2 DUP12 SHR SHR DUP1 MUL DUP1 DUP13 SHR DUP2 DUP13 SHR SHR DUP1 MUL DUP1 DUP14 SHR DUP2 DUP14 SHR SHR DUP1 MUL DUP1 DUP15 SHR SWAP13 DUP2 SWAP1 SHR SWAP13 SWAP1 SWAP13 SHR DUP1 MUL SWAP13 DUP14 SWAP1 SHR SWAP15 SWAP14 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80 DUP16 ADD PUSH1 0x40 SHL PUSH1 0xC0 SWAP2 SWAP1 SWAP2 SHR PUSH8 0x8000000000000000 AND OR PUSH1 0xC1 SWAP12 SWAP1 SWAP12 SHR PUSH8 0x4000000000000000 AND SWAP11 SWAP1 SWAP11 OR PUSH1 0xC2 SWAP10 SWAP1 SWAP10 SHR PUSH8 0x2000000000000000 AND SWAP9 SWAP1 SWAP9 OR PUSH1 0xC3 SWAP8 SWAP1 SWAP8 SHR PUSH8 0x1000000000000000 AND SWAP7 SWAP1 SWAP7 OR PUSH1 0xC4 SWAP6 SWAP1 SWAP6 SHR PUSH8 0x800000000000000 AND SWAP5 SWAP1 SWAP5 OR PUSH1 0xC5 SWAP4 SWAP1 SWAP4 SHR PUSH8 0x400000000000000 AND SWAP3 SWAP1 SWAP3 OR PUSH1 0xC6 SWAP2 SWAP1 SWAP2 SHR PUSH8 0x200000000000000 AND OR PUSH1 0xC7 SWAP2 SWAP1 SWAP2 SHR PUSH8 0x100000000000000 AND OR PUSH1 0xC8 SWAP2 SWAP1 SWAP2 SHR PUSH7 0x80000000000000 AND OR PUSH1 0xC9 SWAP2 SWAP1 SWAP2 SHR PUSH7 0x40000000000000 AND OR PUSH1 0xCA SWAP2 SWAP1 SWAP2 SHR PUSH7 0x20000000000000 AND OR PUSH1 0xCB SWAP2 SWAP1 SWAP2 SHR PUSH7 0x10000000000000 AND OR PUSH1 0xCC SWAP2 SWAP1 SWAP2 SHR PUSH7 0x8000000000000 AND OR PUSH1 0xCD SWAP2 SWAP1 SWAP2 SHR PUSH7 0x4000000000000 AND OR PUSH10 0x3627A301D71055774C85 DUP2 MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD709B7E5480FBA5A50FED5E62FFC556 DUP2 ADD PUSH1 0x80 SWAP1 DUP2 SAR SWAP1 PUSH16 0xDB2DF09E81959A81455E260799A0632F DUP4 ADD SWAP1 SAR PUSH1 0x2 DUP2 DUP2 SIGNEXTEND SWAP1 DUP4 SWAP1 SIGNEXTEND EQ PUSH2 0x267E JUMPI DUP9 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x2656 DUP3 PUSH2 0x1FD8 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND GT ISZERO PUSH2 0x2678 JUMPI DUP2 PUSH2 0x2680 JUMP JUMPDEST DUP1 PUSH2 0x2680 JUMP JUMPDEST DUP2 JUMPDEST SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0xF SIGNEXTEND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80000000000000000000000000000000 DUP2 SUB PUSH2 0x26E9 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 SUB SWAP3 SWAP2 POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"905:8741:48:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1783:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3911:109;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6358:146;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6358:146:48;;-1:-1:-1;6358:146:48;-1:-1:-1;6358:146:48;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1860:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9569:75;;;:::i;:::-;;7820:280;;;;;;;;;;;;;;;;-1:-1:-1;7820:280:48;;;;:::i;5534:596::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5534:596:48;;-1:-1:-1;5534:596:48;-1:-1:-1;5534:596:48;:::i;7294:472::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7294:472:48;;-1:-1:-1;7294:472:48;-1:-1:-1;7294:472:48;:::i;6172:144::-;;;;;;;;;;;;;;;;-1:-1:-1;6172:144:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2980:54::-;;;;;;;;;;;;;;;;-1:-1:-1;2980:54:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2375:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;2094:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;1459:44;;;;;;;;;;;;;;;;;;;;;;3085:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2006:47;;;;;;;;;;;;4060:107;4142:11;:20;;;;;;4060:107;;;;;;;;;;;;;;;;;8883:382;;;;;;;;;;;;;;;;-1:-1:-1;8883:382:48;;;;:::i;3588:153::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3056:25;;;;;;;;;;;;7077:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4832:660;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4832:660:48;;-1:-1:-1;4832:660:48;-1:-1:-1;4832:660:48;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8664:165;;;;;;;;;;;;;;;;-1:-1:-1;8664:165:48;;;;:::i;2554:51::-;;;;;;;;;;;;;;;;-1:-1:-1;2554:51:48;;;;;;;;;;;;;;;;8477:133;;;;;;;;;;;;;;;;-1:-1:-1;8477:133:48;;;;:::i;1933:33::-;;;;;;;;;;;;1707:36;;;;;;;;;9269:117;;;;;;;;;;;;;;;;-1:-1:-1;9347:14:48;:34;;;;9269:117;;;;9347:34;;;;;;9269:117;2203:61;;;;;;;;;;;;;;;;-1:-1:-1;2203:61:48;;;;;;;;;;;;;;;;3466:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6508:527;;;;;;;;;;;;;;;;-1:-1:-1;6508:527:48;;;;:::i;1627:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1543:44;;;;;;2340:30;;;;;;;;;8154:269;;;;;;;;;;;;;;;;-1:-1:-1;8154:269:48;;;;:::i;2454:59::-;;;;;;;;;;;;;;;;-1:-1:-1;2454:59:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4209:581;;;;;;;;;;;;;;;;-1:-1:-1;4209:581:48;;;;:::i;3911:109::-;3990:25;;;;;;;;;;;;;;;;;;;;;;;3966:7;;;;3990:25;;;;;;;;6358:146;6474:25;;;;;;;;;;;;;;;;;;;;;;;6452:6;;;;6474:25;;;;;;;;9569:75;9614:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7820:280;1241:3:16;7897:45:48;;;;;:92;;-1:-1:-1;7965:11:48;:24;;7946:43;;;7965:24;;;;;7946:43;7897:92;7893:154;;;8004:43;;;;;;;;;;;;;;7893:154;8053:11;:42;;;;;;;;;;;;;;;;;;7820:280::o;5534:596::-;5683:11;:24;5655:7;;;;5683:24;;;839:6:19;5683:62:48;:67;5679:209;;5775:6;;;;5760:43;5804:10;;5828;5840:7;5849:25;5857:16;5849:25;:::i;:::-;5876:4;;5760:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5679:209:48;5898:11;:24;;;;904:6:19;5898:61:48;:66;5894:213;;5989:6;;;;5974:42;6017:10;;6041;6053:7;6062:25;6070:16;6062:25;:::i;:::-;6089:1;6092;6095:4;;5974:126;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5894:213:48;-1:-1:-1;6120:1:48;;;;-1:-1:-1;5534:596:48;-1:-1:-1;;;;;5534:596:48:o;7294:472::-;7428:11;:24;;;;;;;;960:6:19;7462:40:48;:45;7458:147;;7532:6;;7517:81;;;;;7552:10;7517:81;;;;;;7532:6;7517:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7532:6;;;7517:34;;7564:9;;7575:7;;7584;;7593:4;;;;7517:81;;;;7593:4;;;;7517:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7458:147:48;1015:6:19;7615:39:48;;:44;7611:151;;7684:6;;7669:86;;;;;7703:10;7669:86;;;;;;7684:6;7669:86;;;;;;;;;;;;;;;;;;;7684:6;7669:86;;;;;;;;;;;;;;;;;;;;;;;;;7684:6;;;;;7669:33;;7715:9;;7726:7;;7735;;7684:6;;;7750:4;;;;7669:86;;7750:4;;;;7669:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7611:151:48;7401:365;7294:472;;;;;:::o;8883:382::-;8960:5;;;;8946:10;:19;;:43;;-1:-1:-1;8983:6:48;;;;8969:10;:20;8946:43;8938:52;;;;;;9023:11;:24;9106:6;;9023:24;;;;1119:6:19;9023:53:48;:58;;;9106:6;;9092:10;:20;9088:142;;9130:19;9122:28;;;;;;9088:142;;;9180:19;9179:20;:43;;;;-1:-1:-1;9217:5:48;;;;9203:10;:19;9179:43;9171:52;;;;;;-1:-1:-1;9236:11:48;:24;;;;;;;;;;;;;;;;;;8883:382::o;3588:153::-;3711:25;;;;;;;;;;;;;;;;;;;;;;;3651:7;;;;;;;;;;;;;;3711:25;;;;;;;4832:660;5046:11;:24;5009:7;;;;;;5046:24;;;839:6:19;5046:62:48;:67;5042:207;;5138:6;;5123:119;;;;;5167:10;5123:119;;;;;;5138:6;5123:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5138:6;;;5123:43;;5179:9;;5190:10;;5202:7;;5218:16;;5237:4;;;;5123:119;;5237:4;;;;5123:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5042:207:48;5259:11;:24;;;;904:6:19;5259:61:48;:66;5255:211;;5350:6;;;;;;;;;;;5335:42;;;5378:10;5390:9;5401:10;5413:7;5429:16;5448:1;5451;5454:4;;5335:124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5255:211:48;-1:-1:-1;5479:1:48;;;;-1:-1:-1;5479:1:48;;-1:-1:-1;4832:660:48;-1:-1:-1;;;;;;;4832:660:48:o;8664:165::-;8752:5;;;;8738:10;:19;;:43;;-1:-1:-1;8775:6:48;;;;8761:10;:20;8738:43;8730:52;;;;;;8788:11;:36;;;;;;;;;;;;;;;;;;8664:165::o;8477:133::-;8568:5;;;;8554:10;:19;8546:28;;;;;;8580:6;:25;;;;;;;;;;;;;;;8477:133::o;3466:82::-;3518:25;;;;;;;;;;;;;;;;;;;;;;;3504:6;;3518:25;;;;;;;6508:527;6601:6;;6618:11;:24;6601:6;;;;;6618:24;;;6601:6;6618:51;:56;6614:171;;6713:65;;;;;;6732:10;6713:65;;;;;;;;;;6756:4;6713:65;;;;6762:1;6713:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:18;;;;;;:65;;;;;;;;;;;;;;;;;;:18;:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6713:65:48;;;;;;;;;6687:11;6684:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;6614:171;6811:39;6839:10;6811:27;:39::i;:::-;6791:11;:59;;;;;;;6856:29;;;;;;;;;;;;;;;;;6896:24;;;:50;:55;6892:139;;6961:63;;;;;;6979:10;6961:63;;;;;;;;;;7003:4;6961:63;;;;7009:1;6961:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:17;;;;;;:63;;;;;;;;;;;;;;;;;;:17;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6892:139:48;6555:480;6508:527;:::o;8154:269::-;8246:1;8228:14;:19;;;;:66;;;-1:-1:-1;864:3:16;8251:43:48;;;;;8228:66;:99;;;-1:-1:-1;8298:11:48;;:29;;;;:11;;;;;;:29;8228:99;8224:160;;;8342:42;;;;;;;;;;;;;;8224:160;8390:11;:28;;;;;;;;;;;;;;;;;;8154:269::o;4209:581::-;4275:10;4288:41;4316:12;4288:27;:41::i;:::-;4401:6;;4275:54;;-1:-1:-1;4401:20:48;:6;:20;4397:106;;4446:6;;4431:65;;;;;;4471:10;4431:65;;;;4446:6;4431:65;;;;;;;;;4446:6;;;;;4431:39;;:65;;;;;;;;;;;;;;4446:6;;4431:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4397:106:48;4509:11;:16;;;;;;;;;4553:24;;4584:32;;;4622:23;;;;;4509:16;4622:23;;;;;;;4553:24;;;;;;;1069:6:19;4656:38:48;:43;4652:134;;4724:6;;4709:70;;;;;;4748:10;4709:70;;;;4724:6;4709:70;;;;;;;;;;;;;;;;;4724:6;;;;;4709:38;;:70;;;;;;;;;;;;;;4724:6;;4709:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4652:134:48;4269:521;;4209:581;:::o;1513:2696:23:-;1576:13;1658:16;;;;1667:6;1658:16;1682:60;1708:18;;;1707:34;;1682:60;822:9;1754:26;;1750:74;;;1789:35;;;;;;;;;;;;;;1750:74;1849:35;1906:3;1896:13;;:18;1892:66;;-1:-1:-1;1924:34:23;1892:66;1980:3;1970:13;;:18;1966:83;;2007:34;1999:42;2046:3;1998:51;1966:83;2071:3;2061:13;;:18;2057:83;;2098:34;2090:42;2137:3;2089:51;2057:83;2162:3;2152:13;;:18;2148:83;;2189:34;2181:42;2228:3;2180:51;2148:83;2253:4;2243:14;;:19;2239:84;;2281:34;2273:42;2320:3;2272:51;2239:84;2345:4;2335:14;;:19;2331:84;;2373:34;2365:42;2412:3;2364:51;2331:84;2437:4;2427:14;;:19;2423:84;;2465:34;2457:42;2504:3;2456:51;2423:84;2529:4;2519:14;;:19;2515:84;;2557:34;2549:42;2596:3;2548:51;2515:84;2621:5;2611:15;;:20;2607:85;;2650:34;2642:42;2689:3;2641:51;2607:85;2714:5;2704:15;;:20;2700:85;;2743:34;2735:42;2782:3;2734:51;2700:85;2807:5;2797:15;;:20;2793:85;;2836:34;2828:42;2875:3;2827:51;2793:85;2900:5;2890:15;;:20;2886:85;;2929:34;2921:42;2968:3;2920:51;2886:85;2993:6;2983:16;;:21;2979:86;;3023:34;3015:42;3062:3;3014:51;2979:86;3087:6;3077:16;;:21;3073:86;;3117:34;3109:42;3156:3;3108:51;3073:86;3181:6;3171:16;;:21;3167:86;;3211:34;3203:42;3250:3;3202:51;3167:86;3275:6;3265:16;;:21;3261:86;;3305:34;3297:42;3344:3;3296:51;3261:86;3369:7;3359:17;;:22;3355:86;;3400:33;3392:41;3438:3;3391:50;3355:86;3463:7;3453:17;;:22;3449:85;;3494:32;3486:40;3531:3;3485:49;3449:85;3557:7;3546;:18;3542:214;;3590:7;3580:17;;:22;3576:83;;3621:30;3613:38;3656:3;3612:47;3576:83;3683:7;3673:17;;:22;3669:78;;3714:25;3706:33;3744:3;3705:42;3669:78;3775:1;3768:4;:8;;;3764:90;;;3822:6;3818:18;3764:90;4180:10;4172:18;4195:2;4171:26;;1513:2696;-1:-1:-1;;;;1513:2696:23:o;4602:3874::-;4668:10;998;4806:22;;;;;:49;;-1:-1:-1;1174:49:23;4832:23;;;;;4806:49;4802:98;;;4864:36;;;;;;;;;;;;;;4802:98;4924:20;4942:2;4924:20;;;;5039:34;5033:41;;5030:1;5026:49;5115:9;;;5180:18;5174:25;;5171:1;5167:33;5240:9;;;5305:10;5299:17;;5296:1;5292:25;5357:9;;;5422:6;5416:13;;5413:1;5409:21;5470:9;;;5535:4;5529:11;;5526:1;5522:19;;;5581:9;;;5646:3;5640:10;;5637:1;5633:18;5691:9;;;5750:10;;;5747:1;5743:18;;;5801:9;;;;5853:10;;;5216;;5333;;;5446;;;5557;5667;;;5777;5879;5916:3;5909:10;;5905:77;;5941:3;5935;:9;5925:5;:20;;5921:24;;5905:77;;;5978:3;5972;:9;5962:5;:20;;5958:24;;5905:77;6073:9;;;6068:3;6064:19;;;6101:11;;;;6165:9;;;;6222;;6213:19;;;6250:11;;;6314:9;6371;;6362:19;;;6399:11;;;6463:9;6520;;6511:19;;;6548:11;;;6612:9;6669;;6660:19;;;6697:11;;;6761:9;6818;;6809:19;;;6846:11;;;6910:9;6967;;6958:19;;;6995:11;;;7059:9;7116;;7107:19;;;7144:11;;;7208:9;7265;;7256:19;;;7293:11;;;7357:9;7414;;7405:19;;;7442:11;;;7506:9;7563;;7554:19;;;7591:11;;;7655:9;7712;;7703:19;;;7740:11;;;7804:9;7861;;7852:19;;;7889:11;;;;7953:9;;;;8010;;8001:19;;;;;6073:9;6007:17;;;6029:2;6006:25;6140:10;;;;;;;6130:21;6289:10;;;;;;;6279:21;;;;6438:10;;;;;;;6428:21;;;;6587:10;;;;;;;6577:21;;;;6736:10;;;;;;;6726:21;;;;6885:10;;;;;;;6875:21;;;;7034:10;;;;;;;7024:21;7183:10;;;;;;;7173:21;7332:10;;;;;;;7322:21;7481:10;;;;;;;7471:21;7630:10;;;;;;;7620:21;7779:10;;;;;;;7769:21;7928:10;;;;;;;7918:21;8077:10;;;;;;;8067:21;8135:24;8127:32;;8209:53;;;6021:3;8208:62;;;;8317:39;8301:55;;8300:64;;8381:17;;;;;;;;;:84;;8441:5;8411:35;;:26;8430:6;8411:18;:26::i;:::-;:35;;;;:54;;8458:7;8381:84;;8411:54;8449:6;8381:84;;;8401:7;8381:84;8374:91;4602:3874;-1:-1:-1;;;;;;;;;4602:3874:23:o;14:394:52:-;49:3;97:5;93:2;82:21;127:66;118:7;115:79;112:259;;227:77;224:1;217:88;328:4;325:1;318:15;356:4;353:1;346:15;112:259;391:1;387:15;;14:394;-1:-1:-1;;14:394:52:o"},"methodIdentifiers":{"burn(int24,int24,uint128,bytes)":"3b3bc70e","collect(address,int24,int24,uint128,uint128)":"4f1eb3d8","communityVault()":"53e97868","fee()":"ddca3f43","flash(address,uint256,uint256,bytes)":"490e6cbc","getCommunityFeePending()":"7bd78025","getPluginFeePending()":"a1eded87","getReserves()":"0902f1ac","globalState()":"e76c01e4","initialize(uint160)":"f637731d","isUnlocked()":"8380edb7","lastFeeTransferTimestamp()":"77f8c3a9","liquidity()":"1a686502","mint(address,address,int24,int24,uint128,bytes)":"aafe29c0","nextTickGlobal()":"d5c35a7e","overrideFee()":"998e2cbe","plugin()":"ef01df4f","pluginFee()":"67c25a47","positions(bytes32)":"514ea4bf","prevTickGlobal()":"050a4d21","safelyGetStateOfAMM()":"97ce1c51","setCommunityFee(uint16)":"240a875a","setCommunityVault(address)":"d8544cf3","setFee(uint16)":"8e005553","setPlugin(address)":"cc1f97cf","setPluginConfig(uint8)":"bca57f81","setTickSpacing(int24)":"f085a610","skim()":"1dd19cb4","swap(address,bool,int256,uint160,bytes)":"128acb08","swapToTick(int24)":"e47cd4cf","swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)":"9e4e0227","sync()":"fff6cae9","tickSpacing()":"d0c93a7c","tickTable(int16)":"c677e3e0","tickTreeRoot()":"578b9a36","tickTreeSecondLayer(int16)":"d8619037","ticks(int24)":"f30dba93","totalFeeGrowth0Token()":"6378ae44","totalFeeGrowth1Token()":"ecdecf42"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"invalidNewCommunityFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"invalidNewTickSpacing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"priceOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"tickOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"liquidityDesired\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"name\":\"collect\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"communityVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"flash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCommunityFeePending\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPluginFeePending\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"globalState\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"price\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"fee\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"pluginConfig\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"communityFee\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"initialPrice\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isUnlocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastFeeTransferTimestamp\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"bottomTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"topTick\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"liquidityDesired\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextTickGlobal\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"overrideFee\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"plugin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pluginFee\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"innerFeeGrowth0Token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"innerFeeGrowth1Token\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"fees0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"fees1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"prevTickGlobal\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"safelyGetStateOfAMM\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newCommunityFee\",\"type\":\"uint16\"}],\"name\":\"setCommunityFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newCommunityVault\",\"type\":\"address\"}],\"name\":\"setCommunityVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newFee\",\"type\":\"uint16\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPluginAddress\",\"type\":\"address\"}],\"name\":\"setPlugin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"newConfig\",\"type\":\"uint8\"}],\"name\":\"setPluginConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"newTickSpacing\",\"type\":\"int24\"}],\"name\":\"setTickSpacing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"skim\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"targetTick\",\"type\":\"int24\"}],\"name\":\"swapToTick\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"swapWithPaymentInAdvance\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"\",\"type\":\"int16\"}],\"name\":\"tickTable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickTreeRoot\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"\",\"type\":\"int16\"}],\"name\":\"tickTreeSecondLayer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"ticks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidityTotal\",\"type\":\"uint256\"},{\"internalType\":\"int128\",\"name\":\"liquidityDelta\",\"type\":\"int128\"},{\"internalType\":\"int24\",\"name\":\"prevTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"nextTick\",\"type\":\"int24\"},{\"internalType\":\"uint256\",\"name\":\"outerFeeGrowth0Token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"outerFeeGrowth1Token\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalFeeGrowth0Token\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalFeeGrowth1Token\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"burn(int24,int24,uint128,bytes)\":{\"details\":\"Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0Fees must be collected separately via a call to #collect\",\"params\":{\"amount\":\"How much liquidity to burn\",\"bottomTick\":\"The lower tick of the position for which to burn liquidity\",\"data\":\"Any data that should be passed through to the plugin\",\"topTick\":\"The upper tick of the position for which to burn liquidity\"},\"returns\":{\"_0\":\"The amount of token0 sent to the recipient\",\"_1\":\"The amount of token1 sent to the recipient\"}},\"collect(address,int24,int24,uint128,uint128)\":{\"details\":\"Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity. Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.\",\"params\":{\"amount0Requested\":\"How much token0 should be withdrawn from the fees owed\",\"amount1Requested\":\"How much token1 should be withdrawn from the fees owed\",\"bottomTick\":\"The lower tick of the position for which to collect fees\",\"recipient\":\"The address which should receive the fees collected\",\"topTick\":\"The upper tick of the position for which to collect fees\"},\"returns\":{\"_0\":\"The amount of fees collected in token0\",\"_1\":\"The amount of fees collected in token1\"}},\"fee()\":{\"details\":\"In case dynamic fee is enabled in the pool, this method will call the plugin to get the current fee. If the plugin implements complex fee logic, this method may return an incorrect value or revert. In this case, see the plugin implementation and related documentation.**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"returns\":{\"_0\":\"The current pool fee value in hundredths of a bip, i.e. 1e-6\"}},\"flash(address,uint256,uint256,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraFlashCallback#algebraFlashCallbackAll excess tokens paid in the callback are distributed to currently in-range liquidity providers as an additional fee. If there are no in-range liquidity providers, the fee will be transferred to the first active provider in the future\",\"params\":{\"amount0\":\"The amount of token0 to send\",\"amount1\":\"The amount of token1 to send\",\"data\":\"Any data to be passed through to the callback\",\"recipient\":\"The address which will receive the token0 and token1 amounts\"}},\"getCommunityFeePending()\":{\"details\":\"Will be sent FEE_TRANSFER_FREQUENCY after communityFeeLastTimestamp\",\"returns\":{\"_0\":\"The amount of token0 that will be sent to the vault\",\"_1\":\"The amount of token1 that will be sent to the vault\"}},\"getPluginFeePending()\":{\"details\":\"Will be sent FEE_TRANSFER_FREQUENCY after feeLastTransferTimestamp\",\"returns\":{\"_0\":\"The amount of token0 that will be sent to the plugin\",\"_1\":\"The amount of token1 that will be sent to the plugin\"}},\"getReserves()\":{\"details\":\"If at any time the real balance is larger, the excess will be transferred to liquidity providers as additional fee. If the balance exceeds uint128, the excess will be sent to the communityVault.\",\"returns\":{\"_0\":\"The last known reserve of token0\",\"_1\":\"The last known reserve of token1\"}},\"initialize(uint160)\":{\"details\":\"Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 valueInitialization should be done in one transaction with pool creation to avoid front-running\",\"params\":{\"initialPrice\":\"The initial sqrt price of the pool as a Q64.96\"}},\"isUnlocked()\":{\"details\":\"can be used to prevent read-only reentrancy. This method just returns `globalState.unlocked` value\",\"returns\":{\"unlocked\":\"Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false\"}},\"mint(address,address,int24,int24,uint128,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraMintCallback#algebraMintCallback in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends on bottomTick, topTick, the amount of liquidity, and the current price.\",\"params\":{\"bottomTick\":\"The lower tick of the position in which to add liquidity\",\"data\":\"Any data that should be passed through to the callback\",\"leftoversRecipient\":\"The address which will receive potential surplus of paid tokens\",\"liquidityDesired\":\"The desired amount of liquidity to mint\",\"recipient\":\"The address for which the liquidity will be created\",\"topTick\":\"The upper tick of the position in which to add liquidity\"},\"returns\":{\"_0\":\"The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback\",\"_1\":\"The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback\",\"_2\":\"The actual minted amount of liquidity\"}},\"safelyGetStateOfAMM()\":{\"details\":\"Several values exposed as a single method to save gas when accessed externally. **Important security note: this method checks reentrancy lock and should be preferred in most cases**.\",\"returns\":{\"_0\":\"The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\",\"_1\":\"The current global tick of the pool. May not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\",\"_2\":\"The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\",\"_3\":\"The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\",\"_4\":\" The currently in-range liquidity available to the pool\",\"_5\":\"The next initialized tick after current global tick\",\"_6\":\"The previous initialized tick before (or at) current global tick\"}},\"setCommunityFee(uint16)\":{\"params\":{\"newCommunityFee\":\"The new community fee percent in thousandths (1e-3)\"}},\"setCommunityVault(address)\":{\"details\":\"Community fee vault receives collected community fees. **accumulated but not yet sent to the vault community fees once will be sent to the `newCommunityVault` address**\",\"params\":{\"newCommunityVault\":\"The address of new community fee vault\"}},\"setFee(uint16)\":{\"params\":{\"newFee\":\"The new fee value\"}},\"setPlugin(address)\":{\"params\":{\"newPluginAddress\":\"The new plugin address\"}},\"setPluginConfig(uint8)\":{\"params\":{\"newConfig\":\"In the new configuration of the plugin, each bit of which is responsible for a particular hook.\"}},\"setTickSpacing(int24)\":{\"params\":{\"newTickSpacing\":\"The new tick spacing value\"}},\"skim()\":{\"details\":\"Only plugin can call this function\"},\"swap(address,bool,int256,uint160,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback\",\"params\":{\"amountRequired\":\"The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)\",\"data\":\"Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"_0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"_1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\"}},\"swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)\":{\"details\":\"The caller of this method receives a callback in the form of IAlgebraSwapCallback#algebraSwapCallback caller must send tokens in callback before swap calculation the actually sent amount of tokens is used for further calculations\",\"params\":{\"amountToSell\":\"The amount of the swap, only positive (exact input) amount allowed\",\"data\":\"Any data to be passed through to the callback. If using the Router it should contain SwapRouter#SwapCallbackData\",\"leftoversRecipient\":\"The address which will receive potential surplus of paid tokens\",\"limitSqrtPrice\":\"The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this value after the swap. If one for zero, the price cannot be greater than this value after the swap\",\"recipient\":\"The address to receive the output of the swap\",\"zeroToOne\":\"The direction of the swap, true for token0 to token1, false for token1 to token0\"},\"returns\":{\"_0\":\"The delta of the balance of token0 of the pool, exact when negative, minimum when positive\",\"_1\":\"The delta of the balance of token1 of the pool, exact when negative, minimum when positive\"}},\"sync()\":{\"details\":\"Only plugin can call this function\"}},\"stateVariables\":{\"communityVault\":{\"return\":\"The communityVault address\",\"returns\":{\"_0\":\"The communityVault address\"}},\"globalState\":{\"details\":\"**important security note: caller should check `unlocked` flag to prevent read-only reentrancy**\",\"returns\":{\"communityFee\":\"The community fee represented as a percent of all collected fee in thousandths, i.e. 1e-3 (so 100 is 10%)\",\"fee\":\"The current (last known) pool fee value in hundredths of a bip, i.e. 1e-6 (so '100' is '0.01%'). May be obsolete if using dynamic fee plugin\",\"pluginConfig\":\"The current plugin config as bitmap. Each bit is responsible for enabling/disabling the hooks, the last bit turns on/off dynamic fees logic\",\"price\":\"The current price of the pool as a sqrt(dToken1/dToken0) Q64.96 value\",\"tick\":\"The current tick of the pool, i.e. according to the last tick transition that was run This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(price) if the price is on a tick boundary\",\"unlocked\":\"Reentrancy lock flag, true if the pool currently is unlocked, otherwise - false\"}},\"lastFeeTransferTimestamp\":{\"return\":\"The timestamp truncated to 32 bits\",\"returns\":{\"_0\":\"The timestamp truncated to 32 bits\"}},\"liquidity\":{\"details\":\"This value has no relationship to the total liquidity across all ticks. Returned value cannot exceed type(uint128).max**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"return\":\"The current in range liquidity\",\"returns\":{\"_0\":\"The current in range liquidity\"}},\"nextTickGlobal\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"return\":\"The next initialized tick\",\"returns\":{\"_0\":\"The next initialized tick\"}},\"plugin\":{\"details\":\"The plugin is subject to change\",\"return\":\"The address of currently used plugin\",\"returns\":{\"_0\":\"The address of currently used plugin\"}},\"positions\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"params\":{\"key\":\"The position's key is a packed concatenation of the owner address, bottomTick and topTick indexes\"},\"returns\":{\"fees0\":\"The computed amount of token0 owed to the position as of the last mint/burn/poke\",\"fees1\":\"The computed amount of token1 owed to the position as of the last mint/burn/poke\",\"innerFeeGrowth0Token\":\"Fee growth of token0 inside the tick range as of the last mint/burn/poke\",\"innerFeeGrowth1Token\":\"Fee growth of token1 inside the tick range as of the last mint/burn/poke\",\"liquidity\":\"The amount of liquidity in the position\"}},\"prevTickGlobal\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"return\":\"The previous initialized tick\",\"returns\":{\"_0\":\"The previous initialized tick\"}},\"tickSpacing\":{\"details\":\"Ticks can only be initialized by new mints at multiples of this value e.g.: a tickSpacing of 60 means ticks can be initialized every 60th tick, i.e., ..., -120, -60, 0, 60, 120, ... However, tickspacing can be changed after the ticks have been initialized. This value is an int24 to avoid casting even though it is always positive.\",\"return\":\"The current tick spacing\",\"returns\":{\"_0\":\"The current tick spacing\"}},\"tickTable\":{\"params\":{\"wordPosition\":\"Index of 256-bits word with ticks\"},\"return\":\"The 256-bits word with packed ticks info\",\"returns\":{\"_0\":\"The 256-bits word with packed ticks info\"}},\"tickTreeRoot\":{\"details\":\"Each bit corresponds to one node in the second layer of tick tree: '1' if node has at least one active bit. **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"return\":\"The root of tick search tree as bitmap\",\"returns\":{\"_0\":\"The root of tick search tree as bitmap\"}},\"tickTreeSecondLayer\":{\"details\":\"Each bit in node corresponds to one node in the leafs layer (`tickTable`) of tick tree: '1' if leaf has at least one active bit. **important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"return\":\"The node of tick search tree second layer\",\"returns\":{\"_0\":\"The node of tick search tree second layer\"}},\"ticks\":{\"details\":\"**important security note: caller should check reentrancy lock to prevent read-only reentrancy**\",\"params\":{\"tick\":\"The tick to look up\"},\"returns\":{\"liquidityDelta\":\"How much liquidity changes when the pool price crosses the tick\",\"liquidityTotal\":\"The total amount of position liquidity that uses the pool either as tick lower or tick upper\",\"nextTick\":\"The next tick in tick list\",\"outerFeeGrowth0Token\":\"The fee growth on the other side of the tick from the current tick in token0\",\"outerFeeGrowth1Token\":\"The fee growth on the other side of the tick from the current tick in token1 In addition, these values are only relative and must be used only in comparison to previous snapshots for a specific position.\",\"prevTick\":\"The previous tick in tick list\"}},\"totalFeeGrowth0Token\":{\"details\":\"This value can overflow the uint256\",\"return\":\"The fee growth accumulator for token0\",\"returns\":{\"_0\":\"The fee growth accumulator for token0\"}},\"totalFeeGrowth1Token\":{\"details\":\"This value can overflow the uint256\",\"return\":\"The fee growth accumulator for token1\",\"returns\":{\"_0\":\"The fee growth accumulator for token1\"}}},\"title\":\"Mock of Algebra concentrated liquidity pool for plugins testing\",\"version\":1},\"userdoc\":{\"errors\":{\"invalidNewCommunityFee()\":[{\"notice\":\"Emitted if new community fee exceeds max allowed value\"}],\"invalidNewTickSpacing()\":[{\"notice\":\"Emitted if new tick spacing exceeds max allowed value\"}],\"priceOutOfRange()\":[{\"notice\":\"Emitted if price is greater than the maximum or less than the minimum allowed value\"}],\"tickOutOfRange()\":[{\"notice\":\"Emitted if tick is greater than the maximum or less than the minimum allowed value\"}]},\"kind\":\"user\",\"methods\":{\"burn(int24,int24,uint128,bytes)\":{\"notice\":\"Burn liquidity from the sender and account tokens owed for the liquidity to the position\"},\"collect(address,int24,int24,uint128,uint128)\":{\"notice\":\"Collects tokens owed to a position\"},\"communityVault()\":{\"notice\":\"The contract to which community fees are transferred\"},\"fee()\":{\"notice\":\"The current pool fee value\"},\"flash(address,uint256,uint256,bytes)\":{\"notice\":\"Receive token0 and/or token1 and pay it back, plus a fee, in the callback\"},\"getCommunityFeePending()\":{\"notice\":\"The amounts of token0 and token1 that will be sent to the vault\"},\"getPluginFeePending()\":{\"notice\":\"The amounts of token0 and token1 that will be sent to the plugin\"},\"getReserves()\":{\"notice\":\"The tracked token0 and token1 reserves of pool\"},\"globalState()\":{\"notice\":\"The globalState structure in the pool stores many values but requires only one slot and is exposed as a single method to save gas when accessed externally.\"},\"initialize(uint160)\":{\"notice\":\"Sets the initial price for the pool\"},\"isUnlocked()\":{\"notice\":\"Allows to easily get current reentrancy lock status\"},\"lastFeeTransferTimestamp()\":{\"notice\":\"The timestamp of the last sending of tokens to vault/plugin\"},\"liquidity()\":{\"notice\":\"The currently in range liquidity available to the pool\"},\"mint(address,address,int24,int24,uint128,bytes)\":{\"notice\":\"Adds liquidity for the given recipient/bottomTick/topTick position\"},\"nextTickGlobal()\":{\"notice\":\"The next initialized tick after current global tick\"},\"plugin()\":{\"notice\":\"Returns the address of currently used plugin\"},\"positions(bytes32)\":{\"notice\":\"Returns the information about a position by the position's key\"},\"prevTickGlobal()\":{\"notice\":\"The previous initialized tick before (or at) current global tick\"},\"safelyGetStateOfAMM()\":{\"notice\":\"Safely get most important state values of Algebra Integral AMM\"},\"setCommunityFee(uint16)\":{\"notice\":\"Set the community's % share of the fees. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setCommunityVault(address)\":{\"notice\":\"Set new community fee vault address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setFee(uint16)\":{\"notice\":\"Set new pool fee. Can be called by owner if dynamic fee is disabled. Called by the plugin if dynamic fee is enabled\"},\"setPlugin(address)\":{\"notice\":\"Set the new plugin address. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setPluginConfig(uint8)\":{\"notice\":\"Set new plugin config. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"setTickSpacing(int24)\":{\"notice\":\"Set the new tick spacing values. Only factory owner or POOLS_ADMINISTRATOR_ROLE role\"},\"skim()\":{\"notice\":\"Forces balances to match reserves. Excessive tokens will be sent to msg.sender\"},\"swap(address,bool,int256,uint160,bytes)\":{\"notice\":\"Swap token0 for token1, or token1 for token0\"},\"swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)\":{\"notice\":\"Swap token0 for token1, or token1 for token0 with prepayment\"},\"sync()\":{\"notice\":\"Forces balances to match reserves. Excessive tokens will be distributed between active LPs\"},\"tickSpacing()\":{\"notice\":\"The current tick spacing\"},\"tickTable(int16)\":{\"notice\":\"Returns 256 packed tick initialized boolean values. See TickTree for more information\"},\"tickTreeRoot()\":{\"notice\":\"The root of tick search tree\"},\"tickTreeSecondLayer(int16)\":{\"notice\":\"The second layer of tick search tree\"},\"ticks(int24)\":{\"notice\":\"Look up information about a specific tick in the pool\"},\"totalFeeGrowth0Token()\":{\"notice\":\"The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool\"},\"totalFeeGrowth1Token()\":{\"notice\":\"The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/MockPool.sol\":\"MockPool\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":{\"keccak256\":\"0x4f9b70282bac671383d001cffca1479dd64f507db84cdab16da886804c64a60c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b1bc8b774ab5027d97625c3ac01ee3f4bbdefcd012ff0bb0e4c9752096bd9562\",\"dweb:/ipfs/Qmcn5kGihMiZAMjwpY1f12nTSWMyrLqmXLvoifaqPtQYYo\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":{\"keccak256\":\"0xbd9faad7e7599c61c3141cfe2dd2e423ad4746a6119f047b0ae6d2eccb77bc9c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0df4bed6cf34a8c0f6b971fb71411373b4d204afda35eabe8555d8cbe67e291\",\"dweb:/ipfs/QmY6z3BseKy3tEvmLVjhL7VFrNJRuQgDXJXNAFBkBQ218A\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":{\"keccak256\":\"0xe061f0f9b5b16934173b1127efe13ccfe80465db17156d91c04e018b31e993fa\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c607033ec09828f4a8667e7fd2e562814ec689d5806d95b4a248f57e0eff9d38\",\"dweb:/ipfs/QmbGBxBMSzPKitHmRjYJwGGEZVsXDQB6emSsZ19hjy6LUz\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Constants.sol\":{\"keccak256\":\"0x43f5e9ef4088f1301bc80f6446114ab1f3bdd58063fc6b107f8b1598b80e4915\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://496cb38eedc163919d59a6a196d2e566771e711b6e5e4a80a11efaa7b903c03a\",\"dweb:/ipfs/QmVf5trKkBGeXeuDsiuzXDGPVEpJRvaQsdL5Dr2HZ8ZePq\"]},\"@cryptoalgebra/integral-core/contracts/libraries/FullMath.sol\":{\"keccak256\":\"0x6e562130eac2d18d5527fc12115e83a3aa0955f6be89531b6d0d5977f0784cf7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5226566361b64a277a523430449d398434aa9956ec53ab96120bdb5eed0d36c\",\"dweb:/ipfs/QmdmE85FDGgaZBFb9WDamJQpvSx6BrpYUutudSzoRVmxMv\"]},\"@cryptoalgebra/integral-core/contracts/libraries/LiquidityMath.sol\":{\"keccak256\":\"0x84da0c74625df15073beb35957e0247b8eb9c7a50a1b02fcbd6dd98a352f0f25\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7db3b0d6a71dc17898b4cfa68e60ea39158dd03145b3a53aa112ab4c1a81a9cf\",\"dweb:/ipfs/QmWgvbT8aeUVhrNVpCHHp4Ut4MXKnJBMGFq56orFeNAe6m\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":{\"keccak256\":\"0x354b1e099e9a47ce6fdc2ff4a4549249fa9c54434bf4dedb14fd4afe7d94d2d5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d9efe57e2239df29c7290fc1a27c8f0a6d8aa1f9e4c9271efadb8b29b29d7058\",\"dweb:/ipfs/QmbRJqfJR62Bx7XhN8qNBk85zjpWfyxSSiC5vHpxXnYMKb\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeCast.sol\":{\"keccak256\":\"0x1ce68c4b018476d007a0395bf2020cd9f8a5b69325a65465dd3d1f5877206d04\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7c2f240f89c058ea9288a6754a915597b78eabe60a5b3b3d921f02e9ca9cd105\",\"dweb:/ipfs/QmejQ2EatHjYWTRsXYojZ8VhYtLiqFGJ2juGj7y1sJPBc2\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TickManagement.sol\":{\"keccak256\":\"0x34b29f669bef011b96de606c4cd19881e436b3c9f722c493e6f255f913ed7d58\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c1edd75810055445440a0fb3e01731b2d5cd274c0476fcab6133ca8213a8d6a5\",\"dweb:/ipfs/QmfEqYPFdWM6MEMxSDWrk84CmbwCZQ55nF8dcucaTdJ2rb\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TickMath.sol\":{\"keccak256\":\"0x2e7b1444ff69b60acac521b0d93998fb7775e0c4c5215ae31dec5bddafe1e336\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://778dc55bc1867dd899bcc93530c630f9baaff3134973f3cc5dfb62513130b790\",\"dweb:/ipfs/QmXMy8E7Y4G89nbkeha6ULUHNTeoC4t169yAYcWThFQVWC\"]},\"@cryptoalgebra/integral-core/contracts/libraries/TokenDeltaMath.sol\":{\"keccak256\":\"0xcf5faef8dad2a0ca0bce815f95fc416f20129bae96b8e47ce24b750869ad1000\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://0aab6d459259a50151be1458d9da7271d39e94f74f3d20bd295613a82f168f9f\",\"dweb:/ipfs/QmcedxQjrx3JchnazwsMPEazwt55nrViVYnZL2yijvFbPB\"]},\"contracts/test/MockPool.sol\":{\"keccak256\":\"0x5cccf8722bea3d7c3fbae44c48759ce14c08b25681ac9df28737a7a1d2b21fd6\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://e7e170e9909892668774dd5c833e464e3e724c4687802d9e0c368425ab35d6ac\",\"dweb:/ipfs/QmSji6pSFSVu3JT27cmVXqLUraHq9mZGm54SjvoMmJsswH\"]}},\"version\":1}"}},"contracts/test/TestFeeDiscountPlugin.sol":{"TestFeeDiscountPlugin":{"abi":[{"inputs":[{"internalType":"address","name":"_pool","type":"address"},{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_pluginFactory","type":"address"},{"internalType":"address","name":"registry","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"transferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registry","type":"address"}],"name":"FeeDiscountRegistry","type":"event"},{"inputs":[],"name":"ALGEBRA_BASE_PLUGIN_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"activeModules","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int24","name":"","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"collectPluginFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDiscountRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getActiveModuleNames","outputs":[{"internalType":"string[]","name":"moduleNames","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"_newFee","type":"uint24"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeDiscountRegistry","type":"address"}],"name":"setFeeDiscountRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_501":{"entryPoint":null,"id":501,"parameterSlots":3,"returnSlots":0},"@_55":{"entryPoint":null,"id":55,"parameterSlots":2,"returnSlots":0},"@_6058":{"entryPoint":null,"id":6058,"parameterSlots":1,"returnSlots":0},"@_7621":{"entryPoint":null,"id":7621,"parameterSlots":4,"returnSlots":0},"abi_decode_address_fromMemory":{"entryPoint":255,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_addresst_addresst_addresst_address_fromMemory":{"entryPoint":284,"id":null,"parameterSlots":2,"returnSlots":4},"array_dataslot_string_storage":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"clean_up_bytearray_end_slots_string_storage":{"entryPoint":459,"id":null,"parameterSlots":3,"returnSlots":0},"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage":{"entryPoint":542,"id":null,"parameterSlots":2,"returnSlots":0},"extract_byte_array_length":{"entryPoint":399,"id":null,"parameterSlots":1,"returnSlots":1},"extract_used_part_and_set_length_of_short_byte_array":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"panic_error_0x41":{"entryPoint":377,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:3383:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"74:117:52","statements":[{"nodeType":"YulAssignment","src":"84:22:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"99:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"93:5:52"},"nodeType":"YulFunctionCall","src":"93:13:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"84:5:52"}]},{"body":{"nodeType":"YulBlock","src":"169:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"178:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"181:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"171:6:52"},"nodeType":"YulFunctionCall","src":"171:12:52"},"nodeType":"YulExpressionStatement","src":"171:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"128:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"139:5:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"154:3:52","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"159:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"150:3:52"},"nodeType":"YulFunctionCall","src":"150:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"163:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"146:3:52"},"nodeType":"YulFunctionCall","src":"146:19:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"135:3:52"},"nodeType":"YulFunctionCall","src":"135:31:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"125:2:52"},"nodeType":"YulFunctionCall","src":"125:42:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"118:6:52"},"nodeType":"YulFunctionCall","src":"118:50:52"},"nodeType":"YulIf","src":"115:70:52"}]},"name":"abi_decode_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"53:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"64:5:52","type":""}],"src":"14:177:52"},{"body":{"nodeType":"YulBlock","src":"328:332:52","statements":[{"body":{"nodeType":"YulBlock","src":"375:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"384:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"387:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"377:6:52"},"nodeType":"YulFunctionCall","src":"377:12:52"},"nodeType":"YulExpressionStatement","src":"377:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"349:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"358:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"345:3:52"},"nodeType":"YulFunctionCall","src":"345:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"370:3:52","type":"","value":"128"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"341:3:52"},"nodeType":"YulFunctionCall","src":"341:33:52"},"nodeType":"YulIf","src":"338:53:52"},{"nodeType":"YulAssignment","src":"400:50:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"440:9:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"410:29:52"},"nodeType":"YulFunctionCall","src":"410:40:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"400:6:52"}]},{"nodeType":"YulAssignment","src":"459:59:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"503:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"514:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"499:3:52"},"nodeType":"YulFunctionCall","src":"499:18:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"469:29:52"},"nodeType":"YulFunctionCall","src":"469:49:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"459:6:52"}]},{"nodeType":"YulAssignment","src":"527:59:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"571:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"582:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"567:3:52"},"nodeType":"YulFunctionCall","src":"567:18:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"537:29:52"},"nodeType":"YulFunctionCall","src":"537:49:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"527:6:52"}]},{"nodeType":"YulAssignment","src":"595:59:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"639:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"650:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"635:3:52"},"nodeType":"YulFunctionCall","src":"635:18:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"605:29:52"},"nodeType":"YulFunctionCall","src":"605:49:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"595:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_addresst_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"270:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"281:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"293:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"301:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"309:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"317:6:52","type":""}],"src":"196:464:52"},{"body":{"nodeType":"YulBlock","src":"697:95:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"714:1:52","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"721:3:52","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"726:10:52","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"717:3:52"},"nodeType":"YulFunctionCall","src":"717:20:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"707:6:52"},"nodeType":"YulFunctionCall","src":"707:31:52"},"nodeType":"YulExpressionStatement","src":"707:31:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"754:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"757:4:52","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"747:6:52"},"nodeType":"YulFunctionCall","src":"747:15:52"},"nodeType":"YulExpressionStatement","src":"747:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"778:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"781:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"771:6:52"},"nodeType":"YulFunctionCall","src":"771:15:52"},"nodeType":"YulExpressionStatement","src":"771:15:52"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"665:127:52"},{"body":{"nodeType":"YulBlock","src":"852:325:52","statements":[{"nodeType":"YulAssignment","src":"862:22:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"876:1:52","type":"","value":"1"},{"name":"data","nodeType":"YulIdentifier","src":"879:4:52"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"872:3:52"},"nodeType":"YulFunctionCall","src":"872:12:52"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"862:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"893:38:52","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"923:4:52"},{"kind":"number","nodeType":"YulLiteral","src":"929:1:52","type":"","value":"1"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"919:3:52"},"nodeType":"YulFunctionCall","src":"919:12:52"},"variables":[{"name":"outOfPlaceEncoding","nodeType":"YulTypedName","src":"897:18:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"970:31:52","statements":[{"nodeType":"YulAssignment","src":"972:27:52","value":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"986:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"994:4:52","type":"","value":"0x7f"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"982:3:52"},"nodeType":"YulFunctionCall","src":"982:17:52"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"972:6:52"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"950:18:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"943:6:52"},"nodeType":"YulFunctionCall","src":"943:26:52"},"nodeType":"YulIf","src":"940:61:52"},{"body":{"nodeType":"YulBlock","src":"1060:111:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1081:1:52","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1088:3:52","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"1093:10:52","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1084:3:52"},"nodeType":"YulFunctionCall","src":"1084:20:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1074:6:52"},"nodeType":"YulFunctionCall","src":"1074:31:52"},"nodeType":"YulExpressionStatement","src":"1074:31:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1125:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"1128:4:52","type":"","value":"0x22"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1118:6:52"},"nodeType":"YulFunctionCall","src":"1118:15:52"},"nodeType":"YulExpressionStatement","src":"1118:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1153:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1156:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1146:6:52"},"nodeType":"YulFunctionCall","src":"1146:15:52"},"nodeType":"YulExpressionStatement","src":"1146:15:52"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"1016:18:52"},{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"1039:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1047:2:52","type":"","value":"32"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1036:2:52"},"nodeType":"YulFunctionCall","src":"1036:14:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1013:2:52"},"nodeType":"YulFunctionCall","src":"1013:38:52"},"nodeType":"YulIf","src":"1010:161:52"}]},"name":"extract_byte_array_length","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"832:4:52","type":""}],"returnVariables":[{"name":"length","nodeType":"YulTypedName","src":"841:6:52","type":""}],"src":"797:380:52"},{"body":{"nodeType":"YulBlock","src":"1238:65:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1255:1:52","type":"","value":"0"},{"name":"ptr","nodeType":"YulIdentifier","src":"1258:3:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1248:6:52"},"nodeType":"YulFunctionCall","src":"1248:14:52"},"nodeType":"YulExpressionStatement","src":"1248:14:52"},{"nodeType":"YulAssignment","src":"1271:26:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1289:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1292:4:52","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"1279:9:52"},"nodeType":"YulFunctionCall","src":"1279:18:52"},"variableNames":[{"name":"data","nodeType":"YulIdentifier","src":"1271:4:52"}]}]},"name":"array_dataslot_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"ptr","nodeType":"YulTypedName","src":"1221:3:52","type":""}],"returnVariables":[{"name":"data","nodeType":"YulTypedName","src":"1229:4:52","type":""}],"src":"1182:121:52"},{"body":{"nodeType":"YulBlock","src":"1389:464:52","statements":[{"body":{"nodeType":"YulBlock","src":"1422:425:52","statements":[{"nodeType":"YulVariableDeclaration","src":"1436:11:52","value":{"kind":"number","nodeType":"YulLiteral","src":"1446:1:52","type":"","value":"0"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"1440:2:52","type":""}]},{"expression":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"1467:2:52"},{"name":"array","nodeType":"YulIdentifier","src":"1471:5:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1460:6:52"},"nodeType":"YulFunctionCall","src":"1460:17:52"},"nodeType":"YulExpressionStatement","src":"1460:17:52"},{"nodeType":"YulVariableDeclaration","src":"1490:31:52","value":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"1512:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"1516:4:52","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"1502:9:52"},"nodeType":"YulFunctionCall","src":"1502:19:52"},"variables":[{"name":"data","nodeType":"YulTypedName","src":"1494:4:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1534:57:52","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"1557:4:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1567:1:52","type":"","value":"5"},{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"1574:10:52"},{"kind":"number","nodeType":"YulLiteral","src":"1586:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1570:3:52"},"nodeType":"YulFunctionCall","src":"1570:19:52"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"1563:3:52"},"nodeType":"YulFunctionCall","src":"1563:27:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1553:3:52"},"nodeType":"YulFunctionCall","src":"1553:38:52"},"variables":[{"name":"deleteStart","nodeType":"YulTypedName","src":"1538:11:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1628:23:52","statements":[{"nodeType":"YulAssignment","src":"1630:19:52","value":{"name":"data","nodeType":"YulIdentifier","src":"1645:4:52"},"variableNames":[{"name":"deleteStart","nodeType":"YulIdentifier","src":"1630:11:52"}]}]},"condition":{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"1610:10:52"},{"kind":"number","nodeType":"YulLiteral","src":"1622:4:52","type":"","value":"0x20"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1607:2:52"},"nodeType":"YulFunctionCall","src":"1607:20:52"},"nodeType":"YulIf","src":"1604:47:52"},{"nodeType":"YulVariableDeclaration","src":"1664:41:52","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"1678:4:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1688:1:52","type":"","value":"5"},{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"1695:3:52"},{"kind":"number","nodeType":"YulLiteral","src":"1700:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1691:3:52"},"nodeType":"YulFunctionCall","src":"1691:12:52"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"1684:3:52"},"nodeType":"YulFunctionCall","src":"1684:20:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1674:3:52"},"nodeType":"YulFunctionCall","src":"1674:31:52"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"1668:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1718:24:52","value":{"name":"deleteStart","nodeType":"YulIdentifier","src":"1731:11:52"},"variables":[{"name":"start","nodeType":"YulTypedName","src":"1722:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1816:21:52","statements":[{"expression":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"1825:5:52"},{"name":"_1","nodeType":"YulIdentifier","src":"1832:2:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"1818:6:52"},"nodeType":"YulFunctionCall","src":"1818:17:52"},"nodeType":"YulExpressionStatement","src":"1818:17:52"}]},"condition":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"1766:5:52"},{"name":"_2","nodeType":"YulIdentifier","src":"1773:2:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1763:2:52"},"nodeType":"YulFunctionCall","src":"1763:13:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"1777:26:52","statements":[{"nodeType":"YulAssignment","src":"1779:22:52","value":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"1792:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"1799:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1788:3:52"},"nodeType":"YulFunctionCall","src":"1788:13:52"},"variableNames":[{"name":"start","nodeType":"YulIdentifier","src":"1779:5:52"}]}]},"pre":{"nodeType":"YulBlock","src":"1759:3:52","statements":[]},"src":"1755:82:52"}]},"condition":{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"1405:3:52"},{"kind":"number","nodeType":"YulLiteral","src":"1410:2:52","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1402:2:52"},"nodeType":"YulFunctionCall","src":"1402:11:52"},"nodeType":"YulIf","src":"1399:448:52"}]},"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"array","nodeType":"YulTypedName","src":"1361:5:52","type":""},{"name":"len","nodeType":"YulTypedName","src":"1368:3:52","type":""},{"name":"startIndex","nodeType":"YulTypedName","src":"1373:10:52","type":""}],"src":"1308:545:52"},{"body":{"nodeType":"YulBlock","src":"1943:81:52","statements":[{"nodeType":"YulAssignment","src":"1953:65:52","value":{"arguments":[{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"1968:4:52"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1986:1:52","type":"","value":"3"},{"name":"len","nodeType":"YulIdentifier","src":"1989:3:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1982:3:52"},"nodeType":"YulFunctionCall","src":"1982:11:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1999:1:52","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"1995:3:52"},"nodeType":"YulFunctionCall","src":"1995:6:52"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"1978:3:52"},"nodeType":"YulFunctionCall","src":"1978:24:52"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"1974:3:52"},"nodeType":"YulFunctionCall","src":"1974:29:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1964:3:52"},"nodeType":"YulFunctionCall","src":"1964:40:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2010:1:52","type":"","value":"1"},{"name":"len","nodeType":"YulIdentifier","src":"2013:3:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2006:3:52"},"nodeType":"YulFunctionCall","src":"2006:11:52"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"1961:2:52"},"nodeType":"YulFunctionCall","src":"1961:57:52"},"variableNames":[{"name":"used","nodeType":"YulIdentifier","src":"1953:4:52"}]}]},"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"1920:4:52","type":""},{"name":"len","nodeType":"YulTypedName","src":"1926:3:52","type":""}],"returnVariables":[{"name":"used","nodeType":"YulTypedName","src":"1934:4:52","type":""}],"src":"1858:166:52"},{"body":{"nodeType":"YulBlock","src":"2125:1256:52","statements":[{"nodeType":"YulVariableDeclaration","src":"2135:24:52","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2155:3:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2149:5:52"},"nodeType":"YulFunctionCall","src":"2149:10:52"},"variables":[{"name":"newLen","nodeType":"YulTypedName","src":"2139:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"2202:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"2204:16:52"},"nodeType":"YulFunctionCall","src":"2204:18:52"},"nodeType":"YulExpressionStatement","src":"2204:18:52"}]},"condition":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"2174:6:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2190:2:52","type":"","value":"64"},{"kind":"number","nodeType":"YulLiteral","src":"2194:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"2186:3:52"},"nodeType":"YulFunctionCall","src":"2186:10:52"},{"kind":"number","nodeType":"YulLiteral","src":"2198:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2182:3:52"},"nodeType":"YulFunctionCall","src":"2182:18:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2171:2:52"},"nodeType":"YulFunctionCall","src":"2171:30:52"},"nodeType":"YulIf","src":"2168:56:52"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"2277:4:52"},{"arguments":[{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"2315:4:52"}],"functionName":{"name":"sload","nodeType":"YulIdentifier","src":"2309:5:52"},"nodeType":"YulFunctionCall","src":"2309:11:52"}],"functionName":{"name":"extract_byte_array_length","nodeType":"YulIdentifier","src":"2283:25:52"},"nodeType":"YulFunctionCall","src":"2283:38:52"},{"name":"newLen","nodeType":"YulIdentifier","src":"2323:6:52"}],"functionName":{"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulIdentifier","src":"2233:43:52"},"nodeType":"YulFunctionCall","src":"2233:97:52"},"nodeType":"YulExpressionStatement","src":"2233:97:52"},{"nodeType":"YulVariableDeclaration","src":"2339:18:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2356:1:52","type":"","value":"0"},"variables":[{"name":"srcOffset","nodeType":"YulTypedName","src":"2343:9:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2366:23:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2385:4:52","type":"","value":"0x20"},"variables":[{"name":"srcOffset_1","nodeType":"YulTypedName","src":"2370:11:52","type":""}]},{"nodeType":"YulAssignment","src":"2398:24:52","value":{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"2411:11:52"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"2398:9:52"}]},{"cases":[{"body":{"nodeType":"YulBlock","src":"2468:656:52","statements":[{"nodeType":"YulVariableDeclaration","src":"2482:35:52","value":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"2501:6:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2513:2:52","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"2509:3:52"},"nodeType":"YulFunctionCall","src":"2509:7:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2497:3:52"},"nodeType":"YulFunctionCall","src":"2497:20:52"},"variables":[{"name":"loopEnd","nodeType":"YulTypedName","src":"2486:7:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2530:49:52","value":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"2574:4:52"}],"functionName":{"name":"array_dataslot_string_storage","nodeType":"YulIdentifier","src":"2544:29:52"},"nodeType":"YulFunctionCall","src":"2544:35:52"},"variables":[{"name":"dstPtr","nodeType":"YulTypedName","src":"2534:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2592:10:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2601:1:52","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"2596:1:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"2679:172:52","statements":[{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"2704:6:52"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2722:3:52"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"2727:9:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2718:3:52"},"nodeType":"YulFunctionCall","src":"2718:19:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2712:5:52"},"nodeType":"YulFunctionCall","src":"2712:26:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"2697:6:52"},"nodeType":"YulFunctionCall","src":"2697:42:52"},"nodeType":"YulExpressionStatement","src":"2697:42:52"},{"nodeType":"YulAssignment","src":"2756:24:52","value":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"2770:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"2778:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2766:3:52"},"nodeType":"YulFunctionCall","src":"2766:14:52"},"variableNames":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"2756:6:52"}]},{"nodeType":"YulAssignment","src":"2797:40:52","value":{"arguments":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"2814:9:52"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"2825:11:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2810:3:52"},"nodeType":"YulFunctionCall","src":"2810:27:52"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"2797:9:52"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"2626:1:52"},{"name":"loopEnd","nodeType":"YulIdentifier","src":"2629:7:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"2623:2:52"},"nodeType":"YulFunctionCall","src":"2623:14:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"2638:28:52","statements":[{"nodeType":"YulAssignment","src":"2640:24:52","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"2649:1:52"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"2652:11:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2645:3:52"},"nodeType":"YulFunctionCall","src":"2645:19:52"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"2640:1:52"}]}]},"pre":{"nodeType":"YulBlock","src":"2619:3:52","statements":[]},"src":"2615:236:52"},{"body":{"nodeType":"YulBlock","src":"2899:166:52","statements":[{"nodeType":"YulVariableDeclaration","src":"2917:43:52","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2944:3:52"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"2949:9:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2940:3:52"},"nodeType":"YulFunctionCall","src":"2940:19:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2934:5:52"},"nodeType":"YulFunctionCall","src":"2934:26:52"},"variables":[{"name":"lastValue","nodeType":"YulTypedName","src":"2921:9:52","type":""}]},{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"2984:6:52"},{"arguments":[{"name":"lastValue","nodeType":"YulIdentifier","src":"2996:9:52"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3023:1:52","type":"","value":"3"},{"name":"newLen","nodeType":"YulIdentifier","src":"3026:6:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3019:3:52"},"nodeType":"YulFunctionCall","src":"3019:14:52"},{"kind":"number","nodeType":"YulLiteral","src":"3035:3:52","type":"","value":"248"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3015:3:52"},"nodeType":"YulFunctionCall","src":"3015:24:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3045:1:52","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3041:3:52"},"nodeType":"YulFunctionCall","src":"3041:6:52"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"3011:3:52"},"nodeType":"YulFunctionCall","src":"3011:37:52"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"3007:3:52"},"nodeType":"YulFunctionCall","src":"3007:42:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2992:3:52"},"nodeType":"YulFunctionCall","src":"2992:58:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"2977:6:52"},"nodeType":"YulFunctionCall","src":"2977:74:52"},"nodeType":"YulExpressionStatement","src":"2977:74:52"}]},"condition":{"arguments":[{"name":"loopEnd","nodeType":"YulIdentifier","src":"2870:7:52"},{"name":"newLen","nodeType":"YulIdentifier","src":"2879:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"2867:2:52"},"nodeType":"YulFunctionCall","src":"2867:19:52"},"nodeType":"YulIf","src":"2864:201:52"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"3085:4:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3099:1:52","type":"","value":"1"},{"name":"newLen","nodeType":"YulIdentifier","src":"3102:6:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3095:3:52"},"nodeType":"YulFunctionCall","src":"3095:14:52"},{"kind":"number","nodeType":"YulLiteral","src":"3111:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3091:3:52"},"nodeType":"YulFunctionCall","src":"3091:22:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"3078:6:52"},"nodeType":"YulFunctionCall","src":"3078:36:52"},"nodeType":"YulExpressionStatement","src":"3078:36:52"}]},"nodeType":"YulCase","src":"2461:663:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2466:1:52","type":"","value":"1"}},{"body":{"nodeType":"YulBlock","src":"3141:234:52","statements":[{"nodeType":"YulVariableDeclaration","src":"3155:14:52","value":{"kind":"number","nodeType":"YulLiteral","src":"3168:1:52","type":"","value":"0"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"3159:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"3204:67:52","statements":[{"nodeType":"YulAssignment","src":"3222:35:52","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3241:3:52"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"3246:9:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3237:3:52"},"nodeType":"YulFunctionCall","src":"3237:19:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"3231:5:52"},"nodeType":"YulFunctionCall","src":"3231:26:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"3222:5:52"}]}]},"condition":{"name":"newLen","nodeType":"YulIdentifier","src":"3185:6:52"},"nodeType":"YulIf","src":"3182:89:52"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"3291:4:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3350:5:52"},{"name":"newLen","nodeType":"YulIdentifier","src":"3357:6:52"}],"functionName":{"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulIdentifier","src":"3297:52:52"},"nodeType":"YulFunctionCall","src":"3297:67:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"3284:6:52"},"nodeType":"YulFunctionCall","src":"3284:81:52"},"nodeType":"YulExpressionStatement","src":"3284:81:52"}]},"nodeType":"YulCase","src":"3133:242:52","value":"default"}],"expression":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"2441:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"2449:2:52","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2438:2:52"},"nodeType":"YulFunctionCall","src":"2438:14:52"},"nodeType":"YulSwitch","src":"2431:944:52"}]},"name":"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"slot","nodeType":"YulTypedName","src":"2110:4:52","type":""},{"name":"src","nodeType":"YulTypedName","src":"2116:3:52","type":""}],"src":"2029:1352:52"}]},"contents":"{\n    { }\n    function abi_decode_address_fromMemory(offset) -> value\n    {\n        value := mload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_addresst_addresst_address_fromMemory(headStart, dataEnd) -> value0, value1, value2, value3\n    {\n        if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n        value0 := abi_decode_address_fromMemory(headStart)\n        value1 := abi_decode_address_fromMemory(add(headStart, 32))\n        value2 := abi_decode_address_fromMemory(add(headStart, 64))\n        value3 := abi_decode_address_fromMemory(add(headStart, 96))\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, shl(224, 0x4e487b71))\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function extract_byte_array_length(data) -> length\n    {\n        length := shr(1, data)\n        let outOfPlaceEncoding := and(data, 1)\n        if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n        if eq(outOfPlaceEncoding, lt(length, 32))\n        {\n            mstore(0, shl(224, 0x4e487b71))\n            mstore(4, 0x22)\n            revert(0, 0x24)\n        }\n    }\n    function array_dataslot_string_storage(ptr) -> data\n    {\n        mstore(0, ptr)\n        data := keccak256(0, 0x20)\n    }\n    function clean_up_bytearray_end_slots_string_storage(array, len, startIndex)\n    {\n        if gt(len, 31)\n        {\n            let _1 := 0\n            mstore(_1, array)\n            let data := keccak256(_1, 0x20)\n            let deleteStart := add(data, shr(5, add(startIndex, 31)))\n            if lt(startIndex, 0x20) { deleteStart := data }\n            let _2 := add(data, shr(5, add(len, 31)))\n            let start := deleteStart\n            for { } lt(start, _2) { start := add(start, 1) }\n            { sstore(start, _1) }\n        }\n    }\n    function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used\n    {\n        used := or(and(data, not(shr(shl(3, len), not(0)))), shl(1, len))\n    }\n    function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src)\n    {\n        let newLen := mload(src)\n        if gt(newLen, sub(shl(64, 1), 1)) { panic_error_0x41() }\n        clean_up_bytearray_end_slots_string_storage(slot, extract_byte_array_length(sload(slot)), newLen)\n        let srcOffset := 0\n        let srcOffset_1 := 0x20\n        srcOffset := srcOffset_1\n        switch gt(newLen, 31)\n        case 1 {\n            let loopEnd := and(newLen, not(31))\n            let dstPtr := array_dataslot_string_storage(slot)\n            let i := 0\n            for { } lt(i, loopEnd) { i := add(i, srcOffset_1) }\n            {\n                sstore(dstPtr, mload(add(src, srcOffset)))\n                dstPtr := add(dstPtr, 1)\n                srcOffset := add(srcOffset, srcOffset_1)\n            }\n            if lt(loopEnd, newLen)\n            {\n                let lastValue := mload(add(src, srcOffset))\n                sstore(dstPtr, and(lastValue, not(shr(and(shl(3, newLen), 248), not(0)))))\n            }\n            sstore(slot, add(shl(1, newLen), 1))\n        }\n        default {\n            let value := 0\n            if newLen\n            {\n                value := mload(add(src, srcOffset))\n            }\n            sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n        }\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60e06040526000805460ff191690553480156200001b57600080fd5b506040516200192e3803806200192e8339810160408190526200003e916200011c565b6001600160a01b0382811660a05284811660805283811660c052600280546001600160a01b0319169183169190911790556000805460ff811660ff19909116176001908117825580548082018255915260408051808201909152601381527f46656520446973636f756e7420506c7567696e00000000000000000000000000602082015282917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60190620000f390826200021e565b505050505050620002ea565b80516001600160a01b03811681146200011757600080fd5b919050565b600080600080608085870312156200013357600080fd5b6200013e85620000ff565b93506200014e60208601620000ff565b92506200015e60408601620000ff565b91506200016e60608601620000ff565b905092959194509250565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001a457607f821691505b602082108103620001c557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021957600081815260208120601f850160051c81016020861015620001f45750805b601f850160051c820191505b81811015620002155782815560010162000200565b5050505b505050565b81516001600160401b038111156200023a576200023a62000179565b62000252816200024b84546200018f565b84620001cb565b602080601f8311600181146200028a5760008415620002715750858301515b600019600386901b1c1916600185901b17855562000215565b600085815260208120601f198616915b82811015620002bb578886015182559484019460019091019084016200029a565b5085821015620002da5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516116026200032c6000396000610ba00152600050506000818161019c0152818161091f01528181610ad60152610cda01526116026000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c80638de0a8ee116100b2578063c3da797811610081578063e72c652d11610066578063e72c652d14610386578063eabb562214610399578063f20cdc1a146103f557600080fd5b8063c3da79781461035e578063d68520101461037357600080fd5b80638de0a8ee146103105780639cb5a96314610323578063aa6b14bb14610336578063b6f78cc91461034957600080fd5b806346b7748b11610109578063636fd804116100ee578063636fd804146102cb578063689ea370146102de57806382dd6522146102fd57600080fd5b806346b7748b1461025c5780635e2411b21461027c57600080fd5b8063029c1cb71461013b57806316f0115b1461019757806331b25d1a146101e3578063343d37ff14610218575b600080fd5b61014e610149366004610df3565b610415565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909416845262ffffff92831660208501529116908201526060015b60405180910390f35b6101be7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161018e565b61020a7f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f581565b60405190815260200161018e565b61022b610226366004610e9d565b6104c4565b6040517fffffffff00000000000000000000000000000000000000000000000000000000909116815260200161018e565b61026f61026a366004610f0c565b6104fc565b60405161018e9190610f89565b61028f61028a366004610fc9565b6105a8565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909316835262ffffff90911660208301520161018e565b61022b6102d9366004611068565b6105e4565b6000546102eb9060ff1681565b60405160ff909116815260200161018e565b61022b61030b3660046110a1565b610626565b61022b61031e3660046110ec565b610659565b61022b610331366004611168565b61068f565b61022b610344366004611216565b6106c8565b6103516106fa565b60405161018e9190611238565b61037161036c3660046112b8565b610835565b005b61022b6103813660046112d5565b6108b6565b61037161039436600461133d565b6108ef565b6103716103a7366004611374565b6002805462ffffff90921674010000000000000000000000000000000000000000027fffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6002546101be9073ffffffffffffffffffffffffffffffffffffffff1681565b6000806000610422610907565b61043e3233600260149054906101000a900462ffffff166109ac565b600280547fffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000062ffffff938416810291909117918290557f029c1cb7000000000000000000000000000000000000000000000000000000009e91049091169b5060009a5098505050505050505050565b60006104ce610907565b507f343d37ff0000000000000000000000000000000000000000000000000000000098975050505050505050565b6001818154811061050c57600080fd5b90600052602060002001600091509050805461052790611399565b80601f016020809104026020016040519081016040528092919081815260200182805461055390611399565b80156105a05780601f10610575576101008083540402835291602001916105a0565b820191906000526020600020905b81548152906001019060200180831161058357829003601f168201915b505050505081565b6000806105b3610907565b507f5e2411b20000000000000000000000000000000000000000000000000000000098600098509650505050505050565b60006105ee610907565b6000546105fd9060ff16610a89565b507f636fd804000000000000000000000000000000000000000000000000000000005b92915050565b6000610630610907565b507f82dd6522000000000000000000000000000000000000000000000000000000009392505050565b6000610663610907565b507f8de0a8ee000000000000000000000000000000000000000000000000000000009695505050505050565b6000610699610907565b507f9cb5a963000000000000000000000000000000000000000000000000000000009998505050505050505050565b60006106d2610907565b507faa6b14bb0000000000000000000000000000000000000000000000000000000092915050565b60015460609067ffffffffffffffff811115610718576107186113ec565b60405190808252806020026020018201604052801561074b57816020015b60608152602001906001900390816107365790505b50905060005b600154811015610831576001818154811061076e5761076e61141b565b90600052602060002001805461078390611399565b80601f01602080910402602001604051908101604052809291908181526020018280546107af90611399565b80156107fc5780601f106107d1576101008083540402835291602001916107fc565b820191906000526020600020905b8154815290600101906020018083116107df57829003601f168201915b50505050508282815181106108135761081361141b565b6020026020010181905250808061082990611479565b915050610751565b5090565b61083d610b4c565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f3b1f0d57f07483280d598ef402c5b2b96be1a42e65b21992bdafea3476b653279060200160405180910390a150565b60006108c0610907565b507fd6852010000000000000000000000000000000000000000000000000000000009998505050505050505050565b6108f7610b4c565b610902838284610c29565b505050565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146109aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4f6e6c7920706f6f6c2063616e2063616c6c2074686973000000000000000000604482015260640160405180910390fd5b565b6002546040517f1101ce3e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015284811660248301526000928392911690631101ce3e906044016020604051808303816000875af1158015610a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4e91906114c3565b61ffff1690506103e8610a6182826114de565b62ffffff168462ffffff16610a769190611501565b610a809190611518565b95945050505050565b6000610a93610cd2565b93505050508160ff168160ff1614610b48576040517fbca57f8100000000000000000000000000000000000000000000000000000000815260ff831660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063bca57f8190602401600060405180830381600087803b158015610b2f57600080fd5b505af1158015610b43573d6000803e3d6000fd5b505050505b5050565b6040517fe8ae2b690000000000000000000000000000000000000000000000000000000081527f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f560048201523360248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e8ae2b6990604401602060405180830381865afa158015610bfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c209190611553565b6109aa57600080fd5b60006040517fa9059cbb0000000000000000000000000000000000000000000000000000000060005273ffffffffffffffffffffffffffffffffffffffff841660045282602452602060006044600080895af19150813d1560203d146001600051141617169150806040525080610ccc576040517fe465903e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000806000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015610d43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d679190611570565b5093989297509095509350915050565b73ffffffffffffffffffffffffffffffffffffffff81168114610d9957600080fd5b50565b8015158114610d9957600080fd5b60008083601f840112610dbc57600080fd5b50813567ffffffffffffffff811115610dd457600080fd5b602083019150836020828501011115610dec57600080fd5b9250929050565b60008060008060008060008060e0898b031215610e0f57600080fd5b8835610e1a81610d77565b97506020890135610e2a81610d77565b96506040890135610e3a81610d9c565b9550606089013594506080890135610e5181610d77565b935060a0890135610e6181610d9c565b925060c089013567ffffffffffffffff811115610e7d57600080fd5b610e898b828c01610daa565b999c989b5096995094979396929594505050565b60008060008060008060008060e0898b031215610eb957600080fd5b8835610ec481610d77565b97506020890135610ed481610d77565b965060408901359550606089013594506080890135935060a0890135925060c089013567ffffffffffffffff811115610e7d57600080fd5b600060208284031215610f1e57600080fd5b5035919050565b6000815180845260005b81811015610f4b57602081850181015186830182015201610f2f565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081526000610f9c6020830184610f25565b9392505050565b8060020b8114610d9957600080fd5b8035600f81900b8114610fc457600080fd5b919050565b600080600080600080600060c0888a031215610fe457600080fd5b8735610fef81610d77565b96506020880135610fff81610d77565b9550604088013561100f81610fa3565b9450606088013561101f81610fa3565b935061102d60808901610fb2565b925060a088013567ffffffffffffffff81111561104957600080fd5b6110558a828b01610daa565b989b979a50959850939692959293505050565b6000806040838503121561107b57600080fd5b823561108681610d77565b9150602083013561109681610d77565b809150509250929050565b6000806000606084860312156110b657600080fd5b83356110c181610d77565b925060208401356110d181610d77565b915060408401356110e181610fa3565b809150509250925092565b60008060008060008060a0878903121561110557600080fd5b863561111081610d77565b9550602087013561112081610d77565b94506040870135935060608701359250608087013567ffffffffffffffff81111561114a57600080fd5b61115689828a01610daa565b979a9699509497509295939492505050565b60008060008060008060008060006101008a8c03121561118757600080fd5b893561119281610d77565b985060208a01356111a281610d77565b975060408a01356111b281610d9c565b965060608a0135955060808a01356111c981610d77565b945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff8111156111f357600080fd5b6111ff8c828d01610daa565b915080935050809150509295985092959850929598565b6000806040838503121561122957600080fd5b50508035926020909101359150565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156112ab577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452611299858351610f25565b9450928501929085019060010161125f565b5092979650505050505050565b6000602082840312156112ca57600080fd5b8135610f9c81610d77565b60008060008060008060008060006101008a8c0312156112f457600080fd5b89356112ff81610d77565b985060208a013561130f81610d77565b975060408a013561131f81610fa3565b965060608a013561132f81610fa3565b95506111c960808b01610fb2565b60008060006060848603121561135257600080fd5b833561135d81610d77565b92506020840135915060408401356110e181610d77565b60006020828403121561138657600080fd5b813562ffffff81168114610f9c57600080fd5b600181811c908216806113ad57607f821691505b6020821081036113e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114aa576114aa61144a565b5060010190565b805161ffff81168114610fc457600080fd5b6000602082840312156114d557600080fd5b610f9c826114b1565b62ffffff8281168282160390808211156114fa576114fa61144a565b5092915050565b80820281158282048414176106205761062061144a565b60008261154e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60006020828403121561156557600080fd5b8151610f9c81610d9c565b60008060008060008060c0878903121561158957600080fd5b865161159481610d77565b60208801519096506115a581610fa3565b94506115b3604088016114b1565b9350606087015160ff811681146115c957600080fd5b92506115d7608088016114b1565b915060a08701516115e781610d9c565b80915050929550929550929556fea164736f6c6343000814000a","opcodes":"PUSH1 0xE0 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH3 0x1B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x192E CODESIZE SUB DUP1 PUSH3 0x192E DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x3E SWAP2 PUSH3 0x11C JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND PUSH1 0xA0 MSTORE DUP5 DUP2 AND PUSH1 0x80 MSTORE DUP4 DUP2 AND PUSH1 0xC0 MSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP2 DUP4 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0x0 DUP1 SLOAD PUSH1 0xFF DUP2 AND PUSH1 0xFF NOT SWAP1 SWAP2 AND OR PUSH1 0x1 SWAP1 DUP2 OR DUP3 SSTORE DUP1 SLOAD DUP1 DUP3 ADD DUP3 SSTORE SWAP2 MSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x13 DUP2 MSTORE PUSH32 0x46656520446973636F756E7420506C7567696E00000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE DUP3 SWAP2 PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 ADD SWAP1 PUSH3 0xF3 SWAP1 DUP3 PUSH3 0x21E JUMP JUMPDEST POP POP POP POP POP POP PUSH3 0x2EA JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x117 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x80 DUP6 DUP8 SUB SLT ISZERO PUSH3 0x133 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x13E DUP6 PUSH3 0xFF JUMP JUMPDEST SWAP4 POP PUSH3 0x14E PUSH1 0x20 DUP7 ADD PUSH3 0xFF JUMP JUMPDEST SWAP3 POP PUSH3 0x15E PUSH1 0x40 DUP7 ADD PUSH3 0xFF JUMP JUMPDEST SWAP2 POP PUSH3 0x16E PUSH1 0x60 DUP7 ADD PUSH3 0xFF JUMP JUMPDEST SWAP1 POP SWAP3 SWAP6 SWAP2 SWAP5 POP SWAP3 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH3 0x1A4 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH3 0x1C5 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH3 0x219 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP2 ADD PUSH1 0x20 DUP7 LT ISZERO PUSH3 0x1F4 JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x215 JUMPI DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH3 0x200 JUMP JUMPDEST POP POP POP JUMPDEST POP POP POP JUMP JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT ISZERO PUSH3 0x23A JUMPI PUSH3 0x23A PUSH3 0x179 JUMP JUMPDEST PUSH3 0x252 DUP2 PUSH3 0x24B DUP5 SLOAD PUSH3 0x18F JUMP JUMPDEST DUP5 PUSH3 0x1CB JUMP JUMPDEST PUSH1 0x20 DUP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH3 0x28A JUMPI PUSH1 0x0 DUP5 ISZERO PUSH3 0x271 JUMPI POP DUP6 DUP4 ADD MLOAD JUMPDEST PUSH1 0x0 NOT PUSH1 0x3 DUP7 SWAP1 SHL SHR NOT AND PUSH1 0x1 DUP6 SWAP1 SHL OR DUP6 SSTORE PUSH3 0x215 JUMP JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F NOT DUP7 AND SWAP2 JUMPDEST DUP3 DUP2 LT ISZERO PUSH3 0x2BB JUMPI DUP9 DUP7 ADD MLOAD DUP3 SSTORE SWAP5 DUP5 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 DUP5 ADD PUSH3 0x29A JUMP JUMPDEST POP DUP6 DUP3 LT ISZERO PUSH3 0x2DA JUMPI DUP8 DUP6 ADD MLOAD PUSH1 0x0 NOT PUSH1 0x3 DUP9 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND DUP2 SSTORE JUMPDEST POP POP POP POP POP PUSH1 0x1 SWAP1 DUP2 SHL ADD SWAP1 SSTORE POP JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH1 0xA0 MLOAD PUSH1 0xC0 MLOAD PUSH2 0x1602 PUSH3 0x32C PUSH1 0x0 CODECOPY PUSH1 0x0 PUSH2 0xBA0 ADD MSTORE PUSH1 0x0 POP POP PUSH1 0x0 DUP2 DUP2 PUSH2 0x19C ADD MSTORE DUP2 DUP2 PUSH2 0x91F ADD MSTORE DUP2 DUP2 PUSH2 0xAD6 ADD MSTORE PUSH2 0xCDA ADD MSTORE PUSH2 0x1602 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 0x136 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DE0A8EE GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0xC3DA7978 GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xE72C652D GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xE72C652D EQ PUSH2 0x386 JUMPI DUP1 PUSH4 0xEABB5622 EQ PUSH2 0x399 JUMPI DUP1 PUSH4 0xF20CDC1A EQ PUSH2 0x3F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC3DA7978 EQ PUSH2 0x35E JUMPI DUP1 PUSH4 0xD6852010 EQ PUSH2 0x373 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8DE0A8EE EQ PUSH2 0x310 JUMPI DUP1 PUSH4 0x9CB5A963 EQ PUSH2 0x323 JUMPI DUP1 PUSH4 0xAA6B14BB EQ PUSH2 0x336 JUMPI DUP1 PUSH4 0xB6F78CC9 EQ PUSH2 0x349 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x46B7748B GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x636FD804 GT PUSH2 0xEE JUMPI DUP1 PUSH4 0x636FD804 EQ PUSH2 0x2CB JUMPI DUP1 PUSH4 0x689EA370 EQ PUSH2 0x2DE JUMPI DUP1 PUSH4 0x82DD6522 EQ PUSH2 0x2FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x46B7748B EQ PUSH2 0x25C JUMPI DUP1 PUSH4 0x5E2411B2 EQ PUSH2 0x27C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29C1CB7 EQ PUSH2 0x13B JUMPI DUP1 PUSH4 0x16F0115B EQ PUSH2 0x197 JUMPI DUP1 PUSH4 0x31B25D1A EQ PUSH2 0x1E3 JUMPI DUP1 PUSH4 0x343D37FF EQ PUSH2 0x218 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x14E PUSH2 0x149 CALLDATASIZE PUSH1 0x4 PUSH2 0xDF3 JUMP JUMPDEST PUSH2 0x415 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP5 AND DUP5 MSTORE PUSH3 0xFFFFFF SWAP3 DUP4 AND PUSH1 0x20 DUP6 ADD MSTORE SWAP2 AND SWAP1 DUP3 ADD MSTORE PUSH1 0x60 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1BE PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x20A PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x22B PUSH2 0x226 CALLDATASIZE PUSH1 0x4 PUSH2 0xE9D JUMP JUMPDEST PUSH2 0x4C4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x26F PUSH2 0x26A CALLDATASIZE PUSH1 0x4 PUSH2 0xF0C JUMP JUMPDEST PUSH2 0x4FC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18E SWAP2 SWAP1 PUSH2 0xF89 JUMP JUMPDEST PUSH2 0x28F PUSH2 0x28A CALLDATASIZE PUSH1 0x4 PUSH2 0xFC9 JUMP JUMPDEST PUSH2 0x5A8 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP4 AND DUP4 MSTORE PUSH3 0xFFFFFF SWAP1 SWAP2 AND PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x22B PUSH2 0x2D9 CALLDATASIZE PUSH1 0x4 PUSH2 0x1068 JUMP JUMPDEST PUSH2 0x5E4 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x2EB SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x22B PUSH2 0x30B CALLDATASIZE PUSH1 0x4 PUSH2 0x10A1 JUMP JUMPDEST PUSH2 0x626 JUMP JUMPDEST PUSH2 0x22B PUSH2 0x31E CALLDATASIZE PUSH1 0x4 PUSH2 0x10EC JUMP JUMPDEST PUSH2 0x659 JUMP JUMPDEST PUSH2 0x22B PUSH2 0x331 CALLDATASIZE PUSH1 0x4 PUSH2 0x1168 JUMP JUMPDEST PUSH2 0x68F JUMP JUMPDEST PUSH2 0x22B PUSH2 0x344 CALLDATASIZE PUSH1 0x4 PUSH2 0x1216 JUMP JUMPDEST PUSH2 0x6C8 JUMP JUMPDEST PUSH2 0x351 PUSH2 0x6FA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18E SWAP2 SWAP1 PUSH2 0x1238 JUMP JUMPDEST PUSH2 0x371 PUSH2 0x36C CALLDATASIZE PUSH1 0x4 PUSH2 0x12B8 JUMP JUMPDEST PUSH2 0x835 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x22B PUSH2 0x381 CALLDATASIZE PUSH1 0x4 PUSH2 0x12D5 JUMP JUMPDEST PUSH2 0x8B6 JUMP JUMPDEST PUSH2 0x371 PUSH2 0x394 CALLDATASIZE PUSH1 0x4 PUSH2 0x133D JUMP JUMPDEST PUSH2 0x8EF JUMP JUMPDEST PUSH2 0x371 PUSH2 0x3A7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1374 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH3 0xFFFFFF SWAP1 SWAP3 AND PUSH21 0x10000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH2 0x1BE SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x422 PUSH2 0x907 JUMP JUMPDEST PUSH2 0x43E ORIGIN CALLER PUSH1 0x2 PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH3 0xFFFFFF AND PUSH2 0x9AC JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH3 0xFFFFFF SWAP4 DUP5 AND DUP2 MUL SWAP2 SWAP1 SWAP2 OR SWAP2 DUP3 SWAP1 SSTORE PUSH32 0x29C1CB700000000000000000000000000000000000000000000000000000000 SWAP15 SWAP2 DIV SWAP1 SWAP2 AND SWAP12 POP PUSH1 0x0 SWAP11 POP SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4CE PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x343D37FF00000000000000000000000000000000000000000000000000000000 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x50C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x527 SWAP1 PUSH2 0x1399 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x553 SWAP1 PUSH2 0x1399 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5A0 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x575 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5A0 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x583 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x5B3 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x5E2411B200000000000000000000000000000000000000000000000000000000 SWAP9 PUSH1 0x0 SWAP9 POP SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5EE PUSH2 0x907 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x5FD SWAP1 PUSH1 0xFF AND PUSH2 0xA89 JUMP JUMPDEST POP PUSH32 0x636FD80400000000000000000000000000000000000000000000000000000000 JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x630 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x82DD652200000000000000000000000000000000000000000000000000000000 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x663 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x8DE0A8EE00000000000000000000000000000000000000000000000000000000 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x699 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x9CB5A96300000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6D2 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0xAA6B14BB00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x60 SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x718 JUMPI PUSH2 0x718 PUSH2 0x13EC JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x74B JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x736 JUMPI SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 JUMPDEST PUSH1 0x1 SLOAD DUP2 LT ISZERO PUSH2 0x831 JUMPI PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x76E JUMPI PUSH2 0x76E PUSH2 0x141B JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP1 SLOAD PUSH2 0x783 SWAP1 PUSH2 0x1399 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x7AF SWAP1 PUSH2 0x1399 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x7FC JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x7D1 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x7FC JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x7DF JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x813 JUMPI PUSH2 0x813 PUSH2 0x141B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP DUP1 DUP1 PUSH2 0x829 SWAP1 PUSH2 0x1479 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x751 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x83D PUSH2 0xB4C JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH32 0x3B1F0D57F07483280D598EF402C5B2B96BE1A42E65B21992BDAFEA3476B65327 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8C0 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0xD685201000000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x8F7 PUSH2 0xB4C JUMP JUMPDEST PUSH2 0x902 DUP4 DUP3 DUP5 PUSH2 0xC29 JUMP JUMPDEST POP POP POP JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND EQ PUSH2 0x9AA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C7920706F6F6C2063616E2063616C6C2074686973000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH32 0x1101CE3E00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP5 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x0 SWAP3 DUP4 SWAP3 SWAP2 AND SWAP1 PUSH4 0x1101CE3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0xA2A 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 0xA4E SWAP2 SWAP1 PUSH2 0x14C3 JUMP JUMPDEST PUSH2 0xFFFF AND SWAP1 POP PUSH2 0x3E8 PUSH2 0xA61 DUP3 DUP3 PUSH2 0x14DE JUMP JUMPDEST PUSH3 0xFFFFFF AND DUP5 PUSH3 0xFFFFFF AND PUSH2 0xA76 SWAP2 SWAP1 PUSH2 0x1501 JUMP JUMPDEST PUSH2 0xA80 SWAP2 SWAP1 PUSH2 0x1518 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA93 PUSH2 0xCD2 JUMP JUMPDEST SWAP4 POP POP POP POP DUP2 PUSH1 0xFF AND DUP2 PUSH1 0xFF AND EQ PUSH2 0xB48 JUMPI PUSH1 0x40 MLOAD PUSH32 0xBCA57F8100000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0xFF DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xBCA57F81 SWAP1 PUSH1 0x24 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB2F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xB43 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xE8AE2B6900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 PUSH1 0x4 DUP3 ADD MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xE8AE2B69 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBFC 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 0xC20 SWAP2 SWAP1 PUSH2 0x1553 JUMP JUMPDEST PUSH2 0x9AA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0xA9059CBB00000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x4 MSTORE DUP3 PUSH1 0x24 MSTORE PUSH1 0x20 PUSH1 0x0 PUSH1 0x44 PUSH1 0x0 DUP1 DUP10 GAS CALL SWAP2 POP DUP2 RETURNDATASIZE ISZERO PUSH1 0x20 RETURNDATASIZE EQ PUSH1 0x1 PUSH1 0x0 MLOAD EQ AND OR AND SWAP2 POP DUP1 PUSH1 0x40 MSTORE POP DUP1 PUSH2 0xCCC JUMPI PUSH1 0x40 MLOAD PUSH32 0xE465903E00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xE76C01E4 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0xC0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD43 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 0xD67 SWAP2 SWAP1 PUSH2 0x1570 JUMP JUMPDEST POP SWAP4 SWAP9 SWAP3 SWAP8 POP SWAP1 SWAP6 POP SWAP4 POP SWAP2 POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0xD99 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xD99 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0xDBC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xDD4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0xDEC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0xE0F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0xE1A DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0xE2A DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD PUSH2 0xE3A DUP2 PUSH2 0xD9C JUMP JUMPDEST SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH2 0xE51 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0xE61 DUP2 PUSH2 0xD9C JUMP JUMPDEST SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xE7D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xE89 DUP12 DUP3 DUP13 ADD PUSH2 0xDAA JUMP JUMPDEST SWAP10 SWAP13 SWAP9 SWAP12 POP SWAP7 SWAP10 POP SWAP5 SWAP8 SWAP4 SWAP7 SWAP3 SWAP6 SWAP5 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0xEB9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0xEC4 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0xED4 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xE7D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xF1E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xF4B JUMPI PUSH1 0x20 DUP2 DUP6 ADD DUP2 ADD MLOAD DUP7 DUP4 ADD DUP3 ADD MSTORE ADD PUSH2 0xF2F JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x20 DUP3 DUP7 ADD ADD MSTORE PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP4 ADD AND DUP6 ADD ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0xF9C PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xF25 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP1 PUSH1 0x2 SIGNEXTEND DUP2 EQ PUSH2 0xD99 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH1 0xF DUP2 SWAP1 SIGNEXTEND DUP2 EQ PUSH2 0xFC4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xC0 DUP9 DUP11 SUB SLT ISZERO PUSH2 0xFE4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 CALLDATALOAD PUSH2 0xFEF DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP7 POP PUSH1 0x20 DUP9 ADD CALLDATALOAD PUSH2 0xFFF DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP6 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD PUSH2 0x100F DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP5 POP PUSH1 0x60 DUP9 ADD CALLDATALOAD PUSH2 0x101F DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP4 POP PUSH2 0x102D PUSH1 0x80 DUP10 ADD PUSH2 0xFB2 JUMP JUMPDEST SWAP3 POP PUSH1 0xA0 DUP9 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1049 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1055 DUP11 DUP3 DUP12 ADD PUSH2 0xDAA JUMP JUMPDEST SWAP9 SWAP12 SWAP8 SWAP11 POP SWAP6 SWAP9 POP SWAP4 SWAP7 SWAP3 SWAP6 SWAP3 SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x107B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x1086 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x1096 DUP2 PUSH2 0xD77 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x10B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x10C1 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x10D1 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x10E1 DUP2 PUSH2 0xFA3 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xA0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x1105 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 CALLDATALOAD PUSH2 0x1110 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH2 0x1120 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP5 POP PUSH1 0x40 DUP8 ADD CALLDATALOAD SWAP4 POP PUSH1 0x60 DUP8 ADD CALLDATALOAD SWAP3 POP PUSH1 0x80 DUP8 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x114A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1156 DUP10 DUP3 DUP11 ADD PUSH2 0xDAA JUMP JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 POP SWAP3 SWAP6 SWAP4 SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x1187 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x1192 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x11A2 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x11B2 DUP2 PUSH2 0xD9C JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD SWAP6 POP PUSH1 0x80 DUP11 ADD CALLDATALOAD PUSH2 0x11C9 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP5 POP PUSH1 0xA0 DUP11 ADD CALLDATALOAD SWAP4 POP PUSH1 0xC0 DUP11 ADD CALLDATALOAD SWAP3 POP PUSH1 0xE0 DUP11 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x11F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11FF DUP13 DUP3 DUP14 ADD PUSH2 0xDAA JUMP JUMPDEST SWAP2 POP DUP1 SWAP4 POP POP DUP1 SWAP2 POP POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1229 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 DUP7 ADD SWAP2 POP PUSH1 0x40 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD SWAP3 POP DUP4 DUP8 ADD PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x12AB JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 DUP9 DUP7 SUB ADD DUP5 MSTORE PUSH2 0x1299 DUP6 DUP4 MLOAD PUSH2 0xF25 JUMP JUMPDEST SWAP5 POP SWAP3 DUP6 ADD SWAP3 SWAP1 DUP6 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x125F JUMP JUMPDEST POP SWAP3 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xF9C DUP2 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x12F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x12FF DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x130F DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x131F DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD PUSH2 0x132F DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP6 POP PUSH2 0x11C9 PUSH1 0x80 DUP12 ADD PUSH2 0xFB2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1352 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x135D DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x10E1 DUP2 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1386 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0xF9C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x13AD JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x13E6 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x14AA JUMPI PUSH2 0x14AA PUSH2 0x144A JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST DUP1 MLOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0xFC4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14D5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF9C DUP3 PUSH2 0x14B1 JUMP JUMPDEST PUSH3 0xFFFFFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP1 DUP3 GT ISZERO PUSH2 0x14FA JUMPI PUSH2 0x14FA PUSH2 0x144A JUMP JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x620 JUMPI PUSH2 0x620 PUSH2 0x144A JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x154E JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1565 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xF9C DUP2 PUSH2 0xD9C JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xC0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x1589 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 MLOAD PUSH2 0x1594 DUP2 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x20 DUP9 ADD MLOAD SWAP1 SWAP7 POP PUSH2 0x15A5 DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP5 POP PUSH2 0x15B3 PUSH1 0x40 DUP9 ADD PUSH2 0x14B1 JUMP JUMPDEST SWAP4 POP PUSH1 0x60 DUP8 ADD MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x15C9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP PUSH2 0x15D7 PUSH1 0x80 DUP9 ADD PUSH2 0x14B1 JUMP JUMPDEST SWAP2 POP PUSH1 0xA0 DUP8 ADD MLOAD PUSH2 0x15E7 DUP2 PUSH2 0xD9C JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 POP SWAP3 SWAP6 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"305:1118:49:-:0;;;1032:1:0;997:36;;-1:-1:-1;;997:36:0;;;409:168:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1278:47:0;;;;;;;;;;436:18:1;;::::1;;::::0;727:19:39;:42;;-1:-1:-1;;;;;;727:42:39;;;;;;;;;;-1:-1:-1;798:19:39;;;;;-1:-1:-1;;776:75:39;;;;-1:-1:-1;776:75:39;;;;;858:41;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;858:41:39;;;727:42;;858:41;;;;;;;:::i;:::-;;678:227;409:168:49;;;;305:1118;;14:177:52;93:13;;-1:-1:-1;;;;;135:31:52;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:464::-;293:6;301;309;317;370:3;358:9;349:7;345:23;341:33;338:53;;;387:1;384;377:12;338:53;410:40;440:9;410:40;:::i;:::-;400:50;;469:49;514:2;503:9;499:18;469:49;:::i;:::-;459:59;;537:49;582:2;571:9;567:18;537:49;:::i;:::-;527:59;;605:49;650:2;639:9;635:18;605:49;:::i;:::-;595:59;;196:464;;;;;;;:::o;665:127::-;726:10;721:3;717:20;714:1;707:31;757:4;754:1;747:15;781:4;778:1;771:15;797:380;876:1;872:12;;;;919;;;940:61;;994:4;986:6;982:17;972:27;;940:61;1047:2;1039:6;1036:14;1016:18;1013:38;1010:161;;1093:10;1088:3;1084:20;1081:1;1074:31;1128:4;1125:1;1118:15;1156:4;1153:1;1146:15;1010:161;;797:380;;;:::o;1308:545::-;1410:2;1405:3;1402:11;1399:448;;;1446:1;1471:5;1467:2;1460:17;1516:4;1512:2;1502:19;1586:2;1574:10;1570:19;1567:1;1563:27;1557:4;1553:38;1622:4;1610:10;1607:20;1604:47;;;-1:-1:-1;1645:4:52;1604:47;1700:2;1695:3;1691:12;1688:1;1684:20;1678:4;1674:31;1664:41;;1755:82;1773:2;1766:5;1763:13;1755:82;;;1818:17;;;1799:1;1788:13;1755:82;;;1759:3;;;1399:448;1308:545;;;:::o;2029:1352::-;2149:10;;-1:-1:-1;;;;;2171:30:52;;2168:56;;;2204:18;;:::i;:::-;2233:97;2323:6;2283:38;2315:4;2309:11;2283:38;:::i;:::-;2277:4;2233:97;:::i;:::-;2385:4;;2449:2;2438:14;;2466:1;2461:663;;;;3168:1;3185:6;3182:89;;;-1:-1:-1;3237:19:52;;;3231:26;3182:89;-1:-1:-1;;1986:1:52;1982:11;;;1978:24;1974:29;1964:40;2010:1;2006:11;;;1961:57;3284:81;;2431:944;;2461:663;1255:1;1248:14;;;1292:4;1279:18;;-1:-1:-1;;2497:20:52;;;2615:236;2629:7;2626:1;2623:14;2615:236;;;2718:19;;;2712:26;2697:42;;2810:27;;;;2778:1;2766:14;;;;2645:19;;2615:236;;;2619:3;2879:6;2870:7;2867:19;2864:201;;;2940:19;;;2934:26;-1:-1:-1;;3023:1:52;3019:14;;;3035:3;3015:24;3011:37;3007:42;2992:58;2977:74;;2864:201;-1:-1:-1;;;;;3111:1:52;3095:14;;;3091:22;3078:36;;-1:-1:-1;2029:1352:52:o;:::-;305:1118:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@ALGEBRA_BASE_PLUGIN_MANAGER_22":{"entryPoint":null,"id":22,"parameterSlots":0,"returnSlots":0},"@_applyFeeDiscount_6098":{"entryPoint":2476,"id":6098,"parameterSlots":3,"returnSlots":1},"@_authorize_517":{"entryPoint":2892,"id":517,"parameterSlots":0,"returnSlots":0},"@_checkIfFromPool_67":{"entryPoint":2311,"id":67,"parameterSlots":0,"returnSlots":0},"@_getPoolState_132":{"entryPoint":3282,"id":132,"parameterSlots":0,"returnSlots":4},"@_updatePluginConfigInPool_415":{"entryPoint":2697,"id":415,"parameterSlots":1,"returnSlots":0},"@activeModules_28":{"entryPoint":1276,"id":28,"parameterSlots":0,"returnSlots":0},"@afterFlash_392":{"entryPoint":1220,"id":392,"parameterSlots":8,"returnSlots":1},"@afterInitialize_7665":{"entryPoint":1574,"id":7665,"parameterSlots":3,"returnSlots":1},"@afterModifyPosition_279":{"entryPoint":2230,"id":279,"parameterSlots":9,"returnSlots":1},"@afterSwap_342":{"entryPoint":1679,"id":342,"parameterSlots":9,"returnSlots":1},"@beforeFlash_365":{"entryPoint":1625,"id":365,"parameterSlots":6,"returnSlots":1},"@beforeInitialize_7644":{"entryPoint":1508,"id":7644,"parameterSlots":2,"returnSlots":1},"@beforeModifyPosition_250":{"entryPoint":1448,"id":250,"parameterSlots":7,"returnSlots":2},"@beforeSwap_7711":{"entryPoint":1045,"id":7711,"parameterSlots":8,"returnSlots":3},"@collectPluginFee_167":{"entryPoint":2287,"id":167,"parameterSlots":3,"returnSlots":0},"@defaultPluginConfig_25":{"entryPoint":null,"id":25,"parameterSlots":0,"returnSlots":0},"@feeDiscountRegistry_6032":{"entryPoint":null,"id":6032,"parameterSlots":0,"returnSlots":0},"@getActiveModuleNames_108":{"entryPoint":1786,"id":108,"parameterSlots":0,"returnSlots":1},"@handlePluginFee_185":{"entryPoint":1736,"id":185,"parameterSlots":2,"returnSlots":1},"@pool_30":{"entryPoint":null,"id":30,"parameterSlots":0,"returnSlots":0},"@safeTransfer_2884":{"entryPoint":3113,"id":2884,"parameterSlots":3,"returnSlots":0},"@setFeeDiscountRegistry_6116":{"entryPoint":2101,"id":6116,"parameterSlots":1,"returnSlots":0},"@setFee_7721":{"entryPoint":null,"id":7721,"parameterSlots":1,"returnSlots":0},"abi_decode_bytes_calldata":{"entryPoint":3498,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_int128":{"entryPoint":4018,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":4792,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_boolt_bytes_calldata_ptr":{"entryPoint":3571,"id":null,"parameterSlots":2,"returnSlots":8},"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_int256t_int256t_bytes_calldata_ptr":{"entryPoint":4456,"id":null,"parameterSlots":2,"returnSlots":9},"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_bytes_calldata_ptr":{"entryPoint":4041,"id":null,"parameterSlots":2,"returnSlots":7},"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_uint256t_uint256t_bytes_calldata_ptr":{"entryPoint":4821,"id":null,"parameterSlots":2,"returnSlots":9},"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_calldata_ptr":{"entryPoint":4332,"id":null,"parameterSlots":2,"returnSlots":6},"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint256t_uint256t_bytes_calldata_ptr":{"entryPoint":3741,"id":null,"parameterSlots":2,"returnSlots":8},"abi_decode_tuple_t_addresst_uint160":{"entryPoint":4200,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_uint160t_int24":{"entryPoint":4257,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_uint256t_address":{"entryPoint":4925,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_bool_fromMemory":{"entryPoint":5459,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint160t_int24t_uint16t_uint8t_uint16t_bool_fromMemory":{"entryPoint":5488,"id":null,"parameterSlots":2,"returnSlots":6},"abi_decode_tuple_t_uint16_fromMemory":{"entryPoint":5315,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint24":{"entryPoint":4980,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256":{"entryPoint":3852,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256t_uint256":{"entryPoint":4630,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_uint16_fromMemory":{"entryPoint":5297,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_string":{"entryPoint":3877,"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_address__to_t_address_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_array$_t_string_memory_ptr_$dyn_memory_ptr__to_t_array$_t_string_memory_ptr_$dyn_memory_ptr__fromStack_reversed":{"entryPoint":4664,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_bytes4__to_t_bytes4__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes4_t_uint24__to_t_bytes4_t_uint24__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_bytes4_t_uint24_t_uint24__to_t_bytes4_t_uint24_t_uint24__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":3977,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"checked_div_t_uint256":{"entryPoint":5400,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_t_uint256":{"entryPoint":5377,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_t_uint24":{"entryPoint":5342,"id":null,"parameterSlots":2,"returnSlots":1},"extract_byte_array_length":{"entryPoint":5017,"id":null,"parameterSlots":1,"returnSlots":1},"increment_t_uint256":{"entryPoint":5241,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x11":{"entryPoint":5194,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x32":{"entryPoint":5147,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":5100,"id":null,"parameterSlots":0,"returnSlots":0},"validator_revert_address":{"entryPoint":3447,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_bool":{"entryPoint":3484,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_int24":{"entryPoint":4003,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:17144:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"59:109:52","statements":[{"body":{"nodeType":"YulBlock","src":"146:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"155:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"158:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"148:6:52"},"nodeType":"YulFunctionCall","src":"148:12:52"},"nodeType":"YulExpressionStatement","src":"148:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"82:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"93:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"100:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"89:3:52"},"nodeType":"YulFunctionCall","src":"89:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"79:2:52"},"nodeType":"YulFunctionCall","src":"79:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"72:6:52"},"nodeType":"YulFunctionCall","src":"72:73:52"},"nodeType":"YulIf","src":"69:93:52"}]},"name":"validator_revert_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"48:5:52","type":""}],"src":"14:154:52"},{"body":{"nodeType":"YulBlock","src":"215:76:52","statements":[{"body":{"nodeType":"YulBlock","src":"269:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"278:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"281:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"271:6:52"},"nodeType":"YulFunctionCall","src":"271:12:52"},"nodeType":"YulExpressionStatement","src":"271:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"238:5:52"},{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"259:5:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"252:6:52"},"nodeType":"YulFunctionCall","src":"252:13:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"245:6:52"},"nodeType":"YulFunctionCall","src":"245:21:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"235:2:52"},"nodeType":"YulFunctionCall","src":"235:32:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"228:6:52"},"nodeType":"YulFunctionCall","src":"228:40:52"},"nodeType":"YulIf","src":"225:60:52"}]},"name":"validator_revert_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"204:5:52","type":""}],"src":"173:118:52"},{"body":{"nodeType":"YulBlock","src":"368:275:52","statements":[{"body":{"nodeType":"YulBlock","src":"417:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"426:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"429:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"419:6:52"},"nodeType":"YulFunctionCall","src":"419:12:52"},"nodeType":"YulExpressionStatement","src":"419:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"396:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"404:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"392:3:52"},"nodeType":"YulFunctionCall","src":"392:17:52"},{"name":"end","nodeType":"YulIdentifier","src":"411:3:52"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"388:3:52"},"nodeType":"YulFunctionCall","src":"388:27:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"381:6:52"},"nodeType":"YulFunctionCall","src":"381:35:52"},"nodeType":"YulIf","src":"378:55:52"},{"nodeType":"YulAssignment","src":"442:30:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"465:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"452:12:52"},"nodeType":"YulFunctionCall","src":"452:20:52"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"442:6:52"}]},{"body":{"nodeType":"YulBlock","src":"515:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"524:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"527:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"517:6:52"},"nodeType":"YulFunctionCall","src":"517:12:52"},"nodeType":"YulExpressionStatement","src":"517:12:52"}]},"condition":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"487:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"495:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"484:2:52"},"nodeType":"YulFunctionCall","src":"484:30:52"},"nodeType":"YulIf","src":"481:50:52"},{"nodeType":"YulAssignment","src":"540:29:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"556:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"564:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"552:3:52"},"nodeType":"YulFunctionCall","src":"552:17:52"},"variableNames":[{"name":"arrayPos","nodeType":"YulIdentifier","src":"540:8:52"}]},{"body":{"nodeType":"YulBlock","src":"621:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"630:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"633:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"623:6:52"},"nodeType":"YulFunctionCall","src":"623:12:52"},"nodeType":"YulExpressionStatement","src":"623:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"592:6:52"},{"name":"length","nodeType":"YulIdentifier","src":"600:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"588:3:52"},"nodeType":"YulFunctionCall","src":"588:19:52"},{"kind":"number","nodeType":"YulLiteral","src":"609:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"584:3:52"},"nodeType":"YulFunctionCall","src":"584:30:52"},{"name":"end","nodeType":"YulIdentifier","src":"616:3:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"581:2:52"},"nodeType":"YulFunctionCall","src":"581:39:52"},"nodeType":"YulIf","src":"578:59:52"}]},"name":"abi_decode_bytes_calldata","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"331:6:52","type":""},{"name":"end","nodeType":"YulTypedName","src":"339:3:52","type":""}],"returnVariables":[{"name":"arrayPos","nodeType":"YulTypedName","src":"347:8:52","type":""},{"name":"length","nodeType":"YulTypedName","src":"357:6:52","type":""}],"src":"296:347:52"},{"body":{"nodeType":"YulBlock","src":"832:983:52","statements":[{"body":{"nodeType":"YulBlock","src":"879:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"888:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"891:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"881:6:52"},"nodeType":"YulFunctionCall","src":"881:12:52"},"nodeType":"YulExpressionStatement","src":"881:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"853:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"862:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"849:3:52"},"nodeType":"YulFunctionCall","src":"849:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"874:3:52","type":"","value":"224"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"845:3:52"},"nodeType":"YulFunctionCall","src":"845:33:52"},"nodeType":"YulIf","src":"842:53:52"},{"nodeType":"YulVariableDeclaration","src":"904:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"930:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"917:12:52"},"nodeType":"YulFunctionCall","src":"917:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"908:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"974:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"949:24:52"},"nodeType":"YulFunctionCall","src":"949:31:52"},"nodeType":"YulExpressionStatement","src":"949:31:52"},{"nodeType":"YulAssignment","src":"989:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"999:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"989:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1013:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1045:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1056:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1041:3:52"},"nodeType":"YulFunctionCall","src":"1041:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1028:12:52"},"nodeType":"YulFunctionCall","src":"1028:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"1017:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"1094:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"1069:24:52"},"nodeType":"YulFunctionCall","src":"1069:33:52"},"nodeType":"YulExpressionStatement","src":"1069:33:52"},{"nodeType":"YulAssignment","src":"1111:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"1121:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"1111:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1137:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1169:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1180:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1165:3:52"},"nodeType":"YulFunctionCall","src":"1165:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1152:12:52"},"nodeType":"YulFunctionCall","src":"1152:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"1141:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"1215:7:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"1193:21:52"},"nodeType":"YulFunctionCall","src":"1193:30:52"},"nodeType":"YulExpressionStatement","src":"1193:30:52"},{"nodeType":"YulAssignment","src":"1232:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"1242:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"1232:6:52"}]},{"nodeType":"YulAssignment","src":"1258:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1285:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1296:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1281:3:52"},"nodeType":"YulFunctionCall","src":"1281:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1268:12:52"},"nodeType":"YulFunctionCall","src":"1268:32:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"1258:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1309:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1341:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1352:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1337:3:52"},"nodeType":"YulFunctionCall","src":"1337:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1324:12:52"},"nodeType":"YulFunctionCall","src":"1324:33:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"1313:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"1391:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"1366:24:52"},"nodeType":"YulFunctionCall","src":"1366:33:52"},"nodeType":"YulExpressionStatement","src":"1366:33:52"},{"nodeType":"YulAssignment","src":"1408:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"1418:7:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"1408:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1434:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1466:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1477:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1462:3:52"},"nodeType":"YulFunctionCall","src":"1462:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1449:12:52"},"nodeType":"YulFunctionCall","src":"1449:33:52"},"variables":[{"name":"value_4","nodeType":"YulTypedName","src":"1438:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_4","nodeType":"YulIdentifier","src":"1513:7:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"1491:21:52"},"nodeType":"YulFunctionCall","src":"1491:30:52"},"nodeType":"YulExpressionStatement","src":"1491:30:52"},{"nodeType":"YulAssignment","src":"1530:17:52","value":{"name":"value_4","nodeType":"YulIdentifier","src":"1540:7:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"1530:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1556:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1587:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1598:3:52","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1583:3:52"},"nodeType":"YulFunctionCall","src":"1583:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1570:12:52"},"nodeType":"YulFunctionCall","src":"1570:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"1560:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1646:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1655:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1658:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1648:6:52"},"nodeType":"YulFunctionCall","src":"1648:12:52"},"nodeType":"YulExpressionStatement","src":"1648:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1618:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1626:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1615:2:52"},"nodeType":"YulFunctionCall","src":"1615:30:52"},"nodeType":"YulIf","src":"1612:50:52"},{"nodeType":"YulVariableDeclaration","src":"1671:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1727:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"1738:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1723:3:52"},"nodeType":"YulFunctionCall","src":"1723:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1747:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"1697:25:52"},"nodeType":"YulFunctionCall","src":"1697:58:52"},"variables":[{"name":"value6_1","nodeType":"YulTypedName","src":"1675:8:52","type":""},{"name":"value7_1","nodeType":"YulTypedName","src":"1685:8:52","type":""}]},{"nodeType":"YulAssignment","src":"1764:18:52","value":{"name":"value6_1","nodeType":"YulIdentifier","src":"1774:8:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"1764:6:52"}]},{"nodeType":"YulAssignment","src":"1791:18:52","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"1801:8:52"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"1791:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_boolt_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"742:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"753:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"765:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"773:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"781:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"789:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"797:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"805:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"813:6:52","type":""},{"name":"value7","nodeType":"YulTypedName","src":"821:6:52","type":""}],"src":"648:1167:52"},{"body":{"nodeType":"YulBlock","src":"1971:280:52","statements":[{"nodeType":"YulAssignment","src":"1981:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1993:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2004:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1989:3:52"},"nodeType":"YulFunctionCall","src":"1989:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1981:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2023:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2038:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"2046:66:52","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2034:3:52"},"nodeType":"YulFunctionCall","src":"2034:79:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2016:6:52"},"nodeType":"YulFunctionCall","src":"2016:98:52"},"nodeType":"YulExpressionStatement","src":"2016:98:52"},{"nodeType":"YulVariableDeclaration","src":"2123:18:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2133:8:52","type":"","value":"0xffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2127:2:52","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2161:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2172:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2157:3:52"},"nodeType":"YulFunctionCall","src":"2157:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"2181:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2189:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2177:3:52"},"nodeType":"YulFunctionCall","src":"2177:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2150:6:52"},"nodeType":"YulFunctionCall","src":"2150:43:52"},"nodeType":"YulExpressionStatement","src":"2150:43:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2213:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2224:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2209:3:52"},"nodeType":"YulFunctionCall","src":"2209:18:52"},{"arguments":[{"name":"value2","nodeType":"YulIdentifier","src":"2233:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2241:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2229:3:52"},"nodeType":"YulFunctionCall","src":"2229:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2202:6:52"},"nodeType":"YulFunctionCall","src":"2202:43:52"},"nodeType":"YulExpressionStatement","src":"2202:43:52"}]},"name":"abi_encode_tuple_t_bytes4_t_uint24_t_uint24__to_t_bytes4_t_uint24_t_uint24__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1924:9:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"1935:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"1943:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1951:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1962:4:52","type":""}],"src":"1820:431:52"},{"body":{"nodeType":"YulBlock","src":"2357:125:52","statements":[{"nodeType":"YulAssignment","src":"2367:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2379:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2390:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2375:3:52"},"nodeType":"YulFunctionCall","src":"2375:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2367:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2409:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2424:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"2432:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2420:3:52"},"nodeType":"YulFunctionCall","src":"2420:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2402:6:52"},"nodeType":"YulFunctionCall","src":"2402:74:52"},"nodeType":"YulExpressionStatement","src":"2402:74:52"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2326:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2337:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2348:4:52","type":""}],"src":"2256:226:52"},{"body":{"nodeType":"YulBlock","src":"2588:76:52","statements":[{"nodeType":"YulAssignment","src":"2598:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2610:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2621:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2606:3:52"},"nodeType":"YulFunctionCall","src":"2606:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2598:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2640:9:52"},{"name":"value0","nodeType":"YulIdentifier","src":"2651:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2633:6:52"},"nodeType":"YulFunctionCall","src":"2633:25:52"},"nodeType":"YulExpressionStatement","src":"2633:25:52"}]},"name":"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2557:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2568:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2579:4:52","type":""}],"src":"2487:177:52"},{"body":{"nodeType":"YulBlock","src":"2860:770:52","statements":[{"body":{"nodeType":"YulBlock","src":"2907:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2916:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2919:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2909:6:52"},"nodeType":"YulFunctionCall","src":"2909:12:52"},"nodeType":"YulExpressionStatement","src":"2909:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2881:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"2890:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2877:3:52"},"nodeType":"YulFunctionCall","src":"2877:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"2902:3:52","type":"","value":"224"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2873:3:52"},"nodeType":"YulFunctionCall","src":"2873:33:52"},"nodeType":"YulIf","src":"2870:53:52"},{"nodeType":"YulVariableDeclaration","src":"2932:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2958:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2945:12:52"},"nodeType":"YulFunctionCall","src":"2945:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"2936:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3002:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"2977:24:52"},"nodeType":"YulFunctionCall","src":"2977:31:52"},"nodeType":"YulExpressionStatement","src":"2977:31:52"},{"nodeType":"YulAssignment","src":"3017:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"3027:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3017:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"3041:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3073:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3084:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3069:3:52"},"nodeType":"YulFunctionCall","src":"3069:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3056:12:52"},"nodeType":"YulFunctionCall","src":"3056:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"3045:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"3122:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"3097:24:52"},"nodeType":"YulFunctionCall","src":"3097:33:52"},"nodeType":"YulExpressionStatement","src":"3097:33:52"},{"nodeType":"YulAssignment","src":"3139:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"3149:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3139:6:52"}]},{"nodeType":"YulAssignment","src":"3165:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3192:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3203:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3188:3:52"},"nodeType":"YulFunctionCall","src":"3188:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3175:12:52"},"nodeType":"YulFunctionCall","src":"3175:32:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"3165:6:52"}]},{"nodeType":"YulAssignment","src":"3216:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3243:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3254:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3239:3:52"},"nodeType":"YulFunctionCall","src":"3239:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3226:12:52"},"nodeType":"YulFunctionCall","src":"3226:32:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"3216:6:52"}]},{"nodeType":"YulAssignment","src":"3267:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3294:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3305:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3290:3:52"},"nodeType":"YulFunctionCall","src":"3290:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3277:12:52"},"nodeType":"YulFunctionCall","src":"3277:33:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"3267:6:52"}]},{"nodeType":"YulAssignment","src":"3319:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3346:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3357:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3342:3:52"},"nodeType":"YulFunctionCall","src":"3342:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3329:12:52"},"nodeType":"YulFunctionCall","src":"3329:33:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"3319:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"3371:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3402:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3413:3:52","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3398:3:52"},"nodeType":"YulFunctionCall","src":"3398:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3385:12:52"},"nodeType":"YulFunctionCall","src":"3385:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"3375:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"3461:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3470:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3473:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3463:6:52"},"nodeType":"YulFunctionCall","src":"3463:12:52"},"nodeType":"YulExpressionStatement","src":"3463:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"3433:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3441:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3430:2:52"},"nodeType":"YulFunctionCall","src":"3430:30:52"},"nodeType":"YulIf","src":"3427:50:52"},{"nodeType":"YulVariableDeclaration","src":"3486:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3542:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"3553:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3538:3:52"},"nodeType":"YulFunctionCall","src":"3538:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3562:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"3512:25:52"},"nodeType":"YulFunctionCall","src":"3512:58:52"},"variables":[{"name":"value6_1","nodeType":"YulTypedName","src":"3490:8:52","type":""},{"name":"value7_1","nodeType":"YulTypedName","src":"3500:8:52","type":""}]},{"nodeType":"YulAssignment","src":"3579:18:52","value":{"name":"value6_1","nodeType":"YulIdentifier","src":"3589:8:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"3579:6:52"}]},{"nodeType":"YulAssignment","src":"3606:18:52","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"3616:8:52"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"3606:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint256t_uint256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2770:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2781:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2793:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2801:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"2809:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"2817:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"2825:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"2833:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"2841:6:52","type":""},{"name":"value7","nodeType":"YulTypedName","src":"2849:6:52","type":""}],"src":"2669:961:52"},{"body":{"nodeType":"YulBlock","src":"3734:149:52","statements":[{"nodeType":"YulAssignment","src":"3744:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3756:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3767:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3752:3:52"},"nodeType":"YulFunctionCall","src":"3752:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3744:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3786:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3801:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3809:66:52","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3797:3:52"},"nodeType":"YulFunctionCall","src":"3797:79:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3779:6:52"},"nodeType":"YulFunctionCall","src":"3779:98:52"},"nodeType":"YulExpressionStatement","src":"3779:98:52"}]},"name":"abi_encode_tuple_t_bytes4__to_t_bytes4__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3703:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3714:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3725:4:52","type":""}],"src":"3635:248:52"},{"body":{"nodeType":"YulBlock","src":"3958:110:52","statements":[{"body":{"nodeType":"YulBlock","src":"4004:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4013:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4016:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4006:6:52"},"nodeType":"YulFunctionCall","src":"4006:12:52"},"nodeType":"YulExpressionStatement","src":"4006:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3979:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"3988:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3975:3:52"},"nodeType":"YulFunctionCall","src":"3975:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"4000:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3971:3:52"},"nodeType":"YulFunctionCall","src":"3971:32:52"},"nodeType":"YulIf","src":"3968:52:52"},{"nodeType":"YulAssignment","src":"4029:33:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4052:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4039:12:52"},"nodeType":"YulFunctionCall","src":"4039:23:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"4029:6:52"}]}]},"name":"abi_decode_tuple_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3924:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3935:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3947:6:52","type":""}],"src":"3888:180:52"},{"body":{"nodeType":"YulBlock","src":"4123:432:52","statements":[{"nodeType":"YulVariableDeclaration","src":"4133:26:52","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4153:5:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4147:5:52"},"nodeType":"YulFunctionCall","src":"4147:12:52"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"4137:6:52","type":""}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4175:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"4180:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4168:6:52"},"nodeType":"YulFunctionCall","src":"4168:19:52"},"nodeType":"YulExpressionStatement","src":"4168:19:52"},{"nodeType":"YulVariableDeclaration","src":"4196:10:52","value":{"kind":"number","nodeType":"YulLiteral","src":"4205:1:52","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"4200:1:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"4267:110:52","statements":[{"nodeType":"YulVariableDeclaration","src":"4281:14:52","value":{"kind":"number","nodeType":"YulLiteral","src":"4291:4:52","type":"","value":"0x20"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"4285:2:52","type":""}]},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4323:3:52"},{"name":"i","nodeType":"YulIdentifier","src":"4328:1:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4319:3:52"},"nodeType":"YulFunctionCall","src":"4319:11:52"},{"name":"_1","nodeType":"YulIdentifier","src":"4332:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4315:3:52"},"nodeType":"YulFunctionCall","src":"4315:20:52"},{"arguments":[{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4351:5:52"},{"name":"i","nodeType":"YulIdentifier","src":"4358:1:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4347:3:52"},"nodeType":"YulFunctionCall","src":"4347:13:52"},{"name":"_1","nodeType":"YulIdentifier","src":"4362:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4343:3:52"},"nodeType":"YulFunctionCall","src":"4343:22:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4337:5:52"},"nodeType":"YulFunctionCall","src":"4337:29:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4308:6:52"},"nodeType":"YulFunctionCall","src":"4308:59:52"},"nodeType":"YulExpressionStatement","src":"4308:59:52"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"4226:1:52"},{"name":"length","nodeType":"YulIdentifier","src":"4229:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"4223:2:52"},"nodeType":"YulFunctionCall","src":"4223:13:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"4237:21:52","statements":[{"nodeType":"YulAssignment","src":"4239:17:52","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"4248:1:52"},{"kind":"number","nodeType":"YulLiteral","src":"4251:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4244:3:52"},"nodeType":"YulFunctionCall","src":"4244:12:52"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"4239:1:52"}]}]},"pre":{"nodeType":"YulBlock","src":"4219:3:52","statements":[]},"src":"4215:162:52"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4401:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"4406:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4397:3:52"},"nodeType":"YulFunctionCall","src":"4397:16:52"},{"kind":"number","nodeType":"YulLiteral","src":"4415:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4393:3:52"},"nodeType":"YulFunctionCall","src":"4393:27:52"},{"kind":"number","nodeType":"YulLiteral","src":"4422:1:52","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4386:6:52"},"nodeType":"YulFunctionCall","src":"4386:38:52"},"nodeType":"YulExpressionStatement","src":"4386:38:52"},{"nodeType":"YulAssignment","src":"4433:116:52","value":{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4448:3:52"},{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"4461:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"4469:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4457:3:52"},"nodeType":"YulFunctionCall","src":"4457:15:52"},{"kind":"number","nodeType":"YulLiteral","src":"4474:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"4453:3:52"},"nodeType":"YulFunctionCall","src":"4453:88:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4444:3:52"},"nodeType":"YulFunctionCall","src":"4444:98:52"},{"kind":"number","nodeType":"YulLiteral","src":"4544:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4440:3:52"},"nodeType":"YulFunctionCall","src":"4440:109:52"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"4433:3:52"}]}]},"name":"abi_encode_string","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"4100:5:52","type":""},{"name":"pos","nodeType":"YulTypedName","src":"4107:3:52","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"4115:3:52","type":""}],"src":"4073:482:52"},{"body":{"nodeType":"YulBlock","src":"4681:99:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4698:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4709:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4691:6:52"},"nodeType":"YulFunctionCall","src":"4691:21:52"},"nodeType":"YulExpressionStatement","src":"4691:21:52"},{"nodeType":"YulAssignment","src":"4721:53:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"4747:6:52"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4759:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4770:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4755:3:52"},"nodeType":"YulFunctionCall","src":"4755:18:52"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"4729:17:52"},"nodeType":"YulFunctionCall","src":"4729:45:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"4721:4:52"}]}]},"name":"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4650:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"4661:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"4672:4:52","type":""}],"src":"4560:220:52"},{"body":{"nodeType":"YulBlock","src":"4828:75:52","statements":[{"body":{"nodeType":"YulBlock","src":"4881:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4890:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4893:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4883:6:52"},"nodeType":"YulFunctionCall","src":"4883:12:52"},"nodeType":"YulExpressionStatement","src":"4883:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4851:5:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4869:1:52","type":"","value":"2"},{"name":"value","nodeType":"YulIdentifier","src":"4872:5:52"}],"functionName":{"name":"signextend","nodeType":"YulIdentifier","src":"4858:10:52"},"nodeType":"YulFunctionCall","src":"4858:20:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"4848:2:52"},"nodeType":"YulFunctionCall","src":"4848:31:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"4841:6:52"},"nodeType":"YulFunctionCall","src":"4841:39:52"},"nodeType":"YulIf","src":"4838:59:52"}]},"name":"validator_revert_int24","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"4817:5:52","type":""}],"src":"4785:118:52"},{"body":{"nodeType":"YulBlock","src":"4956:114:52","statements":[{"nodeType":"YulAssignment","src":"4966:29:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"4988:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4975:12:52"},"nodeType":"YulFunctionCall","src":"4975:20:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"4966:5:52"}]},{"body":{"nodeType":"YulBlock","src":"5048:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5057:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5060:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5050:6:52"},"nodeType":"YulFunctionCall","src":"5050:12:52"},"nodeType":"YulExpressionStatement","src":"5050:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5017:5:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5035:2:52","type":"","value":"15"},{"name":"value","nodeType":"YulIdentifier","src":"5039:5:52"}],"functionName":{"name":"signextend","nodeType":"YulIdentifier","src":"5024:10:52"},"nodeType":"YulFunctionCall","src":"5024:21:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"5014:2:52"},"nodeType":"YulFunctionCall","src":"5014:32:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5007:6:52"},"nodeType":"YulFunctionCall","src":"5007:40:52"},"nodeType":"YulIf","src":"5004:60:52"}]},"name":"abi_decode_int128","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"4935:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"4946:5:52","type":""}],"src":"4908:162:52"},{"body":{"nodeType":"YulBlock","src":"5244:865:52","statements":[{"body":{"nodeType":"YulBlock","src":"5291:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5300:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5303:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5293:6:52"},"nodeType":"YulFunctionCall","src":"5293:12:52"},"nodeType":"YulExpressionStatement","src":"5293:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"5265:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"5274:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5261:3:52"},"nodeType":"YulFunctionCall","src":"5261:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"5286:3:52","type":"","value":"192"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"5257:3:52"},"nodeType":"YulFunctionCall","src":"5257:33:52"},"nodeType":"YulIf","src":"5254:53:52"},{"nodeType":"YulVariableDeclaration","src":"5316:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5342:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5329:12:52"},"nodeType":"YulFunctionCall","src":"5329:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"5320:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5386:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5361:24:52"},"nodeType":"YulFunctionCall","src":"5361:31:52"},"nodeType":"YulExpressionStatement","src":"5361:31:52"},{"nodeType":"YulAssignment","src":"5401:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"5411:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"5401:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"5425:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5457:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5468:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5453:3:52"},"nodeType":"YulFunctionCall","src":"5453:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5440:12:52"},"nodeType":"YulFunctionCall","src":"5440:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"5429:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"5506:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5481:24:52"},"nodeType":"YulFunctionCall","src":"5481:33:52"},"nodeType":"YulExpressionStatement","src":"5481:33:52"},{"nodeType":"YulAssignment","src":"5523:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"5533:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"5523:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"5549:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5581:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5592:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5577:3:52"},"nodeType":"YulFunctionCall","src":"5577:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5564:12:52"},"nodeType":"YulFunctionCall","src":"5564:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"5553:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"5628:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"5605:22:52"},"nodeType":"YulFunctionCall","src":"5605:31:52"},"nodeType":"YulExpressionStatement","src":"5605:31:52"},{"nodeType":"YulAssignment","src":"5645:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"5655:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"5645:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"5671:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5703:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5714:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5699:3:52"},"nodeType":"YulFunctionCall","src":"5699:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5686:12:52"},"nodeType":"YulFunctionCall","src":"5686:32:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"5675:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"5750:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"5727:22:52"},"nodeType":"YulFunctionCall","src":"5727:31:52"},"nodeType":"YulExpressionStatement","src":"5727:31:52"},{"nodeType":"YulAssignment","src":"5767:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"5777:7:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"5767:6:52"}]},{"nodeType":"YulAssignment","src":"5793:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5825:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5836:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5821:3:52"},"nodeType":"YulFunctionCall","src":"5821:19:52"}],"functionName":{"name":"abi_decode_int128","nodeType":"YulIdentifier","src":"5803:17:52"},"nodeType":"YulFunctionCall","src":"5803:38:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"5793:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"5850:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5881:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5892:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5877:3:52"},"nodeType":"YulFunctionCall","src":"5877:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5864:12:52"},"nodeType":"YulFunctionCall","src":"5864:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"5854:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"5940:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5949:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5952:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5942:6:52"},"nodeType":"YulFunctionCall","src":"5942:12:52"},"nodeType":"YulExpressionStatement","src":"5942:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"5912:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"5920:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5909:2:52"},"nodeType":"YulFunctionCall","src":"5909:30:52"},"nodeType":"YulIf","src":"5906:50:52"},{"nodeType":"YulVariableDeclaration","src":"5965:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6021:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"6032:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6017:3:52"},"nodeType":"YulFunctionCall","src":"6017:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"6041:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"5991:25:52"},"nodeType":"YulFunctionCall","src":"5991:58:52"},"variables":[{"name":"value5_1","nodeType":"YulTypedName","src":"5969:8:52","type":""},{"name":"value6_1","nodeType":"YulTypedName","src":"5979:8:52","type":""}]},{"nodeType":"YulAssignment","src":"6058:18:52","value":{"name":"value5_1","nodeType":"YulIdentifier","src":"6068:8:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"6058:6:52"}]},{"nodeType":"YulAssignment","src":"6085:18:52","value":{"name":"value6_1","nodeType":"YulIdentifier","src":"6095:8:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"6085:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5162:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"5173:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"5185:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"5193:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"5201:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"5209:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"5217:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"5225:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"5233:6:52","type":""}],"src":"5075:1034:52"},{"body":{"nodeType":"YulBlock","src":"6239:207:52","statements":[{"nodeType":"YulAssignment","src":"6249:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6261:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6272:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6257:3:52"},"nodeType":"YulFunctionCall","src":"6257:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"6249:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6291:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"6306:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"6314:66:52","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6302:3:52"},"nodeType":"YulFunctionCall","src":"6302:79:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6284:6:52"},"nodeType":"YulFunctionCall","src":"6284:98:52"},"nodeType":"YulExpressionStatement","src":"6284:98:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6402:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6413:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6398:3:52"},"nodeType":"YulFunctionCall","src":"6398:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"6422:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"6430:8:52","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6418:3:52"},"nodeType":"YulFunctionCall","src":"6418:21:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6391:6:52"},"nodeType":"YulFunctionCall","src":"6391:49:52"},"nodeType":"YulExpressionStatement","src":"6391:49:52"}]},"name":"abi_encode_tuple_t_bytes4_t_uint24__to_t_bytes4_t_uint24__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6200:9:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"6211:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"6219:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6230:4:52","type":""}],"src":"6114:332:52"},{"body":{"nodeType":"YulBlock","src":"6538:301:52","statements":[{"body":{"nodeType":"YulBlock","src":"6584:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6593:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"6596:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"6586:6:52"},"nodeType":"YulFunctionCall","src":"6586:12:52"},"nodeType":"YulExpressionStatement","src":"6586:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"6559:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"6568:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"6555:3:52"},"nodeType":"YulFunctionCall","src":"6555:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"6580:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"6551:3:52"},"nodeType":"YulFunctionCall","src":"6551:32:52"},"nodeType":"YulIf","src":"6548:52:52"},{"nodeType":"YulVariableDeclaration","src":"6609:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6635:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6622:12:52"},"nodeType":"YulFunctionCall","src":"6622:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"6613:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"6679:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"6654:24:52"},"nodeType":"YulFunctionCall","src":"6654:31:52"},"nodeType":"YulExpressionStatement","src":"6654:31:52"},{"nodeType":"YulAssignment","src":"6694:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"6704:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"6694:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"6718:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6750:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6761:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6746:3:52"},"nodeType":"YulFunctionCall","src":"6746:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6733:12:52"},"nodeType":"YulFunctionCall","src":"6733:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"6722:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"6799:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"6774:24:52"},"nodeType":"YulFunctionCall","src":"6774:33:52"},"nodeType":"YulExpressionStatement","src":"6774:33:52"},{"nodeType":"YulAssignment","src":"6816:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"6826:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"6816:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_uint160","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6496:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"6507:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"6519:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"6527:6:52","type":""}],"src":"6451:388:52"},{"body":{"nodeType":"YulBlock","src":"6941:87:52","statements":[{"nodeType":"YulAssignment","src":"6951:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6963:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6974:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6959:3:52"},"nodeType":"YulFunctionCall","src":"6959:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"6951:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6993:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"7008:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"7016:4:52","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"7004:3:52"},"nodeType":"YulFunctionCall","src":"7004:17:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6986:6:52"},"nodeType":"YulFunctionCall","src":"6986:36:52"},"nodeType":"YulExpressionStatement","src":"6986:36:52"}]},"name":"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6910:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"6921:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6932:4:52","type":""}],"src":"6844:184:52"},{"body":{"nodeType":"YulBlock","src":"7135:423:52","statements":[{"body":{"nodeType":"YulBlock","src":"7181:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7190:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7193:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7183:6:52"},"nodeType":"YulFunctionCall","src":"7183:12:52"},"nodeType":"YulExpressionStatement","src":"7183:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"7156:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"7165:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"7152:3:52"},"nodeType":"YulFunctionCall","src":"7152:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"7177:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"7148:3:52"},"nodeType":"YulFunctionCall","src":"7148:32:52"},"nodeType":"YulIf","src":"7145:52:52"},{"nodeType":"YulVariableDeclaration","src":"7206:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7232:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7219:12:52"},"nodeType":"YulFunctionCall","src":"7219:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"7210:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7276:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7251:24:52"},"nodeType":"YulFunctionCall","src":"7251:31:52"},"nodeType":"YulExpressionStatement","src":"7251:31:52"},{"nodeType":"YulAssignment","src":"7291:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"7301:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"7291:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"7315:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7347:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"7358:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7343:3:52"},"nodeType":"YulFunctionCall","src":"7343:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7330:12:52"},"nodeType":"YulFunctionCall","src":"7330:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"7319:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"7396:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7371:24:52"},"nodeType":"YulFunctionCall","src":"7371:33:52"},"nodeType":"YulExpressionStatement","src":"7371:33:52"},{"nodeType":"YulAssignment","src":"7413:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"7423:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"7413:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"7439:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7471:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"7482:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7467:3:52"},"nodeType":"YulFunctionCall","src":"7467:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7454:12:52"},"nodeType":"YulFunctionCall","src":"7454:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"7443:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"7518:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"7495:22:52"},"nodeType":"YulFunctionCall","src":"7495:31:52"},"nodeType":"YulExpressionStatement","src":"7495:31:52"},{"nodeType":"YulAssignment","src":"7535:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"7545:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"7535:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_uint160t_int24","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7085:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"7096:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"7108:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"7116:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"7124:6:52","type":""}],"src":"7033:525:52"},{"body":{"nodeType":"YulBlock","src":"7720:666:52","statements":[{"body":{"nodeType":"YulBlock","src":"7767:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7776:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7779:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7769:6:52"},"nodeType":"YulFunctionCall","src":"7769:12:52"},"nodeType":"YulExpressionStatement","src":"7769:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"7741:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"7750:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"7737:3:52"},"nodeType":"YulFunctionCall","src":"7737:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"7762:3:52","type":"","value":"160"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"7733:3:52"},"nodeType":"YulFunctionCall","src":"7733:33:52"},"nodeType":"YulIf","src":"7730:53:52"},{"nodeType":"YulVariableDeclaration","src":"7792:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7818:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7805:12:52"},"nodeType":"YulFunctionCall","src":"7805:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"7796:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7862:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7837:24:52"},"nodeType":"YulFunctionCall","src":"7837:31:52"},"nodeType":"YulExpressionStatement","src":"7837:31:52"},{"nodeType":"YulAssignment","src":"7877:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"7887:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"7877:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"7901:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7933:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"7944:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7929:3:52"},"nodeType":"YulFunctionCall","src":"7929:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7916:12:52"},"nodeType":"YulFunctionCall","src":"7916:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"7905:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"7982:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7957:24:52"},"nodeType":"YulFunctionCall","src":"7957:33:52"},"nodeType":"YulExpressionStatement","src":"7957:33:52"},{"nodeType":"YulAssignment","src":"7999:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"8009:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"7999:6:52"}]},{"nodeType":"YulAssignment","src":"8025:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8052:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"8063:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8048:3:52"},"nodeType":"YulFunctionCall","src":"8048:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8035:12:52"},"nodeType":"YulFunctionCall","src":"8035:32:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"8025:6:52"}]},{"nodeType":"YulAssignment","src":"8076:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8103:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"8114:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8099:3:52"},"nodeType":"YulFunctionCall","src":"8099:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8086:12:52"},"nodeType":"YulFunctionCall","src":"8086:32:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"8076:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"8127:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8158:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"8169:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8154:3:52"},"nodeType":"YulFunctionCall","src":"8154:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8141:12:52"},"nodeType":"YulFunctionCall","src":"8141:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"8131:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"8217:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8226:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8229:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8219:6:52"},"nodeType":"YulFunctionCall","src":"8219:12:52"},"nodeType":"YulExpressionStatement","src":"8219:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"8189:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"8197:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"8186:2:52"},"nodeType":"YulFunctionCall","src":"8186:30:52"},"nodeType":"YulIf","src":"8183:50:52"},{"nodeType":"YulVariableDeclaration","src":"8242:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8298:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"8309:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8294:3:52"},"nodeType":"YulFunctionCall","src":"8294:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"8318:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"8268:25:52"},"nodeType":"YulFunctionCall","src":"8268:58:52"},"variables":[{"name":"value4_1","nodeType":"YulTypedName","src":"8246:8:52","type":""},{"name":"value5_1","nodeType":"YulTypedName","src":"8256:8:52","type":""}]},{"nodeType":"YulAssignment","src":"8335:18:52","value":{"name":"value4_1","nodeType":"YulIdentifier","src":"8345:8:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"8335:6:52"}]},{"nodeType":"YulAssignment","src":"8362:18:52","value":{"name":"value5_1","nodeType":"YulIdentifier","src":"8372:8:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"8362:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7646:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"7657:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"7669:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"7677:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"7685:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"7693:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"7701:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"7709:6:52","type":""}],"src":"7563:823:52"},{"body":{"nodeType":"YulBlock","src":"8593:965:52","statements":[{"body":{"nodeType":"YulBlock","src":"8640:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8649:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8652:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8642:6:52"},"nodeType":"YulFunctionCall","src":"8642:12:52"},"nodeType":"YulExpressionStatement","src":"8642:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"8614:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"8623:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"8610:3:52"},"nodeType":"YulFunctionCall","src":"8610:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"8635:3:52","type":"","value":"256"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"8606:3:52"},"nodeType":"YulFunctionCall","src":"8606:33:52"},"nodeType":"YulIf","src":"8603:53:52"},{"nodeType":"YulVariableDeclaration","src":"8665:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8691:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8678:12:52"},"nodeType":"YulFunctionCall","src":"8678:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"8669:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"8735:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"8710:24:52"},"nodeType":"YulFunctionCall","src":"8710:31:52"},"nodeType":"YulExpressionStatement","src":"8710:31:52"},{"nodeType":"YulAssignment","src":"8750:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"8760:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"8750:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"8774:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8806:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"8817:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8802:3:52"},"nodeType":"YulFunctionCall","src":"8802:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8789:12:52"},"nodeType":"YulFunctionCall","src":"8789:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"8778:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"8855:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"8830:24:52"},"nodeType":"YulFunctionCall","src":"8830:33:52"},"nodeType":"YulExpressionStatement","src":"8830:33:52"},{"nodeType":"YulAssignment","src":"8872:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"8882:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"8872:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"8898:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8930:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"8941:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8926:3:52"},"nodeType":"YulFunctionCall","src":"8926:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8913:12:52"},"nodeType":"YulFunctionCall","src":"8913:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"8902:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"8976:7:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"8954:21:52"},"nodeType":"YulFunctionCall","src":"8954:30:52"},"nodeType":"YulExpressionStatement","src":"8954:30:52"},{"nodeType":"YulAssignment","src":"8993:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"9003:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"8993:6:52"}]},{"nodeType":"YulAssignment","src":"9019:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9046:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9057:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9042:3:52"},"nodeType":"YulFunctionCall","src":"9042:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9029:12:52"},"nodeType":"YulFunctionCall","src":"9029:32:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"9019:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"9070:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9102:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9113:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9098:3:52"},"nodeType":"YulFunctionCall","src":"9098:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9085:12:52"},"nodeType":"YulFunctionCall","src":"9085:33:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"9074:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"9152:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"9127:24:52"},"nodeType":"YulFunctionCall","src":"9127:33:52"},"nodeType":"YulExpressionStatement","src":"9127:33:52"},{"nodeType":"YulAssignment","src":"9169:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"9179:7:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"9169:6:52"}]},{"nodeType":"YulAssignment","src":"9195:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9222:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9233:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9218:3:52"},"nodeType":"YulFunctionCall","src":"9218:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9205:12:52"},"nodeType":"YulFunctionCall","src":"9205:33:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"9195:6:52"}]},{"nodeType":"YulAssignment","src":"9247:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9274:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9285:3:52","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9270:3:52"},"nodeType":"YulFunctionCall","src":"9270:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9257:12:52"},"nodeType":"YulFunctionCall","src":"9257:33:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"9247:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"9299:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9330:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9341:3:52","type":"","value":"224"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9326:3:52"},"nodeType":"YulFunctionCall","src":"9326:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9313:12:52"},"nodeType":"YulFunctionCall","src":"9313:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"9303:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"9389:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9398:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9401:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9391:6:52"},"nodeType":"YulFunctionCall","src":"9391:12:52"},"nodeType":"YulExpressionStatement","src":"9391:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"9361:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"9369:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"9358:2:52"},"nodeType":"YulFunctionCall","src":"9358:30:52"},"nodeType":"YulIf","src":"9355:50:52"},{"nodeType":"YulVariableDeclaration","src":"9414:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9470:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"9481:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9466:3:52"},"nodeType":"YulFunctionCall","src":"9466:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"9490:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"9440:25:52"},"nodeType":"YulFunctionCall","src":"9440:58:52"},"variables":[{"name":"value7_1","nodeType":"YulTypedName","src":"9418:8:52","type":""},{"name":"value8_1","nodeType":"YulTypedName","src":"9428:8:52","type":""}]},{"nodeType":"YulAssignment","src":"9507:18:52","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"9517:8:52"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"9507:6:52"}]},{"nodeType":"YulAssignment","src":"9534:18:52","value":{"name":"value8_1","nodeType":"YulIdentifier","src":"9544:8:52"},"variableNames":[{"name":"value8","nodeType":"YulIdentifier","src":"9534:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_int256t_int256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8495:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"8506:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"8518:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"8526:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"8534:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"8542:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"8550:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"8558:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"8566:6:52","type":""},{"name":"value7","nodeType":"YulTypedName","src":"8574:6:52","type":""},{"name":"value8","nodeType":"YulTypedName","src":"8582:6:52","type":""}],"src":"8391:1167:52"},{"body":{"nodeType":"YulBlock","src":"9650:161:52","statements":[{"body":{"nodeType":"YulBlock","src":"9696:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9705:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9708:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9698:6:52"},"nodeType":"YulFunctionCall","src":"9698:12:52"},"nodeType":"YulExpressionStatement","src":"9698:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"9671:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"9680:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"9667:3:52"},"nodeType":"YulFunctionCall","src":"9667:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"9692:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"9663:3:52"},"nodeType":"YulFunctionCall","src":"9663:32:52"},"nodeType":"YulIf","src":"9660:52:52"},{"nodeType":"YulAssignment","src":"9721:33:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9744:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9731:12:52"},"nodeType":"YulFunctionCall","src":"9731:23:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"9721:6:52"}]},{"nodeType":"YulAssignment","src":"9763:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9790:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9801:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9786:3:52"},"nodeType":"YulFunctionCall","src":"9786:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9773:12:52"},"nodeType":"YulFunctionCall","src":"9773:32:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"9763:6:52"}]}]},"name":"abi_decode_tuple_t_uint256t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9608:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"9619:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"9631:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"9639:6:52","type":""}],"src":"9563:248:52"},{"body":{"nodeType":"YulBlock","src":"9987:691:52","statements":[{"nodeType":"YulVariableDeclaration","src":"9997:12:52","value":{"kind":"number","nodeType":"YulLiteral","src":"10007:2:52","type":"","value":"32"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"10001:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10018:32:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10036:9:52"},{"name":"_1","nodeType":"YulIdentifier","src":"10047:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10032:3:52"},"nodeType":"YulFunctionCall","src":"10032:18:52"},"variables":[{"name":"tail_1","nodeType":"YulTypedName","src":"10022:6:52","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10066:9:52"},{"name":"_1","nodeType":"YulIdentifier","src":"10077:2:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10059:6:52"},"nodeType":"YulFunctionCall","src":"10059:21:52"},"nodeType":"YulExpressionStatement","src":"10059:21:52"},{"nodeType":"YulVariableDeclaration","src":"10089:17:52","value":{"name":"tail_1","nodeType":"YulIdentifier","src":"10100:6:52"},"variables":[{"name":"pos","nodeType":"YulTypedName","src":"10093:3:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10115:27:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10135:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"10129:5:52"},"nodeType":"YulFunctionCall","src":"10129:13:52"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"10119:6:52","type":""}]},{"expression":{"arguments":[{"name":"tail_1","nodeType":"YulIdentifier","src":"10158:6:52"},{"name":"length","nodeType":"YulIdentifier","src":"10166:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10151:6:52"},"nodeType":"YulFunctionCall","src":"10151:22:52"},"nodeType":"YulExpressionStatement","src":"10151:22:52"},{"nodeType":"YulAssignment","src":"10182:25:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10193:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"10204:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10189:3:52"},"nodeType":"YulFunctionCall","src":"10189:18:52"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"10182:3:52"}]},{"nodeType":"YulVariableDeclaration","src":"10216:53:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10238:9:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"10253:1:52","type":"","value":"5"},{"name":"length","nodeType":"YulIdentifier","src":"10256:6:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"10249:3:52"},"nodeType":"YulFunctionCall","src":"10249:14:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10234:3:52"},"nodeType":"YulFunctionCall","src":"10234:30:52"},{"kind":"number","nodeType":"YulLiteral","src":"10266:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10230:3:52"},"nodeType":"YulFunctionCall","src":"10230:39:52"},"variables":[{"name":"tail_2","nodeType":"YulTypedName","src":"10220:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10278:29:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10296:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"10304:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10292:3:52"},"nodeType":"YulFunctionCall","src":"10292:15:52"},"variables":[{"name":"srcPtr","nodeType":"YulTypedName","src":"10282:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10316:10:52","value":{"kind":"number","nodeType":"YulLiteral","src":"10325:1:52","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"10320:1:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"10384:265:52","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"10405:3:52"},{"arguments":[{"arguments":[{"name":"tail_2","nodeType":"YulIdentifier","src":"10418:6:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"10426:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"10414:3:52"},"nodeType":"YulFunctionCall","src":"10414:22:52"},{"kind":"number","nodeType":"YulLiteral","src":"10438:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10410:3:52"},"nodeType":"YulFunctionCall","src":"10410:95:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10398:6:52"},"nodeType":"YulFunctionCall","src":"10398:108:52"},"nodeType":"YulExpressionStatement","src":"10398:108:52"},{"nodeType":"YulAssignment","src":"10519:50:52","value":{"arguments":[{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"10553:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"10547:5:52"},"nodeType":"YulFunctionCall","src":"10547:13:52"},{"name":"tail_2","nodeType":"YulIdentifier","src":"10562:6:52"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"10529:17:52"},"nodeType":"YulFunctionCall","src":"10529:40:52"},"variableNames":[{"name":"tail_2","nodeType":"YulIdentifier","src":"10519:6:52"}]},{"nodeType":"YulAssignment","src":"10582:25:52","value":{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"10596:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"10604:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10592:3:52"},"nodeType":"YulFunctionCall","src":"10592:15:52"},"variableNames":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"10582:6:52"}]},{"nodeType":"YulAssignment","src":"10620:19:52","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"10631:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"10636:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10627:3:52"},"nodeType":"YulFunctionCall","src":"10627:12:52"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"10620:3:52"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"10346:1:52"},{"name":"length","nodeType":"YulIdentifier","src":"10349:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"10343:2:52"},"nodeType":"YulFunctionCall","src":"10343:13:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"10357:18:52","statements":[{"nodeType":"YulAssignment","src":"10359:14:52","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"10368:1:52"},{"kind":"number","nodeType":"YulLiteral","src":"10371:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10364:3:52"},"nodeType":"YulFunctionCall","src":"10364:9:52"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"10359:1:52"}]}]},"pre":{"nodeType":"YulBlock","src":"10339:3:52","statements":[]},"src":"10335:314:52"},{"nodeType":"YulAssignment","src":"10658:14:52","value":{"name":"tail_2","nodeType":"YulIdentifier","src":"10666:6:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10658:4:52"}]}]},"name":"abi_encode_tuple_t_array$_t_string_memory_ptr_$dyn_memory_ptr__to_t_array$_t_string_memory_ptr_$dyn_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9956:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"9967:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"9978:4:52","type":""}],"src":"9816:862:52"},{"body":{"nodeType":"YulBlock","src":"10753:177:52","statements":[{"body":{"nodeType":"YulBlock","src":"10799:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"10808:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"10811:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"10801:6:52"},"nodeType":"YulFunctionCall","src":"10801:12:52"},"nodeType":"YulExpressionStatement","src":"10801:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"10774:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"10783:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"10770:3:52"},"nodeType":"YulFunctionCall","src":"10770:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"10795:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"10766:3:52"},"nodeType":"YulFunctionCall","src":"10766:32:52"},"nodeType":"YulIf","src":"10763:52:52"},{"nodeType":"YulVariableDeclaration","src":"10824:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10850:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"10837:12:52"},"nodeType":"YulFunctionCall","src":"10837:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"10828:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"10894:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"10869:24:52"},"nodeType":"YulFunctionCall","src":"10869:31:52"},"nodeType":"YulExpressionStatement","src":"10869:31:52"},{"nodeType":"YulAssignment","src":"10909:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"10919:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"10909:6:52"}]}]},"name":"abi_decode_tuple_t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10719:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"10730:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"10742:6:52","type":""}],"src":"10683:247:52"},{"body":{"nodeType":"YulBlock","src":"11138:969:52","statements":[{"body":{"nodeType":"YulBlock","src":"11185:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"11194:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"11197:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"11187:6:52"},"nodeType":"YulFunctionCall","src":"11187:12:52"},"nodeType":"YulExpressionStatement","src":"11187:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"11159:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"11168:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"11155:3:52"},"nodeType":"YulFunctionCall","src":"11155:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"11180:3:52","type":"","value":"256"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"11151:3:52"},"nodeType":"YulFunctionCall","src":"11151:33:52"},"nodeType":"YulIf","src":"11148:53:52"},{"nodeType":"YulVariableDeclaration","src":"11210:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11236:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11223:12:52"},"nodeType":"YulFunctionCall","src":"11223:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"11214:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"11280:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"11255:24:52"},"nodeType":"YulFunctionCall","src":"11255:31:52"},"nodeType":"YulExpressionStatement","src":"11255:31:52"},{"nodeType":"YulAssignment","src":"11295:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"11305:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"11295:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"11319:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11351:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"11362:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11347:3:52"},"nodeType":"YulFunctionCall","src":"11347:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11334:12:52"},"nodeType":"YulFunctionCall","src":"11334:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"11323:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"11400:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"11375:24:52"},"nodeType":"YulFunctionCall","src":"11375:33:52"},"nodeType":"YulExpressionStatement","src":"11375:33:52"},{"nodeType":"YulAssignment","src":"11417:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"11427:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"11417:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"11443:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11475:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"11486:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11471:3:52"},"nodeType":"YulFunctionCall","src":"11471:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11458:12:52"},"nodeType":"YulFunctionCall","src":"11458:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"11447:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"11522:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"11499:22:52"},"nodeType":"YulFunctionCall","src":"11499:31:52"},"nodeType":"YulExpressionStatement","src":"11499:31:52"},{"nodeType":"YulAssignment","src":"11539:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"11549:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"11539:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"11565:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11597:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"11608:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11593:3:52"},"nodeType":"YulFunctionCall","src":"11593:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11580:12:52"},"nodeType":"YulFunctionCall","src":"11580:32:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"11569:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"11644:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"11621:22:52"},"nodeType":"YulFunctionCall","src":"11621:31:52"},"nodeType":"YulExpressionStatement","src":"11621:31:52"},{"nodeType":"YulAssignment","src":"11661:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"11671:7:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"11661:6:52"}]},{"nodeType":"YulAssignment","src":"11687:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11719:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"11730:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11715:3:52"},"nodeType":"YulFunctionCall","src":"11715:19:52"}],"functionName":{"name":"abi_decode_int128","nodeType":"YulIdentifier","src":"11697:17:52"},"nodeType":"YulFunctionCall","src":"11697:38:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"11687:6:52"}]},{"nodeType":"YulAssignment","src":"11744:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11771:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"11782:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11767:3:52"},"nodeType":"YulFunctionCall","src":"11767:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11754:12:52"},"nodeType":"YulFunctionCall","src":"11754:33:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"11744:6:52"}]},{"nodeType":"YulAssignment","src":"11796:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11823:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"11834:3:52","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11819:3:52"},"nodeType":"YulFunctionCall","src":"11819:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11806:12:52"},"nodeType":"YulFunctionCall","src":"11806:33:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"11796:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"11848:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11879:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"11890:3:52","type":"","value":"224"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11875:3:52"},"nodeType":"YulFunctionCall","src":"11875:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11862:12:52"},"nodeType":"YulFunctionCall","src":"11862:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"11852:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"11938:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"11947:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"11950:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"11940:6:52"},"nodeType":"YulFunctionCall","src":"11940:12:52"},"nodeType":"YulExpressionStatement","src":"11940:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"11910:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"11918:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"11907:2:52"},"nodeType":"YulFunctionCall","src":"11907:30:52"},"nodeType":"YulIf","src":"11904:50:52"},{"nodeType":"YulVariableDeclaration","src":"11963:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12019:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"12030:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12015:3:52"},"nodeType":"YulFunctionCall","src":"12015:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"12039:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"11989:25:52"},"nodeType":"YulFunctionCall","src":"11989:58:52"},"variables":[{"name":"value7_1","nodeType":"YulTypedName","src":"11967:8:52","type":""},{"name":"value8_1","nodeType":"YulTypedName","src":"11977:8:52","type":""}]},{"nodeType":"YulAssignment","src":"12056:18:52","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"12066:8:52"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"12056:6:52"}]},{"nodeType":"YulAssignment","src":"12083:18:52","value":{"name":"value8_1","nodeType":"YulIdentifier","src":"12093:8:52"},"variableNames":[{"name":"value8","nodeType":"YulIdentifier","src":"12083:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_uint256t_uint256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11040:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"11051:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"11063:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"11071:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"11079:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"11087:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"11095:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"11103:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"11111:6:52","type":""},{"name":"value7","nodeType":"YulTypedName","src":"11119:6:52","type":""},{"name":"value8","nodeType":"YulTypedName","src":"11127:6:52","type":""}],"src":"10935:1172:52"},{"body":{"nodeType":"YulBlock","src":"12216:352:52","statements":[{"body":{"nodeType":"YulBlock","src":"12262:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12271:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"12274:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"12264:6:52"},"nodeType":"YulFunctionCall","src":"12264:12:52"},"nodeType":"YulExpressionStatement","src":"12264:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"12237:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"12246:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"12233:3:52"},"nodeType":"YulFunctionCall","src":"12233:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"12258:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"12229:3:52"},"nodeType":"YulFunctionCall","src":"12229:32:52"},"nodeType":"YulIf","src":"12226:52:52"},{"nodeType":"YulVariableDeclaration","src":"12287:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12313:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12300:12:52"},"nodeType":"YulFunctionCall","src":"12300:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"12291:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"12357:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"12332:24:52"},"nodeType":"YulFunctionCall","src":"12332:31:52"},"nodeType":"YulExpressionStatement","src":"12332:31:52"},{"nodeType":"YulAssignment","src":"12372:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"12382:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"12372:6:52"}]},{"nodeType":"YulAssignment","src":"12396:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12423:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"12434:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12419:3:52"},"nodeType":"YulFunctionCall","src":"12419:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12406:12:52"},"nodeType":"YulFunctionCall","src":"12406:32:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"12396:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"12447:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12479:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"12490:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12475:3:52"},"nodeType":"YulFunctionCall","src":"12475:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12462:12:52"},"nodeType":"YulFunctionCall","src":"12462:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"12451:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"12528:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"12503:24:52"},"nodeType":"YulFunctionCall","src":"12503:33:52"},"nodeType":"YulExpressionStatement","src":"12503:33:52"},{"nodeType":"YulAssignment","src":"12545:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"12555:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"12545:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_uint256t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"12166:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"12177:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"12189:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"12197:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"12205:6:52","type":""}],"src":"12112:456:52"},{"body":{"nodeType":"YulBlock","src":"12642:205:52","statements":[{"body":{"nodeType":"YulBlock","src":"12688:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12697:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"12700:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"12690:6:52"},"nodeType":"YulFunctionCall","src":"12690:12:52"},"nodeType":"YulExpressionStatement","src":"12690:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"12663:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"12672:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"12659:3:52"},"nodeType":"YulFunctionCall","src":"12659:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"12684:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"12655:3:52"},"nodeType":"YulFunctionCall","src":"12655:32:52"},"nodeType":"YulIf","src":"12652:52:52"},{"nodeType":"YulVariableDeclaration","src":"12713:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12739:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12726:12:52"},"nodeType":"YulFunctionCall","src":"12726:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"12717:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"12801:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12810:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"12813:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"12803:6:52"},"nodeType":"YulFunctionCall","src":"12803:12:52"},"nodeType":"YulExpressionStatement","src":"12803:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"12771:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"12782:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"12789:8:52","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"12778:3:52"},"nodeType":"YulFunctionCall","src":"12778:20:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"12768:2:52"},"nodeType":"YulFunctionCall","src":"12768:31:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"12761:6:52"},"nodeType":"YulFunctionCall","src":"12761:39:52"},"nodeType":"YulIf","src":"12758:59:52"},{"nodeType":"YulAssignment","src":"12826:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"12836:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"12826:6:52"}]}]},"name":"abi_decode_tuple_t_uint24","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"12608:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"12619:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"12631:6:52","type":""}],"src":"12573:274:52"},{"body":{"nodeType":"YulBlock","src":"12907:382:52","statements":[{"nodeType":"YulAssignment","src":"12917:22:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12931:1:52","type":"","value":"1"},{"name":"data","nodeType":"YulIdentifier","src":"12934:4:52"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"12927:3:52"},"nodeType":"YulFunctionCall","src":"12927:12:52"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"12917:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"12948:38:52","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"12978:4:52"},{"kind":"number","nodeType":"YulLiteral","src":"12984:1:52","type":"","value":"1"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"12974:3:52"},"nodeType":"YulFunctionCall","src":"12974:12:52"},"variables":[{"name":"outOfPlaceEncoding","nodeType":"YulTypedName","src":"12952:18:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"13025:31:52","statements":[{"nodeType":"YulAssignment","src":"13027:27:52","value":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"13041:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"13049:4:52","type":"","value":"0x7f"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"13037:3:52"},"nodeType":"YulFunctionCall","src":"13037:17:52"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"13027:6:52"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"13005:18:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"12998:6:52"},"nodeType":"YulFunctionCall","src":"12998:26:52"},"nodeType":"YulIf","src":"12995:61:52"},{"body":{"nodeType":"YulBlock","src":"13115:168:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13136:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13139:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13129:6:52"},"nodeType":"YulFunctionCall","src":"13129:88:52"},"nodeType":"YulExpressionStatement","src":"13129:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13237:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"13240:4:52","type":"","value":"0x22"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13230:6:52"},"nodeType":"YulFunctionCall","src":"13230:15:52"},"nodeType":"YulExpressionStatement","src":"13230:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13265:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13268:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"13258:6:52"},"nodeType":"YulFunctionCall","src":"13258:15:52"},"nodeType":"YulExpressionStatement","src":"13258:15:52"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"13071:18:52"},{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"13094:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"13102:2:52","type":"","value":"32"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"13091:2:52"},"nodeType":"YulFunctionCall","src":"13091:14:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"13068:2:52"},"nodeType":"YulFunctionCall","src":"13068:38:52"},"nodeType":"YulIf","src":"13065:218:52"}]},"name":"extract_byte_array_length","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"12887:4:52","type":""}],"returnVariables":[{"name":"length","nodeType":"YulTypedName","src":"12896:6:52","type":""}],"src":"12852:437:52"},{"body":{"nodeType":"YulBlock","src":"13326:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13343:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13346:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13336:6:52"},"nodeType":"YulFunctionCall","src":"13336:88:52"},"nodeType":"YulExpressionStatement","src":"13336:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13440:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"13443:4:52","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13433:6:52"},"nodeType":"YulFunctionCall","src":"13433:15:52"},"nodeType":"YulExpressionStatement","src":"13433:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13464:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13467:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"13457:6:52"},"nodeType":"YulFunctionCall","src":"13457:15:52"},"nodeType":"YulExpressionStatement","src":"13457:15:52"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"13294:184:52"},{"body":{"nodeType":"YulBlock","src":"13515:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13532:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13535:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13525:6:52"},"nodeType":"YulFunctionCall","src":"13525:88:52"},"nodeType":"YulExpressionStatement","src":"13525:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13629:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"13632:4:52","type":"","value":"0x32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13622:6:52"},"nodeType":"YulFunctionCall","src":"13622:15:52"},"nodeType":"YulExpressionStatement","src":"13622:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13653:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13656:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"13646:6:52"},"nodeType":"YulFunctionCall","src":"13646:15:52"},"nodeType":"YulExpressionStatement","src":"13646:15:52"}]},"name":"panic_error_0x32","nodeType":"YulFunctionDefinition","src":"13483:184:52"},{"body":{"nodeType":"YulBlock","src":"13704:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13721:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13724:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13714:6:52"},"nodeType":"YulFunctionCall","src":"13714:88:52"},"nodeType":"YulExpressionStatement","src":"13714:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13818:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"13821:4:52","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13811:6:52"},"nodeType":"YulFunctionCall","src":"13811:15:52"},"nodeType":"YulExpressionStatement","src":"13811:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13842:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13845:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"13835:6:52"},"nodeType":"YulFunctionCall","src":"13835:15:52"},"nodeType":"YulExpressionStatement","src":"13835:15:52"}]},"name":"panic_error_0x11","nodeType":"YulFunctionDefinition","src":"13672:184:52"},{"body":{"nodeType":"YulBlock","src":"13908:148:52","statements":[{"body":{"nodeType":"YulBlock","src":"13999:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"14001:16:52"},"nodeType":"YulFunctionCall","src":"14001:18:52"},"nodeType":"YulExpressionStatement","src":"14001:18:52"}]},"condition":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"13924:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"13931:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"13921:2:52"},"nodeType":"YulFunctionCall","src":"13921:77:52"},"nodeType":"YulIf","src":"13918:103:52"},{"nodeType":"YulAssignment","src":"14030:20:52","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"14041:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"14048:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14037:3:52"},"nodeType":"YulFunctionCall","src":"14037:13:52"},"variableNames":[{"name":"ret","nodeType":"YulIdentifier","src":"14030:3:52"}]}]},"name":"increment_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"13890:5:52","type":""}],"returnVariables":[{"name":"ret","nodeType":"YulTypedName","src":"13900:3:52","type":""}],"src":"13861:195:52"},{"body":{"nodeType":"YulBlock","src":"14235:173:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14252:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"14263:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14245:6:52"},"nodeType":"YulFunctionCall","src":"14245:21:52"},"nodeType":"YulExpressionStatement","src":"14245:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14286:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"14297:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14282:3:52"},"nodeType":"YulFunctionCall","src":"14282:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"14302:2:52","type":"","value":"23"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14275:6:52"},"nodeType":"YulFunctionCall","src":"14275:30:52"},"nodeType":"YulExpressionStatement","src":"14275:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14325:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"14336:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14321:3:52"},"nodeType":"YulFunctionCall","src":"14321:18:52"},{"hexValue":"4f6e6c7920706f6f6c2063616e2063616c6c2074686973","kind":"string","nodeType":"YulLiteral","src":"14341:25:52","type":"","value":"Only pool can call this"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14314:6:52"},"nodeType":"YulFunctionCall","src":"14314:53:52"},"nodeType":"YulExpressionStatement","src":"14314:53:52"},{"nodeType":"YulAssignment","src":"14376:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14388:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"14399:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14384:3:52"},"nodeType":"YulFunctionCall","src":"14384:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"14376:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"14212:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"14226:4:52","type":""}],"src":"14061:347:52"},{"body":{"nodeType":"YulBlock","src":"14542:198:52","statements":[{"nodeType":"YulAssignment","src":"14552:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14564:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"14575:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14560:3:52"},"nodeType":"YulFunctionCall","src":"14560:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"14552:4:52"}]},{"nodeType":"YulVariableDeclaration","src":"14587:52:52","value":{"kind":"number","nodeType":"YulLiteral","src":"14597:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"14591:2:52","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14655:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"14670:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"14678:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"14666:3:52"},"nodeType":"YulFunctionCall","src":"14666:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14648:6:52"},"nodeType":"YulFunctionCall","src":"14648:34:52"},"nodeType":"YulExpressionStatement","src":"14648:34:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14702:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"14713:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14698:3:52"},"nodeType":"YulFunctionCall","src":"14698:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"14722:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"14730:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"14718:3:52"},"nodeType":"YulFunctionCall","src":"14718:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14691:6:52"},"nodeType":"YulFunctionCall","src":"14691:43:52"},"nodeType":"YulExpressionStatement","src":"14691:43:52"}]},"name":"abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"14503:9:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"14514:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"14522:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"14533:4:52","type":""}],"src":"14413:327:52"},{"body":{"nodeType":"YulBlock","src":"14804:104:52","statements":[{"nodeType":"YulAssignment","src":"14814:22:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"14829:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"14823:5:52"},"nodeType":"YulFunctionCall","src":"14823:13:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"14814:5:52"}]},{"body":{"nodeType":"YulBlock","src":"14886:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14895:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"14898:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"14888:6:52"},"nodeType":"YulFunctionCall","src":"14888:12:52"},"nodeType":"YulExpressionStatement","src":"14888:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"14858:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"14869:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"14876:6:52","type":"","value":"0xffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"14865:3:52"},"nodeType":"YulFunctionCall","src":"14865:18:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"14855:2:52"},"nodeType":"YulFunctionCall","src":"14855:29:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"14848:6:52"},"nodeType":"YulFunctionCall","src":"14848:37:52"},"nodeType":"YulIf","src":"14845:57:52"}]},"name":"abi_decode_uint16_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"14783:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"14794:5:52","type":""}],"src":"14745:163:52"},{"body":{"nodeType":"YulBlock","src":"14993:126:52","statements":[{"body":{"nodeType":"YulBlock","src":"15039:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15048:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15051:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"15041:6:52"},"nodeType":"YulFunctionCall","src":"15041:12:52"},"nodeType":"YulExpressionStatement","src":"15041:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"15014:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"15023:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"15010:3:52"},"nodeType":"YulFunctionCall","src":"15010:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"15035:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"15006:3:52"},"nodeType":"YulFunctionCall","src":"15006:32:52"},"nodeType":"YulIf","src":"15003:52:52"},{"nodeType":"YulAssignment","src":"15064:49:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15103:9:52"}],"functionName":{"name":"abi_decode_uint16_fromMemory","nodeType":"YulIdentifier","src":"15074:28:52"},"nodeType":"YulFunctionCall","src":"15074:39:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"15064:6:52"}]}]},"name":"abi_decode_tuple_t_uint16_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"14959:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"14970:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"14982:6:52","type":""}],"src":"14913:206:52"},{"body":{"nodeType":"YulBlock","src":"15172:125:52","statements":[{"nodeType":"YulVariableDeclaration","src":"15182:18:52","value":{"kind":"number","nodeType":"YulLiteral","src":"15192:8:52","type":"","value":"0xffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"15186:2:52","type":""}]},{"nodeType":"YulAssignment","src":"15209:35:52","value":{"arguments":[{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"15225:1:52"},{"name":"_1","nodeType":"YulIdentifier","src":"15228:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"15221:3:52"},"nodeType":"YulFunctionCall","src":"15221:10:52"},{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"15237:1:52"},{"name":"_1","nodeType":"YulIdentifier","src":"15240:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"15233:3:52"},"nodeType":"YulFunctionCall","src":"15233:10:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"15217:3:52"},"nodeType":"YulFunctionCall","src":"15217:27:52"},"variableNames":[{"name":"diff","nodeType":"YulIdentifier","src":"15209:4:52"}]},{"body":{"nodeType":"YulBlock","src":"15269:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"15271:16:52"},"nodeType":"YulFunctionCall","src":"15271:18:52"},"nodeType":"YulExpressionStatement","src":"15271:18:52"}]},"condition":{"arguments":[{"name":"diff","nodeType":"YulIdentifier","src":"15259:4:52"},{"name":"_1","nodeType":"YulIdentifier","src":"15265:2:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"15256:2:52"},"nodeType":"YulFunctionCall","src":"15256:12:52"},"nodeType":"YulIf","src":"15253:38:52"}]},"name":"checked_sub_t_uint24","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"15154:1:52","type":""},{"name":"y","nodeType":"YulTypedName","src":"15157:1:52","type":""}],"returnVariables":[{"name":"diff","nodeType":"YulTypedName","src":"15163:4:52","type":""}],"src":"15124:173:52"},{"body":{"nodeType":"YulBlock","src":"15354:116:52","statements":[{"nodeType":"YulAssignment","src":"15364:20:52","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"15379:1:52"},{"name":"y","nodeType":"YulIdentifier","src":"15382:1:52"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"15375:3:52"},"nodeType":"YulFunctionCall","src":"15375:9:52"},"variableNames":[{"name":"product","nodeType":"YulIdentifier","src":"15364:7:52"}]},{"body":{"nodeType":"YulBlock","src":"15442:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"15444:16:52"},"nodeType":"YulFunctionCall","src":"15444:18:52"},"nodeType":"YulExpressionStatement","src":"15444:18:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"15413:1:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"15406:6:52"},"nodeType":"YulFunctionCall","src":"15406:9:52"},{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"15420:1:52"},{"arguments":[{"name":"product","nodeType":"YulIdentifier","src":"15427:7:52"},{"name":"x","nodeType":"YulIdentifier","src":"15436:1:52"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"15423:3:52"},"nodeType":"YulFunctionCall","src":"15423:15:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"15417:2:52"},"nodeType":"YulFunctionCall","src":"15417:22:52"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"15403:2:52"},"nodeType":"YulFunctionCall","src":"15403:37:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"15396:6:52"},"nodeType":"YulFunctionCall","src":"15396:45:52"},"nodeType":"YulIf","src":"15393:71:52"}]},"name":"checked_mul_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"15333:1:52","type":""},{"name":"y","nodeType":"YulTypedName","src":"15336:1:52","type":""}],"returnVariables":[{"name":"product","nodeType":"YulTypedName","src":"15342:7:52","type":""}],"src":"15302:168:52"},{"body":{"nodeType":"YulBlock","src":"15521:228:52","statements":[{"body":{"nodeType":"YulBlock","src":"15552:168:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15573:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15576:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15566:6:52"},"nodeType":"YulFunctionCall","src":"15566:88:52"},"nodeType":"YulExpressionStatement","src":"15566:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15674:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"15677:4:52","type":"","value":"0x12"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15667:6:52"},"nodeType":"YulFunctionCall","src":"15667:15:52"},"nodeType":"YulExpressionStatement","src":"15667:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15702:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15705:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"15695:6:52"},"nodeType":"YulFunctionCall","src":"15695:15:52"},"nodeType":"YulExpressionStatement","src":"15695:15:52"}]},"condition":{"arguments":[{"name":"y","nodeType":"YulIdentifier","src":"15541:1:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"15534:6:52"},"nodeType":"YulFunctionCall","src":"15534:9:52"},"nodeType":"YulIf","src":"15531:189:52"},{"nodeType":"YulAssignment","src":"15729:14:52","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"15738:1:52"},{"name":"y","nodeType":"YulIdentifier","src":"15741:1:52"}],"functionName":{"name":"div","nodeType":"YulIdentifier","src":"15734:3:52"},"nodeType":"YulFunctionCall","src":"15734:9:52"},"variableNames":[{"name":"r","nodeType":"YulIdentifier","src":"15729:1:52"}]}]},"name":"checked_div_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"15506:1:52","type":""},{"name":"y","nodeType":"YulTypedName","src":"15509:1:52","type":""}],"returnVariables":[{"name":"r","nodeType":"YulTypedName","src":"15515:1:52","type":""}],"src":"15475:274:52"},{"body":{"nodeType":"YulBlock","src":"15883:168:52","statements":[{"nodeType":"YulAssignment","src":"15893:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15905:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"15916:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15901:3:52"},"nodeType":"YulFunctionCall","src":"15901:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"15893:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15935:9:52"},{"name":"value0","nodeType":"YulIdentifier","src":"15946:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15928:6:52"},"nodeType":"YulFunctionCall","src":"15928:25:52"},"nodeType":"YulExpressionStatement","src":"15928:25:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15973:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"15984:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15969:3:52"},"nodeType":"YulFunctionCall","src":"15969:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"15993:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"16001:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"15989:3:52"},"nodeType":"YulFunctionCall","src":"15989:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"15962:6:52"},"nodeType":"YulFunctionCall","src":"15962:83:52"},"nodeType":"YulExpressionStatement","src":"15962:83:52"}]},"name":"abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"15844:9:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"15855:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"15863:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"15874:4:52","type":""}],"src":"15754:297:52"},{"body":{"nodeType":"YulBlock","src":"16134:167:52","statements":[{"body":{"nodeType":"YulBlock","src":"16180:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16189:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"16192:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"16182:6:52"},"nodeType":"YulFunctionCall","src":"16182:12:52"},"nodeType":"YulExpressionStatement","src":"16182:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"16155:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"16164:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"16151:3:52"},"nodeType":"YulFunctionCall","src":"16151:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"16176:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"16147:3:52"},"nodeType":"YulFunctionCall","src":"16147:32:52"},"nodeType":"YulIf","src":"16144:52:52"},{"nodeType":"YulVariableDeclaration","src":"16205:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16224:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"16218:5:52"},"nodeType":"YulFunctionCall","src":"16218:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"16209:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"16265:5:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"16243:21:52"},"nodeType":"YulFunctionCall","src":"16243:28:52"},"nodeType":"YulExpressionStatement","src":"16243:28:52"},{"nodeType":"YulAssignment","src":"16280:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"16290:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"16280:6:52"}]}]},"name":"abi_decode_tuple_t_bool_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"16100:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"16111:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"16123:6:52","type":""}],"src":"16056:245:52"},{"body":{"nodeType":"YulBlock","src":"16463:679:52","statements":[{"body":{"nodeType":"YulBlock","src":"16510:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16519:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"16522:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"16512:6:52"},"nodeType":"YulFunctionCall","src":"16512:12:52"},"nodeType":"YulExpressionStatement","src":"16512:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"16484:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"16493:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"16480:3:52"},"nodeType":"YulFunctionCall","src":"16480:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"16505:3:52","type":"","value":"192"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"16476:3:52"},"nodeType":"YulFunctionCall","src":"16476:33:52"},"nodeType":"YulIf","src":"16473:53:52"},{"nodeType":"YulVariableDeclaration","src":"16535:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16554:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"16548:5:52"},"nodeType":"YulFunctionCall","src":"16548:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"16539:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"16598:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"16573:24:52"},"nodeType":"YulFunctionCall","src":"16573:31:52"},"nodeType":"YulExpressionStatement","src":"16573:31:52"},{"nodeType":"YulAssignment","src":"16613:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"16623:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"16613:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"16637:40:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16662:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"16673:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16658:3:52"},"nodeType":"YulFunctionCall","src":"16658:18:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"16652:5:52"},"nodeType":"YulFunctionCall","src":"16652:25:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"16641:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"16709:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"16686:22:52"},"nodeType":"YulFunctionCall","src":"16686:31:52"},"nodeType":"YulExpressionStatement","src":"16686:31:52"},{"nodeType":"YulAssignment","src":"16726:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"16736:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"16726:6:52"}]},{"nodeType":"YulAssignment","src":"16752:58:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16795:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"16806:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16791:3:52"},"nodeType":"YulFunctionCall","src":"16791:18:52"}],"functionName":{"name":"abi_decode_uint16_fromMemory","nodeType":"YulIdentifier","src":"16762:28:52"},"nodeType":"YulFunctionCall","src":"16762:48:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"16752:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"16819:40:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16844:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"16855:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16840:3:52"},"nodeType":"YulFunctionCall","src":"16840:18:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"16834:5:52"},"nodeType":"YulFunctionCall","src":"16834:25:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"16823:7:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"16911:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16920:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"16923:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"16913:6:52"},"nodeType":"YulFunctionCall","src":"16913:12:52"},"nodeType":"YulExpressionStatement","src":"16913:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"16881:7:52"},{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"16894:7:52"},{"kind":"number","nodeType":"YulLiteral","src":"16903:4:52","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16890:3:52"},"nodeType":"YulFunctionCall","src":"16890:18:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"16878:2:52"},"nodeType":"YulFunctionCall","src":"16878:31:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"16871:6:52"},"nodeType":"YulFunctionCall","src":"16871:39:52"},"nodeType":"YulIf","src":"16868:59:52"},{"nodeType":"YulAssignment","src":"16936:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"16946:7:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"16936:6:52"}]},{"nodeType":"YulAssignment","src":"16962:59:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17005:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"17016:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17001:3:52"},"nodeType":"YulFunctionCall","src":"17001:19:52"}],"functionName":{"name":"abi_decode_uint16_fromMemory","nodeType":"YulIdentifier","src":"16972:28:52"},"nodeType":"YulFunctionCall","src":"16972:49:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"16962:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"17030:41:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17055:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"17066:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17051:3:52"},"nodeType":"YulFunctionCall","src":"17051:19:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"17045:5:52"},"nodeType":"YulFunctionCall","src":"17045:26:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"17034:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"17102:7:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"17080:21:52"},"nodeType":"YulFunctionCall","src":"17080:30:52"},"nodeType":"YulExpressionStatement","src":"17080:30:52"},{"nodeType":"YulAssignment","src":"17119:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"17129:7:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"17119:6:52"}]}]},"name":"abi_decode_tuple_t_uint160t_int24t_uint16t_uint8t_uint16t_bool_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"16389:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"16400:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"16412:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"16420:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"16428:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"16436:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"16444:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"16452:6:52","type":""}],"src":"16306:836:52"}]},"contents":"{\n    { }\n    function validator_revert_address(value)\n    {\n        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { 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_bytes_calldata(offset, end) -> arrayPos, length\n    {\n        if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n        length := calldataload(offset)\n        if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n        arrayPos := add(offset, 0x20)\n        if gt(add(add(offset, length), 0x20), end) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_boolt_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7\n    {\n        if slt(sub(dataEnd, headStart), 224) { 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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_bool(value_2)\n        value2 := value_2\n        value3 := calldataload(add(headStart, 96))\n        let value_3 := calldataload(add(headStart, 128))\n        validator_revert_address(value_3)\n        value4 := value_3\n        let value_4 := calldataload(add(headStart, 160))\n        validator_revert_bool(value_4)\n        value5 := value_4\n        let offset := calldataload(add(headStart, 192))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value6_1, value7_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value6 := value6_1\n        value7 := value7_1\n    }\n    function abi_encode_tuple_t_bytes4_t_uint24_t_uint24__to_t_bytes4_t_uint24_t_uint24__fromStack_reversed(headStart, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 96)\n        mstore(headStart, and(value0, 0xffffffff00000000000000000000000000000000000000000000000000000000))\n        let _1 := 0xffffff\n        mstore(add(headStart, 32), and(value1, _1))\n        mstore(add(headStart, 64), and(value2, _1))\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, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint256t_uint256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7\n    {\n        if slt(sub(dataEnd, headStart), 224) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n        value2 := calldataload(add(headStart, 64))\n        value3 := calldataload(add(headStart, 96))\n        value4 := calldataload(add(headStart, 128))\n        value5 := calldataload(add(headStart, 160))\n        let offset := calldataload(add(headStart, 192))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value6_1, value7_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value6 := value6_1\n        value7 := value7_1\n    }\n    function abi_encode_tuple_t_bytes4__to_t_bytes4__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffff00000000000000000000000000000000000000000000000000000000))\n    }\n    function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := calldataload(headStart)\n    }\n    function abi_encode_string(value, pos) -> end\n    {\n        let length := mload(value)\n        mstore(pos, length)\n        let i := 0\n        for { } lt(i, length) { i := add(i, 0x20) }\n        {\n            let _1 := 0x20\n            mstore(add(add(pos, i), _1), mload(add(add(value, i), _1)))\n        }\n        mstore(add(add(pos, length), 0x20), 0)\n        end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\n    }\n    function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        mstore(headStart, 32)\n        tail := abi_encode_string(value0, add(headStart, 32))\n    }\n    function validator_revert_int24(value)\n    {\n        if iszero(eq(value, signextend(2, value))) { revert(0, 0) }\n    }\n    function abi_decode_int128(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, signextend(15, value))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6\n    {\n        if slt(sub(dataEnd, headStart), 192) { 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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_int24(value_2)\n        value2 := value_2\n        let value_3 := calldataload(add(headStart, 96))\n        validator_revert_int24(value_3)\n        value3 := value_3\n        value4 := abi_decode_int128(add(headStart, 128))\n        let offset := calldataload(add(headStart, 160))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value5_1, value6_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value5 := value5_1\n        value6 := value6_1\n    }\n    function abi_encode_tuple_t_bytes4_t_uint24__to_t_bytes4_t_uint24__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, 0xffffffff00000000000000000000000000000000000000000000000000000000))\n        mstore(add(headStart, 32), and(value1, 0xffffff))\n    }\n    function abi_decode_tuple_t_addresst_uint160(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n    }\n    function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xff))\n    }\n    function abi_decode_tuple_t_addresst_uint160t_int24(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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_int24(value_2)\n        value2 := value_2\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5\n    {\n        if slt(sub(dataEnd, headStart), 160) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n        value2 := calldataload(add(headStart, 64))\n        value3 := calldataload(add(headStart, 96))\n        let offset := calldataload(add(headStart, 128))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value4_1, value5_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value4 := value4_1\n        value5 := value5_1\n    }\n    function abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_int256t_int256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7, value8\n    {\n        if slt(sub(dataEnd, headStart), 256) { 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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_bool(value_2)\n        value2 := value_2\n        value3 := calldataload(add(headStart, 96))\n        let value_3 := calldataload(add(headStart, 128))\n        validator_revert_address(value_3)\n        value4 := value_3\n        value5 := calldataload(add(headStart, 160))\n        value6 := calldataload(add(headStart, 192))\n        let offset := calldataload(add(headStart, 224))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value7_1, value8_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value7 := value7_1\n        value8 := value8_1\n    }\n    function abi_decode_tuple_t_uint256t_uint256(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := calldataload(headStart)\n        value1 := calldataload(add(headStart, 32))\n    }\n    function abi_encode_tuple_t_array$_t_string_memory_ptr_$dyn_memory_ptr__to_t_array$_t_string_memory_ptr_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        let _1 := 32\n        let tail_1 := add(headStart, _1)\n        mstore(headStart, _1)\n        let pos := tail_1\n        let length := mload(value0)\n        mstore(tail_1, length)\n        pos := add(headStart, 64)\n        let tail_2 := add(add(headStart, shl(5, length)), 64)\n        let srcPtr := add(value0, _1)\n        let i := 0\n        for { } lt(i, length) { i := add(i, 1) }\n        {\n            mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0))\n            tail_2 := abi_encode_string(mload(srcPtr), tail_2)\n            srcPtr := add(srcPtr, _1)\n            pos := add(pos, _1)\n        }\n        tail := tail_2\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_int24t_int24t_int128t_uint256t_uint256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7, value8\n    {\n        if slt(sub(dataEnd, headStart), 256) { 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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_int24(value_2)\n        value2 := value_2\n        let value_3 := calldataload(add(headStart, 96))\n        validator_revert_int24(value_3)\n        value3 := value_3\n        value4 := abi_decode_int128(add(headStart, 128))\n        value5 := calldataload(add(headStart, 160))\n        value6 := calldataload(add(headStart, 192))\n        let offset := calldataload(add(headStart, 224))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value7_1, value8_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value7 := value7_1\n        value8 := value8_1\n    }\n    function abi_decode_tuple_t_addresst_uint256t_address(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 := calldataload(add(headStart, 32))\n        let value_1 := calldataload(add(headStart, 64))\n        validator_revert_address(value_1)\n        value2 := value_1\n    }\n    function abi_decode_tuple_t_uint24(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := calldataload(headStart)\n        if iszero(eq(value, and(value, 0xffffff))) { revert(0, 0) }\n        value0 := value\n    }\n    function extract_byte_array_length(data) -> length\n    {\n        length := shr(1, data)\n        let outOfPlaceEncoding := and(data, 1)\n        if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n        if eq(outOfPlaceEncoding, lt(length, 32))\n        {\n            mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x22)\n            revert(0, 0x24)\n        }\n    }\n    function panic_error_0x41()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function panic_error_0x32()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x32)\n        revert(0, 0x24)\n    }\n    function panic_error_0x11()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x11)\n        revert(0, 0x24)\n    }\n    function increment_t_uint256(value) -> ret\n    {\n        if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n        ret := add(value, 1)\n    }\n    function abi_encode_tuple_t_stringliteral_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb__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), \"Only pool can call this\")\n        tail := add(headStart, 96)\n    }\n    function abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n        mstore(headStart, and(value0, _1))\n        mstore(add(headStart, 32), and(value1, _1))\n    }\n    function abi_decode_uint16_fromMemory(offset) -> value\n    {\n        value := mload(offset)\n        if iszero(eq(value, and(value, 0xffff))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_uint16_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := abi_decode_uint16_fromMemory(headStart)\n    }\n    function checked_sub_t_uint24(x, y) -> diff\n    {\n        let _1 := 0xffffff\n        diff := sub(and(x, _1), and(y, _1))\n        if gt(diff, _1) { panic_error_0x11() }\n    }\n    function checked_mul_t_uint256(x, y) -> product\n    {\n        product := mul(x, y)\n        if iszero(or(iszero(x), eq(y, div(product, x)))) { panic_error_0x11() }\n    }\n    function checked_div_t_uint256(x, y) -> r\n    {\n        if iszero(y)\n        {\n            mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x12)\n            revert(0, 0x24)\n        }\n        r := div(x, y)\n    }\n    function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, value0)\n        mstore(add(headStart, 32), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\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_decode_tuple_t_uint160t_int24t_uint16t_uint8t_uint16t_bool_fromMemory(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5\n    {\n        if slt(sub(dataEnd, headStart), 192) { revert(0, 0) }\n        let value := mload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := mload(add(headStart, 32))\n        validator_revert_int24(value_1)\n        value1 := value_1\n        value2 := abi_decode_uint16_fromMemory(add(headStart, 64))\n        let value_2 := mload(add(headStart, 96))\n        if iszero(eq(value_2, and(value_2, 0xff))) { revert(0, 0) }\n        value3 := value_2\n        value4 := abi_decode_uint16_fromMemory(add(headStart, 128))\n        let value_3 := mload(add(headStart, 160))\n        validator_revert_bool(value_3)\n        value5 := value_3\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{"30":[{"length":32,"start":412},{"length":32,"start":2335},{"length":32,"start":2774},{"length":32,"start":3290}],"483":[{"length":32,"start":2976}]},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106101365760003560e01c80638de0a8ee116100b2578063c3da797811610081578063e72c652d11610066578063e72c652d14610386578063eabb562214610399578063f20cdc1a146103f557600080fd5b8063c3da79781461035e578063d68520101461037357600080fd5b80638de0a8ee146103105780639cb5a96314610323578063aa6b14bb14610336578063b6f78cc91461034957600080fd5b806346b7748b11610109578063636fd804116100ee578063636fd804146102cb578063689ea370146102de57806382dd6522146102fd57600080fd5b806346b7748b1461025c5780635e2411b21461027c57600080fd5b8063029c1cb71461013b57806316f0115b1461019757806331b25d1a146101e3578063343d37ff14610218575b600080fd5b61014e610149366004610df3565b610415565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909416845262ffffff92831660208501529116908201526060015b60405180910390f35b6101be7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161018e565b61020a7f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f581565b60405190815260200161018e565b61022b610226366004610e9d565b6104c4565b6040517fffffffff00000000000000000000000000000000000000000000000000000000909116815260200161018e565b61026f61026a366004610f0c565b6104fc565b60405161018e9190610f89565b61028f61028a366004610fc9565b6105a8565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909316835262ffffff90911660208301520161018e565b61022b6102d9366004611068565b6105e4565b6000546102eb9060ff1681565b60405160ff909116815260200161018e565b61022b61030b3660046110a1565b610626565b61022b61031e3660046110ec565b610659565b61022b610331366004611168565b61068f565b61022b610344366004611216565b6106c8565b6103516106fa565b60405161018e9190611238565b61037161036c3660046112b8565b610835565b005b61022b6103813660046112d5565b6108b6565b61037161039436600461133d565b6108ef565b6103716103a7366004611374565b6002805462ffffff90921674010000000000000000000000000000000000000000027fffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6002546101be9073ffffffffffffffffffffffffffffffffffffffff1681565b6000806000610422610907565b61043e3233600260149054906101000a900462ffffff166109ac565b600280547fffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000062ffffff938416810291909117918290557f029c1cb7000000000000000000000000000000000000000000000000000000009e91049091169b5060009a5098505050505050505050565b60006104ce610907565b507f343d37ff0000000000000000000000000000000000000000000000000000000098975050505050505050565b6001818154811061050c57600080fd5b90600052602060002001600091509050805461052790611399565b80601f016020809104026020016040519081016040528092919081815260200182805461055390611399565b80156105a05780601f10610575576101008083540402835291602001916105a0565b820191906000526020600020905b81548152906001019060200180831161058357829003601f168201915b505050505081565b6000806105b3610907565b507f5e2411b20000000000000000000000000000000000000000000000000000000098600098509650505050505050565b60006105ee610907565b6000546105fd9060ff16610a89565b507f636fd804000000000000000000000000000000000000000000000000000000005b92915050565b6000610630610907565b507f82dd6522000000000000000000000000000000000000000000000000000000009392505050565b6000610663610907565b507f8de0a8ee000000000000000000000000000000000000000000000000000000009695505050505050565b6000610699610907565b507f9cb5a963000000000000000000000000000000000000000000000000000000009998505050505050505050565b60006106d2610907565b507faa6b14bb0000000000000000000000000000000000000000000000000000000092915050565b60015460609067ffffffffffffffff811115610718576107186113ec565b60405190808252806020026020018201604052801561074b57816020015b60608152602001906001900390816107365790505b50905060005b600154811015610831576001818154811061076e5761076e61141b565b90600052602060002001805461078390611399565b80601f01602080910402602001604051908101604052809291908181526020018280546107af90611399565b80156107fc5780601f106107d1576101008083540402835291602001916107fc565b820191906000526020600020905b8154815290600101906020018083116107df57829003601f168201915b50505050508282815181106108135761081361141b565b6020026020010181905250808061082990611479565b915050610751565b5090565b61083d610b4c565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f3b1f0d57f07483280d598ef402c5b2b96be1a42e65b21992bdafea3476b653279060200160405180910390a150565b60006108c0610907565b507fd6852010000000000000000000000000000000000000000000000000000000009998505050505050505050565b6108f7610b4c565b610902838284610c29565b505050565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146109aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4f6e6c7920706f6f6c2063616e2063616c6c2074686973000000000000000000604482015260640160405180910390fd5b565b6002546040517f1101ce3e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015284811660248301526000928392911690631101ce3e906044016020604051808303816000875af1158015610a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4e91906114c3565b61ffff1690506103e8610a6182826114de565b62ffffff168462ffffff16610a769190611501565b610a809190611518565b95945050505050565b6000610a93610cd2565b93505050508160ff168160ff1614610b48576040517fbca57f8100000000000000000000000000000000000000000000000000000000815260ff831660048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063bca57f8190602401600060405180830381600087803b158015610b2f57600080fd5b505af1158015610b43573d6000803e3d6000fd5b505050505b5050565b6040517fe8ae2b690000000000000000000000000000000000000000000000000000000081527f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f560048201523360248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e8ae2b6990604401602060405180830381865afa158015610bfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c209190611553565b6109aa57600080fd5b60006040517fa9059cbb0000000000000000000000000000000000000000000000000000000060005273ffffffffffffffffffffffffffffffffffffffff841660045282602452602060006044600080895af19150813d1560203d146001600051141617169150806040525080610ccc576040517fe465903e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000806000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015610d43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d679190611570565b5093989297509095509350915050565b73ffffffffffffffffffffffffffffffffffffffff81168114610d9957600080fd5b50565b8015158114610d9957600080fd5b60008083601f840112610dbc57600080fd5b50813567ffffffffffffffff811115610dd457600080fd5b602083019150836020828501011115610dec57600080fd5b9250929050565b60008060008060008060008060e0898b031215610e0f57600080fd5b8835610e1a81610d77565b97506020890135610e2a81610d77565b96506040890135610e3a81610d9c565b9550606089013594506080890135610e5181610d77565b935060a0890135610e6181610d9c565b925060c089013567ffffffffffffffff811115610e7d57600080fd5b610e898b828c01610daa565b999c989b5096995094979396929594505050565b60008060008060008060008060e0898b031215610eb957600080fd5b8835610ec481610d77565b97506020890135610ed481610d77565b965060408901359550606089013594506080890135935060a0890135925060c089013567ffffffffffffffff811115610e7d57600080fd5b600060208284031215610f1e57600080fd5b5035919050565b6000815180845260005b81811015610f4b57602081850181015186830182015201610f2f565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081526000610f9c6020830184610f25565b9392505050565b8060020b8114610d9957600080fd5b8035600f81900b8114610fc457600080fd5b919050565b600080600080600080600060c0888a031215610fe457600080fd5b8735610fef81610d77565b96506020880135610fff81610d77565b9550604088013561100f81610fa3565b9450606088013561101f81610fa3565b935061102d60808901610fb2565b925060a088013567ffffffffffffffff81111561104957600080fd5b6110558a828b01610daa565b989b979a50959850939692959293505050565b6000806040838503121561107b57600080fd5b823561108681610d77565b9150602083013561109681610d77565b809150509250929050565b6000806000606084860312156110b657600080fd5b83356110c181610d77565b925060208401356110d181610d77565b915060408401356110e181610fa3565b809150509250925092565b60008060008060008060a0878903121561110557600080fd5b863561111081610d77565b9550602087013561112081610d77565b94506040870135935060608701359250608087013567ffffffffffffffff81111561114a57600080fd5b61115689828a01610daa565b979a9699509497509295939492505050565b60008060008060008060008060006101008a8c03121561118757600080fd5b893561119281610d77565b985060208a01356111a281610d77565b975060408a01356111b281610d9c565b965060608a0135955060808a01356111c981610d77565b945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff8111156111f357600080fd5b6111ff8c828d01610daa565b915080935050809150509295985092959850929598565b6000806040838503121561122957600080fd5b50508035926020909101359150565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156112ab577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452611299858351610f25565b9450928501929085019060010161125f565b5092979650505050505050565b6000602082840312156112ca57600080fd5b8135610f9c81610d77565b60008060008060008060008060006101008a8c0312156112f457600080fd5b89356112ff81610d77565b985060208a013561130f81610d77565b975060408a013561131f81610fa3565b965060608a013561132f81610fa3565b95506111c960808b01610fb2565b60008060006060848603121561135257600080fd5b833561135d81610d77565b92506020840135915060408401356110e181610d77565b60006020828403121561138657600080fd5b813562ffffff81168114610f9c57600080fd5b600181811c908216806113ad57607f821691505b6020821081036113e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114aa576114aa61144a565b5060010190565b805161ffff81168114610fc457600080fd5b6000602082840312156114d557600080fd5b610f9c826114b1565b62ffffff8281168282160390808211156114fa576114fa61144a565b5092915050565b80820281158282048414176106205761062061144a565b60008261154e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60006020828403121561156557600080fd5b8151610f9c81610d9c565b60008060008060008060c0878903121561158957600080fd5b865161159481610d77565b60208801519096506115a581610fa3565b94506115b3604088016114b1565b9350606087015160ff811681146115c957600080fd5b92506115d7608088016114b1565b915060a08701516115e781610d9c565b80915050929550929550929556fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x136 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DE0A8EE GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0xC3DA7978 GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xE72C652D GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xE72C652D EQ PUSH2 0x386 JUMPI DUP1 PUSH4 0xEABB5622 EQ PUSH2 0x399 JUMPI DUP1 PUSH4 0xF20CDC1A EQ PUSH2 0x3F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC3DA7978 EQ PUSH2 0x35E JUMPI DUP1 PUSH4 0xD6852010 EQ PUSH2 0x373 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8DE0A8EE EQ PUSH2 0x310 JUMPI DUP1 PUSH4 0x9CB5A963 EQ PUSH2 0x323 JUMPI DUP1 PUSH4 0xAA6B14BB EQ PUSH2 0x336 JUMPI DUP1 PUSH4 0xB6F78CC9 EQ PUSH2 0x349 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x46B7748B GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x636FD804 GT PUSH2 0xEE JUMPI DUP1 PUSH4 0x636FD804 EQ PUSH2 0x2CB JUMPI DUP1 PUSH4 0x689EA370 EQ PUSH2 0x2DE JUMPI DUP1 PUSH4 0x82DD6522 EQ PUSH2 0x2FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x46B7748B EQ PUSH2 0x25C JUMPI DUP1 PUSH4 0x5E2411B2 EQ PUSH2 0x27C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29C1CB7 EQ PUSH2 0x13B JUMPI DUP1 PUSH4 0x16F0115B EQ PUSH2 0x197 JUMPI DUP1 PUSH4 0x31B25D1A EQ PUSH2 0x1E3 JUMPI DUP1 PUSH4 0x343D37FF EQ PUSH2 0x218 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x14E PUSH2 0x149 CALLDATASIZE PUSH1 0x4 PUSH2 0xDF3 JUMP JUMPDEST PUSH2 0x415 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP5 AND DUP5 MSTORE PUSH3 0xFFFFFF SWAP3 DUP4 AND PUSH1 0x20 DUP6 ADD MSTORE SWAP2 AND SWAP1 DUP3 ADD MSTORE PUSH1 0x60 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1BE PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x20A PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x22B PUSH2 0x226 CALLDATASIZE PUSH1 0x4 PUSH2 0xE9D JUMP JUMPDEST PUSH2 0x4C4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x26F PUSH2 0x26A CALLDATASIZE PUSH1 0x4 PUSH2 0xF0C JUMP JUMPDEST PUSH2 0x4FC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18E SWAP2 SWAP1 PUSH2 0xF89 JUMP JUMPDEST PUSH2 0x28F PUSH2 0x28A CALLDATASIZE PUSH1 0x4 PUSH2 0xFC9 JUMP JUMPDEST PUSH2 0x5A8 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP4 AND DUP4 MSTORE PUSH3 0xFFFFFF SWAP1 SWAP2 AND PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x22B PUSH2 0x2D9 CALLDATASIZE PUSH1 0x4 PUSH2 0x1068 JUMP JUMPDEST PUSH2 0x5E4 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x2EB SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x18E JUMP JUMPDEST PUSH2 0x22B PUSH2 0x30B CALLDATASIZE PUSH1 0x4 PUSH2 0x10A1 JUMP JUMPDEST PUSH2 0x626 JUMP JUMPDEST PUSH2 0x22B PUSH2 0x31E CALLDATASIZE PUSH1 0x4 PUSH2 0x10EC JUMP JUMPDEST PUSH2 0x659 JUMP JUMPDEST PUSH2 0x22B PUSH2 0x331 CALLDATASIZE PUSH1 0x4 PUSH2 0x1168 JUMP JUMPDEST PUSH2 0x68F JUMP JUMPDEST PUSH2 0x22B PUSH2 0x344 CALLDATASIZE PUSH1 0x4 PUSH2 0x1216 JUMP JUMPDEST PUSH2 0x6C8 JUMP JUMPDEST PUSH2 0x351 PUSH2 0x6FA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x18E SWAP2 SWAP1 PUSH2 0x1238 JUMP JUMPDEST PUSH2 0x371 PUSH2 0x36C CALLDATASIZE PUSH1 0x4 PUSH2 0x12B8 JUMP JUMPDEST PUSH2 0x835 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x22B PUSH2 0x381 CALLDATASIZE PUSH1 0x4 PUSH2 0x12D5 JUMP JUMPDEST PUSH2 0x8B6 JUMP JUMPDEST PUSH2 0x371 PUSH2 0x394 CALLDATASIZE PUSH1 0x4 PUSH2 0x133D JUMP JUMPDEST PUSH2 0x8EF JUMP JUMPDEST PUSH2 0x371 PUSH2 0x3A7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1374 JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH3 0xFFFFFF SWAP1 SWAP3 AND PUSH21 0x10000000000000000000000000000000000000000 MUL PUSH32 0xFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH2 0x1BE SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x422 PUSH2 0x907 JUMP JUMPDEST PUSH2 0x43E ORIGIN CALLER PUSH1 0x2 PUSH1 0x14 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH3 0xFFFFFF AND PUSH2 0x9AC JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH21 0x10000000000000000000000000000000000000000 PUSH3 0xFFFFFF SWAP4 DUP5 AND DUP2 MUL SWAP2 SWAP1 SWAP2 OR SWAP2 DUP3 SWAP1 SSTORE PUSH32 0x29C1CB700000000000000000000000000000000000000000000000000000000 SWAP15 SWAP2 DIV SWAP1 SWAP2 AND SWAP12 POP PUSH1 0x0 SWAP11 POP SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4CE PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x343D37FF00000000000000000000000000000000000000000000000000000000 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x50C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x527 SWAP1 PUSH2 0x1399 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x553 SWAP1 PUSH2 0x1399 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5A0 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x575 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5A0 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x583 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x5B3 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x5E2411B200000000000000000000000000000000000000000000000000000000 SWAP9 PUSH1 0x0 SWAP9 POP SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5EE PUSH2 0x907 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x5FD SWAP1 PUSH1 0xFF AND PUSH2 0xA89 JUMP JUMPDEST POP PUSH32 0x636FD80400000000000000000000000000000000000000000000000000000000 JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x630 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x82DD652200000000000000000000000000000000000000000000000000000000 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x663 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x8DE0A8EE00000000000000000000000000000000000000000000000000000000 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x699 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0x9CB5A96300000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6D2 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0xAA6B14BB00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x60 SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x718 JUMPI PUSH2 0x718 PUSH2 0x13EC JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x74B JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x736 JUMPI SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 JUMPDEST PUSH1 0x1 SLOAD DUP2 LT ISZERO PUSH2 0x831 JUMPI PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x76E JUMPI PUSH2 0x76E PUSH2 0x141B JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP1 SLOAD PUSH2 0x783 SWAP1 PUSH2 0x1399 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x7AF SWAP1 PUSH2 0x1399 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x7FC JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x7D1 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x7FC JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x7DF JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x813 JUMPI PUSH2 0x813 PUSH2 0x141B JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP DUP1 DUP1 PUSH2 0x829 SWAP1 PUSH2 0x1479 JUMP JUMPDEST SWAP2 POP POP PUSH2 0x751 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x83D PUSH2 0xB4C JUMP JUMPDEST PUSH1 0x2 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 AND SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH32 0x3B1F0D57F07483280D598EF402C5B2B96BE1A42E65B21992BDAFEA3476B65327 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8C0 PUSH2 0x907 JUMP JUMPDEST POP PUSH32 0xD685201000000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0x8F7 PUSH2 0xB4C JUMP JUMPDEST PUSH2 0x902 DUP4 DUP3 DUP5 PUSH2 0xC29 JUMP JUMPDEST POP POP POP JUMP JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND EQ PUSH2 0x9AA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C7920706F6F6C2063616E2063616C6C2074686973000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH32 0x1101CE3E00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP5 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x0 SWAP3 DUP4 SWAP3 SWAP2 AND SWAP1 PUSH4 0x1101CE3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL ISZERO DUP1 ISZERO PUSH2 0xA2A 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 0xA4E SWAP2 SWAP1 PUSH2 0x14C3 JUMP JUMPDEST PUSH2 0xFFFF AND SWAP1 POP PUSH2 0x3E8 PUSH2 0xA61 DUP3 DUP3 PUSH2 0x14DE JUMP JUMPDEST PUSH3 0xFFFFFF AND DUP5 PUSH3 0xFFFFFF AND PUSH2 0xA76 SWAP2 SWAP1 PUSH2 0x1501 JUMP JUMPDEST PUSH2 0xA80 SWAP2 SWAP1 PUSH2 0x1518 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xA93 PUSH2 0xCD2 JUMP JUMPDEST SWAP4 POP POP POP POP DUP2 PUSH1 0xFF AND DUP2 PUSH1 0xFF AND EQ PUSH2 0xB48 JUMPI PUSH1 0x40 MLOAD PUSH32 0xBCA57F8100000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0xFF DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xBCA57F81 SWAP1 PUSH1 0x24 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB2F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xB43 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xE8AE2B6900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 PUSH1 0x4 DUP3 ADD MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xE8AE2B69 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBFC 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 0xC20 SWAP2 SWAP1 PUSH2 0x1553 JUMP JUMPDEST PUSH2 0x9AA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0xA9059CBB00000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x4 MSTORE DUP3 PUSH1 0x24 MSTORE PUSH1 0x20 PUSH1 0x0 PUSH1 0x44 PUSH1 0x0 DUP1 DUP10 GAS CALL SWAP2 POP DUP2 RETURNDATASIZE ISZERO PUSH1 0x20 RETURNDATASIZE EQ PUSH1 0x1 PUSH1 0x0 MLOAD EQ AND OR AND SWAP2 POP DUP1 PUSH1 0x40 MSTORE POP DUP1 PUSH2 0xCCC JUMPI PUSH1 0x40 MLOAD PUSH32 0xE465903E00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xE76C01E4 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0xC0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD43 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 0xD67 SWAP2 SWAP1 PUSH2 0x1570 JUMP JUMPDEST POP SWAP4 SWAP9 SWAP3 SWAP8 POP SWAP1 SWAP6 POP SWAP4 POP SWAP2 POP POP JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0xD99 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xD99 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0xDBC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xDD4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0xDEC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0xE0F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0xE1A DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0xE2A DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD PUSH2 0xE3A DUP2 PUSH2 0xD9C JUMP JUMPDEST SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH2 0xE51 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0xE61 DUP2 PUSH2 0xD9C JUMP JUMPDEST SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xE7D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xE89 DUP12 DUP3 DUP13 ADD PUSH2 0xDAA JUMP JUMPDEST SWAP10 SWAP13 SWAP9 SWAP12 POP SWAP7 SWAP10 POP SWAP5 SWAP8 SWAP4 SWAP7 SWAP3 SWAP6 SWAP5 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0xEB9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0xEC4 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0xED4 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xE7D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xF1E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xF4B JUMPI PUSH1 0x20 DUP2 DUP6 ADD DUP2 ADD MLOAD DUP7 DUP4 ADD DUP3 ADD MSTORE ADD PUSH2 0xF2F JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x20 DUP3 DUP7 ADD ADD MSTORE PUSH1 0x20 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 PUSH1 0x1F DUP4 ADD AND DUP6 ADD ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0xF9C PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xF25 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP1 PUSH1 0x2 SIGNEXTEND DUP2 EQ PUSH2 0xD99 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH1 0xF DUP2 SWAP1 SIGNEXTEND DUP2 EQ PUSH2 0xFC4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xC0 DUP9 DUP11 SUB SLT ISZERO PUSH2 0xFE4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 CALLDATALOAD PUSH2 0xFEF DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP7 POP PUSH1 0x20 DUP9 ADD CALLDATALOAD PUSH2 0xFFF DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP6 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD PUSH2 0x100F DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP5 POP PUSH1 0x60 DUP9 ADD CALLDATALOAD PUSH2 0x101F DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP4 POP PUSH2 0x102D PUSH1 0x80 DUP10 ADD PUSH2 0xFB2 JUMP JUMPDEST SWAP3 POP PUSH1 0xA0 DUP9 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1049 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1055 DUP11 DUP3 DUP12 ADD PUSH2 0xDAA JUMP JUMPDEST SWAP9 SWAP12 SWAP8 SWAP11 POP SWAP6 SWAP9 POP SWAP4 SWAP7 SWAP3 SWAP6 SWAP3 SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x107B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x1086 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x1096 DUP2 PUSH2 0xD77 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x10B6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x10C1 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x10D1 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x10E1 DUP2 PUSH2 0xFA3 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xA0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x1105 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 CALLDATALOAD PUSH2 0x1110 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH2 0x1120 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP5 POP PUSH1 0x40 DUP8 ADD CALLDATALOAD SWAP4 POP PUSH1 0x60 DUP8 ADD CALLDATALOAD SWAP3 POP PUSH1 0x80 DUP8 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x114A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1156 DUP10 DUP3 DUP11 ADD PUSH2 0xDAA JUMP JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 POP SWAP3 SWAP6 SWAP4 SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x1187 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x1192 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x11A2 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x11B2 DUP2 PUSH2 0xD9C JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD SWAP6 POP PUSH1 0x80 DUP11 ADD CALLDATALOAD PUSH2 0x11C9 DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP5 POP PUSH1 0xA0 DUP11 ADD CALLDATALOAD SWAP4 POP PUSH1 0xC0 DUP11 ADD CALLDATALOAD SWAP3 POP PUSH1 0xE0 DUP11 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x11F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11FF DUP13 DUP3 DUP14 ADD PUSH2 0xDAA JUMP JUMPDEST SWAP2 POP DUP1 SWAP4 POP POP DUP1 SWAP2 POP POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1229 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 DUP7 ADD SWAP2 POP PUSH1 0x40 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD SWAP3 POP DUP4 DUP8 ADD PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x12AB JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 DUP9 DUP7 SUB ADD DUP5 MSTORE PUSH2 0x1299 DUP6 DUP4 MLOAD PUSH2 0xF25 JUMP JUMPDEST SWAP5 POP SWAP3 DUP6 ADD SWAP3 SWAP1 DUP6 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x125F JUMP JUMPDEST POP SWAP3 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xF9C DUP2 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x12F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x12FF DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x130F DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x131F DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD PUSH2 0x132F DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP6 POP PUSH2 0x11C9 PUSH1 0x80 DUP12 ADD PUSH2 0xFB2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1352 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x135D DUP2 PUSH2 0xD77 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x10E1 DUP2 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1386 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0xF9C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x13AD JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x13E6 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x14AA JUMPI PUSH2 0x14AA PUSH2 0x144A JUMP JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST DUP1 MLOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0xFC4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14D5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF9C DUP3 PUSH2 0x14B1 JUMP JUMPDEST PUSH3 0xFFFFFF DUP3 DUP2 AND DUP3 DUP3 AND SUB SWAP1 DUP1 DUP3 GT ISZERO PUSH2 0x14FA JUMPI PUSH2 0x14FA PUSH2 0x144A JUMP JUMPDEST POP SWAP3 SWAP2 POP POP JUMP JUMPDEST DUP1 DUP3 MUL DUP2 ISZERO DUP3 DUP3 DIV DUP5 EQ OR PUSH2 0x620 JUMPI PUSH2 0x620 PUSH2 0x144A JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x154E JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1565 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xF9C DUP2 PUSH2 0xD9C JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xC0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x1589 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 MLOAD PUSH2 0x1594 DUP2 PUSH2 0xD77 JUMP JUMPDEST PUSH1 0x20 DUP9 ADD MLOAD SWAP1 SWAP7 POP PUSH2 0x15A5 DUP2 PUSH2 0xFA3 JUMP JUMPDEST SWAP5 POP PUSH2 0x15B3 PUSH1 0x40 DUP9 ADD PUSH2 0x14B1 JUMP JUMPDEST SWAP4 POP PUSH1 0x60 DUP8 ADD MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x15C9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP PUSH2 0x15D7 PUSH1 0x80 DUP9 ADD PUSH2 0x14B1 JUMP JUMPDEST SWAP2 POP PUSH1 0xA0 DUP8 ADD MLOAD PUSH2 0x15E7 DUP2 PUSH2 0xD9C JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 POP SWAP3 SWAP6 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"305:1118:49:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1046:297;;;;;;:::i;:::-;;:::i;:::-;;;;2046:66:52;2034:79;;;2016:98;;2133:8;2177:15;;;2172:2;2157:18;;2150:43;2229:15;;2209:18;;;2202:43;2004:2;1989:18;1046:297:49;;;;;;;;1074:29:0;;;;;;;;2432:42:52;2420:55;;;2402:74;;2390:2;2375:18;1074:29:0;2256:226:52;896:94:0;;950:40;896:94;;;;;2633:25:52;;;2621:2;2606:18;896:94:0;2487:177:52;4011:196:0;;;;;;:::i;:::-;;:::i;:::-;;;3809:66:52;3797:79;;;3779:98;;3767:2;3752:18;4011:196:0;3635:248:52;1038:29:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2873:215::-;;;;;;:::i;:::-;;:::i;:::-;;;;6314:66:52;6302:79;;;6284:98;;6430:8;6418:21;;;6413:2;6398:18;;6391:49;6257:18;2873:215:0;6114:332:52;611:233:49;;;;;;:::i;:::-;;:::i;997:36:0:-;;;;;;;;;;;;7016:4:52;7004:17;;;6986:36;;6974:2;6959:18;997:36:0;6844:184:52;850:190:49;;;;;;:::i;:::-;;:::i;3825:180:0:-;;;;;;:::i;:::-;;:::i;3622:197::-;;;;;;:::i;:::-;;:::i;2351:159::-;;;;;;:::i;:::-;;:::i;1502:261::-;;;:::i;:::-;;;;;;;:::i;1233:207:39:-;;;;;;:::i;:::-;;:::i;:::-;;3094:263:0;;;;;;:::i;:::-;;:::i;2126:185::-;;;;;;:::i;:::-;;:::i;1351:67:49:-;;;;;;:::i;:::-;1399:3;:13;;;;;;;;;;;;;;;;;;1351:67;628:43:39;;;;;;;;;1046:297:49;1197:6;1205;1213;1182:18:0;:16;:18::i;:::-;1234:45:49::1;1252:9;1263:10;1275:3;;;;;;;;;;;1234:17;:45::i;:::-;1228:3;:51:::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;;1294:34;;1330:3;::::1;::::0;;::::1;::::0;-1:-1:-1;;;;1046:297:49;-1:-1:-1;;;;;;;;;1046:297:49:o;4011:196:0:-;4145:6;1182:18;:16;:18::i;:::-;-1:-1:-1;4167:34:0;4011:196;;;;;;;;;;:::o;1038:29::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2873:215::-;3003:6;3011;1182:18;:16;:18::i;:::-;-1:-1:-1;3034:44:0;;3080:1:::1;::::0;-1:-1:-1;2873:215:0;-1:-1:-1;;;;;;;2873:215:0:o;611:233:49:-;723:6;1182:18:0;:16;:18::i;:::-;764:19:49::1;::::0;738:46:::1;::::0;764:19:::1;;738:25;:46::i;:::-;-1:-1:-1::0;798:40:49;1207:1:0::1;611:233:49::0;;;;:::o;850:190::-;973:6;1182:18:0;:16;:18::i;:::-;-1:-1:-1;995:39:49;850:190;;;;;:::o;3825:180:0:-;3942:6;1182:18;:16;:18::i;:::-;-1:-1:-1;3964:35:0;3825:180;;;;;;;;:::o;3622:197::-;3758:6;1182:18;:16;:18::i;:::-;-1:-1:-1;3780:33:0;3622:197;;;;;;;;;;;:::o;2351:159::-;2443:6;1182:18;:16;:18::i;:::-;-1:-1:-1;2465:39:0;2351:159;;;;:::o;1502:261::-;1629:13;:20;1566:27;;1616:34;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1602:48;;1662:9;1657:101;1681:13;:20;1677:24;;1657:101;;;1734:13;1748:1;1734:16;;;;;;;;:::i;:::-;;;;;;;;1717:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:11;1729:1;1717:14;;;;;;;;:::i;:::-;;;;;;:33;;;;1703:3;;;;;:::i;:::-;;;;1657:101;;;;1502:261;:::o;1233:207:39:-;1320:12;:10;:12::i;:::-;1339:19;:42;;;;;;;;;;;;;1393:41;;2402:74:52;;;1393:41:39;;2390:2:52;2375:18;1393:41:39;;;;;;;1233:207;:::o;3094:263:0:-;3286:6;1182:18;:16;:18::i;:::-;-1:-1:-1;3308:43:0;3094:263;;;;;;;;;;;:::o;2126:185::-;2235:12;:10;:12::i;:::-;2254:51;2280:5;2287:9;2298:6;2254:25;:51::i;:::-;2126:185;;;:::o;1337:109::-;1394:10;:18;1408:4;1394:18;;1386:54;;;;;;;14263:2:52;1386:54:0;;;14245:21:52;14302:2;14282:18;;;14275:30;14341:25;14321:18;;;14314:53;14384:18;;1386:54:0;;;;;;;;1337:109::o;911:316:39:-;1064:19;;1043:66;;;;;1064:19;14666:15:52;;;1043:66:39;;;14648:34:52;14718:15;;;14698:18;;;14691:43;996:17:39;;;;1064:19;;;1043:54;;14560:18:52;;1043:66:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1022:87;;;-1:-1:-1;617:4:39;1153:38;1022:87;617:4;1153:38;:::i;:::-;1137:55;;1145:3;1137:12;;:55;;;;:::i;:::-;1136:84;;;;:::i;:::-;1116:105;911:316;-1:-1:-1;;;;;911:316:39:o;4213:249:0:-;4294:25;4323:15;:13;:15::i;:::-;4287:51;;;;;4372:15;4349:38;;:19;:38;;;4345:112;;4398:51;;;;;7016:4:52;7004:17;;4398:51:0;;;6986:36:52;4411:4:0;4398:34;;;;;6959:18:52;;4398:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4345:112;4280:182;4213:249;:::o;463:153:1:-;530:80;;;;;950:40:0;530:80:1;;;15928:25:52;599:10:1;15969:18:52;;;15962:83;546:7:1;530:39;;;;;15901:18:52;;530:80:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;522:89;;;;;865:967:21;945:12;1011:4;1005:11;1073:66;1067:4;1060:80;1208:42;1204:2;1200:51;1194:4;1187:65;1303:6;1297:4;1290:20;1433:4;1430:1;1424:4;1421:1;1418;1411:5;1404;1399:39;1388:50;;1673:7;1645:16;1638:24;1632:2;1614:16;1611:24;1607:1;1603;1597:8;1594:15;1590:46;1587:76;1456:232;1445:243;;1708:17;1702:4;1695:31;;1776:7;1771:56;;1792:35;;;;;;;;;;;;;;1771:56;939:893;865:967;;;:::o;1769:196:0:-;1817:13;1832:10;1844;1856:18;1940:4;1922:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;1883:76:0;;;;-1:-1:-1;1883:76:0;;-1:-1:-1;1883:76:0;-1:-1:-1;1769:196:0;-1:-1:-1;;1769:196:0:o;14:154:52:-;100:42;93:5;89:54;82:5;79:65;69:93;;158:1;155;148:12;69:93;14:154;:::o;173:118::-;259:5;252:13;245:21;238:5;235:32;225:60;;281:1;278;271:12;296:347;347:8;357:6;411:3;404:4;396:6;392:17;388:27;378:55;;429:1;426;419:12;378:55;-1:-1:-1;452:20:52;;495:18;484:30;;481:50;;;527:1;524;517:12;481:50;564:4;556:6;552:17;540:29;;616:3;609:4;600:6;592;588:19;584:30;581:39;578:59;;;633:1;630;623:12;578:59;296:347;;;;;:::o;648:1167::-;765:6;773;781;789;797;805;813;821;874:3;862:9;853:7;849:23;845:33;842:53;;;891:1;888;881:12;842:53;930:9;917:23;949:31;974:5;949:31;:::i;:::-;999:5;-1:-1:-1;1056:2:52;1041:18;;1028:32;1069:33;1028:32;1069:33;:::i;:::-;1121:7;-1:-1:-1;1180:2:52;1165:18;;1152:32;1193:30;1152:32;1193:30;:::i;:::-;1242:7;-1:-1:-1;1296:2:52;1281:18;;1268:32;;-1:-1:-1;1352:3:52;1337:19;;1324:33;1366;1324;1366;:::i;:::-;1418:7;-1:-1:-1;1477:3:52;1462:19;;1449:33;1491:30;1449:33;1491:30;:::i;:::-;1540:7;-1:-1:-1;1598:3:52;1583:19;;1570:33;1626:18;1615:30;;1612:50;;;1658:1;1655;1648:12;1612:50;1697:58;1747:7;1738:6;1727:9;1723:22;1697:58;:::i;:::-;648:1167;;;;-1:-1:-1;648:1167:52;;-1:-1:-1;648:1167:52;;;;;;1774:8;-1:-1:-1;;;648:1167:52:o;2669:961::-;2793:6;2801;2809;2817;2825;2833;2841;2849;2902:3;2890:9;2881:7;2877:23;2873:33;2870:53;;;2919:1;2916;2909:12;2870:53;2958:9;2945:23;2977:31;3002:5;2977:31;:::i;:::-;3027:5;-1:-1:-1;3084:2:52;3069:18;;3056:32;3097:33;3056:32;3097:33;:::i;:::-;3149:7;-1:-1:-1;3203:2:52;3188:18;;3175:32;;-1:-1:-1;3254:2:52;3239:18;;3226:32;;-1:-1:-1;3305:3:52;3290:19;;3277:33;;-1:-1:-1;3357:3:52;3342:19;;3329:33;;-1:-1:-1;3413:3:52;3398:19;;3385:33;3441:18;3430:30;;3427:50;;;3473:1;3470;3463:12;3888:180;3947:6;4000:2;3988:9;3979:7;3975:23;3971:32;3968:52;;;4016:1;4013;4006:12;3968:52;-1:-1:-1;4039:23:52;;3888:180;-1:-1:-1;3888:180:52:o;4073:482::-;4115:3;4153:5;4147:12;4180:6;4175:3;4168:19;4205:1;4215:162;4229:6;4226:1;4223:13;4215:162;;;4291:4;4347:13;;;4343:22;;4337:29;4319:11;;;4315:20;;4308:59;4244:12;4215:162;;;4219:3;4422:1;4415:4;4406:6;4401:3;4397:16;4393:27;4386:38;4544:4;4474:66;4469:2;4461:6;4457:15;4453:88;4448:3;4444:98;4440:109;4433:116;;;4073:482;;;;:::o;4560:220::-;4709:2;4698:9;4691:21;4672:4;4729:45;4770:2;4759:9;4755:18;4747:6;4729:45;:::i;:::-;4721:53;4560:220;-1:-1:-1;;;4560:220:52:o;4785:118::-;4872:5;4869:1;4858:20;4851:5;4848:31;4838:59;;4893:1;4890;4883:12;4908:162;4975:20;;5035:2;5024:21;;;5014:32;;5004:60;;5060:1;5057;5050:12;5004:60;4908:162;;;:::o;5075:1034::-;5185:6;5193;5201;5209;5217;5225;5233;5286:3;5274:9;5265:7;5261:23;5257:33;5254:53;;;5303:1;5300;5293:12;5254:53;5342:9;5329:23;5361:31;5386:5;5361:31;:::i;:::-;5411:5;-1:-1:-1;5468:2:52;5453:18;;5440:32;5481:33;5440:32;5481:33;:::i;:::-;5533:7;-1:-1:-1;5592:2:52;5577:18;;5564:32;5605:31;5564:32;5605:31;:::i;:::-;5655:7;-1:-1:-1;5714:2:52;5699:18;;5686:32;5727:31;5686:32;5727:31;:::i;:::-;5777:7;-1:-1:-1;5803:38:52;5836:3;5821:19;;5803:38;:::i;:::-;5793:48;;5892:3;5881:9;5877:19;5864:33;5920:18;5912:6;5909:30;5906:50;;;5952:1;5949;5942:12;5906:50;5991:58;6041:7;6032:6;6021:9;6017:22;5991:58;:::i;:::-;5075:1034;;;;-1:-1:-1;5075:1034:52;;-1:-1:-1;5075:1034:52;;;;5965:84;;-1:-1:-1;;;5075:1034:52:o;6451:388::-;6519:6;6527;6580:2;6568:9;6559:7;6555:23;6551:32;6548:52;;;6596:1;6593;6586:12;6548:52;6635:9;6622:23;6654:31;6679:5;6654:31;:::i;:::-;6704:5;-1:-1:-1;6761:2:52;6746:18;;6733:32;6774:33;6733:32;6774:33;:::i;:::-;6826:7;6816:17;;;6451:388;;;;;:::o;7033:525::-;7108:6;7116;7124;7177:2;7165:9;7156:7;7152:23;7148:32;7145:52;;;7193:1;7190;7183:12;7145:52;7232:9;7219:23;7251:31;7276:5;7251:31;:::i;:::-;7301:5;-1:-1:-1;7358:2:52;7343:18;;7330:32;7371:33;7330:32;7371:33;:::i;:::-;7423:7;-1:-1:-1;7482:2:52;7467:18;;7454:32;7495:31;7454:32;7495:31;:::i;:::-;7545:7;7535:17;;;7033:525;;;;;:::o;7563:823::-;7669:6;7677;7685;7693;7701;7709;7762:3;7750:9;7741:7;7737:23;7733:33;7730:53;;;7779:1;7776;7769:12;7730:53;7818:9;7805:23;7837:31;7862:5;7837:31;:::i;:::-;7887:5;-1:-1:-1;7944:2:52;7929:18;;7916:32;7957:33;7916:32;7957:33;:::i;:::-;8009:7;-1:-1:-1;8063:2:52;8048:18;;8035:32;;-1:-1:-1;8114:2:52;8099:18;;8086:32;;-1:-1:-1;8169:3:52;8154:19;;8141:33;8197:18;8186:30;;8183:50;;;8229:1;8226;8219:12;8183:50;8268:58;8318:7;8309:6;8298:9;8294:22;8268:58;:::i;:::-;7563:823;;;;-1:-1:-1;7563:823:52;;-1:-1:-1;7563:823:52;;8345:8;;7563:823;-1:-1:-1;;;7563:823:52:o;8391:1167::-;8518:6;8526;8534;8542;8550;8558;8566;8574;8582;8635:3;8623:9;8614:7;8610:23;8606:33;8603:53;;;8652:1;8649;8642:12;8603:53;8691:9;8678:23;8710:31;8735:5;8710:31;:::i;:::-;8760:5;-1:-1:-1;8817:2:52;8802:18;;8789:32;8830:33;8789:32;8830:33;:::i;:::-;8882:7;-1:-1:-1;8941:2:52;8926:18;;8913:32;8954:30;8913:32;8954:30;:::i;:::-;9003:7;-1:-1:-1;9057:2:52;9042:18;;9029:32;;-1:-1:-1;9113:3:52;9098:19;;9085:33;9127;9085;9127;:::i;:::-;9179:7;-1:-1:-1;9233:3:52;9218:19;;9205:33;;-1:-1:-1;9285:3:52;9270:19;;9257:33;;-1:-1:-1;9341:3:52;9326:19;;9313:33;9369:18;9358:30;;9355:50;;;9401:1;9398;9391:12;9355:50;9440:58;9490:7;9481:6;9470:9;9466:22;9440:58;:::i;:::-;9414:84;;9517:8;9507:18;;;9544:8;9534:18;;;8391:1167;;;;;;;;;;;:::o;9563:248::-;9631:6;9639;9692:2;9680:9;9671:7;9667:23;9663:32;9660:52;;;9708:1;9705;9698:12;9660:52;-1:-1:-1;;9731:23:52;;;9801:2;9786:18;;;9773:32;;-1:-1:-1;9563:248:52:o;9816:862::-;9978:4;10007:2;10047;10036:9;10032:18;10077:2;10066:9;10059:21;10100:6;10135;10129:13;10166:6;10158;10151:22;10204:2;10193:9;10189:18;10182:25;;10266:2;10256:6;10253:1;10249:14;10238:9;10234:30;10230:39;10216:53;;10304:2;10296:6;10292:15;10325:1;10335:314;10349:6;10346:1;10343:13;10335:314;;;10438:66;10426:9;10418:6;10414:22;10410:95;10405:3;10398:108;10529:40;10562:6;10553;10547:13;10529:40;:::i;:::-;10519:50;-1:-1:-1;10627:12:52;;;;10592:15;;;;10371:1;10364:9;10335:314;;;-1:-1:-1;10666:6:52;;9816:862;-1:-1:-1;;;;;;;9816:862:52:o;10683:247::-;10742:6;10795:2;10783:9;10774:7;10770:23;10766:32;10763:52;;;10811:1;10808;10801:12;10763:52;10850:9;10837:23;10869:31;10894:5;10869:31;:::i;10935:1172::-;11063:6;11071;11079;11087;11095;11103;11111;11119;11127;11180:3;11168:9;11159:7;11155:23;11151:33;11148:53;;;11197:1;11194;11187:12;11148:53;11236:9;11223:23;11255:31;11280:5;11255:31;:::i;:::-;11305:5;-1:-1:-1;11362:2:52;11347:18;;11334:32;11375:33;11334:32;11375:33;:::i;:::-;11427:7;-1:-1:-1;11486:2:52;11471:18;;11458:32;11499:31;11458:32;11499:31;:::i;:::-;11549:7;-1:-1:-1;11608:2:52;11593:18;;11580:32;11621:31;11580:32;11621:31;:::i;:::-;11671:7;-1:-1:-1;11697:38:52;11730:3;11715:19;;11697:38;:::i;12112:456::-;12189:6;12197;12205;12258:2;12246:9;12237:7;12233:23;12229:32;12226:52;;;12274:1;12271;12264:12;12226:52;12313:9;12300:23;12332:31;12357:5;12332:31;:::i;:::-;12382:5;-1:-1:-1;12434:2:52;12419:18;;12406:32;;-1:-1:-1;12490:2:52;12475:18;;12462:32;12503:33;12462:32;12503:33;:::i;12573:274::-;12631:6;12684:2;12672:9;12663:7;12659:23;12655:32;12652:52;;;12700:1;12697;12690:12;12652:52;12739:9;12726:23;12789:8;12782:5;12778:20;12771:5;12768:31;12758:59;;12813:1;12810;12803:12;12852:437;12931:1;12927:12;;;;12974;;;12995:61;;13049:4;13041:6;13037:17;13027:27;;12995:61;13102:2;13094:6;13091:14;13071:18;13068:38;13065:218;;13139:77;13136:1;13129:88;13240:4;13237:1;13230:15;13268:4;13265:1;13258:15;13065:218;;12852:437;;;:::o;13294:184::-;13346:77;13343:1;13336:88;13443:4;13440:1;13433:15;13467:4;13464:1;13457:15;13483:184;13535:77;13532:1;13525:88;13632:4;13629:1;13622:15;13656:4;13653:1;13646:15;13672:184;13724:77;13721:1;13714:88;13821:4;13818:1;13811:15;13845:4;13842:1;13835:15;13861:195;13900:3;13931:66;13924:5;13921:77;13918:103;;14001:18;;:::i;:::-;-1:-1:-1;14048:1:52;14037:13;;13861:195::o;14745:163::-;14823:13;;14876:6;14865:18;;14855:29;;14845:57;;14898:1;14895;14888:12;14913:206;14982:6;15035:2;15023:9;15014:7;15010:23;15006:32;15003:52;;;15051:1;15048;15041:12;15003:52;15074:39;15103:9;15074:39;:::i;15124:173::-;15192:8;15233:10;;;15221;;;15217:27;;15256:12;;;15253:38;;;15271:18;;:::i;:::-;15253:38;15124:173;;;;:::o;15302:168::-;15375:9;;;15406;;15423:15;;;15417:22;;15403:37;15393:71;;15444:18;;:::i;15475:274::-;15515:1;15541;15531:189;;15576:77;15573:1;15566:88;15677:4;15674:1;15667:15;15705:4;15702:1;15695:15;15531:189;-1:-1:-1;15734:9:52;;15475:274::o;16056:245::-;16123:6;16176:2;16164:9;16155:7;16151:23;16147:32;16144:52;;;16192:1;16189;16182:12;16144:52;16224:9;16218:16;16243:28;16265:5;16243:28;:::i;16306:836::-;16412:6;16420;16428;16436;16444;16452;16505:3;16493:9;16484:7;16480:23;16476:33;16473:53;;;16522:1;16519;16512:12;16473:53;16554:9;16548:16;16573:31;16598:5;16573:31;:::i;:::-;16673:2;16658:18;;16652:25;16623:5;;-1:-1:-1;16686:31:52;16652:25;16686:31;:::i;:::-;16736:7;-1:-1:-1;16762:48:52;16806:2;16791:18;;16762:48;:::i;:::-;16752:58;;16855:2;16844:9;16840:18;16834:25;16903:4;16894:7;16890:18;16881:7;16878:31;16868:59;;16923:1;16920;16913:12;16868:59;16946:7;-1:-1:-1;16972:49:52;17016:3;17001:19;;16972:49;:::i;:::-;16962:59;;17066:3;17055:9;17051:19;17045:26;17080:30;17102:7;17080:30;:::i;:::-;17129:7;17119:17;;;16306:836;;;;;;;;:::o"},"methodIdentifiers":{"ALGEBRA_BASE_PLUGIN_MANAGER()":"31b25d1a","activeModules(uint256)":"46b7748b","afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","collectPluginFee(address,uint256,address)":"e72c652d","defaultPluginConfig()":"689ea370","feeDiscountRegistry()":"f20cdc1a","getActiveModuleNames()":"b6f78cc9","handlePluginFee(uint256,uint256)":"aa6b14bb","pool()":"16f0115b","setFee(uint24)":"eabb5622","setFeeDiscountRegistry(address)":"c3da7978"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pluginFactory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"transferFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"FeeDiscountRegistry\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ALGEBRA_BASE_PLUGIN_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeModules\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"collectPluginFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeDiscountRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveModuleNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"moduleNames\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"_newFee\",\"type\":\"uint24\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeDiscountRegistry\",\"type\":\"address\"}],\"name\":\"setFeeDiscountRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"params\":{\"amount\":\"Amount of tokens\",\"recipient\":\"Recipient address\",\"token\":\"The token address\"}},\"getActiveModuleNames()\":{\"returns\":{\"moduleNames\":\"Array of active module names\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}}},\"title\":\"Algebra Integral 1.2 limit order plugin\",\"version\":1},\"userdoc\":{\"errors\":{\"transferFailed()\":[{\"notice\":\"Emitted if token transfer failed internally\"}]},\"kind\":\"user\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"defaultPluginConfig()\":{\"notice\":\"Returns plugin config\"},\"getActiveModuleNames()\":{\"notice\":\"Get all active module names\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/TestFeeDiscountPlugin.sol\":\"TestFeeDiscountPlugin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/AbstractPlugin.sol\":{\"keccak256\":\"0x33632479227a4b15d8a3d061227b09c4423a778c05b0b2f60bda1e8fad927d04\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://123728a15def0527e4e609e5424dede6527f3c7c0bf27d4c982e3883d8e7f929\",\"dweb:/ipfs/QmSsyNcHTDxb1Jh4drU7oZJmtD2eyhgF3RkmAiJTjbvbyd\"]},\"@cryptoalgebra/abstract-plugin/contracts/BaseAbstractPlugin.sol\":{\"keccak256\":\"0x8668bf51349f615ab941e9c30c563d12e5037a883dc9ccafe59eb75ea78e4d7d\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://683360746f021dde02b919ace2fba5a3ee59c428391993272625c6cd24acffc1\",\"dweb:/ipfs/QmW4H3TE3GWBrpZXE6NGUKupCEf7yFtLWpGDXwemF6cWB3\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0x9cee862dd93a6dc061a5e54a262bc9cc1e84ca6f3352176fb8c7138eec97ae0e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c1e17f9dd356b457ca024b11d5340a6564109d27f46fec43b9a4f97421a2b315\",\"dweb:/ipfs/QmVH7uBmx22RkbMsYTszsnvGBXssH5DtLMYGPwZEc2HPjN\"]},\"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol\":{\"keccak256\":\"0x28e2aac84d585bbe96ecb9d5cd124fa7cd5929584c70e43a7c96f6faa93022d3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d1347582a9d12cf03fc99ca899f7788f9223773be12c35aa2b8c2145d2e6a2c8\",\"dweb:/ipfs/QmYDrse9BuFsrwHxAZdghycY9F6XQfGDrm8ZifUfFnx2n3\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol\":{\"keccak256\":\"0xb87bef911483f054559e6567a5a958200131b5101fbcee1ed7daefcfc082faf7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://46c8f76cde3c16aed0446e98dc61ddb196288652f6a8735ed87d6e53a13b4142\",\"dweb:/ipfs/Qmd7omugWuFrjrCcwfeRQbeUS1FhqvhscTij4xtqCmjNKG\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol\":{\"keccak256\":\"0x1d8bb94007c874be2640401aeed6219392c07e8b2e779fa24c618adc58bd7ae0\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://55d37783d81c98cb58ed41e6d7283af5fb07261b676a833f632cd6d128fc2e04\",\"dweb:/ipfs/QmXiJ63fWeBfkfJkLzBv1zLDyCjn5shW44ugYv44CqtTca\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":{\"keccak256\":\"0x4f9b70282bac671383d001cffca1479dd64f507db84cdab16da886804c64a60c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b1bc8b774ab5027d97625c3ac01ee3f4bbdefcd012ff0bb0e4c9752096bd9562\",\"dweb:/ipfs/Qmcn5kGihMiZAMjwpY1f12nTSWMyrLqmXLvoifaqPtQYYo\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol\":{\"keccak256\":\"0xd6b18486bd0eaee545ad10115d33c527e5ba5ddff571120678e7db58ca00b726\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://470a64313758d0a26a6910c924eae39e5c4df6912c61e7239e0d930097f8512f\",\"dweb:/ipfs/QmY18B9x18hLCKQ3kAqjPhHzMvZxKrvNeUjPycKYodETaa\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol\":{\"keccak256\":\"0x02d0fb9c64fba4c4dd0509bb9333825c801a0587d5b957c46f5cb1c610acc447\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8480784b2654829c0958b00aa3109249ce9088dbe94b6eadeaf8e9138829a764\",\"dweb:/ipfs/QmeFG5AsPUQfhMPtvYC3f9BhGu7sVm71wj2PgXDczaM7XP\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":{\"keccak256\":\"0xbd9faad7e7599c61c3141cfe2dd2e423ad4746a6119f047b0ae6d2eccb77bc9c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0df4bed6cf34a8c0f6b971fb71411373b4d204afda35eabe8555d8cbe67e291\",\"dweb:/ipfs/QmY6z3BseKy3tEvmLVjhL7VFrNJRuQgDXJXNAFBkBQ218A\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":{\"keccak256\":\"0xe061f0f9b5b16934173b1127efe13ccfe80465db17156d91c04e018b31e993fa\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c607033ec09828f4a8667e7fd2e562814ec689d5806d95b4a248f57e0eff9d38\",\"dweb:/ipfs/QmbGBxBMSzPKitHmRjYJwGGEZVsXDQB6emSsZ19hjy6LUz\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":{\"keccak256\":\"0xcdaae6cd6af79c4f344e673fe886a980ef5203b15b49f7a466c336c0152ce6ae\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fa2d3073bd4ca013e2769cf0fa5b68f32cec4fa53a6cc66adb59d86e6293cf15\",\"dweb:/ipfs/QmcwveJdf3JLAPfFZShijKTTxMTP4joDDuSuFboXBe711S\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":{\"keccak256\":\"0x354b1e099e9a47ce6fdc2ff4a4549249fa9c54434bf4dedb14fd4afe7d94d2d5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d9efe57e2239df29c7290fc1a27c8f0a6d8aa1f9e4c9271efadb8b29b29d7058\",\"dweb:/ipfs/QmbRJqfJR62Bx7XhN8qNBk85zjpWfyxSSiC5vHpxXnYMKb\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol\":{\"keccak256\":\"0x14e91c94e35c50efcd97e13609f686499c1dfa726ee0b3f6078fa4b99bde9a0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d9a7efa21d03180ded0e99d7ba05abd5c8ebedf2439a5a78091b679eadc4064\",\"dweb:/ipfs/QmVUZPhYPTb2yY9381AL242tfVsb3iWxmE2XwqcN9HG6eW\"]},\"contracts/FeeDiscountPlugin.sol\":{\"keccak256\":\"0x738b1a1531594120dcfc58d9bb4f60ab4999178ed1285a7712af2edbb9482b6d\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://516f94c56ab0aa8984ff052c131db38bbba83e2e177021be8f80c20fde9c01f5\",\"dweb:/ipfs/QmQKvy6xCSnQAwU4xV7691TJbDfH5F8A39Tyu4PkzHgJUZ\"]},\"contracts/interfaces/IFeeDiscountPlugin.sol\":{\"keccak256\":\"0x5fd8ce2295eeb9e622a64a6fd8c566ee4b299a2012c826f54772f7c77c849937\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://5523749e1b9b92a5137ecc27ffca992da8db3b7928355c35b36d8dd223422bd7\",\"dweb:/ipfs/QmVTkTPzpLKKMihtmvSsEHSZQapDmF1F6XfE6kpa5htbCr\"]},\"contracts/interfaces/IFeeDiscountRegistry.sol\":{\"keccak256\":\"0x21904fdeb60ce4df4a47668660e5d6c512c722f0bc38f3935b0a505346f267fd\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://1cbdebe7b9d97da98c52557cb680116c2df7080a4a6b08772b73846e9fe10e54\",\"dweb:/ipfs/QmdcWkBjqb4aWpvH6tkqm5RKgQ4GXGwBbaaZPtmC9fZWaP\"]},\"contracts/test/TestFeeDiscountPlugin.sol\":{\"keccak256\":\"0xcbf76190c0e16cb6d7df6ec763ac856a1510dbe2c59fe09fbdfeacd629d89b4c\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://37a5b93b1579853bcc938152f6294b91dcdda88e3e2636d0674a6e85ce6327a3\",\"dweb:/ipfs/QmTZ1JxvsdzHg9EW3tEJbGjeMWiK1W7EXJNeufPHPaMdA9\"]}},\"version\":1}"}},"contracts/test/UpgradeableBeacon.sol":{"UpgradeableBeacon":{"abi":[{"inputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_4688":{"entryPoint":null,"id":4688,"parameterSlots":0,"returnSlots":0},"@_5268":{"entryPoint":null,"id":5268,"parameterSlots":1,"returnSlots":0},"@_7737":{"entryPoint":null,"id":7737,"parameterSlots":1,"returnSlots":0},"@_msgSender_5657":{"entryPoint":null,"id":5657,"parameterSlots":0,"returnSlots":1},"@_setImplementation_5314":{"entryPoint":153,"id":5314,"parameterSlots":1,"returnSlots":0},"@_transferOwnership_4776":{"entryPoint":73,"id":4776,"parameterSlots":1,"returnSlots":0},"@isContract_5333":{"entryPoint":null,"id":5333,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":316,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:726:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"95:209:52","statements":[{"body":{"nodeType":"YulBlock","src":"141:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"150:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"153:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"143:6:52"},"nodeType":"YulFunctionCall","src":"143:12:52"},"nodeType":"YulExpressionStatement","src":"143:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"116:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"125:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"112:3:52"},"nodeType":"YulFunctionCall","src":"112:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"137:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"108:3:52"},"nodeType":"YulFunctionCall","src":"108:32:52"},"nodeType":"YulIf","src":"105:52:52"},{"nodeType":"YulVariableDeclaration","src":"166:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"185:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"179:5:52"},"nodeType":"YulFunctionCall","src":"179:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"170:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"258:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"267:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"270:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"260:6:52"},"nodeType":"YulFunctionCall","src":"260:12:52"},"nodeType":"YulExpressionStatement","src":"260:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"217:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"228:5:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"243:3:52","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"248:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"239:3:52"},"nodeType":"YulFunctionCall","src":"239:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"252:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"235:3:52"},"nodeType":"YulFunctionCall","src":"235:19:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"224:3:52"},"nodeType":"YulFunctionCall","src":"224:31:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"214:2:52"},"nodeType":"YulFunctionCall","src":"214:42:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"207:6:52"},"nodeType":"YulFunctionCall","src":"207:50:52"},"nodeType":"YulIf","src":"204:70:52"},{"nodeType":"YulAssignment","src":"283:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"293:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"283:6:52"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"61:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"72:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"84:6:52","type":""}],"src":"14:290:52"},{"body":{"nodeType":"YulBlock","src":"483:241:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"500:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"511:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"493:6:52"},"nodeType":"YulFunctionCall","src":"493:21:52"},"nodeType":"YulExpressionStatement","src":"493:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"534:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"545:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"530:3:52"},"nodeType":"YulFunctionCall","src":"530:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"550:2:52","type":"","value":"51"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"523:6:52"},"nodeType":"YulFunctionCall","src":"523:30:52"},"nodeType":"YulExpressionStatement","src":"523:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"573:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"584:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"569:3:52"},"nodeType":"YulFunctionCall","src":"569:18:52"},{"hexValue":"5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f","kind":"string","nodeType":"YulLiteral","src":"589:34:52","type":"","value":"UpgradeableBeacon: implementatio"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"562:6:52"},"nodeType":"YulFunctionCall","src":"562:62:52"},"nodeType":"YulExpressionStatement","src":"562:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"644:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"655:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"640:3:52"},"nodeType":"YulFunctionCall","src":"640:18:52"},{"hexValue":"6e206973206e6f74206120636f6e7472616374","kind":"string","nodeType":"YulLiteral","src":"660:21:52","type":"","value":"n is not a contract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"633:6:52"},"nodeType":"YulFunctionCall","src":"633:49:52"},"nodeType":"YulExpressionStatement","src":"633:49:52"},{"nodeType":"YulAssignment","src":"691:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"703:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"714:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"699:3:52"},"nodeType":"YulFunctionCall","src":"699:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"691:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"460:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"474:4:52","type":""}],"src":"309:415:52"}]},"contents":"{\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        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n        value0 := value\n    }\n    function abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 51)\n        mstore(add(headStart, 64), \"UpgradeableBeacon: implementatio\")\n        mstore(add(headStart, 96), \"n is not a contract\")\n        tail := add(headStart, 128)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"608060405234801561001057600080fd5b506040516105c83803806105c883398101604081905261002f9161013c565b8061003933610049565b61004281610099565b505061016c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381163b61011a5760405162461bcd60e51b815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f60448201527f6e206973206e6f74206120636f6e747261637400000000000000000000000000606482015260840160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60006020828403121561014e57600080fd5b81516001600160a01b038116811461016557600080fd5b9392505050565b61044d8061017b6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063715018a611610050578063715018a6146100c45780638da5cb5b146100cc578063f2fde38b146100ea57600080fd5b80633659cfe61461006c5780635c60da1b14610081575b600080fd5b61007f61007a366004610403565b6100fd565b005b60015473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007f610152565b60005473ffffffffffffffffffffffffffffffffffffffff1661009b565b61007f6100f8366004610403565b610166565b610105610222565b61010e816102a3565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b61015a610222565b610164600061038e565b565b61016e610222565b73ffffffffffffffffffffffffffffffffffffffff8116610216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61021f8161038e565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161020d565b73ffffffffffffffffffffffffffffffffffffffff81163b610347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f60448201527f6e206973206e6f74206120636f6e747261637400000000000000000000000000606482015260840161020d565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561041557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461043957600080fd5b939250505056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x5C8 CODESIZE SUB DUP1 PUSH2 0x5C8 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH2 0x2F SWAP2 PUSH2 0x13C JUMP JUMPDEST DUP1 PUSH2 0x39 CALLER PUSH2 0x49 JUMP JUMPDEST PUSH2 0x42 DUP2 PUSH2 0x99 JUMP JUMPDEST POP POP PUSH2 0x16C JUMP JUMPDEST PUSH1 0x0 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 DUP5 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP3 DUP4 SWAP2 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP2 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND EXTCODESIZE PUSH2 0x11A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5570677261646561626C65426561636F6E3A20696D706C656D656E746174696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E206973206E6F74206120636F6E747261637400000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x165 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x44D DUP1 PUSH2 0x17B 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 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x715018A6 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0xC4 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xCC JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x3659CFE6 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x5C60DA1B EQ PUSH2 0x81 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x403 JUMP JUMPDEST PUSH2 0xFD JUMP JUMPDEST STOP JUMPDEST PUSH1 0x1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x7F PUSH2 0x152 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x9B JUMP JUMPDEST PUSH2 0x7F PUSH2 0xF8 CALLDATASIZE PUSH1 0x4 PUSH2 0x403 JUMP JUMPDEST PUSH2 0x166 JUMP JUMPDEST PUSH2 0x105 PUSH2 0x222 JUMP JUMPDEST PUSH2 0x10E DUP2 PUSH2 0x2A3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B SWAP1 PUSH1 0x0 SWAP1 LOG2 POP JUMP JUMPDEST PUSH2 0x15A PUSH2 0x222 JUMP JUMPDEST PUSH2 0x164 PUSH1 0x0 PUSH2 0x38E JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x16E PUSH2 0x222 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x216 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x21F DUP2 PUSH2 0x38E JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x164 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 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 0x20D JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND EXTCODESIZE PUSH2 0x347 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5570677261646561626C65426561636F6E3A20696D706C656D656E746174696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E206973206E6F74206120636F6E747261637400000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x20D JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR DUP5 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP3 DUP4 SWAP2 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP2 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x415 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x439 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"280:172:50:-:0;;;355:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;430:15;936:32:27;719:10:36;936:18:27;:32::i;:::-;978:35:34;997:15;978:18;:35::i;:::-;931:89;355:94:50;280:172;;2426:187:27;2499:16;2518:6;;-1:-1:-1;;;;;2534:17:27;;;-1:-1:-1;;;;;;2534:17:27;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;1811:226:34:-;-1:-1:-1;;;;;1702:19:35;;;1884:101:34;;;;-1:-1:-1;;;1884:101:34;;511:2:52;1884:101:34;;;493:21:52;550:2;530:18;;;523:30;589:34;569:18;;;562:62;660:21;640:18;;;633:49;699:19;;1884:101:34;;;;;;;;1995:15;:35;;-1:-1:-1;;;;;;1995:35:34;-1:-1:-1;;;;;1995:35:34;;;;;;;;;;1811:226::o;14:290:52:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:52;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:52:o;309:415::-;280:172:50;;;;;;"},"deployedBytecode":{"functionDebugData":{"@_checkOwner_4719":{"entryPoint":546,"id":4719,"parameterSlots":0,"returnSlots":0},"@_msgSender_5657":{"entryPoint":null,"id":5657,"parameterSlots":0,"returnSlots":1},"@_setImplementation_5314":{"entryPoint":675,"id":5314,"parameterSlots":1,"returnSlots":0},"@_transferOwnership_4776":{"entryPoint":910,"id":4776,"parameterSlots":1,"returnSlots":0},"@implementation_5278":{"entryPoint":null,"id":5278,"parameterSlots":0,"returnSlots":1},"@isContract_5333":{"entryPoint":null,"id":5333,"parameterSlots":1,"returnSlots":1},"@owner_4705":{"entryPoint":null,"id":4705,"parameterSlots":0,"returnSlots":1},"@renounceOwnership_4733":{"entryPoint":338,"id":4733,"parameterSlots":0,"returnSlots":0},"@transferOwnership_4756":{"entryPoint":358,"id":4756,"parameterSlots":1,"returnSlots":0},"@upgradeTo_5295":{"entryPoint":253,"id":5295,"parameterSlots":1,"returnSlots":0},"abi_decode_tuple_t_address":{"entryPoint":1027,"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_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__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}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:1744:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"84:239:52","statements":[{"body":{"nodeType":"YulBlock","src":"130:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"139:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"142:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"132:6:52"},"nodeType":"YulFunctionCall","src":"132:12:52"},"nodeType":"YulExpressionStatement","src":"132:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"105:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"114:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"101:3:52"},"nodeType":"YulFunctionCall","src":"101:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"126:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"97:3:52"},"nodeType":"YulFunctionCall","src":"97:32:52"},"nodeType":"YulIf","src":"94:52:52"},{"nodeType":"YulVariableDeclaration","src":"155:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"181:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"168:12:52"},"nodeType":"YulFunctionCall","src":"168:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"159:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"277:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"286:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"289:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"279:6:52"},"nodeType":"YulFunctionCall","src":"279:12:52"},"nodeType":"YulExpressionStatement","src":"279:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"213:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"224:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"231:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"220:3:52"},"nodeType":"YulFunctionCall","src":"220:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"210:2:52"},"nodeType":"YulFunctionCall","src":"210:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"203:6:52"},"nodeType":"YulFunctionCall","src":"203:73:52"},"nodeType":"YulIf","src":"200:93:52"},{"nodeType":"YulAssignment","src":"302:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"312:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"302:6:52"}]}]},"name":"abi_decode_tuple_t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"50:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"61:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"73:6:52","type":""}],"src":"14:309:52"},{"body":{"nodeType":"YulBlock","src":"429:125:52","statements":[{"nodeType":"YulAssignment","src":"439:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"451:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"462:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"447:3:52"},"nodeType":"YulFunctionCall","src":"447:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"439:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"481:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"496:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"504:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"492:3:52"},"nodeType":"YulFunctionCall","src":"492:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"474:6:52"},"nodeType":"YulFunctionCall","src":"474:74:52"},"nodeType":"YulExpressionStatement","src":"474:74:52"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"398:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"409:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"420:4:52","type":""}],"src":"328:226:52"},{"body":{"nodeType":"YulBlock","src":"733:228:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"750:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"761:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"743:6:52"},"nodeType":"YulFunctionCall","src":"743:21:52"},"nodeType":"YulExpressionStatement","src":"743:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"784:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"795:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"780:3:52"},"nodeType":"YulFunctionCall","src":"780:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"800:2:52","type":"","value":"38"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"773:6:52"},"nodeType":"YulFunctionCall","src":"773:30:52"},"nodeType":"YulExpressionStatement","src":"773:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"823:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"834:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"819:3:52"},"nodeType":"YulFunctionCall","src":"819:18:52"},{"hexValue":"4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061","kind":"string","nodeType":"YulLiteral","src":"839:34:52","type":"","value":"Ownable: new owner is the zero a"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"812:6:52"},"nodeType":"YulFunctionCall","src":"812:62:52"},"nodeType":"YulExpressionStatement","src":"812:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"894:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"905:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"890:3:52"},"nodeType":"YulFunctionCall","src":"890:18:52"},{"hexValue":"646472657373","kind":"string","nodeType":"YulLiteral","src":"910:8:52","type":"","value":"ddress"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"883:6:52"},"nodeType":"YulFunctionCall","src":"883:36:52"},"nodeType":"YulExpressionStatement","src":"883:36:52"},{"nodeType":"YulAssignment","src":"928:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"940:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"951:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"936:3:52"},"nodeType":"YulFunctionCall","src":"936:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"928:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"710:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"724:4:52","type":""}],"src":"559:402:52"},{"body":{"nodeType":"YulBlock","src":"1140:182:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1157:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1168:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1150:6:52"},"nodeType":"YulFunctionCall","src":"1150:21:52"},"nodeType":"YulExpressionStatement","src":"1150:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1191:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1202:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1187:3:52"},"nodeType":"YulFunctionCall","src":"1187:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"1207:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1180:6:52"},"nodeType":"YulFunctionCall","src":"1180:30:52"},"nodeType":"YulExpressionStatement","src":"1180:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1230:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1241:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1226:3:52"},"nodeType":"YulFunctionCall","src":"1226:18:52"},{"hexValue":"4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572","kind":"string","nodeType":"YulLiteral","src":"1246:34:52","type":"","value":"Ownable: caller is not the owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1219:6:52"},"nodeType":"YulFunctionCall","src":"1219:62:52"},"nodeType":"YulExpressionStatement","src":"1219:62:52"},{"nodeType":"YulAssignment","src":"1290:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1302:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1313:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1298:3:52"},"nodeType":"YulFunctionCall","src":"1298:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1290:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1117:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1131:4:52","type":""}],"src":"966:356:52"},{"body":{"nodeType":"YulBlock","src":"1501:241:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1518:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1529:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1511:6:52"},"nodeType":"YulFunctionCall","src":"1511:21:52"},"nodeType":"YulExpressionStatement","src":"1511:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1552:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1563:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1548:3:52"},"nodeType":"YulFunctionCall","src":"1548:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"1568:2:52","type":"","value":"51"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1541:6:52"},"nodeType":"YulFunctionCall","src":"1541:30:52"},"nodeType":"YulExpressionStatement","src":"1541:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1591:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1602:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1587:3:52"},"nodeType":"YulFunctionCall","src":"1587:18:52"},{"hexValue":"5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f","kind":"string","nodeType":"YulLiteral","src":"1607:34:52","type":"","value":"UpgradeableBeacon: implementatio"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1580:6:52"},"nodeType":"YulFunctionCall","src":"1580:62:52"},"nodeType":"YulExpressionStatement","src":"1580:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1662:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1673:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1658:3:52"},"nodeType":"YulFunctionCall","src":"1658:18:52"},{"hexValue":"6e206973206e6f74206120636f6e7472616374","kind":"string","nodeType":"YulLiteral","src":"1678:21:52","type":"","value":"n is not a contract"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1651:6:52"},"nodeType":"YulFunctionCall","src":"1651:49:52"},"nodeType":"YulExpressionStatement","src":"1651:49:52"},{"nodeType":"YulAssignment","src":"1709:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1721:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1732:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1717:3:52"},"nodeType":"YulFunctionCall","src":"1717:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1709:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1478:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1492:4:52","type":""}],"src":"1327:415:52"}]},"contents":"{\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        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { revert(0, 0) }\n        value0 := value\n    }\n    function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffffffffffffffffffffffffffffffffffff))\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_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_5ccca6b0666a32006e874c0f8fc30910124098b6e8e91ea2ea1baa45ce41f1e6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 51)\n        mstore(add(headStart, 64), \"UpgradeableBeacon: implementatio\")\n        mstore(add(headStart, 96), \"n is not a contract\")\n        tail := add(headStart, 128)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106100675760003560e01c8063715018a611610050578063715018a6146100c45780638da5cb5b146100cc578063f2fde38b146100ea57600080fd5b80633659cfe61461006c5780635c60da1b14610081575b600080fd5b61007f61007a366004610403565b6100fd565b005b60015473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61007f610152565b60005473ffffffffffffffffffffffffffffffffffffffff1661009b565b61007f6100f8366004610403565b610166565b610105610222565b61010e816102a3565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b61015a610222565b610164600061038e565b565b61016e610222565b73ffffffffffffffffffffffffffffffffffffffff8116610216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61021f8161038e565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161020d565b73ffffffffffffffffffffffffffffffffffffffff81163b610347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f60448201527f6e206973206e6f74206120636f6e747261637400000000000000000000000000606482015260840161020d565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561041557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461043957600080fd5b939250505056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x67 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x715018A6 GT PUSH2 0x50 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0xC4 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0xCC JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0xEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x3659CFE6 EQ PUSH2 0x6C JUMPI DUP1 PUSH4 0x5C60DA1B EQ PUSH2 0x81 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7F PUSH2 0x7A CALLDATASIZE PUSH1 0x4 PUSH2 0x403 JUMP JUMPDEST PUSH2 0xFD JUMP JUMPDEST STOP JUMPDEST PUSH1 0x1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x7F PUSH2 0x152 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x9B JUMP JUMPDEST PUSH2 0x7F PUSH2 0xF8 CALLDATASIZE PUSH1 0x4 PUSH2 0x403 JUMP JUMPDEST PUSH2 0x166 JUMP JUMPDEST PUSH2 0x105 PUSH2 0x222 JUMP JUMPDEST PUSH2 0x10E DUP2 PUSH2 0x2A3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 PUSH32 0xBC7CD75A20EE27FD9ADEBAB32041F755214DBC6BFFA90CC0225B39DA2E5C2D3B SWAP1 PUSH1 0x0 SWAP1 LOG2 POP JUMP JUMPDEST PUSH2 0x15A PUSH2 0x222 JUMP JUMPDEST PUSH2 0x164 PUSH1 0x0 PUSH2 0x38E JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x16E PUSH2 0x222 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND PUSH2 0x216 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6464726573730000000000000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x21F DUP2 PUSH2 0x38E JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0x164 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 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 0x20D JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND EXTCODESIZE PUSH2 0x347 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5570677261646561626C65426561636F6E3A20696D706C656D656E746174696F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E206973206E6F74206120636F6E747261637400000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x20D JUMP JUMPDEST PUSH1 0x1 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000 DUP4 AND DUP2 OR DUP5 SSTORE PUSH1 0x40 MLOAD SWAP2 SWAP1 SWAP3 AND SWAP3 DUP4 SWAP2 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP2 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x415 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x439 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"280:172:50:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1469:167:34;;;;;;:::i;:::-;;:::i;:::-;;1098:112;1188:15;;;;1098:112;;;504:42:52;492:55;;;474:74;;462:2;447:18;1098:112:34;;;;;;;1824:101:27;;;:::i;1201:85::-;1247:7;1273:6;;;1201:85;;2074:198;;;;;;:::i;:::-;;:::i;1469:167:34:-;1094:13:27;:11;:13::i;:::-;1550:37:34::1;1569:17;1550:18;:37::i;:::-;1602:27;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;1469:167:::0;:::o;1824:101:27:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;2074:198::-;1094:13;:11;:13::i;:::-;2162:22:::1;::::0;::::1;2154:73;;;::::0;::::1;::::0;;761:2:52;2154:73:27::1;::::0;::::1;743:21:52::0;800:2;780:18;;;773:30;839:34;819:18;;;812:62;910:8;890:18;;;883:36;936:19;;2154:73:27::1;;;;;;;;;2237:28;2256:8;2237:18;:28::i;:::-;2074:198:::0;:::o;1359:130::-;1247:7;1273:6;1422:23;1273:6;719:10:36;1422:23:27;1414:68;;;;;;;1168:2:52;1414:68:27;;;1150:21:52;;;1187:18;;;1180:30;1246:34;1226:18;;;1219:62;1298:18;;1414:68:27;966:356:52;1811:226:34;1702:19:35;;;;1884:101:34;;;;;;;1529:2:52;1884:101:34;;;1511:21:52;1568:2;1548:18;;;1541:30;1607:34;1587:18;;;1580:62;1678:21;1658:18;;;1651:49;1717:19;;1884:101:34;1327:415:52;1884:101:34;1995:15;:35;;;;;;;;;;;;;;;1811:226::o;2426:187:27:-;2499:16;2518:6;;;2534:17;;;;;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;14:309:52:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;231:42;224:5;220:54;213:5;210:65;200:93;;289:1;286;279:12;200:93;312:5;14:309;-1:-1:-1;;;14:309:52:o"},"methodIdentifiers":{"implementation()":"5c60da1b","owner()":"8da5cb5b","renounceOwnership()":"715018a6","transferOwnership(address)":"f2fde38b","upgradeTo(address)":"3659cfe6"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Upgraded(address)\":{\"details\":\"Emitted when the implementation returned by the beacon is changed.\"}},\"kind\":\"dev\",\"methods\":{\"implementation()\":{\"details\":\"Returns the current implementation address.\"},\"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. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling 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.\"},\"upgradeTo(address)\":{\"details\":\"Upgrades the beacon to a new implementation. Emits an {Upgraded} event. Requirements: - msg.sender must be the owner of the contract. - `newImplementation` must be a contract.\"}},\"title\":\"UpgradeableBeacon wrapper for testing\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Re-exports OpenZeppelin UpgradeableBeacon for test contracts\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/UpgradeableBeacon.sol\":\"UpgradeableBeacon\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xba43b97fba0d32eb4254f6a5a297b39a19a247082a02d6e69349e071e2946218\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fc980984badf3984b6303b377711220e067722bbd6a135b24669ff5069ef9f32\",\"dweb:/ipfs/QmPHXMSXj99XjSVM21YsY6aNtLLjLVXDbyN76J5HQYvvrz\"]},\"@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ada1e030c0231db8d143b44ce92b4d1158eedb087880cad6d8cc7bd7ebe7b354\",\"dweb:/ipfs/QmWZ2NHZweRpz1U9GF6R1h65ri76dnX7fNxLBeM2t5N5Ce\"]},\"@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol\":{\"keccak256\":\"0x6ec71aef5659f3f74011169948d2fcda8c6599be5bb38f986380a8737f96cc0f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://362f12aebd1022d643235e6a7fa6ccfb38c13f3a0d1b006d5d1aea51af4bb852\",\"dweb:/ipfs/QmSUQ7pM4UnBawMfP2Di8EqawxaoU195DgsSLxHejvSpPz\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2455248c8ddd9cc6a7af76a13973cddf222072427e7b0e2a7d1aff345145e931\",\"dweb:/ipfs/QmfYjnjRbWqYpuxurqveE6HtzsY1Xx323J428AKQgtBJZm\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"contracts/test/UpgradeableBeacon.sol\":{\"keccak256\":\"0xa4d883958c8e41d770f109e74ee71a465b227c787cd185b8e43b09b48961b842\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5bb22cd4a097da16801226ce45097e3507e533147467c2e9f7d929a91f615c31\",\"dweb:/ipfs/QmPinEBAZKFc8b7PJ8hf7etUjsXDqY9ZrcueaddDnvN7FJ\"]}},\"version\":1}"}},"contracts/test/UpgradeableFeeDiscountPluginTest.sol":{"UpgradeableFeeDiscountPluginTest":{"abi":[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_pluginFactory","type":"address"},{"internalType":"address","name":"_feeDiscountImplementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"transferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registry","type":"address"}],"name":"FeeDiscountRegistry","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"inputs":[],"name":"ALGEBRA_BASE_PLUGIN_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"activeModules","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int24","name":"","type":"int24"}],"name":"afterInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"afterSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeFlash","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint160","name":"","type":"uint160"}],"name":"beforeInitialize","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int24","name":"","type":"int24"},{"internalType":"int128","name":"","type":"int128"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeModifyPosition","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint160","name":"","type":"uint160"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"beforeSwap","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"},{"internalType":"uint24","name":"","type":"uint24"},{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"collectPluginFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPluginConfig","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeDiscountRegistry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getActiveModuleNames","outputs":[{"internalType":"string[]","name":"moduleNames","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"handlePluginFee","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pool","type":"address"},{"internalType":"address","name":"_feeDiscountRegistry","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pluginFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"registry","type":"address"}],"name":"setFeeDiscountRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_5807":{"entryPoint":null,"id":5807,"parameterSlots":1,"returnSlots":0},"@_600":{"entryPoint":null,"id":600,"parameterSlots":2,"returnSlots":0},"@_7770":{"entryPoint":null,"id":7770,"parameterSlots":3,"returnSlots":0},"@_disableInitializers_4315":{"entryPoint":108,"id":4315,"parameterSlots":0,"returnSlots":0},"abi_decode_address_fromMemory":{"entryPoint":301,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_addresst_addresst_address_fromMemory":{"entryPoint":330,"id":null,"parameterSlots":2,"returnSlots":3},"abi_encode_tuple_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:1173:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"74:117:52","statements":[{"nodeType":"YulAssignment","src":"84:22:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"99:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"93:5:52"},"nodeType":"YulFunctionCall","src":"93:13:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"84:5:52"}]},{"body":{"nodeType":"YulBlock","src":"169:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"178:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"181:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"171:6:52"},"nodeType":"YulFunctionCall","src":"171:12:52"},"nodeType":"YulExpressionStatement","src":"171:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"128:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"139:5:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"154:3:52","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"159:1:52","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"150:3:52"},"nodeType":"YulFunctionCall","src":"150:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"163:1:52","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"146:3:52"},"nodeType":"YulFunctionCall","src":"146:19:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"135:3:52"},"nodeType":"YulFunctionCall","src":"135:31:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"125:2:52"},"nodeType":"YulFunctionCall","src":"125:42:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"118:6:52"},"nodeType":"YulFunctionCall","src":"118:50:52"},"nodeType":"YulIf","src":"115:70:52"}]},"name":"abi_decode_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"53:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"64:5:52","type":""}],"src":"14:177:52"},{"body":{"nodeType":"YulBlock","src":"311:263:52","statements":[{"body":{"nodeType":"YulBlock","src":"357:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"366:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"369:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"359:6:52"},"nodeType":"YulFunctionCall","src":"359:12:52"},"nodeType":"YulExpressionStatement","src":"359:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"332:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"341:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"328:3:52"},"nodeType":"YulFunctionCall","src":"328:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"353:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"324:3:52"},"nodeType":"YulFunctionCall","src":"324:32:52"},"nodeType":"YulIf","src":"321:52:52"},{"nodeType":"YulAssignment","src":"382:50:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"422:9:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"392:29:52"},"nodeType":"YulFunctionCall","src":"392:40:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"382:6:52"}]},{"nodeType":"YulAssignment","src":"441:59:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"485:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"496:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"481:3:52"},"nodeType":"YulFunctionCall","src":"481:18:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"451:29:52"},"nodeType":"YulFunctionCall","src":"451:49:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"441:6:52"}]},{"nodeType":"YulAssignment","src":"509:59:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"553:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"564:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"549:3:52"},"nodeType":"YulFunctionCall","src":"549:18:52"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"519:29:52"},"nodeType":"YulFunctionCall","src":"519:49:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"509:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"261:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"272:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"284:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"292:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"300:6:52","type":""}],"src":"196:378:52"},{"body":{"nodeType":"YulBlock","src":"753:229:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"770:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"781:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"763:6:52"},"nodeType":"YulFunctionCall","src":"763:21:52"},"nodeType":"YulExpressionStatement","src":"763:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"804:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"815:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"800:3:52"},"nodeType":"YulFunctionCall","src":"800:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"820:2:52","type":"","value":"39"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"793:6:52"},"nodeType":"YulFunctionCall","src":"793:30:52"},"nodeType":"YulExpressionStatement","src":"793:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"843:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"854:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"839:3:52"},"nodeType":"YulFunctionCall","src":"839:18:52"},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320696e697469","kind":"string","nodeType":"YulLiteral","src":"859:34:52","type":"","value":"Initializable: contract is initi"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"832:6:52"},"nodeType":"YulFunctionCall","src":"832:62:52"},"nodeType":"YulExpressionStatement","src":"832:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"914:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"925:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"910:3:52"},"nodeType":"YulFunctionCall","src":"910:18:52"},{"hexValue":"616c697a696e67","kind":"string","nodeType":"YulLiteral","src":"930:9:52","type":"","value":"alizing"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"903:6:52"},"nodeType":"YulFunctionCall","src":"903:37:52"},"nodeType":"YulExpressionStatement","src":"903:37:52"},{"nodeType":"YulAssignment","src":"949:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"961:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"972:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"957:3:52"},"nodeType":"YulFunctionCall","src":"957:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"949:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"730:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"744:4:52","type":""}],"src":"579:403:52"},{"body":{"nodeType":"YulBlock","src":"1084:87:52","statements":[{"nodeType":"YulAssignment","src":"1094:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1106:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1117:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1102:3:52"},"nodeType":"YulFunctionCall","src":"1102:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1094:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1136:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1151:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1159:4:52","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1147:3:52"},"nodeType":"YulFunctionCall","src":"1147:17:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1129:6:52"},"nodeType":"YulFunctionCall","src":"1129:36:52"},"nodeType":"YulExpressionStatement","src":"1129:36:52"}]},"name":"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1053:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1064:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1075:4:52","type":""}],"src":"987:184:52"}]},"contents":"{\n    { }\n    function abi_decode_address_fromMemory(offset) -> value\n    {\n        value := mload(offset)\n        if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_addresst_address_fromMemory(headStart, dataEnd) -> value0, value1, value2\n    {\n        if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n        value0 := abi_decode_address_fromMemory(headStart)\n        value1 := abi_decode_address_fromMemory(add(headStart, 32))\n        value2 := abi_decode_address_fromMemory(add(headStart, 64))\n    }\n    function abi_encode_tuple_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 39)\n        mstore(add(headStart, 64), \"Initializable: contract is initi\")\n        mstore(add(headStart, 96), \"alizing\")\n        tail := add(headStart, 128)\n    }\n    function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xff))\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60e06040523480156200001157600080fd5b506040516200210b3803806200210b83398101604081905262000034916200014a565b6001600160a01b03808416608052821660a052808383620000546200006c565b50506001600160a01b031660c0525062000194915050565b600054610100900460ff1615620000d95760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116146200012b576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b03811681146200014557600080fd5b919050565b6000806000606084860312156200016057600080fd5b6200016b846200012d565b92506200017b602085016200012d565b91506200018b604085016200012d565b90509250925092565b60805160a05160c051611f2b620001e060003960008181610d8001528181610fbf015281816112ea0152611489015260006104140152600081816103da01526111490152611f2b6000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c80638de0a8ee116100cd578063c45a015511610081578063e2a1bd5911610066578063e2a1bd591461040f578063e72c652d14610436578063f20cdc1a1461044957600080fd5b8063c45a0155146103d5578063d6852010146103fc57600080fd5b8063aa6b14bb116100b2578063aa6b14bb1461039a578063b6f78cc9146103ad578063c3da7978146103c257600080fd5b80638de0a8ee146103745780639cb5a9631461038757600080fd5b8063485cc95511610124578063636fd80411610109578063636fd80414610315578063689ea3701461032857806382dd65221461036157600080fd5b8063485cc955146102b15780635e2411b2146102c657600080fd5b806331b25d1a1161015557806331b25d1a14610218578063343d37ff1461024d57806346b7748b1461029157600080fd5b8063029c1cb71461017157806316f0115b146101cd575b600080fd5b61018461017f366004611611565b610451565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909416845262ffffff92831660208501529116908201526060015b60405180910390f35b6000546101f39062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c4565b61023f7f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f581565b6040519081526020016101c4565b61026061025b3660046116bb565b6104d7565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020016101c4565b6102a461029f36600461172a565b61050f565b6040516101c491906117b1565b6102c46102bf3660046117cb565b6105bb565b005b6102d96102d436600461182a565b610822565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909316835262ffffff9091166020830152016101c4565b6102606103233660046117cb565b61085e565b60005461034f90760100000000000000000000000000000000000000000000900460ff1681565b60405160ff90911681526020016101c4565b61026061036f3660046118c9565b6108b9565b610260610382366004611914565b6108ec565b610260610395366004611990565b610922565b6102606103a8366004611a3e565b61095b565b6103b561098d565b6040516101c49190611a60565b6102c46103d0366004611ae0565b610ac8565b6101f37f000000000000000000000000000000000000000000000000000000000000000081565b61026061040a366004611afd565b610b25565b6101f37f000000000000000000000000000000000000000000000000000000000000000081565b6102c4610444366004611b65565b610b5e565b6101f3610b71565b600080600061045e610b80565b6000610468610c09565b509250505060006104a08d600060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461ffff16610cb0565b7f029c1cb7000000000000000000000000000000000000000000000000000000009e909d5060009c509a5050505050505050505050565b60006104e1610b80565b507f343d37ff0000000000000000000000000000000000000000000000000000000098975050505050505050565b6001818154811061051f57600080fd5b90600052602060002001600091509050805461053a90611b9c565b80601f016020809104026020016040519081016040528092919081815260200182805461056690611b9c565b80156105b35780601f10610588576101008083540402835291602001916105b3565b820191906000526020600020905b81548152906001019060200180831161059657829003601f168201915b505050505081565b600054610100900460ff16158080156105db5750600054600160ff909116105b806105f55750303b1580156105f5575060005460ff166001145b610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156106e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6106ed83610e1e565b60006106f883610f02565b6000805460ff8084167601000000000000000000000000000000000000000000008084049290921617027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff909116178155600180548082018255915260408051808201909152601381527f46656520446973636f756e7420506c7567696e0000000000000000000000000060208201529192507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601906107b89082611c64565b5050801561081d57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60008061082d610b80565b507f5e2411b20000000000000000000000000000000000000000000000000000000098600098509650505050505050565b6000610868610b80565b60005461089190760100000000000000000000000000000000000000000000900460ff16611049565b507f636fd8040000000000000000000000000000000000000000000000000000000092915050565b60006108c3610b80565b507f82dd6522000000000000000000000000000000000000000000000000000000009392505050565b60006108f6610b80565b507f8de0a8ee000000000000000000000000000000000000000000000000000000009695505050505050565b600061092c610b80565b507f9cb5a963000000000000000000000000000000000000000000000000000000009998505050505050505050565b6000610965610b80565b507faa6b14bb0000000000000000000000000000000000000000000000000000000092915050565b60015460609067ffffffffffffffff8111156109ab576109ab611bef565b6040519080825280602002602001820160405280156109de57816020015b60608152602001906001900390816109c95790505b50905060005b600154811015610ac45760018181548110610a0157610a01611d7e565b906000526020600020018054610a1690611b9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290611b9c565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b5050505050828281518110610aa657610aa6611d7e565b60200260200101819052508080610abc90611dad565b9150506109e4565b5090565b610ad06110f5565b610ad98161122f565b60405173ffffffffffffffffffffffffffffffffffffffff821681527f3b1f0d57f07483280d598ef402c5b2b96be1a42e65b21992bdafea3476b653279060200160405180910390a150565b6000610b2f610b80565b507fd6852010000000000000000000000000000000000000000000000000000000009998505050505050505050565b610b666110f5565b61081d83828461136f565b6000610b7b611412565b905090565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff163314610c07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4f6e6c7920706f6f6c2063616e2063616c6c2074686973000000000000000000604482015260640161067d565b565b600080600080600060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190611e1e565b5093989297509095509350915050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015262ffffff821660648201526000908190608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f1018860c0000000000000000000000000000000000000000000000000000000017905251909150600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690610dac908590611ea3565b600060405180830381855af49150503d8060008114610de7576040519150601f19603f3d011682016040523d82523d6000602084013e610dec565b606091505b509150915081610dff57610dff81611524565b80806020019051810190610e139190611ebf565b979650505050505050565b600054610100900460ff16610eb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161067d565b6000805473ffffffffffffffffffffffffffffffffffffffff90921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9dd77e70000000000000000000000000000000000000000000000000000000017905251909150600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690610feb908590611ea3565b600060405180830381855af49150503d8060008114611026576040519150601f19603f3d011682016040523d82523d6000602084013e61102b565b606091505b50915091508161103e5761103e81611524565b506001949350505050565b6000611053610c09565b93505050508160ff168160ff16146110f1576000546040517fbca57f8100000000000000000000000000000000000000000000000000000000815260ff841660048201526201000090910473ffffffffffffffffffffffffffffffffffffffff169063bca57f8190602401600060405180830381600087803b1580156110d857600080fd5b505af11580156110ec573d6000803e3d6000fd5b505050505b5050565b6040517fe8ae2b690000000000000000000000000000000000000000000000000000000081527f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f560048201523360248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e8ae2b6990604401602060405180830381865afa1580156111a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c99190611ee4565b610c07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420617574686f72697a6564000000000000000000000000000000000000604482015260640161067d565b60405173ffffffffffffffffffffffffffffffffffffffff82166024820152600090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc3da79780000000000000000000000000000000000000000000000000000000017905251909150600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690611316908590611ea3565b600060405180830381855af49150503d8060008114611351576040519150601f19603f3d011682016040523d82523d6000602084013e611356565b606091505b5091509150816113695761136981611524565b50505050565b60006040517fa9059cbb0000000000000000000000000000000000000000000000000000000060005273ffffffffffffffffffffffffffffffffffffffff841660045282602452602060006044600080895af19150813d1560203d146001600051141617169150806040525080611369576040517fe465903e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f6408f820000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906114b5908590611ea3565b600060405180830381855af49150503d80600081146114f0576040519150601f19603f3d011682016040523d82523d6000602084013e6114f5565b606091505b5091509150816115085761150881611524565b8080602001905181019061151c9190611f01565b935050505090565b80511561153357805181602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f466565446973636f756e743a2064656c656761746563616c6c206661696c6564604482015260640161067d565b73ffffffffffffffffffffffffffffffffffffffff811681146115b757600080fd5b50565b80151581146115b757600080fd5b60008083601f8401126115da57600080fd5b50813567ffffffffffffffff8111156115f257600080fd5b60208301915083602082850101111561160a57600080fd5b9250929050565b60008060008060008060008060e0898b03121561162d57600080fd5b883561163881611595565b9750602089013561164881611595565b96506040890135611658816115ba565b955060608901359450608089013561166f81611595565b935060a089013561167f816115ba565b925060c089013567ffffffffffffffff81111561169b57600080fd5b6116a78b828c016115c8565b999c989b5096995094979396929594505050565b60008060008060008060008060e0898b0312156116d757600080fd5b88356116e281611595565b975060208901356116f281611595565b965060408901359550606089013594506080890135935060a0890135925060c089013567ffffffffffffffff81111561169b57600080fd5b60006020828403121561173c57600080fd5b5035919050565b60005b8381101561175e578181015183820152602001611746565b50506000910152565b6000815180845261177f816020860160208601611743565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006117c46020830184611767565b9392505050565b600080604083850312156117de57600080fd5b82356117e981611595565b915060208301356117f981611595565b809150509250929050565b8060020b81146115b757600080fd5b8035600f81900b811461182557600080fd5b919050565b600080600080600080600060c0888a03121561184557600080fd5b873561185081611595565b9650602088013561186081611595565b9550604088013561187081611804565b9450606088013561188081611804565b935061188e60808901611813565b925060a088013567ffffffffffffffff8111156118aa57600080fd5b6118b68a828b016115c8565b989b979a50959850939692959293505050565b6000806000606084860312156118de57600080fd5b83356118e981611595565b925060208401356118f981611595565b9150604084013561190981611804565b809150509250925092565b60008060008060008060a0878903121561192d57600080fd5b863561193881611595565b9550602087013561194881611595565b94506040870135935060608701359250608087013567ffffffffffffffff81111561197257600080fd5b61197e89828a016115c8565b979a9699509497509295939492505050565b60008060008060008060008060006101008a8c0312156119af57600080fd5b89356119ba81611595565b985060208a01356119ca81611595565b975060408a01356119da816115ba565b965060608a0135955060808a01356119f181611595565b945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff811115611a1b57600080fd5b611a278c828d016115c8565b915080935050809150509295985092959850929598565b60008060408385031215611a5157600080fd5b50508035926020909101359150565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015611ad3577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452611ac1858351611767565b94509285019290850190600101611a87565b5092979650505050505050565b600060208284031215611af257600080fd5b81356117c481611595565b60008060008060008060008060006101008a8c031215611b1c57600080fd5b8935611b2781611595565b985060208a0135611b3781611595565b975060408a0135611b4781611804565b965060608a0135611b5781611804565b95506119f160808b01611813565b600080600060608486031215611b7a57600080fd5b8335611b8581611595565b925060208401359150604084013561190981611595565b600181811c90821680611bb057607f821691505b602082108103611be9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f82111561081d57600081815260208120601f850160051c81016020861015611c455750805b601f850160051c820191505b818110156110ec57828155600101611c51565b815167ffffffffffffffff811115611c7e57611c7e611bef565b611c9281611c8c8454611b9c565b84611c1e565b602080601f831160018114611ce55760008415611caf5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556110ec565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015611d3257888601518255948401946001909101908401611d13565b5085821015611d6e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e05577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b805161ffff8116811461182557600080fd5b60008060008060008060c08789031215611e3757600080fd5b8651611e4281611595565b6020880151909650611e5381611804565b9450611e6160408801611e0c565b9350606087015160ff81168114611e7757600080fd5b9250611e8560808801611e0c565b915060a0870151611e95816115ba565b809150509295509295509295565b60008251611eb5818460208701611743565b9190910192915050565b600060208284031215611ed157600080fd5b815162ffffff811681146117c457600080fd5b600060208284031215611ef657600080fd5b81516117c4816115ba565b600060208284031215611f1357600080fd5b81516117c48161159556fea164736f6c6343000814000a","opcodes":"PUSH1 0xE0 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x210B CODESIZE SUB DUP1 PUSH3 0x210B DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x14A JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP5 AND PUSH1 0x80 MSTORE DUP3 AND PUSH1 0xA0 MSTORE DUP1 DUP4 DUP4 PUSH3 0x54 PUSH3 0x6C JUMP JUMPDEST POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0xC0 MSTORE POP PUSH3 0x194 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH3 0xD9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E697469616C697A61626C653A20636F6E747261637420697320696E697469 PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x616C697A696E67 PUSH1 0xC8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 SLOAD PUSH1 0xFF SWAP1 DUP2 AND EQ PUSH3 0x12B JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0xFF SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH32 0x7F26B83FF96E1F2B6A682F133852F6798A09C465DA95921460CEFB3847402498 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMPDEST JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x145 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH3 0x160 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x16B DUP5 PUSH3 0x12D JUMP JUMPDEST SWAP3 POP PUSH3 0x17B PUSH1 0x20 DUP6 ADD PUSH3 0x12D JUMP JUMPDEST SWAP2 POP PUSH3 0x18B PUSH1 0x40 DUP6 ADD PUSH3 0x12D JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x80 MLOAD PUSH1 0xA0 MLOAD PUSH1 0xC0 MLOAD PUSH2 0x1F2B PUSH3 0x1E0 PUSH1 0x0 CODECOPY PUSH1 0x0 DUP2 DUP2 PUSH2 0xD80 ADD MSTORE DUP2 DUP2 PUSH2 0xFBF ADD MSTORE DUP2 DUP2 PUSH2 0x12EA ADD MSTORE PUSH2 0x1489 ADD MSTORE PUSH1 0x0 PUSH2 0x414 ADD MSTORE PUSH1 0x0 DUP2 DUP2 PUSH2 0x3DA ADD MSTORE PUSH2 0x1149 ADD MSTORE PUSH2 0x1F2B 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 0x16C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DE0A8EE GT PUSH2 0xCD JUMPI DUP1 PUSH4 0xC45A0155 GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xE2A1BD59 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xE2A1BD59 EQ PUSH2 0x40F JUMPI DUP1 PUSH4 0xE72C652D EQ PUSH2 0x436 JUMPI DUP1 PUSH4 0xF20CDC1A EQ PUSH2 0x449 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC45A0155 EQ PUSH2 0x3D5 JUMPI DUP1 PUSH4 0xD6852010 EQ PUSH2 0x3FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xAA6B14BB GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0xAA6B14BB EQ PUSH2 0x39A JUMPI DUP1 PUSH4 0xB6F78CC9 EQ PUSH2 0x3AD JUMPI DUP1 PUSH4 0xC3DA7978 EQ PUSH2 0x3C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8DE0A8EE EQ PUSH2 0x374 JUMPI DUP1 PUSH4 0x9CB5A963 EQ PUSH2 0x387 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x485CC955 GT PUSH2 0x124 JUMPI DUP1 PUSH4 0x636FD804 GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x636FD804 EQ PUSH2 0x315 JUMPI DUP1 PUSH4 0x689EA370 EQ PUSH2 0x328 JUMPI DUP1 PUSH4 0x82DD6522 EQ PUSH2 0x361 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x485CC955 EQ PUSH2 0x2B1 JUMPI DUP1 PUSH4 0x5E2411B2 EQ PUSH2 0x2C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x31B25D1A GT PUSH2 0x155 JUMPI DUP1 PUSH4 0x31B25D1A EQ PUSH2 0x218 JUMPI DUP1 PUSH4 0x343D37FF EQ PUSH2 0x24D JUMPI DUP1 PUSH4 0x46B7748B EQ PUSH2 0x291 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29C1CB7 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x16F0115B EQ PUSH2 0x1CD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x184 PUSH2 0x17F CALLDATASIZE PUSH1 0x4 PUSH2 0x1611 JUMP JUMPDEST PUSH2 0x451 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP5 AND DUP5 MSTORE PUSH3 0xFFFFFF SWAP3 DUP4 AND PUSH1 0x20 DUP6 ADD MSTORE SWAP2 AND SWAP1 DUP3 ADD MSTORE PUSH1 0x60 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x1F3 SWAP1 PUSH3 0x10000 SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x23F PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x25B CALLDATASIZE PUSH1 0x4 PUSH2 0x16BB JUMP JUMPDEST PUSH2 0x4D7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x2A4 PUSH2 0x29F CALLDATASIZE PUSH1 0x4 PUSH2 0x172A JUMP JUMPDEST PUSH2 0x50F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1C4 SWAP2 SWAP1 PUSH2 0x17B1 JUMP JUMPDEST PUSH2 0x2C4 PUSH2 0x2BF CALLDATASIZE PUSH1 0x4 PUSH2 0x17CB JUMP JUMPDEST PUSH2 0x5BB JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2D9 PUSH2 0x2D4 CALLDATASIZE PUSH1 0x4 PUSH2 0x182A JUMP JUMPDEST PUSH2 0x822 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP4 AND DUP4 MSTORE PUSH3 0xFFFFFF SWAP1 SWAP2 AND PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x323 CALLDATASIZE PUSH1 0x4 PUSH2 0x17CB JUMP JUMPDEST PUSH2 0x85E JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x34F SWAP1 PUSH23 0x100000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x36F CALLDATASIZE PUSH1 0x4 PUSH2 0x18C9 JUMP JUMPDEST PUSH2 0x8B9 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x382 CALLDATASIZE PUSH1 0x4 PUSH2 0x1914 JUMP JUMPDEST PUSH2 0x8EC JUMP JUMPDEST PUSH2 0x260 PUSH2 0x395 CALLDATASIZE PUSH1 0x4 PUSH2 0x1990 JUMP JUMPDEST PUSH2 0x922 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x3A8 CALLDATASIZE PUSH1 0x4 PUSH2 0x1A3E JUMP JUMPDEST PUSH2 0x95B JUMP JUMPDEST PUSH2 0x3B5 PUSH2 0x98D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1C4 SWAP2 SWAP1 PUSH2 0x1A60 JUMP JUMPDEST PUSH2 0x2C4 PUSH2 0x3D0 CALLDATASIZE PUSH1 0x4 PUSH2 0x1AE0 JUMP JUMPDEST PUSH2 0xAC8 JUMP JUMPDEST PUSH2 0x1F3 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x40A CALLDATASIZE PUSH1 0x4 PUSH2 0x1AFD JUMP JUMPDEST PUSH2 0xB25 JUMP JUMPDEST PUSH2 0x1F3 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x2C4 PUSH2 0x444 CALLDATASIZE PUSH1 0x4 PUSH2 0x1B65 JUMP JUMPDEST PUSH2 0xB5E JUMP JUMPDEST PUSH2 0x1F3 PUSH2 0xB71 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x45E PUSH2 0xB80 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x468 PUSH2 0xC09 JUMP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x0 PUSH2 0x4A0 DUP14 PUSH1 0x0 PUSH1 0x2 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH2 0xFFFF AND PUSH2 0xCB0 JUMP JUMPDEST PUSH32 0x29C1CB700000000000000000000000000000000000000000000000000000000 SWAP15 SWAP1 SWAP14 POP PUSH1 0x0 SWAP13 POP SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4E1 PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x343D37FF00000000000000000000000000000000000000000000000000000000 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x51F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x53A SWAP1 PUSH2 0x1B9C JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x566 SWAP1 PUSH2 0x1B9C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5B3 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x588 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5B3 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x596 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND ISZERO DUP1 DUP1 ISZERO PUSH2 0x5DB JUMPI POP PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xFF SWAP1 SWAP2 AND LT JUMPDEST DUP1 PUSH2 0x5F5 JUMPI POP ADDRESS EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5F5 JUMPI POP PUSH1 0x0 SLOAD PUSH1 0xFF AND PUSH1 0x1 EQ JUMPDEST PUSH2 0x686 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E697469616C697A61626C653A20636F6E747261637420697320616C726561 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x647920696E697469616C697A6564000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 AND PUSH1 0x1 OR SWAP1 SSTORE DUP1 ISZERO PUSH2 0x6E4 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00FF AND PUSH2 0x100 OR SWAP1 SSTORE JUMPDEST PUSH2 0x6ED DUP4 PUSH2 0xE1E JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6F8 DUP4 PUSH2 0xF02 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0xFF DUP1 DUP5 AND PUSH23 0x100000000000000000000000000000000000000000000 DUP1 DUP5 DIV SWAP3 SWAP1 SWAP3 AND OR MUL PUSH32 0xFFFFFFFFFFFFFFFFFF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND OR DUP2 SSTORE PUSH1 0x1 DUP1 SLOAD DUP1 DUP3 ADD DUP3 SSTORE SWAP2 MSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x13 DUP2 MSTORE PUSH32 0x46656520446973636F756E7420506C7567696E00000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP2 SWAP3 POP PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 ADD SWAP1 PUSH2 0x7B8 SWAP1 DUP3 PUSH2 0x1C64 JUMP JUMPDEST POP POP DUP1 ISZERO PUSH2 0x81D JUMPI PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00FF AND SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE PUSH32 0x7F26B83FF96E1F2B6A682F133852F6798A09C465DA95921460CEFB3847402498 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x82D PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x5E2411B200000000000000000000000000000000000000000000000000000000 SWAP9 PUSH1 0x0 SWAP9 POP SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x868 PUSH2 0xB80 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x891 SWAP1 PUSH23 0x100000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF AND PUSH2 0x1049 JUMP JUMPDEST POP PUSH32 0x636FD80400000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8C3 PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x82DD652200000000000000000000000000000000000000000000000000000000 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8F6 PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x8DE0A8EE00000000000000000000000000000000000000000000000000000000 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x92C PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x9CB5A96300000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x965 PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0xAA6B14BB00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x60 SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x9AB JUMPI PUSH2 0x9AB PUSH2 0x1BEF JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x9DE JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x9C9 JUMPI SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 JUMPDEST PUSH1 0x1 SLOAD DUP2 LT ISZERO PUSH2 0xAC4 JUMPI PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0xA01 JUMPI PUSH2 0xA01 PUSH2 0x1D7E JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP1 SLOAD PUSH2 0xA16 SWAP1 PUSH2 0x1B9C JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0xA42 SWAP1 PUSH2 0x1B9C JUMP JUMPDEST DUP1 ISZERO PUSH2 0xA8F JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xA64 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xA8F JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xA72 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xAA6 JUMPI PUSH2 0xAA6 PUSH2 0x1D7E JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP DUP1 DUP1 PUSH2 0xABC SWAP1 PUSH2 0x1DAD JUMP JUMPDEST SWAP2 POP POP PUSH2 0x9E4 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0xAD0 PUSH2 0x10F5 JUMP JUMPDEST PUSH2 0xAD9 DUP2 PUSH2 0x122F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND DUP2 MSTORE PUSH32 0x3B1F0D57F07483280D598EF402C5B2B96BE1A42E65B21992BDAFEA3476B65327 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB2F PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0xD685201000000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0xB66 PUSH2 0x10F5 JUMP JUMPDEST PUSH2 0x81D DUP4 DUP3 DUP5 PUSH2 0x136F JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB7B PUSH2 0x1412 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH3 0x10000 SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0xC07 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C7920706F6F6C2063616E2063616C6C2074686973000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x67D JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x2 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xE76C01E4 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0xC0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xC7C 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 0xCA0 SWAP2 SWAP1 PUSH2 0x1E1E JUMP JUMPDEST POP SWAP4 SWAP9 SWAP3 SWAP8 POP SWAP1 SWAP6 POP SWAP4 POP SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP6 AND PUSH1 0x24 DUP4 ADD MSTORE DUP4 AND PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0xFFFFFF DUP3 AND PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH1 0x84 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x1018860C00000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE MLOAD SWAP1 SWAP2 POP PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND SWAP1 PUSH2 0xDAC SWAP1 DUP6 SWAP1 PUSH2 0x1EA3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xDE7 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xDEC JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xDFF JUMPI PUSH2 0xDFF DUP2 PUSH2 0x1524 JUMP JUMPDEST DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0xE13 SWAP2 SWAP1 PUSH2 0x1EBF JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xEB5 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E697469616C697A61626C653A20636F6E7472616374206973206E6F742069 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E697469616C697A696E67000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x67D JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND PUSH3 0x10000 MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000FFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH1 0x44 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xA9DD77E700000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE MLOAD SWAP1 SWAP2 POP PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND SWAP1 PUSH2 0xFEB SWAP1 DUP6 SWAP1 PUSH2 0x1EA3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1026 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x102B JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x103E JUMPI PUSH2 0x103E DUP2 PUSH2 0x1524 JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1053 PUSH2 0xC09 JUMP JUMPDEST SWAP4 POP POP POP POP DUP2 PUSH1 0xFF AND DUP2 PUSH1 0xFF AND EQ PUSH2 0x10F1 JUMPI PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH32 0xBCA57F8100000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0xFF DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH3 0x10000 SWAP1 SWAP2 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xBCA57F81 SWAP1 PUSH1 0x24 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x10D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x10EC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xE8AE2B6900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 PUSH1 0x4 DUP3 ADD MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xE8AE2B69 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x11A5 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 0x11C9 SWAP2 SWAP1 PUSH2 0x1EE4 JUMP JUMPDEST PUSH2 0xC07 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6F7420617574686F72697A6564000000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x67D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x44 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xC3DA797800000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE MLOAD SWAP1 SWAP2 POP PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND SWAP1 PUSH2 0x1316 SWAP1 DUP6 SWAP1 PUSH2 0x1EA3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1351 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1356 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x1369 JUMPI PUSH2 0x1369 DUP2 PUSH2 0x1524 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0xA9059CBB00000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x4 MSTORE DUP3 PUSH1 0x24 MSTORE PUSH1 0x20 PUSH1 0x0 PUSH1 0x44 PUSH1 0x0 DUP1 DUP10 GAS CALL SWAP2 POP DUP2 RETURNDATASIZE ISZERO PUSH1 0x20 RETURNDATASIZE EQ PUSH1 0x1 PUSH1 0x0 MLOAD EQ AND OR AND SWAP2 POP DUP1 PUSH1 0x40 MSTORE POP DUP1 PUSH2 0x1369 JUMPI PUSH1 0x40 MLOAD PUSH32 0xE465903E00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x4 DUP2 MSTORE PUSH1 0x24 DUP2 ADD DUP3 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x6408F82000000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 SWAP1 DUP3 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND SWAP1 PUSH2 0x14B5 SWAP1 DUP6 SWAP1 PUSH2 0x1EA3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x14F0 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x14F5 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x1508 JUMPI PUSH2 0x1508 DUP2 PUSH2 0x1524 JUMP JUMPDEST DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0x151C SWAP2 SWAP1 PUSH2 0x1F01 JUMP JUMPDEST SWAP4 POP POP POP POP SWAP1 JUMP JUMPDEST DUP1 MLOAD ISZERO PUSH2 0x1533 JUMPI DUP1 MLOAD DUP2 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x466565446973636F756E743A2064656C656761746563616C6C206661696C6564 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x67D JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x15B7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x15B7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x15DA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x15F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x160A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0x162D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0x1638 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0x1648 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD PUSH2 0x1658 DUP2 PUSH2 0x15BA JUMP JUMPDEST SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH2 0x166F DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0x167F DUP2 PUSH2 0x15BA JUMP JUMPDEST SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x169B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x16A7 DUP12 DUP3 DUP13 ADD PUSH2 0x15C8 JUMP JUMPDEST SWAP10 SWAP13 SWAP9 SWAP12 POP SWAP7 SWAP10 POP SWAP5 SWAP8 SWAP4 SWAP7 SWAP3 SWAP6 SWAP5 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0x16D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0x16E2 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0x16F2 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x169B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x173C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x175E JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1746 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x177F DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1743 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x17C4 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1767 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x17DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x17E9 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x17F9 DUP2 PUSH2 0x1595 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 PUSH1 0x2 SIGNEXTEND DUP2 EQ PUSH2 0x15B7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH1 0xF DUP2 SWAP1 SIGNEXTEND DUP2 EQ PUSH2 0x1825 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xC0 DUP9 DUP11 SUB SLT ISZERO PUSH2 0x1845 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 CALLDATALOAD PUSH2 0x1850 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP7 POP PUSH1 0x20 DUP9 ADD CALLDATALOAD PUSH2 0x1860 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP6 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD PUSH2 0x1870 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP5 POP PUSH1 0x60 DUP9 ADD CALLDATALOAD PUSH2 0x1880 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP4 POP PUSH2 0x188E PUSH1 0x80 DUP10 ADD PUSH2 0x1813 JUMP JUMPDEST SWAP3 POP PUSH1 0xA0 DUP9 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x18AA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18B6 DUP11 DUP3 DUP12 ADD PUSH2 0x15C8 JUMP JUMPDEST SWAP9 SWAP12 SWAP8 SWAP11 POP SWAP6 SWAP9 POP SWAP4 SWAP7 SWAP3 SWAP6 SWAP3 SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x18DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x18E9 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x18F9 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x1909 DUP2 PUSH2 0x1804 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xA0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x192D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 CALLDATALOAD PUSH2 0x1938 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH2 0x1948 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP5 POP PUSH1 0x40 DUP8 ADD CALLDATALOAD SWAP4 POP PUSH1 0x60 DUP8 ADD CALLDATALOAD SWAP3 POP PUSH1 0x80 DUP8 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1972 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x197E DUP10 DUP3 DUP11 ADD PUSH2 0x15C8 JUMP JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 POP SWAP3 SWAP6 SWAP4 SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x19AF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x19BA DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x19CA DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x19DA DUP2 PUSH2 0x15BA JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD SWAP6 POP PUSH1 0x80 DUP11 ADD CALLDATALOAD PUSH2 0x19F1 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP5 POP PUSH1 0xA0 DUP11 ADD CALLDATALOAD SWAP4 POP PUSH1 0xC0 DUP11 ADD CALLDATALOAD SWAP3 POP PUSH1 0xE0 DUP11 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1A1B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1A27 DUP13 DUP3 DUP14 ADD PUSH2 0x15C8 JUMP JUMPDEST SWAP2 POP DUP1 SWAP4 POP POP DUP1 SWAP2 POP POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1A51 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 DUP7 ADD SWAP2 POP PUSH1 0x40 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD SWAP3 POP DUP4 DUP8 ADD PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x1AD3 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 DUP9 DUP7 SUB ADD DUP5 MSTORE PUSH2 0x1AC1 DUP6 DUP4 MLOAD PUSH2 0x1767 JUMP JUMPDEST SWAP5 POP SWAP3 DUP6 ADD SWAP3 SWAP1 DUP6 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1A87 JUMP JUMPDEST POP SWAP3 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1AF2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x17C4 DUP2 PUSH2 0x1595 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x1B1C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x1B27 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x1B37 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x1B47 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD PUSH2 0x1B57 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP6 POP PUSH2 0x19F1 PUSH1 0x80 DUP12 ADD PUSH2 0x1813 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1B7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x1B85 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x1909 DUP2 PUSH2 0x1595 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x1BB0 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x1BE9 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x81D JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP2 ADD PUSH1 0x20 DUP7 LT ISZERO PUSH2 0x1C45 JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x10EC JUMPI DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x1C51 JUMP JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1C7E JUMPI PUSH2 0x1C7E PUSH2 0x1BEF JUMP JUMPDEST PUSH2 0x1C92 DUP2 PUSH2 0x1C8C DUP5 SLOAD PUSH2 0x1B9C JUMP JUMPDEST DUP5 PUSH2 0x1C1E JUMP JUMPDEST PUSH1 0x20 DUP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x1CE5 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x1CAF JUMPI POP DUP6 DUP4 ADD MLOAD JUMPDEST PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x3 DUP7 SWAP1 SHL SHR NOT AND PUSH1 0x1 DUP6 SWAP1 SHL OR DUP6 SSTORE PUSH2 0x10EC JUMP JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 AND SWAP2 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x1D32 JUMPI DUP9 DUP7 ADD MLOAD DUP3 SSTORE SWAP5 DUP5 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 DUP5 ADD PUSH2 0x1D13 JUMP JUMPDEST POP DUP6 DUP3 LT ISZERO PUSH2 0x1D6E JUMPI DUP8 DUP6 ADD MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x3 DUP9 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND DUP2 SSTORE JUMPDEST POP POP POP POP POP PUSH1 0x1 SWAP1 DUP2 SHL ADD SWAP1 SSTORE POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x1E05 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST DUP1 MLOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0x1825 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xC0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x1E37 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 MLOAD PUSH2 0x1E42 DUP2 PUSH2 0x1595 JUMP JUMPDEST PUSH1 0x20 DUP9 ADD MLOAD SWAP1 SWAP7 POP PUSH2 0x1E53 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP5 POP PUSH2 0x1E61 PUSH1 0x40 DUP9 ADD PUSH2 0x1E0C JUMP JUMPDEST SWAP4 POP PUSH1 0x60 DUP8 ADD MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x1E77 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP PUSH2 0x1E85 PUSH1 0x80 DUP9 ADD PUSH2 0x1E0C JUMP JUMPDEST SWAP2 POP PUSH1 0xA0 DUP8 ADD MLOAD PUSH2 0x1E95 DUP2 PUSH2 0x15BA JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 POP SWAP3 SWAP6 JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1EB5 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1743 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1ED1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0x17C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1EF6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x17C4 DUP2 PUSH2 0x15BA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1F13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x17C4 DUP2 PUSH2 0x1595 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"518:2182:51:-:0;;;897:213;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2223:18:2;;;;;2248:30;;;;1080:26:51;1033:8;1043:14;2285:22:2;:20;:22::i;:::-;-1:-1:-1;;;;;;;813:54:38;;;-1:-1:-1;518:2182:51;;-1:-1:-1;;518:2182:51;5939:280:25;6007:13;;;;;;;6006:14;5998:66;;;;-1:-1:-1;;;5998:66:25;;781:2:52;5998:66:25;;;763:21:52;820:2;800:18;;;793:30;859:34;839:18;;;832:62;-1:-1:-1;;;910:18:52;;;903:37;957:19;;5998:66:25;;;;;;;;6078:12;;6094:15;6078:12;;;:31;6074:139;;6125:12;:30;;-1:-1:-1;;6125:30:25;6140:15;6125:30;;;;;;6174:28;;1129:36:52;;;6174:28:25;;1117:2:52;1102:18;6174:28:25;;;;;;;6074:139;5939:280::o;14:177:52:-;93:13;;-1:-1:-1;;;;;135:31:52;;125:42;;115:70;;181:1;178;171:12;115:70;14:177;;;:::o;196:378::-;284:6;292;300;353:2;341:9;332:7;328:23;324:32;321:52;;;369:1;366;359:12;321:52;392:40;422:9;392:40;:::i;:::-;382:50;;451:49;496:2;485:9;481:18;451:49;:::i;:::-;441:59;;519:49;564:2;553:9;549:18;519:49;:::i;:::-;509:59;;196:378;;;;;:::o;987:184::-;518:2182:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@ALGEBRA_BASE_PLUGIN_MANAGER_545":{"entryPoint":null,"id":545,"parameterSlots":0,"returnSlots":0},"@__UpgradeableAbstractPlugin_init_613":{"entryPoint":3614,"id":613,"parameterSlots":1,"returnSlots":0},"@_applyFeeDiscount_5976":{"entryPoint":3248,"id":5976,"parameterSlots":3,"returnSlots":1},"@_authorize_7895":{"entryPoint":4341,"id":7895,"parameterSlots":0,"returnSlots":0},"@_checkIfFromPool_625":{"entryPoint":2944,"id":625,"parameterSlots":0,"returnSlots":0},"@_getFeeDiscountRegistry_5929":{"entryPoint":5138,"id":5929,"parameterSlots":0,"returnSlots":1},"@_getPoolState_703":{"entryPoint":3081,"id":703,"parameterSlots":0,"returnSlots":4},"@_initializeFeeDiscount_5860":{"entryPoint":3842,"id":5860,"parameterSlots":1,"returnSlots":1},"@_propagateFeeDiscountRevert_5825":{"entryPoint":5412,"id":5825,"parameterSlots":1,"returnSlots":0},"@_setFeeDiscountRegistry_5891":{"entryPoint":4655,"id":5891,"parameterSlots":1,"returnSlots":0},"@_updatePluginConfigInPool_986":{"entryPoint":4169,"id":986,"parameterSlots":1,"returnSlots":0},"@activeModules_561":{"entryPoint":1295,"id":561,"parameterSlots":0,"returnSlots":0},"@afterFlash_963":{"entryPoint":1239,"id":963,"parameterSlots":8,"returnSlots":1},"@afterInitialize_792":{"entryPoint":2233,"id":792,"parameterSlots":3,"returnSlots":1},"@afterModifyPosition_850":{"entryPoint":2853,"id":850,"parameterSlots":9,"returnSlots":1},"@afterSwap_913":{"entryPoint":2338,"id":913,"parameterSlots":9,"returnSlots":1},"@beforeFlash_936":{"entryPoint":2284,"id":936,"parameterSlots":6,"returnSlots":1},"@beforeInitialize_7826":{"entryPoint":2142,"id":7826,"parameterSlots":2,"returnSlots":1},"@beforeModifyPosition_821":{"entryPoint":2082,"id":821,"parameterSlots":7,"returnSlots":2},"@beforeSwap_7875":{"entryPoint":1105,"id":7875,"parameterSlots":8,"returnSlots":3},"@collectPluginFee_738":{"entryPoint":2910,"id":738,"parameterSlots":3,"returnSlots":0},"@defaultPluginConfig_557":{"entryPoint":null,"id":557,"parameterSlots":0,"returnSlots":0},"@factory_548":{"entryPoint":null,"id":548,"parameterSlots":0,"returnSlots":0},"@feeDiscountRegistry_6006":{"entryPoint":2929,"id":6006,"parameterSlots":0,"returnSlots":1},"@getActiveModuleNames_679":{"entryPoint":2445,"id":679,"parameterSlots":0,"returnSlots":1},"@handlePluginFee_756":{"entryPoint":2395,"id":756,"parameterSlots":2,"returnSlots":1},"@initialize_7803":{"entryPoint":1467,"id":7803,"parameterSlots":2,"returnSlots":0},"@isContract_4352":{"entryPoint":null,"id":4352,"parameterSlots":1,"returnSlots":1},"@pluginFactory_551":{"entryPoint":null,"id":551,"parameterSlots":0,"returnSlots":0},"@pool_554":{"entryPoint":null,"id":554,"parameterSlots":0,"returnSlots":0},"@safeTransfer_2884":{"entryPoint":4975,"id":2884,"parameterSlots":3,"returnSlots":0},"@setFeeDiscountRegistry_5995":{"entryPoint":2760,"id":5995,"parameterSlots":1,"returnSlots":0},"abi_decode_bytes_calldata":{"entryPoint":5576,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_int128":{"entryPoint":6163,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":6880,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_address_payable_fromMemory":{"entryPoint":7937,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_address":{"entryPoint":6091,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_boolt_bytes_calldata_ptr":{"entryPoint":5649,"id":null,"parameterSlots":2,"returnSlots":8},"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_int256t_int256t_bytes_calldata_ptr":{"entryPoint":6544,"id":null,"parameterSlots":2,"returnSlots":9},"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_bytes_calldata_ptr":{"entryPoint":6186,"id":null,"parameterSlots":2,"returnSlots":7},"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_uint256t_uint256t_bytes_calldata_ptr":{"entryPoint":6909,"id":null,"parameterSlots":2,"returnSlots":9},"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_calldata_ptr":{"entryPoint":6420,"id":null,"parameterSlots":2,"returnSlots":6},"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint256t_uint256t_bytes_calldata_ptr":{"entryPoint":5819,"id":null,"parameterSlots":2,"returnSlots":8},"abi_decode_tuple_t_addresst_uint160":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_uint160t_int24":{"entryPoint":6345,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_uint256t_address":{"entryPoint":7013,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_bool_fromMemory":{"entryPoint":7908,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint160t_int24t_uint16t_uint8t_uint16t_bool_fromMemory":{"entryPoint":7710,"id":null,"parameterSlots":2,"returnSlots":6},"abi_decode_tuple_t_uint24_fromMemory":{"entryPoint":7871,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256":{"entryPoint":5930,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256t_uint256":{"entryPoint":6718,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_uint16_fromMemory":{"entryPoint":7692,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_string":{"entryPoint":5991,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed":{"entryPoint":7843,"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_address_t_uint24__to_t_address_t_address_t_uint24__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_array$_t_string_memory_ptr_$dyn_memory_ptr__to_t_array$_t_string_memory_ptr_$dyn_memory_ptr__fromStack_reversed":{"entryPoint":6752,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_bytes4__to_t_bytes4__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bytes4_t_uint24__to_t_bytes4_t_uint24__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_bytes4_t_uint24_t_uint24__to_t_bytes4_t_uint24_t_uint24__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"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_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":6065,"id":null,"parameterSlots":2,"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_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb__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":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_df13724fb90050ca3b3b3dc79181268ff056fe70de4b043365b046ae750fc8d7__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_fac3bac318c0d00994f57b0f2f4c643c313072b71db2302bf4b900309cc50b36__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"array_dataslot_string_storage":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"clean_up_bytearray_end_slots_string_storage":{"entryPoint":7198,"id":null,"parameterSlots":3,"returnSlots":0},"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage":{"entryPoint":7268,"id":null,"parameterSlots":2,"returnSlots":0},"copy_memory_to_memory_with_cleanup":{"entryPoint":5955,"id":null,"parameterSlots":3,"returnSlots":0},"extract_byte_array_length":{"entryPoint":7068,"id":null,"parameterSlots":1,"returnSlots":1},"extract_used_part_and_set_length_of_short_byte_array":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"increment_t_uint256":{"entryPoint":7597,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x32":{"entryPoint":7550,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":7151,"id":null,"parameterSlots":0,"returnSlots":0},"validator_revert_address":{"entryPoint":5525,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_bool":{"entryPoint":5562,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_int24":{"entryPoint":6148,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:21521:52","statements":[{"nodeType":"YulBlock","src":"6:3:52","statements":[]},{"body":{"nodeType":"YulBlock","src":"59:109:52","statements":[{"body":{"nodeType":"YulBlock","src":"146:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"155:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"158:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"148:6:52"},"nodeType":"YulFunctionCall","src":"148:12:52"},"nodeType":"YulExpressionStatement","src":"148:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"82:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"93:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"100:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"89:3:52"},"nodeType":"YulFunctionCall","src":"89:54:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"79:2:52"},"nodeType":"YulFunctionCall","src":"79:65:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"72:6:52"},"nodeType":"YulFunctionCall","src":"72:73:52"},"nodeType":"YulIf","src":"69:93:52"}]},"name":"validator_revert_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"48:5:52","type":""}],"src":"14:154:52"},{"body":{"nodeType":"YulBlock","src":"215:76:52","statements":[{"body":{"nodeType":"YulBlock","src":"269:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"278:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"281:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"271:6:52"},"nodeType":"YulFunctionCall","src":"271:12:52"},"nodeType":"YulExpressionStatement","src":"271:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"238:5:52"},{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"259:5:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"252:6:52"},"nodeType":"YulFunctionCall","src":"252:13:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"245:6:52"},"nodeType":"YulFunctionCall","src":"245:21:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"235:2:52"},"nodeType":"YulFunctionCall","src":"235:32:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"228:6:52"},"nodeType":"YulFunctionCall","src":"228:40:52"},"nodeType":"YulIf","src":"225:60:52"}]},"name":"validator_revert_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"204:5:52","type":""}],"src":"173:118:52"},{"body":{"nodeType":"YulBlock","src":"368:275:52","statements":[{"body":{"nodeType":"YulBlock","src":"417:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"426:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"429:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"419:6:52"},"nodeType":"YulFunctionCall","src":"419:12:52"},"nodeType":"YulExpressionStatement","src":"419:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"396:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"404:4:52","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"392:3:52"},"nodeType":"YulFunctionCall","src":"392:17:52"},{"name":"end","nodeType":"YulIdentifier","src":"411:3:52"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"388:3:52"},"nodeType":"YulFunctionCall","src":"388:27:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"381:6:52"},"nodeType":"YulFunctionCall","src":"381:35:52"},"nodeType":"YulIf","src":"378:55:52"},{"nodeType":"YulAssignment","src":"442:30:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"465:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"452:12:52"},"nodeType":"YulFunctionCall","src":"452:20:52"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"442:6:52"}]},{"body":{"nodeType":"YulBlock","src":"515:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"524:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"527:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"517:6:52"},"nodeType":"YulFunctionCall","src":"517:12:52"},"nodeType":"YulExpressionStatement","src":"517:12:52"}]},"condition":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"487:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"495:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"484:2:52"},"nodeType":"YulFunctionCall","src":"484:30:52"},"nodeType":"YulIf","src":"481:50:52"},{"nodeType":"YulAssignment","src":"540:29:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"556:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"564:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"552:3:52"},"nodeType":"YulFunctionCall","src":"552:17:52"},"variableNames":[{"name":"arrayPos","nodeType":"YulIdentifier","src":"540:8:52"}]},{"body":{"nodeType":"YulBlock","src":"621:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"630:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"633:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"623:6:52"},"nodeType":"YulFunctionCall","src":"623:12:52"},"nodeType":"YulExpressionStatement","src":"623:12:52"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"592:6:52"},{"name":"length","nodeType":"YulIdentifier","src":"600:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"588:3:52"},"nodeType":"YulFunctionCall","src":"588:19:52"},{"kind":"number","nodeType":"YulLiteral","src":"609:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"584:3:52"},"nodeType":"YulFunctionCall","src":"584:30:52"},{"name":"end","nodeType":"YulIdentifier","src":"616:3:52"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"581:2:52"},"nodeType":"YulFunctionCall","src":"581:39:52"},"nodeType":"YulIf","src":"578:59:52"}]},"name":"abi_decode_bytes_calldata","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"331:6:52","type":""},{"name":"end","nodeType":"YulTypedName","src":"339:3:52","type":""}],"returnVariables":[{"name":"arrayPos","nodeType":"YulTypedName","src":"347:8:52","type":""},{"name":"length","nodeType":"YulTypedName","src":"357:6:52","type":""}],"src":"296:347:52"},{"body":{"nodeType":"YulBlock","src":"832:983:52","statements":[{"body":{"nodeType":"YulBlock","src":"879:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"888:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"891:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"881:6:52"},"nodeType":"YulFunctionCall","src":"881:12:52"},"nodeType":"YulExpressionStatement","src":"881:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"853:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"862:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"849:3:52"},"nodeType":"YulFunctionCall","src":"849:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"874:3:52","type":"","value":"224"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"845:3:52"},"nodeType":"YulFunctionCall","src":"845:33:52"},"nodeType":"YulIf","src":"842:53:52"},{"nodeType":"YulVariableDeclaration","src":"904:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"930:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"917:12:52"},"nodeType":"YulFunctionCall","src":"917:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"908:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"974:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"949:24:52"},"nodeType":"YulFunctionCall","src":"949:31:52"},"nodeType":"YulExpressionStatement","src":"949:31:52"},{"nodeType":"YulAssignment","src":"989:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"999:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"989:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1013:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1045:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1056:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1041:3:52"},"nodeType":"YulFunctionCall","src":"1041:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1028:12:52"},"nodeType":"YulFunctionCall","src":"1028:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"1017:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"1094:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"1069:24:52"},"nodeType":"YulFunctionCall","src":"1069:33:52"},"nodeType":"YulExpressionStatement","src":"1069:33:52"},{"nodeType":"YulAssignment","src":"1111:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"1121:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"1111:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1137:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1169:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1180:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1165:3:52"},"nodeType":"YulFunctionCall","src":"1165:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1152:12:52"},"nodeType":"YulFunctionCall","src":"1152:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"1141:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"1215:7:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"1193:21:52"},"nodeType":"YulFunctionCall","src":"1193:30:52"},"nodeType":"YulExpressionStatement","src":"1193:30:52"},{"nodeType":"YulAssignment","src":"1232:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"1242:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"1232:6:52"}]},{"nodeType":"YulAssignment","src":"1258:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1285:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1296:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1281:3:52"},"nodeType":"YulFunctionCall","src":"1281:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1268:12:52"},"nodeType":"YulFunctionCall","src":"1268:32:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"1258:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1309:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1341:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1352:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1337:3:52"},"nodeType":"YulFunctionCall","src":"1337:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1324:12:52"},"nodeType":"YulFunctionCall","src":"1324:33:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"1313:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"1391:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"1366:24:52"},"nodeType":"YulFunctionCall","src":"1366:33:52"},"nodeType":"YulExpressionStatement","src":"1366:33:52"},{"nodeType":"YulAssignment","src":"1408:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"1418:7:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"1408:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1434:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1466:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1477:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1462:3:52"},"nodeType":"YulFunctionCall","src":"1462:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1449:12:52"},"nodeType":"YulFunctionCall","src":"1449:33:52"},"variables":[{"name":"value_4","nodeType":"YulTypedName","src":"1438:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_4","nodeType":"YulIdentifier","src":"1513:7:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"1491:21:52"},"nodeType":"YulFunctionCall","src":"1491:30:52"},"nodeType":"YulExpressionStatement","src":"1491:30:52"},{"nodeType":"YulAssignment","src":"1530:17:52","value":{"name":"value_4","nodeType":"YulIdentifier","src":"1540:7:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"1530:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"1556:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1587:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"1598:3:52","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1583:3:52"},"nodeType":"YulFunctionCall","src":"1583:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1570:12:52"},"nodeType":"YulFunctionCall","src":"1570:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"1560:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"1646:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1655:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1658:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1648:6:52"},"nodeType":"YulFunctionCall","src":"1648:12:52"},"nodeType":"YulExpressionStatement","src":"1648:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1618:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"1626:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1615:2:52"},"nodeType":"YulFunctionCall","src":"1615:30:52"},"nodeType":"YulIf","src":"1612:50:52"},{"nodeType":"YulVariableDeclaration","src":"1671:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1727:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"1738:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1723:3:52"},"nodeType":"YulFunctionCall","src":"1723:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1747:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"1697:25:52"},"nodeType":"YulFunctionCall","src":"1697:58:52"},"variables":[{"name":"value6_1","nodeType":"YulTypedName","src":"1675:8:52","type":""},{"name":"value7_1","nodeType":"YulTypedName","src":"1685:8:52","type":""}]},{"nodeType":"YulAssignment","src":"1764:18:52","value":{"name":"value6_1","nodeType":"YulIdentifier","src":"1774:8:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"1764:6:52"}]},{"nodeType":"YulAssignment","src":"1791:18:52","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"1801:8:52"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"1791:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_boolt_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"742:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"753:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"765:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"773:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"781:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"789:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"797:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"805:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"813:6:52","type":""},{"name":"value7","nodeType":"YulTypedName","src":"821:6:52","type":""}],"src":"648:1167:52"},{"body":{"nodeType":"YulBlock","src":"1971:280:52","statements":[{"nodeType":"YulAssignment","src":"1981:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1993:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2004:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1989:3:52"},"nodeType":"YulFunctionCall","src":"1989:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1981:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2023:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2038:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"2046:66:52","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2034:3:52"},"nodeType":"YulFunctionCall","src":"2034:79:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2016:6:52"},"nodeType":"YulFunctionCall","src":"2016:98:52"},"nodeType":"YulExpressionStatement","src":"2016:98:52"},{"nodeType":"YulVariableDeclaration","src":"2123:18:52","value":{"kind":"number","nodeType":"YulLiteral","src":"2133:8:52","type":"","value":"0xffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2127:2:52","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2161:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2172:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2157:3:52"},"nodeType":"YulFunctionCall","src":"2157:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"2181:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2189:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2177:3:52"},"nodeType":"YulFunctionCall","src":"2177:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2150:6:52"},"nodeType":"YulFunctionCall","src":"2150:43:52"},"nodeType":"YulExpressionStatement","src":"2150:43:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2213:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2224:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2209:3:52"},"nodeType":"YulFunctionCall","src":"2209:18:52"},{"arguments":[{"name":"value2","nodeType":"YulIdentifier","src":"2233:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"2241:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2229:3:52"},"nodeType":"YulFunctionCall","src":"2229:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2202:6:52"},"nodeType":"YulFunctionCall","src":"2202:43:52"},"nodeType":"YulExpressionStatement","src":"2202:43:52"}]},"name":"abi_encode_tuple_t_bytes4_t_uint24_t_uint24__to_t_bytes4_t_uint24_t_uint24__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1924:9:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"1935:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"1943:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1951:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1962:4:52","type":""}],"src":"1820:431:52"},{"body":{"nodeType":"YulBlock","src":"2357:125:52","statements":[{"nodeType":"YulAssignment","src":"2367:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2379:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2390:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2375:3:52"},"nodeType":"YulFunctionCall","src":"2375:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2367:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2409:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2424:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"2432:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2420:3:52"},"nodeType":"YulFunctionCall","src":"2420:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2402:6:52"},"nodeType":"YulFunctionCall","src":"2402:74:52"},"nodeType":"YulExpressionStatement","src":"2402:74:52"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2326:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2337:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2348:4:52","type":""}],"src":"2256:226:52"},{"body":{"nodeType":"YulBlock","src":"2588:76:52","statements":[{"nodeType":"YulAssignment","src":"2598:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2610:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"2621:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2606:3:52"},"nodeType":"YulFunctionCall","src":"2606:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2598:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2640:9:52"},{"name":"value0","nodeType":"YulIdentifier","src":"2651:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2633:6:52"},"nodeType":"YulFunctionCall","src":"2633:25:52"},"nodeType":"YulExpressionStatement","src":"2633:25:52"}]},"name":"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2557:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2568:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2579:4:52","type":""}],"src":"2487:177:52"},{"body":{"nodeType":"YulBlock","src":"2860:770:52","statements":[{"body":{"nodeType":"YulBlock","src":"2907:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2916:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2919:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2909:6:52"},"nodeType":"YulFunctionCall","src":"2909:12:52"},"nodeType":"YulExpressionStatement","src":"2909:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2881:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"2890:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2877:3:52"},"nodeType":"YulFunctionCall","src":"2877:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"2902:3:52","type":"","value":"224"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2873:3:52"},"nodeType":"YulFunctionCall","src":"2873:33:52"},"nodeType":"YulIf","src":"2870:53:52"},{"nodeType":"YulVariableDeclaration","src":"2932:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2958:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2945:12:52"},"nodeType":"YulFunctionCall","src":"2945:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"2936:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3002:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"2977:24:52"},"nodeType":"YulFunctionCall","src":"2977:31:52"},"nodeType":"YulExpressionStatement","src":"2977:31:52"},{"nodeType":"YulAssignment","src":"3017:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"3027:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3017:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"3041:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3073:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3084:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3069:3:52"},"nodeType":"YulFunctionCall","src":"3069:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3056:12:52"},"nodeType":"YulFunctionCall","src":"3056:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"3045:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"3122:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"3097:24:52"},"nodeType":"YulFunctionCall","src":"3097:33:52"},"nodeType":"YulExpressionStatement","src":"3097:33:52"},{"nodeType":"YulAssignment","src":"3139:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"3149:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3139:6:52"}]},{"nodeType":"YulAssignment","src":"3165:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3192:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3203:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3188:3:52"},"nodeType":"YulFunctionCall","src":"3188:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3175:12:52"},"nodeType":"YulFunctionCall","src":"3175:32:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"3165:6:52"}]},{"nodeType":"YulAssignment","src":"3216:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3243:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3254:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3239:3:52"},"nodeType":"YulFunctionCall","src":"3239:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3226:12:52"},"nodeType":"YulFunctionCall","src":"3226:32:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"3216:6:52"}]},{"nodeType":"YulAssignment","src":"3267:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3294:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3305:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3290:3:52"},"nodeType":"YulFunctionCall","src":"3290:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3277:12:52"},"nodeType":"YulFunctionCall","src":"3277:33:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"3267:6:52"}]},{"nodeType":"YulAssignment","src":"3319:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3346:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3357:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3342:3:52"},"nodeType":"YulFunctionCall","src":"3342:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3329:12:52"},"nodeType":"YulFunctionCall","src":"3329:33:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"3319:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"3371:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3402:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3413:3:52","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3398:3:52"},"nodeType":"YulFunctionCall","src":"3398:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3385:12:52"},"nodeType":"YulFunctionCall","src":"3385:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"3375:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"3461:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3470:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3473:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3463:6:52"},"nodeType":"YulFunctionCall","src":"3463:12:52"},"nodeType":"YulExpressionStatement","src":"3463:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"3433:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3441:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3430:2:52"},"nodeType":"YulFunctionCall","src":"3430:30:52"},"nodeType":"YulIf","src":"3427:50:52"},{"nodeType":"YulVariableDeclaration","src":"3486:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3542:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"3553:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3538:3:52"},"nodeType":"YulFunctionCall","src":"3538:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3562:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"3512:25:52"},"nodeType":"YulFunctionCall","src":"3512:58:52"},"variables":[{"name":"value6_1","nodeType":"YulTypedName","src":"3490:8:52","type":""},{"name":"value7_1","nodeType":"YulTypedName","src":"3500:8:52","type":""}]},{"nodeType":"YulAssignment","src":"3579:18:52","value":{"name":"value6_1","nodeType":"YulIdentifier","src":"3589:8:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"3579:6:52"}]},{"nodeType":"YulAssignment","src":"3606:18:52","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"3616:8:52"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"3606:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint256t_uint256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2770:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2781:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2793:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2801:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"2809:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"2817:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"2825:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"2833:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"2841:6:52","type":""},{"name":"value7","nodeType":"YulTypedName","src":"2849:6:52","type":""}],"src":"2669:961:52"},{"body":{"nodeType":"YulBlock","src":"3734:149:52","statements":[{"nodeType":"YulAssignment","src":"3744:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3756:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"3767:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3752:3:52"},"nodeType":"YulFunctionCall","src":"3752:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3744:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3786:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3801:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"3809:66:52","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3797:3:52"},"nodeType":"YulFunctionCall","src":"3797:79:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3779:6:52"},"nodeType":"YulFunctionCall","src":"3779:98:52"},"nodeType":"YulExpressionStatement","src":"3779:98:52"}]},"name":"abi_encode_tuple_t_bytes4__to_t_bytes4__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3703:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3714:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3725:4:52","type":""}],"src":"3635:248:52"},{"body":{"nodeType":"YulBlock","src":"3958:110:52","statements":[{"body":{"nodeType":"YulBlock","src":"4004:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4013:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4016:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4006:6:52"},"nodeType":"YulFunctionCall","src":"4006:12:52"},"nodeType":"YulExpressionStatement","src":"4006:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3979:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"3988:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3975:3:52"},"nodeType":"YulFunctionCall","src":"3975:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"4000:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3971:3:52"},"nodeType":"YulFunctionCall","src":"3971:32:52"},"nodeType":"YulIf","src":"3968:52:52"},{"nodeType":"YulAssignment","src":"4029:33:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4052:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4039:12:52"},"nodeType":"YulFunctionCall","src":"4039:23:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"4029:6:52"}]}]},"name":"abi_decode_tuple_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3924:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3935:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3947:6:52","type":""}],"src":"3888:180:52"},{"body":{"nodeType":"YulBlock","src":"4139:184:52","statements":[{"nodeType":"YulVariableDeclaration","src":"4149:10:52","value":{"kind":"number","nodeType":"YulLiteral","src":"4158:1:52","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"4153:1:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"4218:63:52","statements":[{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"4243:3:52"},{"name":"i","nodeType":"YulIdentifier","src":"4248:1:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4239:3:52"},"nodeType":"YulFunctionCall","src":"4239:11:52"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"4262:3:52"},{"name":"i","nodeType":"YulIdentifier","src":"4267:1:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4258:3:52"},"nodeType":"YulFunctionCall","src":"4258:11:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4252:5:52"},"nodeType":"YulFunctionCall","src":"4252:18:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4232:6:52"},"nodeType":"YulFunctionCall","src":"4232:39:52"},"nodeType":"YulExpressionStatement","src":"4232:39:52"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"4179:1:52"},{"name":"length","nodeType":"YulIdentifier","src":"4182:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"4176:2:52"},"nodeType":"YulFunctionCall","src":"4176:13:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"4190:19:52","statements":[{"nodeType":"YulAssignment","src":"4192:15:52","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"4201:1:52"},{"kind":"number","nodeType":"YulLiteral","src":"4204:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4197:3:52"},"nodeType":"YulFunctionCall","src":"4197:10:52"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"4192:1:52"}]}]},"pre":{"nodeType":"YulBlock","src":"4172:3:52","statements":[]},"src":"4168:113:52"},{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"4301:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"4306:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4297:3:52"},"nodeType":"YulFunctionCall","src":"4297:16:52"},{"kind":"number","nodeType":"YulLiteral","src":"4315:1:52","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4290:6:52"},"nodeType":"YulFunctionCall","src":"4290:27:52"},"nodeType":"YulExpressionStatement","src":"4290:27:52"}]},"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulFunctionDefinition","parameters":[{"name":"src","nodeType":"YulTypedName","src":"4117:3:52","type":""},{"name":"dst","nodeType":"YulTypedName","src":"4122:3:52","type":""},{"name":"length","nodeType":"YulTypedName","src":"4127:6:52","type":""}],"src":"4073:250:52"},{"body":{"nodeType":"YulBlock","src":"4378:280:52","statements":[{"nodeType":"YulVariableDeclaration","src":"4388:26:52","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4408:5:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4402:5:52"},"nodeType":"YulFunctionCall","src":"4402:12:52"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"4392:6:52","type":""}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4430:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"4435:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4423:6:52"},"nodeType":"YulFunctionCall","src":"4423:19:52"},"nodeType":"YulExpressionStatement","src":"4423:19:52"},{"expression":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4490:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"4497:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4486:3:52"},"nodeType":"YulFunctionCall","src":"4486:16:52"},{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4508:3:52"},{"kind":"number","nodeType":"YulLiteral","src":"4513:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4504:3:52"},"nodeType":"YulFunctionCall","src":"4504:14:52"},{"name":"length","nodeType":"YulIdentifier","src":"4520:6:52"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"4451:34:52"},"nodeType":"YulFunctionCall","src":"4451:76:52"},"nodeType":"YulExpressionStatement","src":"4451:76:52"},{"nodeType":"YulAssignment","src":"4536:116:52","value":{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4551:3:52"},{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"4564:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"4572:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4560:3:52"},"nodeType":"YulFunctionCall","src":"4560:15:52"},{"kind":"number","nodeType":"YulLiteral","src":"4577:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"4556:3:52"},"nodeType":"YulFunctionCall","src":"4556:88:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4547:3:52"},"nodeType":"YulFunctionCall","src":"4547:98:52"},{"kind":"number","nodeType":"YulLiteral","src":"4647:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4543:3:52"},"nodeType":"YulFunctionCall","src":"4543:109:52"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"4536:3:52"}]}]},"name":"abi_encode_string","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"4355:5:52","type":""},{"name":"pos","nodeType":"YulTypedName","src":"4362:3:52","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"4370:3:52","type":""}],"src":"4328:330:52"},{"body":{"nodeType":"YulBlock","src":"4784:99:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4801:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4812:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4794:6:52"},"nodeType":"YulFunctionCall","src":"4794:21:52"},"nodeType":"YulExpressionStatement","src":"4794:21:52"},{"nodeType":"YulAssignment","src":"4824:53:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"4850:6:52"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4862:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"4873:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4858:3:52"},"nodeType":"YulFunctionCall","src":"4858:18:52"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"4832:17:52"},"nodeType":"YulFunctionCall","src":"4832:45:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"4824:4:52"}]}]},"name":"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4753:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"4764:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"4775:4:52","type":""}],"src":"4663:220:52"},{"body":{"nodeType":"YulBlock","src":"4975:301:52","statements":[{"body":{"nodeType":"YulBlock","src":"5021:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5030:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5033:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5023:6:52"},"nodeType":"YulFunctionCall","src":"5023:12:52"},"nodeType":"YulExpressionStatement","src":"5023:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"4996:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"5005:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"4992:3:52"},"nodeType":"YulFunctionCall","src":"4992:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"5017:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"4988:3:52"},"nodeType":"YulFunctionCall","src":"4988:32:52"},"nodeType":"YulIf","src":"4985:52:52"},{"nodeType":"YulVariableDeclaration","src":"5046:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5072:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5059:12:52"},"nodeType":"YulFunctionCall","src":"5059:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"5050:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5116:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5091:24:52"},"nodeType":"YulFunctionCall","src":"5091:31:52"},"nodeType":"YulExpressionStatement","src":"5091:31:52"},{"nodeType":"YulAssignment","src":"5131:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"5141:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"5131:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"5155:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5187:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5198:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5183:3:52"},"nodeType":"YulFunctionCall","src":"5183:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5170:12:52"},"nodeType":"YulFunctionCall","src":"5170:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"5159:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"5236:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5211:24:52"},"nodeType":"YulFunctionCall","src":"5211:33:52"},"nodeType":"YulExpressionStatement","src":"5211:33:52"},{"nodeType":"YulAssignment","src":"5253:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"5263:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"5253:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4933:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"4944:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"4956:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"4964:6:52","type":""}],"src":"4888:388:52"},{"body":{"nodeType":"YulBlock","src":"5324:75:52","statements":[{"body":{"nodeType":"YulBlock","src":"5377:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5386:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5389:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5379:6:52"},"nodeType":"YulFunctionCall","src":"5379:12:52"},"nodeType":"YulExpressionStatement","src":"5379:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5347:5:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5365:1:52","type":"","value":"2"},{"name":"value","nodeType":"YulIdentifier","src":"5368:5:52"}],"functionName":{"name":"signextend","nodeType":"YulIdentifier","src":"5354:10:52"},"nodeType":"YulFunctionCall","src":"5354:20:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"5344:2:52"},"nodeType":"YulFunctionCall","src":"5344:31:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5337:6:52"},"nodeType":"YulFunctionCall","src":"5337:39:52"},"nodeType":"YulIf","src":"5334:59:52"}]},"name":"validator_revert_int24","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"5313:5:52","type":""}],"src":"5281:118:52"},{"body":{"nodeType":"YulBlock","src":"5452:114:52","statements":[{"nodeType":"YulAssignment","src":"5462:29:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"5484:6:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5471:12:52"},"nodeType":"YulFunctionCall","src":"5471:20:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"5462:5:52"}]},{"body":{"nodeType":"YulBlock","src":"5544:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5553:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5556:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5546:6:52"},"nodeType":"YulFunctionCall","src":"5546:12:52"},"nodeType":"YulExpressionStatement","src":"5546:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5513:5:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5531:2:52","type":"","value":"15"},{"name":"value","nodeType":"YulIdentifier","src":"5535:5:52"}],"functionName":{"name":"signextend","nodeType":"YulIdentifier","src":"5520:10:52"},"nodeType":"YulFunctionCall","src":"5520:21:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"5510:2:52"},"nodeType":"YulFunctionCall","src":"5510:32:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5503:6:52"},"nodeType":"YulFunctionCall","src":"5503:40:52"},"nodeType":"YulIf","src":"5500:60:52"}]},"name":"abi_decode_int128","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"5431:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"5442:5:52","type":""}],"src":"5404:162:52"},{"body":{"nodeType":"YulBlock","src":"5740:865:52","statements":[{"body":{"nodeType":"YulBlock","src":"5787:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5796:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5799:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5789:6:52"},"nodeType":"YulFunctionCall","src":"5789:12:52"},"nodeType":"YulExpressionStatement","src":"5789:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"5761:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"5770:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5757:3:52"},"nodeType":"YulFunctionCall","src":"5757:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"5782:3:52","type":"","value":"192"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"5753:3:52"},"nodeType":"YulFunctionCall","src":"5753:33:52"},"nodeType":"YulIf","src":"5750:53:52"},{"nodeType":"YulVariableDeclaration","src":"5812:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5838:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5825:12:52"},"nodeType":"YulFunctionCall","src":"5825:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"5816:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5882:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5857:24:52"},"nodeType":"YulFunctionCall","src":"5857:31:52"},"nodeType":"YulExpressionStatement","src":"5857:31:52"},{"nodeType":"YulAssignment","src":"5897:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"5907:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"5897:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"5921:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5953:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"5964:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5949:3:52"},"nodeType":"YulFunctionCall","src":"5949:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5936:12:52"},"nodeType":"YulFunctionCall","src":"5936:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"5925:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"6002:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5977:24:52"},"nodeType":"YulFunctionCall","src":"5977:33:52"},"nodeType":"YulExpressionStatement","src":"5977:33:52"},{"nodeType":"YulAssignment","src":"6019:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"6029:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"6019:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"6045:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6077:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6088:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6073:3:52"},"nodeType":"YulFunctionCall","src":"6073:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6060:12:52"},"nodeType":"YulFunctionCall","src":"6060:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"6049:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"6124:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"6101:22:52"},"nodeType":"YulFunctionCall","src":"6101:31:52"},"nodeType":"YulExpressionStatement","src":"6101:31:52"},{"nodeType":"YulAssignment","src":"6141:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"6151:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"6141:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"6167:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6199:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6210:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6195:3:52"},"nodeType":"YulFunctionCall","src":"6195:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6182:12:52"},"nodeType":"YulFunctionCall","src":"6182:32:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"6171:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"6246:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"6223:22:52"},"nodeType":"YulFunctionCall","src":"6223:31:52"},"nodeType":"YulExpressionStatement","src":"6223:31:52"},{"nodeType":"YulAssignment","src":"6263:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"6273:7:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"6263:6:52"}]},{"nodeType":"YulAssignment","src":"6289:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6321:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6332:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6317:3:52"},"nodeType":"YulFunctionCall","src":"6317:19:52"}],"functionName":{"name":"abi_decode_int128","nodeType":"YulIdentifier","src":"6299:17:52"},"nodeType":"YulFunctionCall","src":"6299:38:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"6289:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"6346:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6377:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6388:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6373:3:52"},"nodeType":"YulFunctionCall","src":"6373:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6360:12:52"},"nodeType":"YulFunctionCall","src":"6360:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"6350:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"6436:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6445:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"6448:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"6438:6:52"},"nodeType":"YulFunctionCall","src":"6438:12:52"},"nodeType":"YulExpressionStatement","src":"6438:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"6408:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"6416:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"6405:2:52"},"nodeType":"YulFunctionCall","src":"6405:30:52"},"nodeType":"YulIf","src":"6402:50:52"},{"nodeType":"YulVariableDeclaration","src":"6461:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6517:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"6528:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6513:3:52"},"nodeType":"YulFunctionCall","src":"6513:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"6537:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"6487:25:52"},"nodeType":"YulFunctionCall","src":"6487:58:52"},"variables":[{"name":"value5_1","nodeType":"YulTypedName","src":"6465:8:52","type":""},{"name":"value6_1","nodeType":"YulTypedName","src":"6475:8:52","type":""}]},{"nodeType":"YulAssignment","src":"6554:18:52","value":{"name":"value5_1","nodeType":"YulIdentifier","src":"6564:8:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"6554:6:52"}]},{"nodeType":"YulAssignment","src":"6581:18:52","value":{"name":"value6_1","nodeType":"YulIdentifier","src":"6591:8:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"6581:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5658:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"5669:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"5681:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"5689:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"5697:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"5705:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"5713:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"5721:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"5729:6:52","type":""}],"src":"5571:1034:52"},{"body":{"nodeType":"YulBlock","src":"6735:207:52","statements":[{"nodeType":"YulAssignment","src":"6745:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6757:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6768:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6753:3:52"},"nodeType":"YulFunctionCall","src":"6753:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"6745:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6787:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"6802:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"6810:66:52","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6798:3:52"},"nodeType":"YulFunctionCall","src":"6798:79:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6780:6:52"},"nodeType":"YulFunctionCall","src":"6780:98:52"},"nodeType":"YulExpressionStatement","src":"6780:98:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6898:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"6909:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6894:3:52"},"nodeType":"YulFunctionCall","src":"6894:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"6918:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"6926:8:52","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6914:3:52"},"nodeType":"YulFunctionCall","src":"6914:21:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6887:6:52"},"nodeType":"YulFunctionCall","src":"6887:49:52"},"nodeType":"YulExpressionStatement","src":"6887:49:52"}]},"name":"abi_encode_tuple_t_bytes4_t_uint24__to_t_bytes4_t_uint24__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6696:9:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"6707:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"6715:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6726:4:52","type":""}],"src":"6610:332:52"},{"body":{"nodeType":"YulBlock","src":"7034:301:52","statements":[{"body":{"nodeType":"YulBlock","src":"7080:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7089:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7092:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7082:6:52"},"nodeType":"YulFunctionCall","src":"7082:12:52"},"nodeType":"YulExpressionStatement","src":"7082:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"7055:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"7064:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"7051:3:52"},"nodeType":"YulFunctionCall","src":"7051:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"7076:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"7047:3:52"},"nodeType":"YulFunctionCall","src":"7047:32:52"},"nodeType":"YulIf","src":"7044:52:52"},{"nodeType":"YulVariableDeclaration","src":"7105:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7131:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7118:12:52"},"nodeType":"YulFunctionCall","src":"7118:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"7109:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7175:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7150:24:52"},"nodeType":"YulFunctionCall","src":"7150:31:52"},"nodeType":"YulExpressionStatement","src":"7150:31:52"},{"nodeType":"YulAssignment","src":"7190:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"7200:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"7190:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"7214:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7246:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"7257:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7242:3:52"},"nodeType":"YulFunctionCall","src":"7242:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7229:12:52"},"nodeType":"YulFunctionCall","src":"7229:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"7218:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"7295:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7270:24:52"},"nodeType":"YulFunctionCall","src":"7270:33:52"},"nodeType":"YulExpressionStatement","src":"7270:33:52"},{"nodeType":"YulAssignment","src":"7312:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"7322:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"7312:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_uint160","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6992:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"7003:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"7015:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"7023:6:52","type":""}],"src":"6947:388:52"},{"body":{"nodeType":"YulBlock","src":"7437:87:52","statements":[{"nodeType":"YulAssignment","src":"7447:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7459:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"7470:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7455:3:52"},"nodeType":"YulFunctionCall","src":"7455:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"7447:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7489:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"7504:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"7512:4:52","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"7500:3:52"},"nodeType":"YulFunctionCall","src":"7500:17:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7482:6:52"},"nodeType":"YulFunctionCall","src":"7482:36:52"},"nodeType":"YulExpressionStatement","src":"7482:36:52"}]},"name":"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7406:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"7417:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"7428:4:52","type":""}],"src":"7340:184:52"},{"body":{"nodeType":"YulBlock","src":"7631:423:52","statements":[{"body":{"nodeType":"YulBlock","src":"7677:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7686:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7689:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7679:6:52"},"nodeType":"YulFunctionCall","src":"7679:12:52"},"nodeType":"YulExpressionStatement","src":"7679:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"7652:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"7661:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"7648:3:52"},"nodeType":"YulFunctionCall","src":"7648:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"7673:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"7644:3:52"},"nodeType":"YulFunctionCall","src":"7644:32:52"},"nodeType":"YulIf","src":"7641:52:52"},{"nodeType":"YulVariableDeclaration","src":"7702:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7728:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7715:12:52"},"nodeType":"YulFunctionCall","src":"7715:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"7706:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7772:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7747:24:52"},"nodeType":"YulFunctionCall","src":"7747:31:52"},"nodeType":"YulExpressionStatement","src":"7747:31:52"},{"nodeType":"YulAssignment","src":"7787:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"7797:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"7787:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"7811:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7843:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"7854:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7839:3:52"},"nodeType":"YulFunctionCall","src":"7839:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7826:12:52"},"nodeType":"YulFunctionCall","src":"7826:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"7815:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"7892:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7867:24:52"},"nodeType":"YulFunctionCall","src":"7867:33:52"},"nodeType":"YulExpressionStatement","src":"7867:33:52"},{"nodeType":"YulAssignment","src":"7909:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"7919:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"7909:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"7935:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7967:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"7978:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7963:3:52"},"nodeType":"YulFunctionCall","src":"7963:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7950:12:52"},"nodeType":"YulFunctionCall","src":"7950:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"7939:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"8014:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"7991:22:52"},"nodeType":"YulFunctionCall","src":"7991:31:52"},"nodeType":"YulExpressionStatement","src":"7991:31:52"},{"nodeType":"YulAssignment","src":"8031:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"8041:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"8031:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_uint160t_int24","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7581:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"7592:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"7604:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"7612:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"7620:6:52","type":""}],"src":"7529:525:52"},{"body":{"nodeType":"YulBlock","src":"8216:666:52","statements":[{"body":{"nodeType":"YulBlock","src":"8263:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8272:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8275:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8265:6:52"},"nodeType":"YulFunctionCall","src":"8265:12:52"},"nodeType":"YulExpressionStatement","src":"8265:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"8237:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"8246:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"8233:3:52"},"nodeType":"YulFunctionCall","src":"8233:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"8258:3:52","type":"","value":"160"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"8229:3:52"},"nodeType":"YulFunctionCall","src":"8229:33:52"},"nodeType":"YulIf","src":"8226:53:52"},{"nodeType":"YulVariableDeclaration","src":"8288:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8314:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8301:12:52"},"nodeType":"YulFunctionCall","src":"8301:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"8292:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"8358:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"8333:24:52"},"nodeType":"YulFunctionCall","src":"8333:31:52"},"nodeType":"YulExpressionStatement","src":"8333:31:52"},{"nodeType":"YulAssignment","src":"8373:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"8383:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"8373:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"8397:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8429:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"8440:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8425:3:52"},"nodeType":"YulFunctionCall","src":"8425:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8412:12:52"},"nodeType":"YulFunctionCall","src":"8412:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"8401:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"8478:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"8453:24:52"},"nodeType":"YulFunctionCall","src":"8453:33:52"},"nodeType":"YulExpressionStatement","src":"8453:33:52"},{"nodeType":"YulAssignment","src":"8495:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"8505:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"8495:6:52"}]},{"nodeType":"YulAssignment","src":"8521:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8548:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"8559:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8544:3:52"},"nodeType":"YulFunctionCall","src":"8544:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8531:12:52"},"nodeType":"YulFunctionCall","src":"8531:32:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"8521:6:52"}]},{"nodeType":"YulAssignment","src":"8572:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8599:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"8610:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8595:3:52"},"nodeType":"YulFunctionCall","src":"8595:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8582:12:52"},"nodeType":"YulFunctionCall","src":"8582:32:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"8572:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"8623:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8654:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"8665:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8650:3:52"},"nodeType":"YulFunctionCall","src":"8650:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8637:12:52"},"nodeType":"YulFunctionCall","src":"8637:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"8627:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"8713:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8722:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8725:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8715:6:52"},"nodeType":"YulFunctionCall","src":"8715:12:52"},"nodeType":"YulExpressionStatement","src":"8715:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"8685:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"8693:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"8682:2:52"},"nodeType":"YulFunctionCall","src":"8682:30:52"},"nodeType":"YulIf","src":"8679:50:52"},{"nodeType":"YulVariableDeclaration","src":"8738:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8794:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"8805:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8790:3:52"},"nodeType":"YulFunctionCall","src":"8790:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"8814:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"8764:25:52"},"nodeType":"YulFunctionCall","src":"8764:58:52"},"variables":[{"name":"value4_1","nodeType":"YulTypedName","src":"8742:8:52","type":""},{"name":"value5_1","nodeType":"YulTypedName","src":"8752:8:52","type":""}]},{"nodeType":"YulAssignment","src":"8831:18:52","value":{"name":"value4_1","nodeType":"YulIdentifier","src":"8841:8:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"8831:6:52"}]},{"nodeType":"YulAssignment","src":"8858:18:52","value":{"name":"value5_1","nodeType":"YulIdentifier","src":"8868:8:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"8858:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8142:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"8153:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"8165:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"8173:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"8181:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"8189:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"8197:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"8205:6:52","type":""}],"src":"8059:823:52"},{"body":{"nodeType":"YulBlock","src":"9089:965:52","statements":[{"body":{"nodeType":"YulBlock","src":"9136:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9145:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9148:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9138:6:52"},"nodeType":"YulFunctionCall","src":"9138:12:52"},"nodeType":"YulExpressionStatement","src":"9138:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"9110:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"9119:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"9106:3:52"},"nodeType":"YulFunctionCall","src":"9106:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"9131:3:52","type":"","value":"256"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"9102:3:52"},"nodeType":"YulFunctionCall","src":"9102:33:52"},"nodeType":"YulIf","src":"9099:53:52"},{"nodeType":"YulVariableDeclaration","src":"9161:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9187:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9174:12:52"},"nodeType":"YulFunctionCall","src":"9174:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"9165:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"9231:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"9206:24:52"},"nodeType":"YulFunctionCall","src":"9206:31:52"},"nodeType":"YulExpressionStatement","src":"9206:31:52"},{"nodeType":"YulAssignment","src":"9246:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"9256:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"9246:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"9270:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9302:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9313:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9298:3:52"},"nodeType":"YulFunctionCall","src":"9298:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9285:12:52"},"nodeType":"YulFunctionCall","src":"9285:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"9274:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"9351:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"9326:24:52"},"nodeType":"YulFunctionCall","src":"9326:33:52"},"nodeType":"YulExpressionStatement","src":"9326:33:52"},{"nodeType":"YulAssignment","src":"9368:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"9378:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"9368:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"9394:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9426:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9437:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9422:3:52"},"nodeType":"YulFunctionCall","src":"9422:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9409:12:52"},"nodeType":"YulFunctionCall","src":"9409:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"9398:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"9472:7:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"9450:21:52"},"nodeType":"YulFunctionCall","src":"9450:30:52"},"nodeType":"YulExpressionStatement","src":"9450:30:52"},{"nodeType":"YulAssignment","src":"9489:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"9499:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"9489:6:52"}]},{"nodeType":"YulAssignment","src":"9515:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9542:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9553:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9538:3:52"},"nodeType":"YulFunctionCall","src":"9538:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9525:12:52"},"nodeType":"YulFunctionCall","src":"9525:32:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"9515:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"9566:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9598:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9609:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9594:3:52"},"nodeType":"YulFunctionCall","src":"9594:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9581:12:52"},"nodeType":"YulFunctionCall","src":"9581:33:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"9570:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"9648:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"9623:24:52"},"nodeType":"YulFunctionCall","src":"9623:33:52"},"nodeType":"YulExpressionStatement","src":"9623:33:52"},{"nodeType":"YulAssignment","src":"9665:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"9675:7:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"9665:6:52"}]},{"nodeType":"YulAssignment","src":"9691:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9718:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9729:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9714:3:52"},"nodeType":"YulFunctionCall","src":"9714:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9701:12:52"},"nodeType":"YulFunctionCall","src":"9701:33:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"9691:6:52"}]},{"nodeType":"YulAssignment","src":"9743:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9770:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9781:3:52","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9766:3:52"},"nodeType":"YulFunctionCall","src":"9766:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9753:12:52"},"nodeType":"YulFunctionCall","src":"9753:33:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"9743:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"9795:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9826:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"9837:3:52","type":"","value":"224"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9822:3:52"},"nodeType":"YulFunctionCall","src":"9822:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9809:12:52"},"nodeType":"YulFunctionCall","src":"9809:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"9799:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"9885:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9894:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9897:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9887:6:52"},"nodeType":"YulFunctionCall","src":"9887:12:52"},"nodeType":"YulExpressionStatement","src":"9887:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"9857:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"9865:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"9854:2:52"},"nodeType":"YulFunctionCall","src":"9854:30:52"},"nodeType":"YulIf","src":"9851:50:52"},{"nodeType":"YulVariableDeclaration","src":"9910:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9966:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"9977:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9962:3:52"},"nodeType":"YulFunctionCall","src":"9962:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"9986:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"9936:25:52"},"nodeType":"YulFunctionCall","src":"9936:58:52"},"variables":[{"name":"value7_1","nodeType":"YulTypedName","src":"9914:8:52","type":""},{"name":"value8_1","nodeType":"YulTypedName","src":"9924:8:52","type":""}]},{"nodeType":"YulAssignment","src":"10003:18:52","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"10013:8:52"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"10003:6:52"}]},{"nodeType":"YulAssignment","src":"10030:18:52","value":{"name":"value8_1","nodeType":"YulIdentifier","src":"10040:8:52"},"variableNames":[{"name":"value8","nodeType":"YulIdentifier","src":"10030:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_int256t_int256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8991:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"9002:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"9014:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"9022:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"9030:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"9038:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"9046:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"9054:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"9062:6:52","type":""},{"name":"value7","nodeType":"YulTypedName","src":"9070:6:52","type":""},{"name":"value8","nodeType":"YulTypedName","src":"9078:6:52","type":""}],"src":"8887:1167:52"},{"body":{"nodeType":"YulBlock","src":"10146:161:52","statements":[{"body":{"nodeType":"YulBlock","src":"10192:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"10201:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"10204:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"10194:6:52"},"nodeType":"YulFunctionCall","src":"10194:12:52"},"nodeType":"YulExpressionStatement","src":"10194:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"10167:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"10176:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"10163:3:52"},"nodeType":"YulFunctionCall","src":"10163:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"10188:2:52","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"10159:3:52"},"nodeType":"YulFunctionCall","src":"10159:32:52"},"nodeType":"YulIf","src":"10156:52:52"},{"nodeType":"YulAssignment","src":"10217:33:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10240:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"10227:12:52"},"nodeType":"YulFunctionCall","src":"10227:23:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"10217:6:52"}]},{"nodeType":"YulAssignment","src":"10259:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10286:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"10297:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10282:3:52"},"nodeType":"YulFunctionCall","src":"10282:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"10269:12:52"},"nodeType":"YulFunctionCall","src":"10269:32:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"10259:6:52"}]}]},"name":"abi_decode_tuple_t_uint256t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10104:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"10115:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"10127:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"10135:6:52","type":""}],"src":"10059:248:52"},{"body":{"nodeType":"YulBlock","src":"10483:691:52","statements":[{"nodeType":"YulVariableDeclaration","src":"10493:12:52","value":{"kind":"number","nodeType":"YulLiteral","src":"10503:2:52","type":"","value":"32"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"10497:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10514:32:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10532:9:52"},{"name":"_1","nodeType":"YulIdentifier","src":"10543:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10528:3:52"},"nodeType":"YulFunctionCall","src":"10528:18:52"},"variables":[{"name":"tail_1","nodeType":"YulTypedName","src":"10518:6:52","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10562:9:52"},{"name":"_1","nodeType":"YulIdentifier","src":"10573:2:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10555:6:52"},"nodeType":"YulFunctionCall","src":"10555:21:52"},"nodeType":"YulExpressionStatement","src":"10555:21:52"},{"nodeType":"YulVariableDeclaration","src":"10585:17:52","value":{"name":"tail_1","nodeType":"YulIdentifier","src":"10596:6:52"},"variables":[{"name":"pos","nodeType":"YulTypedName","src":"10589:3:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10611:27:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10631:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"10625:5:52"},"nodeType":"YulFunctionCall","src":"10625:13:52"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"10615:6:52","type":""}]},{"expression":{"arguments":[{"name":"tail_1","nodeType":"YulIdentifier","src":"10654:6:52"},{"name":"length","nodeType":"YulIdentifier","src":"10662:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10647:6:52"},"nodeType":"YulFunctionCall","src":"10647:22:52"},"nodeType":"YulExpressionStatement","src":"10647:22:52"},{"nodeType":"YulAssignment","src":"10678:25:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10689:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"10700:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10685:3:52"},"nodeType":"YulFunctionCall","src":"10685:18:52"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"10678:3:52"}]},{"nodeType":"YulVariableDeclaration","src":"10712:53:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10734:9:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"10749:1:52","type":"","value":"5"},{"name":"length","nodeType":"YulIdentifier","src":"10752:6:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"10745:3:52"},"nodeType":"YulFunctionCall","src":"10745:14:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10730:3:52"},"nodeType":"YulFunctionCall","src":"10730:30:52"},{"kind":"number","nodeType":"YulLiteral","src":"10762:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10726:3:52"},"nodeType":"YulFunctionCall","src":"10726:39:52"},"variables":[{"name":"tail_2","nodeType":"YulTypedName","src":"10716:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10774:29:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10792:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"10800:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10788:3:52"},"nodeType":"YulFunctionCall","src":"10788:15:52"},"variables":[{"name":"srcPtr","nodeType":"YulTypedName","src":"10778:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10812:10:52","value":{"kind":"number","nodeType":"YulLiteral","src":"10821:1:52","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"10816:1:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"10880:265:52","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"10901:3:52"},{"arguments":[{"arguments":[{"name":"tail_2","nodeType":"YulIdentifier","src":"10914:6:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"10922:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"10910:3:52"},"nodeType":"YulFunctionCall","src":"10910:22:52"},{"kind":"number","nodeType":"YulLiteral","src":"10934:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10906:3:52"},"nodeType":"YulFunctionCall","src":"10906:95:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10894:6:52"},"nodeType":"YulFunctionCall","src":"10894:108:52"},"nodeType":"YulExpressionStatement","src":"10894:108:52"},{"nodeType":"YulAssignment","src":"11015:50:52","value":{"arguments":[{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"11049:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"11043:5:52"},"nodeType":"YulFunctionCall","src":"11043:13:52"},{"name":"tail_2","nodeType":"YulIdentifier","src":"11058:6:52"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"11025:17:52"},"nodeType":"YulFunctionCall","src":"11025:40:52"},"variableNames":[{"name":"tail_2","nodeType":"YulIdentifier","src":"11015:6:52"}]},{"nodeType":"YulAssignment","src":"11078:25:52","value":{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"11092:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"11100:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11088:3:52"},"nodeType":"YulFunctionCall","src":"11088:15:52"},"variableNames":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"11078:6:52"}]},{"nodeType":"YulAssignment","src":"11116:19:52","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"11127:3:52"},{"name":"_1","nodeType":"YulIdentifier","src":"11132:2:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11123:3:52"},"nodeType":"YulFunctionCall","src":"11123:12:52"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"11116:3:52"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"10842:1:52"},{"name":"length","nodeType":"YulIdentifier","src":"10845:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"10839:2:52"},"nodeType":"YulFunctionCall","src":"10839:13:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"10853:18:52","statements":[{"nodeType":"YulAssignment","src":"10855:14:52","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"10864:1:52"},{"kind":"number","nodeType":"YulLiteral","src":"10867:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10860:3:52"},"nodeType":"YulFunctionCall","src":"10860:9:52"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"10855:1:52"}]}]},"pre":{"nodeType":"YulBlock","src":"10835:3:52","statements":[]},"src":"10831:314:52"},{"nodeType":"YulAssignment","src":"11154:14:52","value":{"name":"tail_2","nodeType":"YulIdentifier","src":"11162:6:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"11154:4:52"}]}]},"name":"abi_encode_tuple_t_array$_t_string_memory_ptr_$dyn_memory_ptr__to_t_array$_t_string_memory_ptr_$dyn_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10452:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"10463:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10474:4:52","type":""}],"src":"10312:862:52"},{"body":{"nodeType":"YulBlock","src":"11249:177:52","statements":[{"body":{"nodeType":"YulBlock","src":"11295:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"11304:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"11307:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"11297:6:52"},"nodeType":"YulFunctionCall","src":"11297:12:52"},"nodeType":"YulExpressionStatement","src":"11297:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"11270:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"11279:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"11266:3:52"},"nodeType":"YulFunctionCall","src":"11266:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"11291:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"11262:3:52"},"nodeType":"YulFunctionCall","src":"11262:32:52"},"nodeType":"YulIf","src":"11259:52:52"},{"nodeType":"YulVariableDeclaration","src":"11320:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11346:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11333:12:52"},"nodeType":"YulFunctionCall","src":"11333:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"11324:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"11390:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"11365:24:52"},"nodeType":"YulFunctionCall","src":"11365:31:52"},"nodeType":"YulExpressionStatement","src":"11365:31:52"},{"nodeType":"YulAssignment","src":"11405:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"11415:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"11405:6:52"}]}]},"name":"abi_decode_tuple_t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11215:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"11226:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"11238:6:52","type":""}],"src":"11179:247:52"},{"body":{"nodeType":"YulBlock","src":"11634:969:52","statements":[{"body":{"nodeType":"YulBlock","src":"11681:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"11690:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"11693:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"11683:6:52"},"nodeType":"YulFunctionCall","src":"11683:12:52"},"nodeType":"YulExpressionStatement","src":"11683:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"11655:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"11664:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"11651:3:52"},"nodeType":"YulFunctionCall","src":"11651:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"11676:3:52","type":"","value":"256"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"11647:3:52"},"nodeType":"YulFunctionCall","src":"11647:33:52"},"nodeType":"YulIf","src":"11644:53:52"},{"nodeType":"YulVariableDeclaration","src":"11706:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11732:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11719:12:52"},"nodeType":"YulFunctionCall","src":"11719:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"11710:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"11776:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"11751:24:52"},"nodeType":"YulFunctionCall","src":"11751:31:52"},"nodeType":"YulExpressionStatement","src":"11751:31:52"},{"nodeType":"YulAssignment","src":"11791:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"11801:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"11791:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"11815:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11847:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"11858:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11843:3:52"},"nodeType":"YulFunctionCall","src":"11843:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11830:12:52"},"nodeType":"YulFunctionCall","src":"11830:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"11819:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"11896:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"11871:24:52"},"nodeType":"YulFunctionCall","src":"11871:33:52"},"nodeType":"YulExpressionStatement","src":"11871:33:52"},{"nodeType":"YulAssignment","src":"11913:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"11923:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"11913:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"11939:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11971:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"11982:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11967:3:52"},"nodeType":"YulFunctionCall","src":"11967:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11954:12:52"},"nodeType":"YulFunctionCall","src":"11954:32:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"11943:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"12018:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"11995:22:52"},"nodeType":"YulFunctionCall","src":"11995:31:52"},"nodeType":"YulExpressionStatement","src":"11995:31:52"},{"nodeType":"YulAssignment","src":"12035:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"12045:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"12035:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"12061:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12093:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"12104:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12089:3:52"},"nodeType":"YulFunctionCall","src":"12089:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12076:12:52"},"nodeType":"YulFunctionCall","src":"12076:32:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"12065:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"12140:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"12117:22:52"},"nodeType":"YulFunctionCall","src":"12117:31:52"},"nodeType":"YulExpressionStatement","src":"12117:31:52"},{"nodeType":"YulAssignment","src":"12157:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"12167:7:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"12157:6:52"}]},{"nodeType":"YulAssignment","src":"12183:48:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12215:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"12226:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12211:3:52"},"nodeType":"YulFunctionCall","src":"12211:19:52"}],"functionName":{"name":"abi_decode_int128","nodeType":"YulIdentifier","src":"12193:17:52"},"nodeType":"YulFunctionCall","src":"12193:38:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"12183:6:52"}]},{"nodeType":"YulAssignment","src":"12240:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12267:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"12278:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12263:3:52"},"nodeType":"YulFunctionCall","src":"12263:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12250:12:52"},"nodeType":"YulFunctionCall","src":"12250:33:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"12240:6:52"}]},{"nodeType":"YulAssignment","src":"12292:43:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12319:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"12330:3:52","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12315:3:52"},"nodeType":"YulFunctionCall","src":"12315:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12302:12:52"},"nodeType":"YulFunctionCall","src":"12302:33:52"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"12292:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"12344:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12375:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"12386:3:52","type":"","value":"224"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12371:3:52"},"nodeType":"YulFunctionCall","src":"12371:19:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12358:12:52"},"nodeType":"YulFunctionCall","src":"12358:33:52"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"12348:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"12434:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12443:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"12446:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"12436:6:52"},"nodeType":"YulFunctionCall","src":"12436:12:52"},"nodeType":"YulExpressionStatement","src":"12436:12:52"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"12406:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"12414:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"12403:2:52"},"nodeType":"YulFunctionCall","src":"12403:30:52"},"nodeType":"YulIf","src":"12400:50:52"},{"nodeType":"YulVariableDeclaration","src":"12459:84:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12515:9:52"},{"name":"offset","nodeType":"YulIdentifier","src":"12526:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12511:3:52"},"nodeType":"YulFunctionCall","src":"12511:22:52"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"12535:7:52"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"12485:25:52"},"nodeType":"YulFunctionCall","src":"12485:58:52"},"variables":[{"name":"value7_1","nodeType":"YulTypedName","src":"12463:8:52","type":""},{"name":"value8_1","nodeType":"YulTypedName","src":"12473:8:52","type":""}]},{"nodeType":"YulAssignment","src":"12552:18:52","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"12562:8:52"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"12552:6:52"}]},{"nodeType":"YulAssignment","src":"12579:18:52","value":{"name":"value8_1","nodeType":"YulIdentifier","src":"12589:8:52"},"variableNames":[{"name":"value8","nodeType":"YulIdentifier","src":"12579:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_uint256t_uint256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11536:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"11547:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"11559:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"11567:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"11575:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"11583:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"11591:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"11599:6:52","type":""},{"name":"value6","nodeType":"YulTypedName","src":"11607:6:52","type":""},{"name":"value7","nodeType":"YulTypedName","src":"11615:6:52","type":""},{"name":"value8","nodeType":"YulTypedName","src":"11623:6:52","type":""}],"src":"11431:1172:52"},{"body":{"nodeType":"YulBlock","src":"12712:352:52","statements":[{"body":{"nodeType":"YulBlock","src":"12758:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12767:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"12770:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"12760:6:52"},"nodeType":"YulFunctionCall","src":"12760:12:52"},"nodeType":"YulExpressionStatement","src":"12760:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"12733:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"12742:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"12729:3:52"},"nodeType":"YulFunctionCall","src":"12729:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"12754:2:52","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"12725:3:52"},"nodeType":"YulFunctionCall","src":"12725:32:52"},"nodeType":"YulIf","src":"12722:52:52"},{"nodeType":"YulVariableDeclaration","src":"12783:36:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12809:9:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12796:12:52"},"nodeType":"YulFunctionCall","src":"12796:23:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"12787:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"12853:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"12828:24:52"},"nodeType":"YulFunctionCall","src":"12828:31:52"},"nodeType":"YulExpressionStatement","src":"12828:31:52"},{"nodeType":"YulAssignment","src":"12868:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"12878:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"12868:6:52"}]},{"nodeType":"YulAssignment","src":"12892:42:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12919:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"12930:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12915:3:52"},"nodeType":"YulFunctionCall","src":"12915:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12902:12:52"},"nodeType":"YulFunctionCall","src":"12902:32:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"12892:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"12943:47:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12975:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"12986:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12971:3:52"},"nodeType":"YulFunctionCall","src":"12971:18:52"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12958:12:52"},"nodeType":"YulFunctionCall","src":"12958:32:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"12947:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"13024:7:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"12999:24:52"},"nodeType":"YulFunctionCall","src":"12999:33:52"},"nodeType":"YulExpressionStatement","src":"12999:33:52"},{"nodeType":"YulAssignment","src":"13041:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"13051:7:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"13041:6:52"}]}]},"name":"abi_decode_tuple_t_addresst_uint256t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"12662:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"12673:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"12685:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"12693:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"12701:6:52","type":""}],"src":"12608:456:52"},{"body":{"nodeType":"YulBlock","src":"13124:382:52","statements":[{"nodeType":"YulAssignment","src":"13134:22:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13148:1:52","type":"","value":"1"},{"name":"data","nodeType":"YulIdentifier","src":"13151:4:52"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"13144:3:52"},"nodeType":"YulFunctionCall","src":"13144:12:52"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"13134:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"13165:38:52","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"13195:4:52"},{"kind":"number","nodeType":"YulLiteral","src":"13201:1:52","type":"","value":"1"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"13191:3:52"},"nodeType":"YulFunctionCall","src":"13191:12:52"},"variables":[{"name":"outOfPlaceEncoding","nodeType":"YulTypedName","src":"13169:18:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"13242:31:52","statements":[{"nodeType":"YulAssignment","src":"13244:27:52","value":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"13258:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"13266:4:52","type":"","value":"0x7f"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"13254:3:52"},"nodeType":"YulFunctionCall","src":"13254:17:52"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"13244:6:52"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"13222:18:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"13215:6:52"},"nodeType":"YulFunctionCall","src":"13215:26:52"},"nodeType":"YulIf","src":"13212:61:52"},{"body":{"nodeType":"YulBlock","src":"13332:168:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13353:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13356:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13346:6:52"},"nodeType":"YulFunctionCall","src":"13346:88:52"},"nodeType":"YulExpressionStatement","src":"13346:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13454:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"13457:4:52","type":"","value":"0x22"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13447:6:52"},"nodeType":"YulFunctionCall","src":"13447:15:52"},"nodeType":"YulExpressionStatement","src":"13447:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13482:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13485:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"13475:6:52"},"nodeType":"YulFunctionCall","src":"13475:15:52"},"nodeType":"YulExpressionStatement","src":"13475:15:52"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"13288:18:52"},{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"13311:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"13319:2:52","type":"","value":"32"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"13308:2:52"},"nodeType":"YulFunctionCall","src":"13308:14:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"13285:2:52"},"nodeType":"YulFunctionCall","src":"13285:38:52"},"nodeType":"YulIf","src":"13282:218:52"}]},"name":"extract_byte_array_length","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"13104:4:52","type":""}],"returnVariables":[{"name":"length","nodeType":"YulTypedName","src":"13113:6:52","type":""}],"src":"13069:437:52"},{"body":{"nodeType":"YulBlock","src":"13685:236:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13702:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"13713:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13695:6:52"},"nodeType":"YulFunctionCall","src":"13695:21:52"},"nodeType":"YulExpressionStatement","src":"13695:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13736:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"13747:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13732:3:52"},"nodeType":"YulFunctionCall","src":"13732:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"13752:2:52","type":"","value":"46"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13725:6:52"},"nodeType":"YulFunctionCall","src":"13725:30:52"},"nodeType":"YulExpressionStatement","src":"13725:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13775:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"13786:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13771:3:52"},"nodeType":"YulFunctionCall","src":"13771:18:52"},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320616c726561","kind":"string","nodeType":"YulLiteral","src":"13791:34:52","type":"","value":"Initializable: contract is alrea"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13764:6:52"},"nodeType":"YulFunctionCall","src":"13764:62:52"},"nodeType":"YulExpressionStatement","src":"13764:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13846:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"13857:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13842:3:52"},"nodeType":"YulFunctionCall","src":"13842:18:52"},{"hexValue":"647920696e697469616c697a6564","kind":"string","nodeType":"YulLiteral","src":"13862:16:52","type":"","value":"dy initialized"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13835:6:52"},"nodeType":"YulFunctionCall","src":"13835:44:52"},"nodeType":"YulExpressionStatement","src":"13835:44:52"},{"nodeType":"YulAssignment","src":"13888:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13900:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"13911:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13896:3:52"},"nodeType":"YulFunctionCall","src":"13896:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"13888:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"13662:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"13676:4:52","type":""}],"src":"13511:410:52"},{"body":{"nodeType":"YulBlock","src":"13958:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13975:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13978:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13968:6:52"},"nodeType":"YulFunctionCall","src":"13968:88:52"},"nodeType":"YulExpressionStatement","src":"13968:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14072:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"14075:4:52","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14065:6:52"},"nodeType":"YulFunctionCall","src":"14065:15:52"},"nodeType":"YulExpressionStatement","src":"14065:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14096:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"14099:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"14089:6:52"},"nodeType":"YulFunctionCall","src":"14089:15:52"},"nodeType":"YulExpressionStatement","src":"14089:15:52"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"13926:184:52"},{"body":{"nodeType":"YulBlock","src":"14171:65:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14188:1:52","type":"","value":"0"},{"name":"ptr","nodeType":"YulIdentifier","src":"14191:3:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14181:6:52"},"nodeType":"YulFunctionCall","src":"14181:14:52"},"nodeType":"YulExpressionStatement","src":"14181:14:52"},{"nodeType":"YulAssignment","src":"14204:26:52","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14222:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"14225:4:52","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"14212:9:52"},"nodeType":"YulFunctionCall","src":"14212:18:52"},"variableNames":[{"name":"data","nodeType":"YulIdentifier","src":"14204:4:52"}]}]},"name":"array_dataslot_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"ptr","nodeType":"YulTypedName","src":"14154:3:52","type":""}],"returnVariables":[{"name":"data","nodeType":"YulTypedName","src":"14162:4:52","type":""}],"src":"14115:121:52"},{"body":{"nodeType":"YulBlock","src":"14322:464:52","statements":[{"body":{"nodeType":"YulBlock","src":"14355:425:52","statements":[{"nodeType":"YulVariableDeclaration","src":"14369:11:52","value":{"kind":"number","nodeType":"YulLiteral","src":"14379:1:52","type":"","value":"0"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"14373:2:52","type":""}]},{"expression":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"14400:2:52"},{"name":"array","nodeType":"YulIdentifier","src":"14404:5:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14393:6:52"},"nodeType":"YulFunctionCall","src":"14393:17:52"},"nodeType":"YulExpressionStatement","src":"14393:17:52"},{"nodeType":"YulVariableDeclaration","src":"14423:31:52","value":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"14445:2:52"},{"kind":"number","nodeType":"YulLiteral","src":"14449:4:52","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"14435:9:52"},"nodeType":"YulFunctionCall","src":"14435:19:52"},"variables":[{"name":"data","nodeType":"YulTypedName","src":"14427:4:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"14467:57:52","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"14490:4:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14500:1:52","type":"","value":"5"},{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"14507:10:52"},{"kind":"number","nodeType":"YulLiteral","src":"14519:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14503:3:52"},"nodeType":"YulFunctionCall","src":"14503:19:52"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"14496:3:52"},"nodeType":"YulFunctionCall","src":"14496:27:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14486:3:52"},"nodeType":"YulFunctionCall","src":"14486:38:52"},"variables":[{"name":"deleteStart","nodeType":"YulTypedName","src":"14471:11:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"14561:23:52","statements":[{"nodeType":"YulAssignment","src":"14563:19:52","value":{"name":"data","nodeType":"YulIdentifier","src":"14578:4:52"},"variableNames":[{"name":"deleteStart","nodeType":"YulIdentifier","src":"14563:11:52"}]}]},"condition":{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"14543:10:52"},{"kind":"number","nodeType":"YulLiteral","src":"14555:4:52","type":"","value":"0x20"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"14540:2:52"},"nodeType":"YulFunctionCall","src":"14540:20:52"},"nodeType":"YulIf","src":"14537:47:52"},{"nodeType":"YulVariableDeclaration","src":"14597:41:52","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"14611:4:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14621:1:52","type":"","value":"5"},{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"14628:3:52"},{"kind":"number","nodeType":"YulLiteral","src":"14633:2:52","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14624:3:52"},"nodeType":"YulFunctionCall","src":"14624:12:52"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"14617:3:52"},"nodeType":"YulFunctionCall","src":"14617:20:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14607:3:52"},"nodeType":"YulFunctionCall","src":"14607:31:52"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"14601:2:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"14651:24:52","value":{"name":"deleteStart","nodeType":"YulIdentifier","src":"14664:11:52"},"variables":[{"name":"start","nodeType":"YulTypedName","src":"14655:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"14749:21:52","statements":[{"expression":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"14758:5:52"},{"name":"_1","nodeType":"YulIdentifier","src":"14765:2:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"14751:6:52"},"nodeType":"YulFunctionCall","src":"14751:17:52"},"nodeType":"YulExpressionStatement","src":"14751:17:52"}]},"condition":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"14699:5:52"},{"name":"_2","nodeType":"YulIdentifier","src":"14706:2:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"14696:2:52"},"nodeType":"YulFunctionCall","src":"14696:13:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"14710:26:52","statements":[{"nodeType":"YulAssignment","src":"14712:22:52","value":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"14725:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"14732:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14721:3:52"},"nodeType":"YulFunctionCall","src":"14721:13:52"},"variableNames":[{"name":"start","nodeType":"YulIdentifier","src":"14712:5:52"}]}]},"pre":{"nodeType":"YulBlock","src":"14692:3:52","statements":[]},"src":"14688:82:52"}]},"condition":{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"14338:3:52"},{"kind":"number","nodeType":"YulLiteral","src":"14343:2:52","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"14335:2:52"},"nodeType":"YulFunctionCall","src":"14335:11:52"},"nodeType":"YulIf","src":"14332:448:52"}]},"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"array","nodeType":"YulTypedName","src":"14294:5:52","type":""},{"name":"len","nodeType":"YulTypedName","src":"14301:3:52","type":""},{"name":"startIndex","nodeType":"YulTypedName","src":"14306:10:52","type":""}],"src":"14241:545:52"},{"body":{"nodeType":"YulBlock","src":"14876:141:52","statements":[{"nodeType":"YulAssignment","src":"14886:125:52","value":{"arguments":[{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"14901:4:52"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14919:1:52","type":"","value":"3"},{"name":"len","nodeType":"YulIdentifier","src":"14922:3:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"14915:3:52"},"nodeType":"YulFunctionCall","src":"14915:11:52"},{"kind":"number","nodeType":"YulLiteral","src":"14928:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"14911:3:52"},"nodeType":"YulFunctionCall","src":"14911:84:52"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"14907:3:52"},"nodeType":"YulFunctionCall","src":"14907:89:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"14897:3:52"},"nodeType":"YulFunctionCall","src":"14897:100:52"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15003:1:52","type":"","value":"1"},{"name":"len","nodeType":"YulIdentifier","src":"15006:3:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"14999:3:52"},"nodeType":"YulFunctionCall","src":"14999:11:52"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"14894:2:52"},"nodeType":"YulFunctionCall","src":"14894:117:52"},"variableNames":[{"name":"used","nodeType":"YulIdentifier","src":"14886:4:52"}]}]},"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"14853:4:52","type":""},{"name":"len","nodeType":"YulTypedName","src":"14859:3:52","type":""}],"returnVariables":[{"name":"used","nodeType":"YulTypedName","src":"14867:4:52","type":""}],"src":"14791:226:52"},{"body":{"nodeType":"YulBlock","src":"15118:1375:52","statements":[{"nodeType":"YulVariableDeclaration","src":"15128:24:52","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"15148:3:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"15142:5:52"},"nodeType":"YulFunctionCall","src":"15142:10:52"},"variables":[{"name":"newLen","nodeType":"YulTypedName","src":"15132:6:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"15195:22:52","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"15197:16:52"},"nodeType":"YulFunctionCall","src":"15197:18:52"},"nodeType":"YulExpressionStatement","src":"15197:18:52"}]},"condition":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"15167:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"15175:18:52","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"15164:2:52"},"nodeType":"YulFunctionCall","src":"15164:30:52"},"nodeType":"YulIf","src":"15161:56:52"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"15270:4:52"},{"arguments":[{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"15308:4:52"}],"functionName":{"name":"sload","nodeType":"YulIdentifier","src":"15302:5:52"},"nodeType":"YulFunctionCall","src":"15302:11:52"}],"functionName":{"name":"extract_byte_array_length","nodeType":"YulIdentifier","src":"15276:25:52"},"nodeType":"YulFunctionCall","src":"15276:38:52"},{"name":"newLen","nodeType":"YulIdentifier","src":"15316:6:52"}],"functionName":{"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulIdentifier","src":"15226:43:52"},"nodeType":"YulFunctionCall","src":"15226:97:52"},"nodeType":"YulExpressionStatement","src":"15226:97:52"},{"nodeType":"YulVariableDeclaration","src":"15332:18:52","value":{"kind":"number","nodeType":"YulLiteral","src":"15349:1:52","type":"","value":"0"},"variables":[{"name":"srcOffset","nodeType":"YulTypedName","src":"15336:9:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"15359:23:52","value":{"kind":"number","nodeType":"YulLiteral","src":"15378:4:52","type":"","value":"0x20"},"variables":[{"name":"srcOffset_1","nodeType":"YulTypedName","src":"15363:11:52","type":""}]},{"nodeType":"YulAssignment","src":"15391:24:52","value":{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"15404:11:52"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"15391:9:52"}]},{"cases":[{"body":{"nodeType":"YulBlock","src":"15461:775:52","statements":[{"nodeType":"YulVariableDeclaration","src":"15475:94:52","value":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"15494:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"15502:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"15490:3:52"},"nodeType":"YulFunctionCall","src":"15490:79:52"},"variables":[{"name":"loopEnd","nodeType":"YulTypedName","src":"15479:7:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"15582:49:52","value":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"15626:4:52"}],"functionName":{"name":"array_dataslot_string_storage","nodeType":"YulIdentifier","src":"15596:29:52"},"nodeType":"YulFunctionCall","src":"15596:35:52"},"variables":[{"name":"dstPtr","nodeType":"YulTypedName","src":"15586:6:52","type":""}]},{"nodeType":"YulVariableDeclaration","src":"15644:10:52","value":{"kind":"number","nodeType":"YulLiteral","src":"15653:1:52","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"15648:1:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"15731:172:52","statements":[{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"15756:6:52"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"15774:3:52"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"15779:9:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15770:3:52"},"nodeType":"YulFunctionCall","src":"15770:19:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"15764:5:52"},"nodeType":"YulFunctionCall","src":"15764:26:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"15749:6:52"},"nodeType":"YulFunctionCall","src":"15749:42:52"},"nodeType":"YulExpressionStatement","src":"15749:42:52"},{"nodeType":"YulAssignment","src":"15808:24:52","value":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"15822:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"15830:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15818:3:52"},"nodeType":"YulFunctionCall","src":"15818:14:52"},"variableNames":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"15808:6:52"}]},{"nodeType":"YulAssignment","src":"15849:40:52","value":{"arguments":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"15866:9:52"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"15877:11:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15862:3:52"},"nodeType":"YulFunctionCall","src":"15862:27:52"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"15849:9:52"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"15678:1:52"},{"name":"loopEnd","nodeType":"YulIdentifier","src":"15681:7:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"15675:2:52"},"nodeType":"YulFunctionCall","src":"15675:14:52"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"15690:28:52","statements":[{"nodeType":"YulAssignment","src":"15692:24:52","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"15701:1:52"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"15704:11:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15697:3:52"},"nodeType":"YulFunctionCall","src":"15697:19:52"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"15692:1:52"}]}]},"pre":{"nodeType":"YulBlock","src":"15671:3:52","statements":[]},"src":"15667:236:52"},{"body":{"nodeType":"YulBlock","src":"15951:226:52","statements":[{"nodeType":"YulVariableDeclaration","src":"15969:43:52","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"15996:3:52"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"16001:9:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15992:3:52"},"nodeType":"YulFunctionCall","src":"15992:19:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"15986:5:52"},"nodeType":"YulFunctionCall","src":"15986:26:52"},"variables":[{"name":"lastValue","nodeType":"YulTypedName","src":"15973:9:52","type":""}]},{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"16036:6:52"},{"arguments":[{"name":"lastValue","nodeType":"YulIdentifier","src":"16048:9:52"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16075:1:52","type":"","value":"3"},{"name":"newLen","nodeType":"YulIdentifier","src":"16078:6:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"16071:3:52"},"nodeType":"YulFunctionCall","src":"16071:14:52"},{"kind":"number","nodeType":"YulLiteral","src":"16087:3:52","type":"","value":"248"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16067:3:52"},"nodeType":"YulFunctionCall","src":"16067:24:52"},{"kind":"number","nodeType":"YulLiteral","src":"16093:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"16063:3:52"},"nodeType":"YulFunctionCall","src":"16063:97:52"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"16059:3:52"},"nodeType":"YulFunctionCall","src":"16059:102:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16044:3:52"},"nodeType":"YulFunctionCall","src":"16044:118:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"16029:6:52"},"nodeType":"YulFunctionCall","src":"16029:134:52"},"nodeType":"YulExpressionStatement","src":"16029:134:52"}]},"condition":{"arguments":[{"name":"loopEnd","nodeType":"YulIdentifier","src":"15922:7:52"},{"name":"newLen","nodeType":"YulIdentifier","src":"15931:6:52"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"15919:2:52"},"nodeType":"YulFunctionCall","src":"15919:19:52"},"nodeType":"YulIf","src":"15916:261:52"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"16197:4:52"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16211:1:52","type":"","value":"1"},{"name":"newLen","nodeType":"YulIdentifier","src":"16214:6:52"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"16207:3:52"},"nodeType":"YulFunctionCall","src":"16207:14:52"},{"kind":"number","nodeType":"YulLiteral","src":"16223:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16203:3:52"},"nodeType":"YulFunctionCall","src":"16203:22:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"16190:6:52"},"nodeType":"YulFunctionCall","src":"16190:36:52"},"nodeType":"YulExpressionStatement","src":"16190:36:52"}]},"nodeType":"YulCase","src":"15454:782:52","value":{"kind":"number","nodeType":"YulLiteral","src":"15459:1:52","type":"","value":"1"}},{"body":{"nodeType":"YulBlock","src":"16253:234:52","statements":[{"nodeType":"YulVariableDeclaration","src":"16267:14:52","value":{"kind":"number","nodeType":"YulLiteral","src":"16280:1:52","type":"","value":"0"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"16271:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"16316:67:52","statements":[{"nodeType":"YulAssignment","src":"16334:35:52","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"16353:3:52"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"16358:9:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16349:3:52"},"nodeType":"YulFunctionCall","src":"16349:19:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"16343:5:52"},"nodeType":"YulFunctionCall","src":"16343:26:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"16334:5:52"}]}]},"condition":{"name":"newLen","nodeType":"YulIdentifier","src":"16297:6:52"},"nodeType":"YulIf","src":"16294:89:52"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"16403:4:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"16462:5:52"},{"name":"newLen","nodeType":"YulIdentifier","src":"16469:6:52"}],"functionName":{"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulIdentifier","src":"16409:52:52"},"nodeType":"YulFunctionCall","src":"16409:67:52"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"16396:6:52"},"nodeType":"YulFunctionCall","src":"16396:81:52"},"nodeType":"YulExpressionStatement","src":"16396:81:52"}]},"nodeType":"YulCase","src":"16245:242:52","value":"default"}],"expression":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"15434:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"15442:2:52","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"15431:2:52"},"nodeType":"YulFunctionCall","src":"15431:14:52"},"nodeType":"YulSwitch","src":"15424:1063:52"}]},"name":"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"slot","nodeType":"YulTypedName","src":"15103:4:52","type":""},{"name":"src","nodeType":"YulTypedName","src":"15109:3:52","type":""}],"src":"15022:1471:52"},{"body":{"nodeType":"YulBlock","src":"16605:87:52","statements":[{"nodeType":"YulAssignment","src":"16615:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16627:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"16638:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16623:3:52"},"nodeType":"YulFunctionCall","src":"16623:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"16615:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16657:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"16672:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"16680:4:52","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16668:3:52"},"nodeType":"YulFunctionCall","src":"16668:17:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16650:6:52"},"nodeType":"YulFunctionCall","src":"16650:36:52"},"nodeType":"YulExpressionStatement","src":"16650:36:52"}]},"name":"abi_encode_tuple_t_rational_1_by_1__to_t_uint8__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"16574:9:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"16585:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"16596:4:52","type":""}],"src":"16498:194:52"},{"body":{"nodeType":"YulBlock","src":"16729:152:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16746:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"16749:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16739:6:52"},"nodeType":"YulFunctionCall","src":"16739:88:52"},"nodeType":"YulExpressionStatement","src":"16739:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16843:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"16846:4:52","type":"","value":"0x32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16836:6:52"},"nodeType":"YulFunctionCall","src":"16836:15:52"},"nodeType":"YulExpressionStatement","src":"16836:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16867:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"16870:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"16860:6:52"},"nodeType":"YulFunctionCall","src":"16860:15:52"},"nodeType":"YulExpressionStatement","src":"16860:15:52"}]},"name":"panic_error_0x32","nodeType":"YulFunctionDefinition","src":"16697:184:52"},{"body":{"nodeType":"YulBlock","src":"16933:302:52","statements":[{"body":{"nodeType":"YulBlock","src":"17032:168:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17053:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"17056:77:52","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"17046:6:52"},"nodeType":"YulFunctionCall","src":"17046:88:52"},"nodeType":"YulExpressionStatement","src":"17046:88:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17154:1:52","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"17157:4:52","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"17147:6:52"},"nodeType":"YulFunctionCall","src":"17147:15:52"},"nodeType":"YulExpressionStatement","src":"17147:15:52"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17182:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"17185:4:52","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"17175:6:52"},"nodeType":"YulFunctionCall","src":"17175:15:52"},"nodeType":"YulExpressionStatement","src":"17175:15:52"}]},"condition":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"16949:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"16956:66:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"16946:2:52"},"nodeType":"YulFunctionCall","src":"16946:77:52"},"nodeType":"YulIf","src":"16943:257:52"},{"nodeType":"YulAssignment","src":"17209:20:52","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"17220:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"17227:1:52","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17216:3:52"},"nodeType":"YulFunctionCall","src":"17216:13:52"},"variableNames":[{"name":"ret","nodeType":"YulIdentifier","src":"17209:3:52"}]}]},"name":"increment_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"16915:5:52","type":""}],"returnVariables":[{"name":"ret","nodeType":"YulTypedName","src":"16925:3:52","type":""}],"src":"16886:349:52"},{"body":{"nodeType":"YulBlock","src":"17414:173:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17431:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"17442:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"17424:6:52"},"nodeType":"YulFunctionCall","src":"17424:21:52"},"nodeType":"YulExpressionStatement","src":"17424:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17465:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"17476:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17461:3:52"},"nodeType":"YulFunctionCall","src":"17461:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"17481:2:52","type":"","value":"23"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"17454:6:52"},"nodeType":"YulFunctionCall","src":"17454:30:52"},"nodeType":"YulExpressionStatement","src":"17454:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17504:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"17515:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17500:3:52"},"nodeType":"YulFunctionCall","src":"17500:18:52"},{"hexValue":"4f6e6c7920706f6f6c2063616e2063616c6c2074686973","kind":"string","nodeType":"YulLiteral","src":"17520:25:52","type":"","value":"Only pool can call this"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"17493:6:52"},"nodeType":"YulFunctionCall","src":"17493:53:52"},"nodeType":"YulExpressionStatement","src":"17493:53:52"},{"nodeType":"YulAssignment","src":"17555:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"17567:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"17578:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17563:3:52"},"nodeType":"YulFunctionCall","src":"17563:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"17555:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"17391:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"17405:4:52","type":""}],"src":"17240:347:52"},{"body":{"nodeType":"YulBlock","src":"17651:104:52","statements":[{"nodeType":"YulAssignment","src":"17661:22:52","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"17676:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"17670:5:52"},"nodeType":"YulFunctionCall","src":"17670:13:52"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"17661:5:52"}]},{"body":{"nodeType":"YulBlock","src":"17733:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17742:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"17745:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"17735:6:52"},"nodeType":"YulFunctionCall","src":"17735:12:52"},"nodeType":"YulExpressionStatement","src":"17735:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"17705:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"17716:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"17723:6:52","type":"","value":"0xffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"17712:3:52"},"nodeType":"YulFunctionCall","src":"17712:18:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"17702:2:52"},"nodeType":"YulFunctionCall","src":"17702:29:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"17695:6:52"},"nodeType":"YulFunctionCall","src":"17695:37:52"},"nodeType":"YulIf","src":"17692:57:52"}]},"name":"abi_decode_uint16_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"17630:6:52","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"17641:5:52","type":""}],"src":"17592:163:52"},{"body":{"nodeType":"YulBlock","src":"17917:679:52","statements":[{"body":{"nodeType":"YulBlock","src":"17964:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17973:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"17976:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"17966:6:52"},"nodeType":"YulFunctionCall","src":"17966:12:52"},"nodeType":"YulExpressionStatement","src":"17966:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"17938:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"17947:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"17934:3:52"},"nodeType":"YulFunctionCall","src":"17934:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"17959:3:52","type":"","value":"192"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"17930:3:52"},"nodeType":"YulFunctionCall","src":"17930:33:52"},"nodeType":"YulIf","src":"17927:53:52"},{"nodeType":"YulVariableDeclaration","src":"17989:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18008:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"18002:5:52"},"nodeType":"YulFunctionCall","src":"18002:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"17993:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"18052:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"18027:24:52"},"nodeType":"YulFunctionCall","src":"18027:31:52"},"nodeType":"YulExpressionStatement","src":"18027:31:52"},{"nodeType":"YulAssignment","src":"18067:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"18077:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"18067:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"18091:40:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18116:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"18127:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18112:3:52"},"nodeType":"YulFunctionCall","src":"18112:18:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"18106:5:52"},"nodeType":"YulFunctionCall","src":"18106:25:52"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"18095:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"18163:7:52"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"18140:22:52"},"nodeType":"YulFunctionCall","src":"18140:31:52"},"nodeType":"YulExpressionStatement","src":"18140:31:52"},{"nodeType":"YulAssignment","src":"18180:17:52","value":{"name":"value_1","nodeType":"YulIdentifier","src":"18190:7:52"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"18180:6:52"}]},{"nodeType":"YulAssignment","src":"18206:58:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18249:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"18260:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18245:3:52"},"nodeType":"YulFunctionCall","src":"18245:18:52"}],"functionName":{"name":"abi_decode_uint16_fromMemory","nodeType":"YulIdentifier","src":"18216:28:52"},"nodeType":"YulFunctionCall","src":"18216:48:52"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"18206:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"18273:40:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18298:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"18309:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18294:3:52"},"nodeType":"YulFunctionCall","src":"18294:18:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"18288:5:52"},"nodeType":"YulFunctionCall","src":"18288:25:52"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"18277:7:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"18365:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"18374:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"18377:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"18367:6:52"},"nodeType":"YulFunctionCall","src":"18367:12:52"},"nodeType":"YulExpressionStatement","src":"18367:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"18335:7:52"},{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"18348:7:52"},{"kind":"number","nodeType":"YulLiteral","src":"18357:4:52","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"18344:3:52"},"nodeType":"YulFunctionCall","src":"18344:18:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"18332:2:52"},"nodeType":"YulFunctionCall","src":"18332:31:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"18325:6:52"},"nodeType":"YulFunctionCall","src":"18325:39:52"},"nodeType":"YulIf","src":"18322:59:52"},{"nodeType":"YulAssignment","src":"18390:17:52","value":{"name":"value_2","nodeType":"YulIdentifier","src":"18400:7:52"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"18390:6:52"}]},{"nodeType":"YulAssignment","src":"18416:59:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18459:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"18470:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18455:3:52"},"nodeType":"YulFunctionCall","src":"18455:19:52"}],"functionName":{"name":"abi_decode_uint16_fromMemory","nodeType":"YulIdentifier","src":"18426:28:52"},"nodeType":"YulFunctionCall","src":"18426:49:52"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"18416:6:52"}]},{"nodeType":"YulVariableDeclaration","src":"18484:41:52","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18509:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"18520:3:52","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18505:3:52"},"nodeType":"YulFunctionCall","src":"18505:19:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"18499:5:52"},"nodeType":"YulFunctionCall","src":"18499:26:52"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"18488:7:52","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"18556:7:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"18534:21:52"},"nodeType":"YulFunctionCall","src":"18534:30:52"},"nodeType":"YulExpressionStatement","src":"18534:30:52"},{"nodeType":"YulAssignment","src":"18573:17:52","value":{"name":"value_3","nodeType":"YulIdentifier","src":"18583:7:52"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"18573:6:52"}]}]},"name":"abi_decode_tuple_t_uint160t_int24t_uint16t_uint8t_uint16t_bool_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"17843:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"17854:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"17866:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"17874:6:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"17882:6:52","type":""},{"name":"value3","nodeType":"YulTypedName","src":"17890:6:52","type":""},{"name":"value4","nodeType":"YulTypedName","src":"17898:6:52","type":""},{"name":"value5","nodeType":"YulTypedName","src":"17906:6:52","type":""}],"src":"17760:836:52"},{"body":{"nodeType":"YulBlock","src":"18756:256:52","statements":[{"nodeType":"YulAssignment","src":"18766:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18778:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"18789:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18774:3:52"},"nodeType":"YulFunctionCall","src":"18774:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"18766:4:52"}]},{"nodeType":"YulVariableDeclaration","src":"18801:52:52","value":{"kind":"number","nodeType":"YulLiteral","src":"18811:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"18805:2:52","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18869:9:52"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"18884:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"18892:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"18880:3:52"},"nodeType":"YulFunctionCall","src":"18880:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18862:6:52"},"nodeType":"YulFunctionCall","src":"18862:34:52"},"nodeType":"YulExpressionStatement","src":"18862:34:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18916:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"18927:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18912:3:52"},"nodeType":"YulFunctionCall","src":"18912:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"18936:6:52"},{"name":"_1","nodeType":"YulIdentifier","src":"18944:2:52"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"18932:3:52"},"nodeType":"YulFunctionCall","src":"18932:15:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18905:6:52"},"nodeType":"YulFunctionCall","src":"18905:43:52"},"nodeType":"YulExpressionStatement","src":"18905:43:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"18968:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"18979:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18964:3:52"},"nodeType":"YulFunctionCall","src":"18964:18:52"},{"arguments":[{"name":"value2","nodeType":"YulIdentifier","src":"18988:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"18996:8:52","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"18984:3:52"},"nodeType":"YulFunctionCall","src":"18984:21:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"18957:6:52"},"nodeType":"YulFunctionCall","src":"18957:49:52"},"nodeType":"YulExpressionStatement","src":"18957:49:52"}]},"name":"abi_encode_tuple_t_address_t_address_t_uint24__to_t_address_t_address_t_uint24__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"18709:9:52","type":""},{"name":"value2","nodeType":"YulTypedName","src":"18720:6:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"18728:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"18736:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"18747:4:52","type":""}],"src":"18601:411:52"},{"body":{"nodeType":"YulBlock","src":"19154:150:52","statements":[{"nodeType":"YulVariableDeclaration","src":"19164:27:52","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"19184:6:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"19178:5:52"},"nodeType":"YulFunctionCall","src":"19178:13:52"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"19168:6:52","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"19239:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"19247:4:52","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19235:3:52"},"nodeType":"YulFunctionCall","src":"19235:17:52"},{"name":"pos","nodeType":"YulIdentifier","src":"19254:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"19259:6:52"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"19200:34:52"},"nodeType":"YulFunctionCall","src":"19200:66:52"},"nodeType":"YulExpressionStatement","src":"19200:66:52"},{"nodeType":"YulAssignment","src":"19275:23:52","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"19286:3:52"},{"name":"length","nodeType":"YulIdentifier","src":"19291:6:52"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19282:3:52"},"nodeType":"YulFunctionCall","src":"19282:16:52"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"19275:3:52"}]}]},"name":"abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"19130:3:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"19135:6:52","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"19146:3:52","type":""}],"src":"19017:287:52"},{"body":{"nodeType":"YulBlock","src":"19389:198:52","statements":[{"body":{"nodeType":"YulBlock","src":"19435:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"19444:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"19447:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"19437:6:52"},"nodeType":"YulFunctionCall","src":"19437:12:52"},"nodeType":"YulExpressionStatement","src":"19437:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"19410:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"19419:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"19406:3:52"},"nodeType":"YulFunctionCall","src":"19406:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"19431:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"19402:3:52"},"nodeType":"YulFunctionCall","src":"19402:32:52"},"nodeType":"YulIf","src":"19399:52:52"},{"nodeType":"YulVariableDeclaration","src":"19460:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19479:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"19473:5:52"},"nodeType":"YulFunctionCall","src":"19473:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"19464:5:52","type":""}]},{"body":{"nodeType":"YulBlock","src":"19541:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"19550:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"19553:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"19543:6:52"},"nodeType":"YulFunctionCall","src":"19543:12:52"},"nodeType":"YulExpressionStatement","src":"19543:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"19511:5:52"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"19522:5:52"},{"kind":"number","nodeType":"YulLiteral","src":"19529:8:52","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"19518:3:52"},"nodeType":"YulFunctionCall","src":"19518:20:52"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"19508:2:52"},"nodeType":"YulFunctionCall","src":"19508:31:52"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"19501:6:52"},"nodeType":"YulFunctionCall","src":"19501:39:52"},"nodeType":"YulIf","src":"19498:59:52"},{"nodeType":"YulAssignment","src":"19566:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"19576:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"19566:6:52"}]}]},"name":"abi_decode_tuple_t_uint24_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"19355:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"19366:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"19378:6:52","type":""}],"src":"19309:278:52"},{"body":{"nodeType":"YulBlock","src":"19766:233:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19783:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"19794:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19776:6:52"},"nodeType":"YulFunctionCall","src":"19776:21:52"},"nodeType":"YulExpressionStatement","src":"19776:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19817:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"19828:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19813:3:52"},"nodeType":"YulFunctionCall","src":"19813:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"19833:2:52","type":"","value":"43"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19806:6:52"},"nodeType":"YulFunctionCall","src":"19806:30:52"},"nodeType":"YulExpressionStatement","src":"19806:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19856:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"19867:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19852:3:52"},"nodeType":"YulFunctionCall","src":"19852:18:52"},{"hexValue":"496e697469616c697a61626c653a20636f6e7472616374206973206e6f742069","kind":"string","nodeType":"YulLiteral","src":"19872:34:52","type":"","value":"Initializable: contract is not i"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19845:6:52"},"nodeType":"YulFunctionCall","src":"19845:62:52"},"nodeType":"YulExpressionStatement","src":"19845:62:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19927:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"19938:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19923:3:52"},"nodeType":"YulFunctionCall","src":"19923:18:52"},{"hexValue":"6e697469616c697a696e67","kind":"string","nodeType":"YulLiteral","src":"19943:13:52","type":"","value":"nitializing"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19916:6:52"},"nodeType":"YulFunctionCall","src":"19916:41:52"},"nodeType":"YulExpressionStatement","src":"19916:41:52"},{"nodeType":"YulAssignment","src":"19966:27:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19978:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"19989:3:52","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19974:3:52"},"nodeType":"YulFunctionCall","src":"19974:19:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"19966:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"19743:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"19757:4:52","type":""}],"src":"19592:407:52"},{"body":{"nodeType":"YulBlock","src":"20133:168:52","statements":[{"nodeType":"YulAssignment","src":"20143:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20155:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"20166:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20151:3:52"},"nodeType":"YulFunctionCall","src":"20151:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"20143:4:52"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20185:9:52"},{"name":"value0","nodeType":"YulIdentifier","src":"20196:6:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20178:6:52"},"nodeType":"YulFunctionCall","src":"20178:25:52"},"nodeType":"YulExpressionStatement","src":"20178:25:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20223:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"20234:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20219:3:52"},"nodeType":"YulFunctionCall","src":"20219:18:52"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"20243:6:52"},{"kind":"number","nodeType":"YulLiteral","src":"20251:42:52","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"20239:3:52"},"nodeType":"YulFunctionCall","src":"20239:55:52"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20212:6:52"},"nodeType":"YulFunctionCall","src":"20212:83:52"},"nodeType":"YulExpressionStatement","src":"20212:83:52"}]},"name":"abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"20094:9:52","type":""},{"name":"value1","nodeType":"YulTypedName","src":"20105:6:52","type":""},{"name":"value0","nodeType":"YulTypedName","src":"20113:6:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"20124:4:52","type":""}],"src":"20004:297:52"},{"body":{"nodeType":"YulBlock","src":"20384:167:52","statements":[{"body":{"nodeType":"YulBlock","src":"20430:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"20439:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"20442:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"20432:6:52"},"nodeType":"YulFunctionCall","src":"20432:12:52"},"nodeType":"YulExpressionStatement","src":"20432:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"20405:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"20414:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"20401:3:52"},"nodeType":"YulFunctionCall","src":"20401:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"20426:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"20397:3:52"},"nodeType":"YulFunctionCall","src":"20397:32:52"},"nodeType":"YulIf","src":"20394:52:52"},{"nodeType":"YulVariableDeclaration","src":"20455:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20474:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"20468:5:52"},"nodeType":"YulFunctionCall","src":"20468:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"20459:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"20515:5:52"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"20493:21:52"},"nodeType":"YulFunctionCall","src":"20493:28:52"},"nodeType":"YulExpressionStatement","src":"20493:28:52"},{"nodeType":"YulAssignment","src":"20530:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"20540:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"20530:6:52"}]}]},"name":"abi_decode_tuple_t_bool_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"20350:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"20361:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"20373:6:52","type":""}],"src":"20306:245:52"},{"body":{"nodeType":"YulBlock","src":"20730:164:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20747:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"20758:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20740:6:52"},"nodeType":"YulFunctionCall","src":"20740:21:52"},"nodeType":"YulExpressionStatement","src":"20740:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20781:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"20792:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20777:3:52"},"nodeType":"YulFunctionCall","src":"20777:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"20797:2:52","type":"","value":"14"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20770:6:52"},"nodeType":"YulFunctionCall","src":"20770:30:52"},"nodeType":"YulExpressionStatement","src":"20770:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20820:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"20831:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20816:3:52"},"nodeType":"YulFunctionCall","src":"20816:18:52"},{"hexValue":"4e6f7420617574686f72697a6564","kind":"string","nodeType":"YulLiteral","src":"20836:16:52","type":"","value":"Not authorized"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"20809:6:52"},"nodeType":"YulFunctionCall","src":"20809:44:52"},"nodeType":"YulExpressionStatement","src":"20809:44:52"},{"nodeType":"YulAssignment","src":"20862:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20874:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"20885:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20870:3:52"},"nodeType":"YulFunctionCall","src":"20870:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"20862:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_fac3bac318c0d00994f57b0f2f4c643c313072b71db2302bf4b900309cc50b36__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"20707:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"20721:4:52","type":""}],"src":"20556:338:52"},{"body":{"nodeType":"YulBlock","src":"20988:170:52","statements":[{"body":{"nodeType":"YulBlock","src":"21034:16:52","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"21043:1:52","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"21046:1:52","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"21036:6:52"},"nodeType":"YulFunctionCall","src":"21036:12:52"},"nodeType":"YulExpressionStatement","src":"21036:12:52"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"21009:7:52"},{"name":"headStart","nodeType":"YulIdentifier","src":"21018:9:52"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"21005:3:52"},"nodeType":"YulFunctionCall","src":"21005:23:52"},{"kind":"number","nodeType":"YulLiteral","src":"21030:2:52","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"21001:3:52"},"nodeType":"YulFunctionCall","src":"21001:32:52"},"nodeType":"YulIf","src":"20998:52:52"},{"nodeType":"YulVariableDeclaration","src":"21059:29:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21078:9:52"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"21072:5:52"},"nodeType":"YulFunctionCall","src":"21072:16:52"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"21063:5:52","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"21122:5:52"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"21097:24:52"},"nodeType":"YulFunctionCall","src":"21097:31:52"},"nodeType":"YulExpressionStatement","src":"21097:31:52"},{"nodeType":"YulAssignment","src":"21137:15:52","value":{"name":"value","nodeType":"YulIdentifier","src":"21147:5:52"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"21137:6:52"}]}]},"name":"abi_decode_tuple_t_address_payable_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"20954:9:52","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"20965:7:52","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"20977:6:52","type":""}],"src":"20899:259:52"},{"body":{"nodeType":"YulBlock","src":"21337:182:52","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21354:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"21365:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"21347:6:52"},"nodeType":"YulFunctionCall","src":"21347:21:52"},"nodeType":"YulExpressionStatement","src":"21347:21:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21388:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"21399:2:52","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"21384:3:52"},"nodeType":"YulFunctionCall","src":"21384:18:52"},{"kind":"number","nodeType":"YulLiteral","src":"21404:2:52","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"21377:6:52"},"nodeType":"YulFunctionCall","src":"21377:30:52"},"nodeType":"YulExpressionStatement","src":"21377:30:52"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21427:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"21438:2:52","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"21423:3:52"},"nodeType":"YulFunctionCall","src":"21423:18:52"},{"hexValue":"466565446973636f756e743a2064656c656761746563616c6c206661696c6564","kind":"string","nodeType":"YulLiteral","src":"21443:34:52","type":"","value":"FeeDiscount: delegatecall failed"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"21416:6:52"},"nodeType":"YulFunctionCall","src":"21416:62:52"},"nodeType":"YulExpressionStatement","src":"21416:62:52"},{"nodeType":"YulAssignment","src":"21487:26:52","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"21499:9:52"},{"kind":"number","nodeType":"YulLiteral","src":"21510:2:52","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"21495:3:52"},"nodeType":"YulFunctionCall","src":"21495:18:52"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"21487:4:52"}]}]},"name":"abi_encode_tuple_t_stringliteral_df13724fb90050ca3b3b3dc79181268ff056fe70de4b043365b046ae750fc8d7__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"21314:9:52","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"21328:4:52","type":""}],"src":"21163:356:52"}]},"contents":"{\n    { }\n    function validator_revert_address(value)\n    {\n        if iszero(eq(value, and(value, 0xffffffffffffffffffffffffffffffffffffffff))) { 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_bytes_calldata(offset, end) -> arrayPos, length\n    {\n        if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n        length := calldataload(offset)\n        if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n        arrayPos := add(offset, 0x20)\n        if gt(add(add(offset, length), 0x20), end) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_boolt_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7\n    {\n        if slt(sub(dataEnd, headStart), 224) { 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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_bool(value_2)\n        value2 := value_2\n        value3 := calldataload(add(headStart, 96))\n        let value_3 := calldataload(add(headStart, 128))\n        validator_revert_address(value_3)\n        value4 := value_3\n        let value_4 := calldataload(add(headStart, 160))\n        validator_revert_bool(value_4)\n        value5 := value_4\n        let offset := calldataload(add(headStart, 192))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value6_1, value7_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value6 := value6_1\n        value7 := value7_1\n    }\n    function abi_encode_tuple_t_bytes4_t_uint24_t_uint24__to_t_bytes4_t_uint24_t_uint24__fromStack_reversed(headStart, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 96)\n        mstore(headStart, and(value0, 0xffffffff00000000000000000000000000000000000000000000000000000000))\n        let _1 := 0xffffff\n        mstore(add(headStart, 32), and(value1, _1))\n        mstore(add(headStart, 64), and(value2, _1))\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, 0xffffffffffffffffffffffffffffffffffffffff))\n    }\n    function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint256t_uint256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7\n    {\n        if slt(sub(dataEnd, headStart), 224) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n        value2 := calldataload(add(headStart, 64))\n        value3 := calldataload(add(headStart, 96))\n        value4 := calldataload(add(headStart, 128))\n        value5 := calldataload(add(headStart, 160))\n        let offset := calldataload(add(headStart, 192))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value6_1, value7_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value6 := value6_1\n        value7 := value7_1\n    }\n    function abi_encode_tuple_t_bytes4__to_t_bytes4__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xffffffff00000000000000000000000000000000000000000000000000000000))\n    }\n    function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := calldataload(headStart)\n    }\n    function copy_memory_to_memory_with_cleanup(src, dst, length)\n    {\n        let i := 0\n        for { } lt(i, length) { i := add(i, 32) }\n        {\n            mstore(add(dst, i), mload(add(src, i)))\n        }\n        mstore(add(dst, length), 0)\n    }\n    function abi_encode_string(value, pos) -> end\n    {\n        let length := mload(value)\n        mstore(pos, length)\n        copy_memory_to_memory_with_cleanup(add(value, 0x20), add(pos, 0x20), length)\n        end := add(add(pos, and(add(length, 31), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)), 0x20)\n    }\n    function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        mstore(headStart, 32)\n        tail := abi_encode_string(value0, add(headStart, 32))\n    }\n    function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n    }\n    function validator_revert_int24(value)\n    {\n        if iszero(eq(value, signextend(2, value))) { revert(0, 0) }\n    }\n    function abi_decode_int128(offset) -> value\n    {\n        value := calldataload(offset)\n        if iszero(eq(value, signextend(15, value))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6\n    {\n        if slt(sub(dataEnd, headStart), 192) { 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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_int24(value_2)\n        value2 := value_2\n        let value_3 := calldataload(add(headStart, 96))\n        validator_revert_int24(value_3)\n        value3 := value_3\n        value4 := abi_decode_int128(add(headStart, 128))\n        let offset := calldataload(add(headStart, 160))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value5_1, value6_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value5 := value5_1\n        value6 := value6_1\n    }\n    function abi_encode_tuple_t_bytes4_t_uint24__to_t_bytes4_t_uint24__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, and(value0, 0xffffffff00000000000000000000000000000000000000000000000000000000))\n        mstore(add(headStart, 32), and(value1, 0xffffff))\n    }\n    function abi_decode_tuple_t_addresst_uint160(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n    }\n    function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, and(value0, 0xff))\n    }\n    function abi_decode_tuple_t_addresst_uint160t_int24(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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_int24(value_2)\n        value2 := value_2\n    }\n    function abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5\n    {\n        if slt(sub(dataEnd, headStart), 160) { revert(0, 0) }\n        let value := calldataload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := calldataload(add(headStart, 32))\n        validator_revert_address(value_1)\n        value1 := value_1\n        value2 := calldataload(add(headStart, 64))\n        value3 := calldataload(add(headStart, 96))\n        let offset := calldataload(add(headStart, 128))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value4_1, value5_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value4 := value4_1\n        value5 := value5_1\n    }\n    function abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_int256t_int256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7, value8\n    {\n        if slt(sub(dataEnd, headStart), 256) { 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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_bool(value_2)\n        value2 := value_2\n        value3 := calldataload(add(headStart, 96))\n        let value_3 := calldataload(add(headStart, 128))\n        validator_revert_address(value_3)\n        value4 := value_3\n        value5 := calldataload(add(headStart, 160))\n        value6 := calldataload(add(headStart, 192))\n        let offset := calldataload(add(headStart, 224))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value7_1, value8_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value7 := value7_1\n        value8 := value8_1\n    }\n    function abi_decode_tuple_t_uint256t_uint256(headStart, dataEnd) -> value0, value1\n    {\n        if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n        value0 := calldataload(headStart)\n        value1 := calldataload(add(headStart, 32))\n    }\n    function abi_encode_tuple_t_array$_t_string_memory_ptr_$dyn_memory_ptr__to_t_array$_t_string_memory_ptr_$dyn_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n    {\n        let _1 := 32\n        let tail_1 := add(headStart, _1)\n        mstore(headStart, _1)\n        let pos := tail_1\n        let length := mload(value0)\n        mstore(tail_1, length)\n        pos := add(headStart, 64)\n        let tail_2 := add(add(headStart, shl(5, length)), 64)\n        let srcPtr := add(value0, _1)\n        let i := 0\n        for { } lt(i, length) { i := add(i, 1) }\n        {\n            mstore(pos, add(sub(tail_2, headStart), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0))\n            tail_2 := abi_encode_string(mload(srcPtr), tail_2)\n            srcPtr := add(srcPtr, _1)\n            pos := add(pos, _1)\n        }\n        tail := tail_2\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_int24t_int24t_int128t_uint256t_uint256t_bytes_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6, value7, value8\n    {\n        if slt(sub(dataEnd, headStart), 256) { 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        let value_2 := calldataload(add(headStart, 64))\n        validator_revert_int24(value_2)\n        value2 := value_2\n        let value_3 := calldataload(add(headStart, 96))\n        validator_revert_int24(value_3)\n        value3 := value_3\n        value4 := abi_decode_int128(add(headStart, 128))\n        value5 := calldataload(add(headStart, 160))\n        value6 := calldataload(add(headStart, 192))\n        let offset := calldataload(add(headStart, 224))\n        if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n        let value7_1, value8_1 := abi_decode_bytes_calldata(add(headStart, offset), dataEnd)\n        value7 := value7_1\n        value8 := value8_1\n    }\n    function abi_decode_tuple_t_addresst_uint256t_address(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 := calldataload(add(headStart, 32))\n        let value_1 := calldataload(add(headStart, 64))\n        validator_revert_address(value_1)\n        value2 := value_1\n    }\n    function extract_byte_array_length(data) -> length\n    {\n        length := shr(1, data)\n        let outOfPlaceEncoding := and(data, 1)\n        if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n        if eq(outOfPlaceEncoding, lt(length, 32))\n        {\n            mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x22)\n            revert(0, 0x24)\n        }\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 panic_error_0x41()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x41)\n        revert(0, 0x24)\n    }\n    function array_dataslot_string_storage(ptr) -> data\n    {\n        mstore(0, ptr)\n        data := keccak256(0, 0x20)\n    }\n    function clean_up_bytearray_end_slots_string_storage(array, len, startIndex)\n    {\n        if gt(len, 31)\n        {\n            let _1 := 0\n            mstore(_1, array)\n            let data := keccak256(_1, 0x20)\n            let deleteStart := add(data, shr(5, add(startIndex, 31)))\n            if lt(startIndex, 0x20) { deleteStart := data }\n            let _2 := add(data, shr(5, add(len, 31)))\n            let start := deleteStart\n            for { } lt(start, _2) { start := add(start, 1) }\n            { sstore(start, _1) }\n        }\n    }\n    function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used\n    {\n        used := or(and(data, not(shr(shl(3, len), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff))), shl(1, len))\n    }\n    function copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage(slot, src)\n    {\n        let newLen := mload(src)\n        if gt(newLen, 0xffffffffffffffff) { panic_error_0x41() }\n        clean_up_bytearray_end_slots_string_storage(slot, extract_byte_array_length(sload(slot)), newLen)\n        let srcOffset := 0\n        let srcOffset_1 := 0x20\n        srcOffset := srcOffset_1\n        switch gt(newLen, 31)\n        case 1 {\n            let loopEnd := and(newLen, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0)\n            let dstPtr := array_dataslot_string_storage(slot)\n            let i := 0\n            for { } lt(i, loopEnd) { i := add(i, srcOffset_1) }\n            {\n                sstore(dstPtr, mload(add(src, srcOffset)))\n                dstPtr := add(dstPtr, 1)\n                srcOffset := add(srcOffset, srcOffset_1)\n            }\n            if lt(loopEnd, newLen)\n            {\n                let lastValue := mload(add(src, srcOffset))\n                sstore(dstPtr, and(lastValue, not(shr(and(shl(3, newLen), 248), 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff))))\n            }\n            sstore(slot, add(shl(1, newLen), 1))\n        }\n        default {\n            let value := 0\n            if newLen\n            {\n                value := mload(add(src, srcOffset))\n            }\n            sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, newLen))\n        }\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 panic_error_0x32()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x32)\n        revert(0, 0x24)\n    }\n    function increment_t_uint256(value) -> ret\n    {\n        if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)\n        {\n            mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n            mstore(4, 0x11)\n            revert(0, 0x24)\n        }\n        ret := add(value, 1)\n    }\n    function abi_encode_tuple_t_stringliteral_b7deb07899b60a5f738285d4979109597e20f4e85555ea89670e2ec5bd1854eb__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), \"Only pool can call this\")\n        tail := add(headStart, 96)\n    }\n    function abi_decode_uint16_fromMemory(offset) -> value\n    {\n        value := mload(offset)\n        if iszero(eq(value, and(value, 0xffff))) { revert(0, 0) }\n    }\n    function abi_decode_tuple_t_uint160t_int24t_uint16t_uint8t_uint16t_bool_fromMemory(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5\n    {\n        if slt(sub(dataEnd, headStart), 192) { revert(0, 0) }\n        let value := mload(headStart)\n        validator_revert_address(value)\n        value0 := value\n        let value_1 := mload(add(headStart, 32))\n        validator_revert_int24(value_1)\n        value1 := value_1\n        value2 := abi_decode_uint16_fromMemory(add(headStart, 64))\n        let value_2 := mload(add(headStart, 96))\n        if iszero(eq(value_2, and(value_2, 0xff))) { revert(0, 0) }\n        value3 := value_2\n        value4 := abi_decode_uint16_fromMemory(add(headStart, 128))\n        let value_3 := mload(add(headStart, 160))\n        validator_revert_bool(value_3)\n        value5 := value_3\n    }\n    function abi_encode_tuple_t_address_t_address_t_uint24__to_t_address_t_address_t_uint24__fromStack_reversed(headStart, value2, value1, value0) -> tail\n    {\n        tail := add(headStart, 96)\n        let _1 := 0xffffffffffffffffffffffffffffffffffffffff\n        mstore(headStart, and(value0, _1))\n        mstore(add(headStart, 32), and(value1, _1))\n        mstore(add(headStart, 64), and(value2, 0xffffff))\n    }\n    function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n    {\n        let length := mload(value0)\n        copy_memory_to_memory_with_cleanup(add(value0, 0x20), pos, length)\n        end := add(pos, length)\n    }\n    function abi_decode_tuple_t_uint24_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        if iszero(eq(value, and(value, 0xffffff))) { revert(0, 0) }\n        value0 := value\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_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n    {\n        tail := add(headStart, 64)\n        mstore(headStart, value0)\n        mstore(add(headStart, 32), and(value1, 0xffffffffffffffffffffffffffffffffffffffff))\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_fac3bac318c0d00994f57b0f2f4c643c313072b71db2302bf4b900309cc50b36__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n    {\n        mstore(headStart, 32)\n        mstore(add(headStart, 32), 14)\n        mstore(add(headStart, 64), \"Not authorized\")\n        tail := add(headStart, 96)\n    }\n    function abi_decode_tuple_t_address_payable_fromMemory(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        let value := mload(headStart)\n        validator_revert_address(value)\n        value0 := value\n    }\n    function abi_encode_tuple_t_stringliteral_df13724fb90050ca3b3b3dc79181268ff056fe70de4b043365b046ae750fc8d7__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), \"FeeDiscount: delegatecall failed\")\n        tail := add(headStart, 96)\n    }\n}","id":52,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{"548":[{"length":32,"start":986},{"length":32,"start":4425}],"551":[{"length":32,"start":1044}],"5797":[{"length":32,"start":3456},{"length":32,"start":4031},{"length":32,"start":4842},{"length":32,"start":5257}]},"linkReferences":{},"object":"608060405234801561001057600080fd5b506004361061016c5760003560e01c80638de0a8ee116100cd578063c45a015511610081578063e2a1bd5911610066578063e2a1bd591461040f578063e72c652d14610436578063f20cdc1a1461044957600080fd5b8063c45a0155146103d5578063d6852010146103fc57600080fd5b8063aa6b14bb116100b2578063aa6b14bb1461039a578063b6f78cc9146103ad578063c3da7978146103c257600080fd5b80638de0a8ee146103745780639cb5a9631461038757600080fd5b8063485cc95511610124578063636fd80411610109578063636fd80414610315578063689ea3701461032857806382dd65221461036157600080fd5b8063485cc955146102b15780635e2411b2146102c657600080fd5b806331b25d1a1161015557806331b25d1a14610218578063343d37ff1461024d57806346b7748b1461029157600080fd5b8063029c1cb71461017157806316f0115b146101cd575b600080fd5b61018461017f366004611611565b610451565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909416845262ffffff92831660208501529116908201526060015b60405180910390f35b6000546101f39062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c4565b61023f7f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f581565b6040519081526020016101c4565b61026061025b3660046116bb565b6104d7565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020016101c4565b6102a461029f36600461172a565b61050f565b6040516101c491906117b1565b6102c46102bf3660046117cb565b6105bb565b005b6102d96102d436600461182a565b610822565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909316835262ffffff9091166020830152016101c4565b6102606103233660046117cb565b61085e565b60005461034f90760100000000000000000000000000000000000000000000900460ff1681565b60405160ff90911681526020016101c4565b61026061036f3660046118c9565b6108b9565b610260610382366004611914565b6108ec565b610260610395366004611990565b610922565b6102606103a8366004611a3e565b61095b565b6103b561098d565b6040516101c49190611a60565b6102c46103d0366004611ae0565b610ac8565b6101f37f000000000000000000000000000000000000000000000000000000000000000081565b61026061040a366004611afd565b610b25565b6101f37f000000000000000000000000000000000000000000000000000000000000000081565b6102c4610444366004611b65565b610b5e565b6101f3610b71565b600080600061045e610b80565b6000610468610c09565b509250505060006104a08d600060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461ffff16610cb0565b7f029c1cb7000000000000000000000000000000000000000000000000000000009e909d5060009c509a5050505050505050505050565b60006104e1610b80565b507f343d37ff0000000000000000000000000000000000000000000000000000000098975050505050505050565b6001818154811061051f57600080fd5b90600052602060002001600091509050805461053a90611b9c565b80601f016020809104026020016040519081016040528092919081815260200182805461056690611b9c565b80156105b35780601f10610588576101008083540402835291602001916105b3565b820191906000526020600020905b81548152906001019060200180831161059657829003601f168201915b505050505081565b600054610100900460ff16158080156105db5750600054600160ff909116105b806105f55750303b1580156105f5575060005460ff166001145b610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156106e457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6106ed83610e1e565b60006106f883610f02565b6000805460ff8084167601000000000000000000000000000000000000000000008084049290921617027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff909116178155600180548082018255915260408051808201909152601381527f46656520446973636f756e7420506c7567696e0000000000000000000000000060208201529192507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601906107b89082611c64565b5050801561081d57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b60008061082d610b80565b507f5e2411b20000000000000000000000000000000000000000000000000000000098600098509650505050505050565b6000610868610b80565b60005461089190760100000000000000000000000000000000000000000000900460ff16611049565b507f636fd8040000000000000000000000000000000000000000000000000000000092915050565b60006108c3610b80565b507f82dd6522000000000000000000000000000000000000000000000000000000009392505050565b60006108f6610b80565b507f8de0a8ee000000000000000000000000000000000000000000000000000000009695505050505050565b600061092c610b80565b507f9cb5a963000000000000000000000000000000000000000000000000000000009998505050505050505050565b6000610965610b80565b507faa6b14bb0000000000000000000000000000000000000000000000000000000092915050565b60015460609067ffffffffffffffff8111156109ab576109ab611bef565b6040519080825280602002602001820160405280156109de57816020015b60608152602001906001900390816109c95790505b50905060005b600154811015610ac45760018181548110610a0157610a01611d7e565b906000526020600020018054610a1690611b9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290611b9c565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b5050505050828281518110610aa657610aa6611d7e565b60200260200101819052508080610abc90611dad565b9150506109e4565b5090565b610ad06110f5565b610ad98161122f565b60405173ffffffffffffffffffffffffffffffffffffffff821681527f3b1f0d57f07483280d598ef402c5b2b96be1a42e65b21992bdafea3476b653279060200160405180910390a150565b6000610b2f610b80565b507fd6852010000000000000000000000000000000000000000000000000000000009998505050505050505050565b610b666110f5565b61081d83828461136f565b6000610b7b611412565b905090565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff163314610c07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4f6e6c7920706f6f6c2063616e2063616c6c2074686973000000000000000000604482015260640161067d565b565b600080600080600060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015610c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca09190611e1e565b5093989297509095509350915050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015262ffffff821660648201526000908190608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f1018860c0000000000000000000000000000000000000000000000000000000017905251909150600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690610dac908590611ea3565b600060405180830381855af49150503d8060008114610de7576040519150601f19603f3d011682016040523d82523d6000602084013e610dec565b606091505b509150915081610dff57610dff81611524565b80806020019051810190610e139190611ebf565b979650505050505050565b600054610100900460ff16610eb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161067d565b6000805473ffffffffffffffffffffffffffffffffffffffff90921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60405173ffffffffffffffffffffffffffffffffffffffff821660248201526000908190604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9dd77e70000000000000000000000000000000000000000000000000000000017905251909150600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690610feb908590611ea3565b600060405180830381855af49150503d8060008114611026576040519150601f19603f3d011682016040523d82523d6000602084013e61102b565b606091505b50915091508161103e5761103e81611524565b506001949350505050565b6000611053610c09565b93505050508160ff168160ff16146110f1576000546040517fbca57f8100000000000000000000000000000000000000000000000000000000815260ff841660048201526201000090910473ffffffffffffffffffffffffffffffffffffffff169063bca57f8190602401600060405180830381600087803b1580156110d857600080fd5b505af11580156110ec573d6000803e3d6000fd5b505050505b5050565b6040517fe8ae2b690000000000000000000000000000000000000000000000000000000081527f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f560048201523360248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e8ae2b6990604401602060405180830381865afa1580156111a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c99190611ee4565b610c07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420617574686f72697a6564000000000000000000000000000000000000604482015260640161067d565b60405173ffffffffffffffffffffffffffffffffffffffff82166024820152600090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc3da79780000000000000000000000000000000000000000000000000000000017905251909150600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690611316908590611ea3565b600060405180830381855af49150503d8060008114611351576040519150601f19603f3d011682016040523d82523d6000602084013e611356565b606091505b5091509150816113695761136981611524565b50505050565b60006040517fa9059cbb0000000000000000000000000000000000000000000000000000000060005273ffffffffffffffffffffffffffffffffffffffff841660045282602452602060006044600080895af19150813d1560203d146001600051141617169150806040525080611369576040517fe465903e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f6408f820000000000000000000000000000000000000000000000000000000001790529051600091908290819073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906114b5908590611ea3565b600060405180830381855af49150503d80600081146114f0576040519150601f19603f3d011682016040523d82523d6000602084013e6114f5565b606091505b5091509150816115085761150881611524565b8080602001905181019061151c9190611f01565b935050505090565b80511561153357805181602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f466565446973636f756e743a2064656c656761746563616c6c206661696c6564604482015260640161067d565b73ffffffffffffffffffffffffffffffffffffffff811681146115b757600080fd5b50565b80151581146115b757600080fd5b60008083601f8401126115da57600080fd5b50813567ffffffffffffffff8111156115f257600080fd5b60208301915083602082850101111561160a57600080fd5b9250929050565b60008060008060008060008060e0898b03121561162d57600080fd5b883561163881611595565b9750602089013561164881611595565b96506040890135611658816115ba565b955060608901359450608089013561166f81611595565b935060a089013561167f816115ba565b925060c089013567ffffffffffffffff81111561169b57600080fd5b6116a78b828c016115c8565b999c989b5096995094979396929594505050565b60008060008060008060008060e0898b0312156116d757600080fd5b88356116e281611595565b975060208901356116f281611595565b965060408901359550606089013594506080890135935060a0890135925060c089013567ffffffffffffffff81111561169b57600080fd5b60006020828403121561173c57600080fd5b5035919050565b60005b8381101561175e578181015183820152602001611746565b50506000910152565b6000815180845261177f816020860160208601611743565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006117c46020830184611767565b9392505050565b600080604083850312156117de57600080fd5b82356117e981611595565b915060208301356117f981611595565b809150509250929050565b8060020b81146115b757600080fd5b8035600f81900b811461182557600080fd5b919050565b600080600080600080600060c0888a03121561184557600080fd5b873561185081611595565b9650602088013561186081611595565b9550604088013561187081611804565b9450606088013561188081611804565b935061188e60808901611813565b925060a088013567ffffffffffffffff8111156118aa57600080fd5b6118b68a828b016115c8565b989b979a50959850939692959293505050565b6000806000606084860312156118de57600080fd5b83356118e981611595565b925060208401356118f981611595565b9150604084013561190981611804565b809150509250925092565b60008060008060008060a0878903121561192d57600080fd5b863561193881611595565b9550602087013561194881611595565b94506040870135935060608701359250608087013567ffffffffffffffff81111561197257600080fd5b61197e89828a016115c8565b979a9699509497509295939492505050565b60008060008060008060008060006101008a8c0312156119af57600080fd5b89356119ba81611595565b985060208a01356119ca81611595565b975060408a01356119da816115ba565b965060608a0135955060808a01356119f181611595565b945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff811115611a1b57600080fd5b611a278c828d016115c8565b915080935050809150509295985092959850929598565b60008060408385031215611a5157600080fd5b50508035926020909101359150565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015611ad3577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0888603018452611ac1858351611767565b94509285019290850190600101611a87565b5092979650505050505050565b600060208284031215611af257600080fd5b81356117c481611595565b60008060008060008060008060006101008a8c031215611b1c57600080fd5b8935611b2781611595565b985060208a0135611b3781611595565b975060408a0135611b4781611804565b965060608a0135611b5781611804565b95506119f160808b01611813565b600080600060608486031215611b7a57600080fd5b8335611b8581611595565b925060208401359150604084013561190981611595565b600181811c90821680611bb057607f821691505b602082108103611be9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f82111561081d57600081815260208120601f850160051c81016020861015611c455750805b601f850160051c820191505b818110156110ec57828155600101611c51565b815167ffffffffffffffff811115611c7e57611c7e611bef565b611c9281611c8c8454611b9c565b84611c1e565b602080601f831160018114611ce55760008415611caf5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556110ec565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015611d3257888601518255948401946001909101908401611d13565b5085821015611d6e57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e05577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b805161ffff8116811461182557600080fd5b60008060008060008060c08789031215611e3757600080fd5b8651611e4281611595565b6020880151909650611e5381611804565b9450611e6160408801611e0c565b9350606087015160ff81168114611e7757600080fd5b9250611e8560808801611e0c565b915060a0870151611e95816115ba565b809150509295509295509295565b60008251611eb5818460208701611743565b9190910192915050565b600060208284031215611ed157600080fd5b815162ffffff811681146117c457600080fd5b600060208284031215611ef657600080fd5b81516117c4816115ba565b600060208284031215611f1357600080fd5b81516117c48161159556fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8DE0A8EE GT PUSH2 0xCD JUMPI DUP1 PUSH4 0xC45A0155 GT PUSH2 0x81 JUMPI DUP1 PUSH4 0xE2A1BD59 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xE2A1BD59 EQ PUSH2 0x40F JUMPI DUP1 PUSH4 0xE72C652D EQ PUSH2 0x436 JUMPI DUP1 PUSH4 0xF20CDC1A EQ PUSH2 0x449 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC45A0155 EQ PUSH2 0x3D5 JUMPI DUP1 PUSH4 0xD6852010 EQ PUSH2 0x3FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xAA6B14BB GT PUSH2 0xB2 JUMPI DUP1 PUSH4 0xAA6B14BB EQ PUSH2 0x39A JUMPI DUP1 PUSH4 0xB6F78CC9 EQ PUSH2 0x3AD JUMPI DUP1 PUSH4 0xC3DA7978 EQ PUSH2 0x3C2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8DE0A8EE EQ PUSH2 0x374 JUMPI DUP1 PUSH4 0x9CB5A963 EQ PUSH2 0x387 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x485CC955 GT PUSH2 0x124 JUMPI DUP1 PUSH4 0x636FD804 GT PUSH2 0x109 JUMPI DUP1 PUSH4 0x636FD804 EQ PUSH2 0x315 JUMPI DUP1 PUSH4 0x689EA370 EQ PUSH2 0x328 JUMPI DUP1 PUSH4 0x82DD6522 EQ PUSH2 0x361 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x485CC955 EQ PUSH2 0x2B1 JUMPI DUP1 PUSH4 0x5E2411B2 EQ PUSH2 0x2C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x31B25D1A GT PUSH2 0x155 JUMPI DUP1 PUSH4 0x31B25D1A EQ PUSH2 0x218 JUMPI DUP1 PUSH4 0x343D37FF EQ PUSH2 0x24D JUMPI DUP1 PUSH4 0x46B7748B EQ PUSH2 0x291 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29C1CB7 EQ PUSH2 0x171 JUMPI DUP1 PUSH4 0x16F0115B EQ PUSH2 0x1CD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x184 PUSH2 0x17F CALLDATASIZE PUSH1 0x4 PUSH2 0x1611 JUMP JUMPDEST PUSH2 0x451 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP5 AND DUP5 MSTORE PUSH3 0xFFFFFF SWAP3 DUP4 AND PUSH1 0x20 DUP6 ADD MSTORE SWAP2 AND SWAP1 DUP3 ADD MSTORE PUSH1 0x60 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x1F3 SWAP1 PUSH3 0x10000 SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x23F PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x25B CALLDATASIZE PUSH1 0x4 PUSH2 0x16BB JUMP JUMPDEST PUSH2 0x4D7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x2A4 PUSH2 0x29F CALLDATASIZE PUSH1 0x4 PUSH2 0x172A JUMP JUMPDEST PUSH2 0x50F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1C4 SWAP2 SWAP1 PUSH2 0x17B1 JUMP JUMPDEST PUSH2 0x2C4 PUSH2 0x2BF CALLDATASIZE PUSH1 0x4 PUSH2 0x17CB JUMP JUMPDEST PUSH2 0x5BB JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2D9 PUSH2 0x2D4 CALLDATASIZE PUSH1 0x4 PUSH2 0x182A JUMP JUMPDEST PUSH2 0x822 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP4 AND DUP4 MSTORE PUSH3 0xFFFFFF SWAP1 SWAP2 AND PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x323 CALLDATASIZE PUSH1 0x4 PUSH2 0x17CB JUMP JUMPDEST PUSH2 0x85E JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x34F SWAP1 PUSH23 0x100000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1C4 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x36F CALLDATASIZE PUSH1 0x4 PUSH2 0x18C9 JUMP JUMPDEST PUSH2 0x8B9 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x382 CALLDATASIZE PUSH1 0x4 PUSH2 0x1914 JUMP JUMPDEST PUSH2 0x8EC JUMP JUMPDEST PUSH2 0x260 PUSH2 0x395 CALLDATASIZE PUSH1 0x4 PUSH2 0x1990 JUMP JUMPDEST PUSH2 0x922 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x3A8 CALLDATASIZE PUSH1 0x4 PUSH2 0x1A3E JUMP JUMPDEST PUSH2 0x95B JUMP JUMPDEST PUSH2 0x3B5 PUSH2 0x98D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1C4 SWAP2 SWAP1 PUSH2 0x1A60 JUMP JUMPDEST PUSH2 0x2C4 PUSH2 0x3D0 CALLDATASIZE PUSH1 0x4 PUSH2 0x1AE0 JUMP JUMPDEST PUSH2 0xAC8 JUMP JUMPDEST PUSH2 0x1F3 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x260 PUSH2 0x40A CALLDATASIZE PUSH1 0x4 PUSH2 0x1AFD JUMP JUMPDEST PUSH2 0xB25 JUMP JUMPDEST PUSH2 0x1F3 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x2C4 PUSH2 0x444 CALLDATASIZE PUSH1 0x4 PUSH2 0x1B65 JUMP JUMPDEST PUSH2 0xB5E JUMP JUMPDEST PUSH2 0x1F3 PUSH2 0xB71 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x45E PUSH2 0xB80 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x468 PUSH2 0xC09 JUMP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x0 PUSH2 0x4A0 DUP14 PUSH1 0x0 PUSH1 0x2 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH2 0xFFFF AND PUSH2 0xCB0 JUMP JUMPDEST PUSH32 0x29C1CB700000000000000000000000000000000000000000000000000000000 SWAP15 SWAP1 SWAP14 POP PUSH1 0x0 SWAP13 POP SWAP11 POP POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4E1 PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x343D37FF00000000000000000000000000000000000000000000000000000000 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x51F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 SLOAD PUSH2 0x53A SWAP1 PUSH2 0x1B9C JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x566 SWAP1 PUSH2 0x1B9C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5B3 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x588 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5B3 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x596 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND ISZERO DUP1 DUP1 ISZERO PUSH2 0x5DB JUMPI POP PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xFF SWAP1 SWAP2 AND LT JUMPDEST DUP1 PUSH2 0x5F5 JUMPI POP ADDRESS EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5F5 JUMPI POP PUSH1 0x0 SLOAD PUSH1 0xFF AND PUSH1 0x1 EQ JUMPDEST PUSH2 0x686 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E697469616C697A61626C653A20636F6E747261637420697320616C726561 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x647920696E697469616C697A6564000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 AND PUSH1 0x1 OR SWAP1 SSTORE DUP1 ISZERO PUSH2 0x6E4 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00FF AND PUSH2 0x100 OR SWAP1 SSTORE JUMPDEST PUSH2 0x6ED DUP4 PUSH2 0xE1E JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6F8 DUP4 PUSH2 0xF02 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0xFF DUP1 DUP5 AND PUSH23 0x100000000000000000000000000000000000000000000 DUP1 DUP5 DIV SWAP3 SWAP1 SWAP3 AND OR MUL PUSH32 0xFFFFFFFFFFFFFFFFFF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND OR DUP2 SSTORE PUSH1 0x1 DUP1 SLOAD DUP1 DUP3 ADD DUP3 SSTORE SWAP2 MSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x13 DUP2 MSTORE PUSH32 0x46656520446973636F756E7420506C7567696E00000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE SWAP2 SWAP3 POP PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 ADD SWAP1 PUSH2 0x7B8 SWAP1 DUP3 PUSH2 0x1C64 JUMP JUMPDEST POP POP DUP1 ISZERO PUSH2 0x81D JUMPI PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00FF AND SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE PUSH32 0x7F26B83FF96E1F2B6A682F133852F6798A09C465DA95921460CEFB3847402498 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x82D PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x5E2411B200000000000000000000000000000000000000000000000000000000 SWAP9 PUSH1 0x0 SWAP9 POP SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x868 PUSH2 0xB80 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x891 SWAP1 PUSH23 0x100000000000000000000000000000000000000000000 SWAP1 DIV PUSH1 0xFF AND PUSH2 0x1049 JUMP JUMPDEST POP PUSH32 0x636FD80400000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8C3 PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x82DD652200000000000000000000000000000000000000000000000000000000 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8F6 PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x8DE0A8EE00000000000000000000000000000000000000000000000000000000 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x92C PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0x9CB5A96300000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x965 PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0xAA6B14BB00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 SLOAD PUSH1 0x60 SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x9AB JUMPI PUSH2 0x9AB PUSH2 0x1BEF JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x9DE JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0x9C9 JUMPI SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 JUMPDEST PUSH1 0x1 SLOAD DUP2 LT ISZERO PUSH2 0xAC4 JUMPI PUSH1 0x1 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0xA01 JUMPI PUSH2 0xA01 PUSH2 0x1D7E JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP1 SLOAD PUSH2 0xA16 SWAP1 PUSH2 0x1B9C JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0xA42 SWAP1 PUSH2 0x1B9C JUMP JUMPDEST DUP1 ISZERO PUSH2 0xA8F JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xA64 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xA8F JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xA72 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xAA6 JUMPI PUSH2 0xAA6 PUSH2 0x1D7E JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP DUP1 DUP1 PUSH2 0xABC SWAP1 PUSH2 0x1DAD JUMP JUMPDEST SWAP2 POP POP PUSH2 0x9E4 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0xAD0 PUSH2 0x10F5 JUMP JUMPDEST PUSH2 0xAD9 DUP2 PUSH2 0x122F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND DUP2 MSTORE PUSH32 0x3B1F0D57F07483280D598EF402C5B2B96BE1A42E65B21992BDAFEA3476B65327 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB2F PUSH2 0xB80 JUMP JUMPDEST POP PUSH32 0xD685201000000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0xB66 PUSH2 0x10F5 JUMP JUMPDEST PUSH2 0x81D DUP4 DUP3 DUP5 PUSH2 0x136F JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB7B PUSH2 0x1412 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH3 0x10000 SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER EQ PUSH2 0xC07 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C7920706F6F6C2063616E2063616C6C2074686973000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x67D JUMP JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x2 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xE76C01E4 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0xC0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xC7C 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 0xCA0 SWAP2 SWAP1 PUSH2 0x1E1E JUMP JUMPDEST POP SWAP4 SWAP9 SWAP3 SWAP8 POP SWAP1 SWAP6 POP SWAP4 POP SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP1 DUP6 AND PUSH1 0x24 DUP4 ADD MSTORE DUP4 AND PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0xFFFFFF DUP3 AND PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH1 0x84 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x1018860C00000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE MLOAD SWAP1 SWAP2 POP PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND SWAP1 PUSH2 0xDAC SWAP1 DUP6 SWAP1 PUSH2 0x1EA3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xDE7 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xDEC JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0xDFF JUMPI PUSH2 0xDFF DUP2 PUSH2 0x1524 JUMP JUMPDEST DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0xE13 SWAP2 SWAP1 PUSH2 0x1EBF JUMP JUMPDEST SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xEB5 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E697469616C697A61626C653A20636F6E7472616374206973206E6F742069 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6E697469616C697A696E67000000000000000000000000000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x67D JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP3 AND PUSH3 0x10000 MUL PUSH32 0xFFFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000000FFFF SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH1 0x44 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xA9DD77E700000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE MLOAD SWAP1 SWAP2 POP PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND SWAP1 PUSH2 0xFEB SWAP1 DUP6 SWAP1 PUSH2 0x1EA3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1026 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x102B JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x103E JUMPI PUSH2 0x103E DUP2 PUSH2 0x1524 JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1053 PUSH2 0xC09 JUMP JUMPDEST SWAP4 POP POP POP POP DUP2 PUSH1 0xFF AND DUP2 PUSH1 0xFF AND EQ PUSH2 0x10F1 JUMPI PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH32 0xBCA57F8100000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0xFF DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH3 0x10000 SWAP1 SWAP2 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xBCA57F81 SWAP1 PUSH1 0x24 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x10D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x10EC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xE8AE2B6900000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 PUSH1 0x4 DUP3 ADD MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH4 0xE8AE2B69 SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x11A5 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 0x11C9 SWAP2 SWAP1 PUSH2 0x1EE4 JUMP JUMPDEST PUSH2 0xC07 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6F7420617574686F72697A6564000000000000000000000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x67D JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x44 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xC3DA797800000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE MLOAD SWAP1 SWAP2 POP PUSH1 0x0 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND SWAP1 PUSH2 0x1316 SWAP1 DUP6 SWAP1 PUSH2 0x1EA3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1351 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x1356 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x1369 JUMPI PUSH2 0x1369 DUP2 PUSH2 0x1524 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH32 0xA9059CBB00000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP5 AND PUSH1 0x4 MSTORE DUP3 PUSH1 0x24 MSTORE PUSH1 0x20 PUSH1 0x0 PUSH1 0x44 PUSH1 0x0 DUP1 DUP10 GAS CALL SWAP2 POP DUP2 RETURNDATASIZE ISZERO PUSH1 0x20 RETURNDATASIZE EQ PUSH1 0x1 PUSH1 0x0 MLOAD EQ AND OR AND SWAP2 POP DUP1 PUSH1 0x40 MSTORE POP DUP1 PUSH2 0x1369 JUMPI PUSH1 0x40 MLOAD PUSH32 0xE465903E00000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x4 DUP2 MSTORE PUSH1 0x24 DUP2 ADD DUP3 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x6408F82000000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE SWAP1 MLOAD PUSH1 0x0 SWAP2 SWAP1 DUP3 SWAP1 DUP2 SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND SWAP1 PUSH2 0x14B5 SWAP1 DUP6 SWAP1 PUSH2 0x1EA3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x14F0 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x14F5 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP2 POP SWAP2 POP DUP2 PUSH2 0x1508 JUMPI PUSH2 0x1508 DUP2 PUSH2 0x1524 JUMP JUMPDEST DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0x151C SWAP2 SWAP1 PUSH2 0x1F01 JUMP JUMPDEST SWAP4 POP POP POP POP SWAP1 JUMP JUMPDEST DUP1 MLOAD ISZERO PUSH2 0x1533 JUMPI DUP1 MLOAD DUP2 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x466565446973636F756E743A2064656C656761746563616C6C206661696C6564 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x67D JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x15B7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x15B7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x15DA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x15F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x160A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0x162D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0x1638 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0x1648 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD PUSH2 0x1658 DUP2 PUSH2 0x15BA JUMP JUMPDEST SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH2 0x166F DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0x167F DUP2 PUSH2 0x15BA JUMP JUMPDEST SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x169B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x16A7 DUP12 DUP3 DUP13 ADD PUSH2 0x15C8 JUMP JUMPDEST SWAP10 SWAP13 SWAP9 SWAP12 POP SWAP7 SWAP10 POP SWAP5 SWAP8 SWAP4 SWAP7 SWAP3 SWAP6 SWAP5 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xE0 DUP10 DUP12 SUB SLT ISZERO PUSH2 0x16D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0x16E2 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0x16F2 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x169B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x173C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x175E JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1746 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x177F DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1743 JUMP JUMPDEST PUSH1 0x1F ADD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x20 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x17C4 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1767 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x17DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x17E9 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x17F9 DUP2 PUSH2 0x1595 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 PUSH1 0x2 SIGNEXTEND DUP2 EQ PUSH2 0x15B7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH1 0xF DUP2 SWAP1 SIGNEXTEND DUP2 EQ PUSH2 0x1825 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0xC0 DUP9 DUP11 SUB SLT ISZERO PUSH2 0x1845 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 CALLDATALOAD PUSH2 0x1850 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP7 POP PUSH1 0x20 DUP9 ADD CALLDATALOAD PUSH2 0x1860 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP6 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD PUSH2 0x1870 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP5 POP PUSH1 0x60 DUP9 ADD CALLDATALOAD PUSH2 0x1880 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP4 POP PUSH2 0x188E PUSH1 0x80 DUP10 ADD PUSH2 0x1813 JUMP JUMPDEST SWAP3 POP PUSH1 0xA0 DUP9 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x18AA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18B6 DUP11 DUP3 DUP12 ADD PUSH2 0x15C8 JUMP JUMPDEST SWAP9 SWAP12 SWAP8 SWAP11 POP SWAP6 SWAP9 POP SWAP4 SWAP7 SWAP3 SWAP6 SWAP3 SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x18DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x18E9 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x18F9 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x1909 DUP2 PUSH2 0x1804 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xA0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x192D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 CALLDATALOAD PUSH2 0x1938 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH2 0x1948 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP5 POP PUSH1 0x40 DUP8 ADD CALLDATALOAD SWAP4 POP PUSH1 0x60 DUP8 ADD CALLDATALOAD SWAP3 POP PUSH1 0x80 DUP8 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1972 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x197E DUP10 DUP3 DUP11 ADD PUSH2 0x15C8 JUMP JUMPDEST SWAP8 SWAP11 SWAP7 SWAP10 POP SWAP5 SWAP8 POP SWAP3 SWAP6 SWAP4 SWAP5 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x19AF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x19BA DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x19CA DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x19DA DUP2 PUSH2 0x15BA JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD SWAP6 POP PUSH1 0x80 DUP11 ADD CALLDATALOAD PUSH2 0x19F1 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP5 POP PUSH1 0xA0 DUP11 ADD CALLDATALOAD SWAP4 POP PUSH1 0xC0 DUP11 ADD CALLDATALOAD SWAP3 POP PUSH1 0xE0 DUP11 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1A1B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1A27 DUP13 DUP3 DUP14 ADD PUSH2 0x15C8 JUMP JUMPDEST SWAP2 POP DUP1 SWAP4 POP POP DUP1 SWAP2 POP POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 POP SWAP3 SWAP6 SWAP9 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1A51 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 ADD DUP2 DUP5 MSTORE DUP1 DUP6 MLOAD DUP1 DUP4 MSTORE PUSH1 0x40 DUP7 ADD SWAP2 POP PUSH1 0x40 DUP2 PUSH1 0x5 SHL DUP8 ADD ADD SWAP3 POP DUP4 DUP8 ADD PUSH1 0x0 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x1AD3 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 DUP9 DUP7 SUB ADD DUP5 MSTORE PUSH2 0x1AC1 DUP6 DUP4 MLOAD PUSH2 0x1767 JUMP JUMPDEST SWAP5 POP SWAP3 DUP6 ADD SWAP3 SWAP1 DUP6 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1A87 JUMP JUMPDEST POP SWAP3 SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1AF2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x17C4 DUP2 PUSH2 0x1595 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x1B1C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x1B27 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x1B37 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x1B47 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD PUSH2 0x1B57 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP6 POP PUSH2 0x19F1 PUSH1 0x80 DUP12 ADD PUSH2 0x1813 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1B7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x1B85 DUP2 PUSH2 0x1595 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x1909 DUP2 PUSH2 0x1595 JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x1BB0 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x1BE9 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x81D JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP2 ADD PUSH1 0x20 DUP7 LT ISZERO PUSH2 0x1C45 JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x10EC JUMPI DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x1C51 JUMP JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1C7E JUMPI PUSH2 0x1C7E PUSH2 0x1BEF JUMP JUMPDEST PUSH2 0x1C92 DUP2 PUSH2 0x1C8C DUP5 SLOAD PUSH2 0x1B9C JUMP JUMPDEST DUP5 PUSH2 0x1C1E JUMP JUMPDEST PUSH1 0x20 DUP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x1CE5 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x1CAF JUMPI POP DUP6 DUP4 ADD MLOAD JUMPDEST PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x3 DUP7 SWAP1 SHL SHR NOT AND PUSH1 0x1 DUP6 SWAP1 SHL OR DUP6 SSTORE PUSH2 0x10EC JUMP JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 AND SWAP2 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x1D32 JUMPI DUP9 DUP7 ADD MLOAD DUP3 SSTORE SWAP5 DUP5 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 DUP5 ADD PUSH2 0x1D13 JUMP JUMPDEST POP DUP6 DUP3 LT ISZERO PUSH2 0x1D6E JUMPI DUP8 DUP6 ADD MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0x3 DUP9 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND DUP2 SSTORE JUMPDEST POP POP POP POP POP PUSH1 0x1 SWAP1 DUP2 SHL ADD SWAP1 SSTORE POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x1E05 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST DUP1 MLOAD PUSH2 0xFFFF DUP2 AND DUP2 EQ PUSH2 0x1825 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xC0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x1E37 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 MLOAD PUSH2 0x1E42 DUP2 PUSH2 0x1595 JUMP JUMPDEST PUSH1 0x20 DUP9 ADD MLOAD SWAP1 SWAP7 POP PUSH2 0x1E53 DUP2 PUSH2 0x1804 JUMP JUMPDEST SWAP5 POP PUSH2 0x1E61 PUSH1 0x40 DUP9 ADD PUSH2 0x1E0C JUMP JUMPDEST SWAP4 POP PUSH1 0x60 DUP8 ADD MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x1E77 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP PUSH2 0x1E85 PUSH1 0x80 DUP9 ADD PUSH2 0x1E0C JUMP JUMPDEST SWAP2 POP PUSH1 0xA0 DUP8 ADD MLOAD PUSH2 0x1E95 DUP2 PUSH2 0x15BA JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 POP SWAP3 SWAP6 JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1EB5 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1743 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1ED1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0x17C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1EF6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x17C4 DUP2 PUSH2 0x15BA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1F13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x17C4 DUP2 PUSH2 0x1595 JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"518:2182:51:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1933:416;;;;;;:::i;:::-;;:::i;:::-;;;;2046:66:52;2034:79;;;2016:98;;2133:8;2177:15;;;2172:2;2157:18;;2150:43;2229:15;;2209:18;;;2202:43;2004:2;1989:18;1933:416:51;;;;;;;;1601:19:2;;;;;;;;;;;;;;;2432:42:52;2420:55;;;2402:74;;2390:2;2375:18;1601:19:2;2256:226:52;1178:94:2;;1232:40;1178:94;;;;;2633:25:52;;;2621:2;2606:18;1178:94:2;2487:177:52;5332:196:2;;;;;;:::i;:::-;;:::i;:::-;;;3809:66:52;3797:79;;;3779:98;;3767:2;3752:18;5332:196:2;3635:248:52;1755:29:2;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1306:343:51:-;;;;;;:::i;:::-;;:::i;:::-;;4194:215:2;;;;;;:::i;:::-;;:::i;:::-;;;;6810:66:52;6798:79;;;6780:98;;6926:8;6914:21;;;6909:2;6894:18;;6887:49;6753:18;4194:215:2;6610:332:52;1683:244:51;;;;;;:::i;:::-;;:::i;1675:32:2:-;;;;;;;;;;;;;;;7512:4:52;7500:17;;;7482:36;;7470:2;7455:18;1675:32:2;7340:184:52;4027:161:2;;;;;;:::i;:::-;;:::i;5146:180::-;;;;;;:::i;:::-;;:::i;4943:197::-;;;;;;:::i;:::-;;:::i;3672:159::-;;;;;;:::i;:::-;;:::i;2823:261::-;;;:::i;:::-;;;;;;;:::i;3072:174:38:-;;;;;;:::i;:::-;;:::i;1364:32:2:-;;;;;4415:263;;;;;;:::i;:::-;;:::i;1490:38::-;;;;;3447:185;;;;;;:::i;:::-;;:::i;3290:112:38:-;;;:::i;1933:416:51:-;2142:6;2150;2158;1818:18:2;:16;:18::i;:::-;2178:10:51::1;2194:15;:13;:15::i;:::-;2173:36;;;;;2216:20;2239:36;2257:6;2265:4;;;;;;;;;;;2271:3;2239:36;;:17;:36::i;:::-;2290:34:::0;;2216:59;;-1:-1:-1;2341:1:51::1;::::0;-1:-1:-1;1933:416:51;-1:-1:-1;;;;;;;;;;;1933:416:51:o;5332:196:2:-;5466:6;1818:18;:16;:18::i;:::-;-1:-1:-1;5488:34:2;5332:196;;;;;;;;;;:::o;1755:29::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1306:343:51:-;3279:19:25;3302:13;;;;;;3301:14;;3347:34;;;;-1:-1:-1;3365:12:25;;3380:1;3365:12;;;;:16;3347:34;3346:108;;;-1:-1:-1;3426:4:25;1713:19:26;:23;;;3387:66:25;;-1:-1:-1;3436:12:25;;;;;:17;3387:66;3325:201;;;;;;;13713:2:52;3325:201:25;;;13695:21:52;13752:2;13732:18;;;13725:30;13791:34;13771:18;;;13764:62;13862:16;13842:18;;;13835:44;13896:19;;3325:201:25;;;;;;;;;3536:12;:16;;;;3551:1;3536:16;;;3562:65;;;;3596:13;:20;;;;;;;;3562:65;1399:39:51::1;1432:5;1399:32;:39::i;:::-;1451:23;1477:44;1500:20;1477:22;:44::i;:::-;1550:19;::::0;;::::1;1528:61:::0;;;1550:19;;;::::1;::::0;;;::::1;1528:61:::0;::::1;::::0;;;::::1;;::::0;;-1:-1:-1;1602:41:51;;;;::::1;::::0;;;;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;;::::1;;::::0;::::1;::::0;1451:70;;-1:-1:-1;1602:41:51;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;;1392:257;3651:14:25::0;3647:99;;;3697:5;3681:21;;;;;;3721:14;;-1:-1:-1;7482:36:52;;3721:14:25;;7470:2:52;7455:18;3721:14:25;;;;;;;3647:99;3269:483;1306:343:51;;:::o;4194:215:2:-;4324:6;4332;1818:18;:16;:18::i;:::-;-1:-1:-1;4355:44:2;;4401:1:::1;::::0;-1:-1:-1;4194:215:2;-1:-1:-1;;;;;;;4194:215:2:o;1683:244:51:-;1806:6;1818:18:2;:16;:18::i;:::-;1847:19:51::1;::::0;1821:46:::1;::::0;1847:19;;::::1;;;1821:25;:46::i;:::-;-1:-1:-1::0;1881:40:51;1683:244;;;;:::o;4027:161:2:-;4121:6;1818:18;:16;:18::i;:::-;-1:-1:-1;4143:39:2;4027:161;;;;;:::o;5146:180::-;5263:6;1818:18;:16;:18::i;:::-;-1:-1:-1;5285:35:2;5146:180;;;;;;;;:::o;4943:197::-;5079:6;1818:18;:16;:18::i;:::-;-1:-1:-1;5101:33:2;4943:197;;;;;;;;;;;:::o;3672:159::-;3764:6;1818:18;:16;:18::i;:::-;-1:-1:-1;3786:39:2;3672:159;;;;:::o;2823:261::-;2950:13;:20;2887:27;;2937:34;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2923:48;;2983:9;2978:101;3002:13;:20;2998:24;;2978:101;;;3055:13;3069:1;3055:16;;;;;;;;:::i;:::-;;;;;;;;3038:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:11;3050:1;3038:14;;;;;;;;:::i;:::-;;;;;;:33;;;;3024:3;;;;;:::i;:::-;;;;2978:101;;;;2823:261;:::o;3072:174:38:-;3147:12;:10;:12::i;:::-;3166:33;3190:8;3166:23;:33::i;:::-;3211:29;;2432:42:52;2420:55;;2402:74;;3211:29:38;;2390:2:52;2375:18;3211:29:38;;;;;;;3072:174;:::o;4415:263:2:-;4607:6;1818:18;:16;:18::i;:::-;-1:-1:-1;4629:43:2;4415:263;;;;;;;;;;;:::o;3447:185::-;3556:12;:10;:12::i;:::-;3575:51;3601:5;3608:9;3619:6;3575:25;:51::i;3290:112:38:-;3348:7;3371:25;:23;:25::i;:::-;3364:32;;3290:112;:::o;2534:109:2:-;2605:4;;;;;;;2591:10;:18;2583:54;;;;;;;17442:2:52;2583:54:2;;;17424:21:52;17481:2;17461:18;;;17454:30;17520:25;17500:18;;;17493:53;17563:18;;2583:54:2;17240:347:52;2583:54:2;2534:109::o;3090:196::-;3138:13;3153:10;3165;3177:18;3261:4;;;;;;;;;;;3243:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;3204:76:2;;;;-1:-1:-1;3204:76:2;;-1:-1:-1;3204:76:2;-1:-1:-1;3090:196:2;-1:-1:-1;;3090:196:2:o;2547:421:38:-;2667:84;;18811:42:52;18880:15;;;2667:84:38;;;18862:34:52;18932:15;;18912:18;;;18905:43;18996:8;18984:21;;18964:18;;;18957:49;2632:6:38;;;;18774:18:52;;2667:84:38;;;;;;;;;;;;;;;;;;;;;;;;2806:44;2667:84;;-1:-1:-1;;;;;2806:38:38;:25;:38;;:44;;2667:84;;2806:44;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2764:86;;;;2862:7;2857:53;;2871:39;2899:10;2871:27;:39::i;:::-;2941:10;2930:32;;;;;;;;;;;;:::i;:::-;2923:39;2547:421;-1:-1:-1;;;;;;;2547:421:38:o;2420:108:2:-;5374:13:25;;;;;;;5366:69;;;;;;;19794:2:52;5366:69:25;;;19776:21:52;19833:2;19813:18;;;19806:30;19872:34;19852:18;;;19845:62;19943:13;19923:18;;;19916:41;19974:19;;5366:69:25;19592:407:52;5366:69:25;2510:4:2::1;:12:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;2420:108::o;1256:404:38:-;1370:79;;2432:42:52;2420:55;;1370:79:38;;;2402:74:52;1336:5:38;;;;2375:18:52;;1370:79:38;;;;;;;;;;;;;;;;;;;;;;;;1504:44;1370:79;;-1:-1:-1;;;;;1504:38:38;:25;:38;;:44;;1370:79;;1504:44;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1462:86;;;;1560:7;1555:53;;1569:39;1597:10;1569:27;:39::i;:::-;-1:-1:-1;724:1:19;;1256:404:38;-1:-1:-1;;;;1256:404:38:o;5534:249:2:-;5615:25;5644:15;:13;:15::i;:::-;5608:51;;;;;5693:15;5670:38;;:19;:38;;;5666:112;;5732:4;;5719:51;;;;;7512:4:52;7500:17;;5719:51:2;;;7482:36:52;5732:4:2;;;;;;;5719:34;;7455:18:52;;5719:51:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5666:112;5601:182;5534:249;:::o;2483:214:51:-;2592:80;;;;;1232:40:2;2592:80:51;;;20178:25:52;2661:10:51;20219:18:52;;;20212:83;2608:7:51;2592:39;;;;;20151:18:52;;2592:80:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2584:107;;;;;;;20758:2:52;2584:107:51;;;20740:21:52;20797:2;20777:18;;;20770:30;20836:16;20816:18;;;20809:44;20870:18;;2584:107:51;20556:338:52;1724:344:38;1823:80;;2432:42:52;2420:55;;1823:80:38;;;2402:74:52;1803:17:38;;2375:18:52;;1823:80:38;;;;;;;;;;;;;;;;;;;;;;;;1958:44;1823:80;;-1:-1:-1;;;;;1958:38:38;:25;:38;;:44;;1823:80;;1958:44;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1916:86;;;;2014:7;2009:53;;2023:39;2051:10;2023:27;:39::i;:::-;1796:272;;;1724:344;:::o;865:967:21:-;945:12;1011:4;1005:11;1073:66;1067:4;1060:80;1208:42;1204:2;1200:51;1194:4;1187:65;1303:6;1297:4;1290:20;1433:4;1430:1;1424:4;1421:1;1418;1411:5;1404;1399:39;1388:50;;1673:7;1645:16;1638:24;1632:2;1614:16;1611:24;1607:1;1603;1597:8;1594:15;1590:46;1587:76;1456:232;1445:243;;1708:17;1702:4;1695:31;;1776:7;1771:56;;1792:35;;;;;;;;;;;;;;2132:358:38;2221:51;;;;;;;;;;;;;;;;;;;;;;2327:44;;2185:7;;2221:51;2185:7;;;;2327:38;:25;:38;;:44;;2221:51;;2327:44;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2285:86;;;;2383:7;2378:53;;2392:39;2420:10;2392:27;:39::i;:::-;2462:10;2451:33;;;;;;;;;;;;:::i;:::-;2444:40;;;;;2132:358;:::o;933:255::-;1020:17;;:21;1016:118;;1106:10;1100:17;1087:10;1083:2;1079:19;1072:46;1016:118;1140:42;;;;;21365:2:52;1140:42:38;;;21347:21:52;;;21384:18;;;21377:30;21443:34;21423:18;;;21416:62;21495:18;;1140:42:38;21163:356:52;14:154;100:42;93:5;89:54;82:5;79:65;69:93;;158:1;155;148:12;69:93;14:154;:::o;173:118::-;259:5;252:13;245:21;238:5;235:32;225:60;;281:1;278;271:12;296:347;347:8;357:6;411:3;404:4;396:6;392:17;388:27;378:55;;429:1;426;419:12;378:55;-1:-1:-1;452:20:52;;495:18;484:30;;481:50;;;527:1;524;517:12;481:50;564:4;556:6;552:17;540:29;;616:3;609:4;600:6;592;588:19;584:30;581:39;578:59;;;633:1;630;623:12;578:59;296:347;;;;;:::o;648:1167::-;765:6;773;781;789;797;805;813;821;874:3;862:9;853:7;849:23;845:33;842:53;;;891:1;888;881:12;842:53;930:9;917:23;949:31;974:5;949:31;:::i;:::-;999:5;-1:-1:-1;1056:2:52;1041:18;;1028:32;1069:33;1028:32;1069:33;:::i;:::-;1121:7;-1:-1:-1;1180:2:52;1165:18;;1152:32;1193:30;1152:32;1193:30;:::i;:::-;1242:7;-1:-1:-1;1296:2:52;1281:18;;1268:32;;-1:-1:-1;1352:3:52;1337:19;;1324:33;1366;1324;1366;:::i;:::-;1418:7;-1:-1:-1;1477:3:52;1462:19;;1449:33;1491:30;1449:33;1491:30;:::i;:::-;1540:7;-1:-1:-1;1598:3:52;1583:19;;1570:33;1626:18;1615:30;;1612:50;;;1658:1;1655;1648:12;1612:50;1697:58;1747:7;1738:6;1727:9;1723:22;1697:58;:::i;:::-;648:1167;;;;-1:-1:-1;648:1167:52;;-1:-1:-1;648:1167:52;;;;;;1774:8;-1:-1:-1;;;648:1167:52:o;2669:961::-;2793:6;2801;2809;2817;2825;2833;2841;2849;2902:3;2890:9;2881:7;2877:23;2873:33;2870:53;;;2919:1;2916;2909:12;2870:53;2958:9;2945:23;2977:31;3002:5;2977:31;:::i;:::-;3027:5;-1:-1:-1;3084:2:52;3069:18;;3056:32;3097:33;3056:32;3097:33;:::i;:::-;3149:7;-1:-1:-1;3203:2:52;3188:18;;3175:32;;-1:-1:-1;3254:2:52;3239:18;;3226:32;;-1:-1:-1;3305:3:52;3290:19;;3277:33;;-1:-1:-1;3357:3:52;3342:19;;3329:33;;-1:-1:-1;3413:3:52;3398:19;;3385:33;3441:18;3430:30;;3427:50;;;3473:1;3470;3463:12;3888:180;3947:6;4000:2;3988:9;3979:7;3975:23;3971:32;3968:52;;;4016:1;4013;4006:12;3968:52;-1:-1:-1;4039:23:52;;3888:180;-1:-1:-1;3888:180:52:o;4073:250::-;4158:1;4168:113;4182:6;4179:1;4176:13;4168:113;;;4258:11;;;4252:18;4239:11;;;4232:39;4204:2;4197:10;4168:113;;;-1:-1:-1;;4315:1:52;4297:16;;4290:27;4073:250::o;4328:330::-;4370:3;4408:5;4402:12;4435:6;4430:3;4423:19;4451:76;4520:6;4513:4;4508:3;4504:14;4497:4;4490:5;4486:16;4451:76;:::i;:::-;4572:2;4560:15;4577:66;4556:88;4547:98;;;;4647:4;4543:109;;4328:330;-1:-1:-1;;4328:330:52:o;4663:220::-;4812:2;4801:9;4794:21;4775:4;4832:45;4873:2;4862:9;4858:18;4850:6;4832:45;:::i;:::-;4824:53;4663:220;-1:-1:-1;;;4663:220:52:o;4888:388::-;4956:6;4964;5017:2;5005:9;4996:7;4992:23;4988:32;4985:52;;;5033:1;5030;5023:12;4985:52;5072:9;5059:23;5091:31;5116:5;5091:31;:::i;:::-;5141:5;-1:-1:-1;5198:2:52;5183:18;;5170:32;5211:33;5170:32;5211:33;:::i;:::-;5263:7;5253:17;;;4888:388;;;;;:::o;5281:118::-;5368:5;5365:1;5354:20;5347:5;5344:31;5334:59;;5389:1;5386;5379:12;5404:162;5471:20;;5531:2;5520:21;;;5510:32;;5500:60;;5556:1;5553;5546:12;5500:60;5404:162;;;:::o;5571:1034::-;5681:6;5689;5697;5705;5713;5721;5729;5782:3;5770:9;5761:7;5757:23;5753:33;5750:53;;;5799:1;5796;5789:12;5750:53;5838:9;5825:23;5857:31;5882:5;5857:31;:::i;:::-;5907:5;-1:-1:-1;5964:2:52;5949:18;;5936:32;5977:33;5936:32;5977:33;:::i;:::-;6029:7;-1:-1:-1;6088:2:52;6073:18;;6060:32;6101:31;6060:32;6101:31;:::i;:::-;6151:7;-1:-1:-1;6210:2:52;6195:18;;6182:32;6223:31;6182:32;6223:31;:::i;:::-;6273:7;-1:-1:-1;6299:38:52;6332:3;6317:19;;6299:38;:::i;:::-;6289:48;;6388:3;6377:9;6373:19;6360:33;6416:18;6408:6;6405:30;6402:50;;;6448:1;6445;6438:12;6402:50;6487:58;6537:7;6528:6;6517:9;6513:22;6487:58;:::i;:::-;5571:1034;;;;-1:-1:-1;5571:1034:52;;-1:-1:-1;5571:1034:52;;;;6461:84;;-1:-1:-1;;;5571:1034:52:o;7529:525::-;7604:6;7612;7620;7673:2;7661:9;7652:7;7648:23;7644:32;7641:52;;;7689:1;7686;7679:12;7641:52;7728:9;7715:23;7747:31;7772:5;7747:31;:::i;:::-;7797:5;-1:-1:-1;7854:2:52;7839:18;;7826:32;7867:33;7826:32;7867:33;:::i;:::-;7919:7;-1:-1:-1;7978:2:52;7963:18;;7950:32;7991:31;7950:32;7991:31;:::i;:::-;8041:7;8031:17;;;7529:525;;;;;:::o;8059:823::-;8165:6;8173;8181;8189;8197;8205;8258:3;8246:9;8237:7;8233:23;8229:33;8226:53;;;8275:1;8272;8265:12;8226:53;8314:9;8301:23;8333:31;8358:5;8333:31;:::i;:::-;8383:5;-1:-1:-1;8440:2:52;8425:18;;8412:32;8453:33;8412:32;8453:33;:::i;:::-;8505:7;-1:-1:-1;8559:2:52;8544:18;;8531:32;;-1:-1:-1;8610:2:52;8595:18;;8582:32;;-1:-1:-1;8665:3:52;8650:19;;8637:33;8693:18;8682:30;;8679:50;;;8725:1;8722;8715:12;8679:50;8764:58;8814:7;8805:6;8794:9;8790:22;8764:58;:::i;:::-;8059:823;;;;-1:-1:-1;8059:823:52;;-1:-1:-1;8059:823:52;;8841:8;;8059:823;-1:-1:-1;;;8059:823:52:o;8887:1167::-;9014:6;9022;9030;9038;9046;9054;9062;9070;9078;9131:3;9119:9;9110:7;9106:23;9102:33;9099:53;;;9148:1;9145;9138:12;9099:53;9187:9;9174:23;9206:31;9231:5;9206:31;:::i;:::-;9256:5;-1:-1:-1;9313:2:52;9298:18;;9285:32;9326:33;9285:32;9326:33;:::i;:::-;9378:7;-1:-1:-1;9437:2:52;9422:18;;9409:32;9450:30;9409:32;9450:30;:::i;:::-;9499:7;-1:-1:-1;9553:2:52;9538:18;;9525:32;;-1:-1:-1;9609:3:52;9594:19;;9581:33;9623;9581;9623;:::i;:::-;9675:7;-1:-1:-1;9729:3:52;9714:19;;9701:33;;-1:-1:-1;9781:3:52;9766:19;;9753:33;;-1:-1:-1;9837:3:52;9822:19;;9809:33;9865:18;9854:30;;9851:50;;;9897:1;9894;9887:12;9851:50;9936:58;9986:7;9977:6;9966:9;9962:22;9936:58;:::i;:::-;9910:84;;10013:8;10003:18;;;10040:8;10030:18;;;8887:1167;;;;;;;;;;;:::o;10059:248::-;10127:6;10135;10188:2;10176:9;10167:7;10163:23;10159:32;10156:52;;;10204:1;10201;10194:12;10156:52;-1:-1:-1;;10227:23:52;;;10297:2;10282:18;;;10269:32;;-1:-1:-1;10059:248:52:o;10312:862::-;10474:4;10503:2;10543;10532:9;10528:18;10573:2;10562:9;10555:21;10596:6;10631;10625:13;10662:6;10654;10647:22;10700:2;10689:9;10685:18;10678:25;;10762:2;10752:6;10749:1;10745:14;10734:9;10730:30;10726:39;10712:53;;10800:2;10792:6;10788:15;10821:1;10831:314;10845:6;10842:1;10839:13;10831:314;;;10934:66;10922:9;10914:6;10910:22;10906:95;10901:3;10894:108;11025:40;11058:6;11049;11043:13;11025:40;:::i;:::-;11015:50;-1:-1:-1;11123:12:52;;;;11088:15;;;;10867:1;10860:9;10831:314;;;-1:-1:-1;11162:6:52;;10312:862;-1:-1:-1;;;;;;;10312:862:52:o;11179:247::-;11238:6;11291:2;11279:9;11270:7;11266:23;11262:32;11259:52;;;11307:1;11304;11297:12;11259:52;11346:9;11333:23;11365:31;11390:5;11365:31;:::i;11431:1172::-;11559:6;11567;11575;11583;11591;11599;11607;11615;11623;11676:3;11664:9;11655:7;11651:23;11647:33;11644:53;;;11693:1;11690;11683:12;11644:53;11732:9;11719:23;11751:31;11776:5;11751:31;:::i;:::-;11801:5;-1:-1:-1;11858:2:52;11843:18;;11830:32;11871:33;11830:32;11871:33;:::i;:::-;11923:7;-1:-1:-1;11982:2:52;11967:18;;11954:32;11995:31;11954:32;11995:31;:::i;:::-;12045:7;-1:-1:-1;12104:2:52;12089:18;;12076:32;12117:31;12076:32;12117:31;:::i;:::-;12167:7;-1:-1:-1;12193:38:52;12226:3;12211:19;;12193:38;:::i;12608:456::-;12685:6;12693;12701;12754:2;12742:9;12733:7;12729:23;12725:32;12722:52;;;12770:1;12767;12760:12;12722:52;12809:9;12796:23;12828:31;12853:5;12828:31;:::i;:::-;12878:5;-1:-1:-1;12930:2:52;12915:18;;12902:32;;-1:-1:-1;12986:2:52;12971:18;;12958:32;12999:33;12958:32;12999:33;:::i;13069:437::-;13148:1;13144:12;;;;13191;;;13212:61;;13266:4;13258:6;13254:17;13244:27;;13212:61;13319:2;13311:6;13308:14;13288:18;13285:38;13282:218;;13356:77;13353:1;13346:88;13457:4;13454:1;13447:15;13485:4;13482:1;13475:15;13282:218;;13069:437;;;:::o;13926:184::-;13978:77;13975:1;13968:88;14075:4;14072:1;14065:15;14099:4;14096:1;14089:15;14241:545;14343:2;14338:3;14335:11;14332:448;;;14379:1;14404:5;14400:2;14393:17;14449:4;14445:2;14435:19;14519:2;14507:10;14503:19;14500:1;14496:27;14490:4;14486:38;14555:4;14543:10;14540:20;14537:47;;;-1:-1:-1;14578:4:52;14537:47;14633:2;14628:3;14624:12;14621:1;14617:20;14611:4;14607:31;14597:41;;14688:82;14706:2;14699:5;14696:13;14688:82;;;14751:17;;;14732:1;14721:13;14688:82;;15022:1471;15148:3;15142:10;15175:18;15167:6;15164:30;15161:56;;;15197:18;;:::i;:::-;15226:97;15316:6;15276:38;15308:4;15302:11;15276:38;:::i;:::-;15270:4;15226:97;:::i;:::-;15378:4;;15442:2;15431:14;;15459:1;15454:782;;;;16280:1;16297:6;16294:89;;;-1:-1:-1;16349:19:52;;;16343:26;16294:89;14928:66;14919:1;14915:11;;;14911:84;14907:89;14897:100;15003:1;14999:11;;;14894:117;16396:81;;15424:1063;;15454:782;14188:1;14181:14;;;14225:4;14212:18;;15502:66;15490:79;;;15667:236;15681:7;15678:1;15675:14;15667:236;;;15770:19;;;15764:26;15749:42;;15862:27;;;;15830:1;15818:14;;;;15697:19;;15667:236;;;15671:3;15931:6;15922:7;15919:19;15916:261;;;15992:19;;;15986:26;16093:66;16075:1;16071:14;;;16087:3;16067:24;16063:97;16059:102;16044:118;16029:134;;15916:261;-1:-1:-1;;;;;16223:1:52;16207:14;;;16203:22;16190:36;;-1:-1:-1;15022:1471:52:o;16697:184::-;16749:77;16746:1;16739:88;16846:4;16843:1;16836:15;16870:4;16867:1;16860:15;16886:349;16925:3;16956:66;16949:5;16946:77;16943:257;;17056:77;17053:1;17046:88;17157:4;17154:1;17147:15;17185:4;17182:1;17175:15;16943:257;-1:-1:-1;17227:1:52;17216:13;;16886:349::o;17592:163::-;17670:13;;17723:6;17712:18;;17702:29;;17692:57;;17745:1;17742;17735:12;17760:836;17866:6;17874;17882;17890;17898;17906;17959:3;17947:9;17938:7;17934:23;17930:33;17927:53;;;17976:1;17973;17966:12;17927:53;18008:9;18002:16;18027:31;18052:5;18027:31;:::i;:::-;18127:2;18112:18;;18106:25;18077:5;;-1:-1:-1;18140:31:52;18106:25;18140:31;:::i;:::-;18190:7;-1:-1:-1;18216:48:52;18260:2;18245:18;;18216:48;:::i;:::-;18206:58;;18309:2;18298:9;18294:18;18288:25;18357:4;18348:7;18344:18;18335:7;18332:31;18322:59;;18377:1;18374;18367:12;18322:59;18400:7;-1:-1:-1;18426:49:52;18470:3;18455:19;;18426:49;:::i;:::-;18416:59;;18520:3;18509:9;18505:19;18499:26;18534:30;18556:7;18534:30;:::i;:::-;18583:7;18573:17;;;17760:836;;;;;;;;:::o;19017:287::-;19146:3;19184:6;19178:13;19200:66;19259:6;19254:3;19247:4;19239:6;19235:17;19200:66;:::i;:::-;19282:16;;;;;19017:287;-1:-1:-1;;19017:287:52:o;19309:278::-;19378:6;19431:2;19419:9;19410:7;19406:23;19402:32;19399:52;;;19447:1;19444;19437:12;19399:52;19479:9;19473:16;19529:8;19522:5;19518:20;19511:5;19508:31;19498:59;;19553:1;19550;19543:12;20306:245;20373:6;20426:2;20414:9;20405:7;20401:23;20397:32;20394:52;;;20442:1;20439;20432:12;20394:52;20474:9;20468:16;20493:28;20515:5;20493:28;:::i;20899:259::-;20977:6;21030:2;21018:9;21009:7;21005:23;21001:32;20998:52;;;21046:1;21043;21036:12;20998:52;21078:9;21072:16;21097:31;21122:5;21097:31;:::i"},"methodIdentifiers":{"ALGEBRA_BASE_PLUGIN_MANAGER()":"31b25d1a","activeModules(uint256)":"46b7748b","afterFlash(address,address,uint256,uint256,uint256,uint256,bytes)":"343d37ff","afterInitialize(address,uint160,int24)":"82dd6522","afterModifyPosition(address,address,int24,int24,int128,uint256,uint256,bytes)":"d6852010","afterSwap(address,address,bool,int256,uint160,int256,int256,bytes)":"9cb5a963","beforeFlash(address,address,uint256,uint256,bytes)":"8de0a8ee","beforeInitialize(address,uint160)":"636fd804","beforeModifyPosition(address,address,int24,int24,int128,bytes)":"5e2411b2","beforeSwap(address,address,bool,int256,uint160,bool,bytes)":"029c1cb7","collectPluginFee(address,uint256,address)":"e72c652d","defaultPluginConfig()":"689ea370","factory()":"c45a0155","feeDiscountRegistry()":"f20cdc1a","getActiveModuleNames()":"b6f78cc9","handlePluginFee(uint256,uint256)":"aa6b14bb","initialize(address,address)":"485cc955","pluginFactory()":"e2a1bd59","pool()":"16f0115b","setFeeDiscountRegistry(address)":"c3da7978"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pluginFactory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_feeDiscountImplementation\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"transferFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"FeeDiscountRegistry\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ALGEBRA_BASE_PLUGIN_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeModules\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"afterInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"afterSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeFlash\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"}],\"name\":\"beforeInitialize\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"},{\"internalType\":\"int128\",\"name\":\"\",\"type\":\"int128\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeModifyPosition\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"beforeSwap\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"collectPluginFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultPluginConfig\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeDiscountRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getActiveModuleNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"moduleNames\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"handlePluginFee\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_pool\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_feeDiscountRegistry\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pluginFactory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"setFeeDiscountRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Initialized(uint8)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"}},\"kind\":\"dev\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"params\":{\"amount\":\"Amount of tokens\",\"recipient\":\"Recipient address\",\"token\":\"The token address\"}},\"constructor\":{\"details\":\"Constructor sets immutable implementation address\",\"params\":{\"_factory\":\"The Algebra factory address\",\"_feeDiscountImplementation\":\"The FeeDiscount implementation address\",\"_pluginFactory\":\"The plugin factory address  \"}},\"getActiveModuleNames()\":{\"returns\":{\"moduleNames\":\"Array of active module names\"}},\"handlePluginFee(uint256,uint256)\":{\"params\":{\"pluginFee0\":\"Fee0 amount transferred to plugin\",\"pluginFee1\":\"Fee1 amount transferred to plugin\"},\"returns\":{\"_0\":\"bytes4 The function selector\"}},\"initialize(address,address)\":{\"params\":{\"_feeDiscountRegistry\":\"The fee discount registry address\",\"_pool\":\"The pool address this plugin is attached to\"}}},\"title\":\"Upgradeable FeeDiscount Plugin for Testing\",\"version\":1},\"userdoc\":{\"errors\":{\"transferFailed()\":[{\"notice\":\"Emitted if token transfer failed internally\"}]},\"kind\":\"user\",\"methods\":{\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"getActiveModuleNames()\":{\"notice\":\"Get all active module names\"},\"handlePluginFee(uint256,uint256)\":{\"notice\":\"Handle plugin fee transfer on plugin contract\"},\"initialize(address,address)\":{\"notice\":\"Initialize the plugin for a specific pool\"}},\"notice\":\"Test implementation of an upgradeable plugin using Beacon Proxy pattern with FeeDiscount connector\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/test/UpgradeableFeeDiscountPluginTest.sol\":\"UpgradeableFeeDiscountPluginTest\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol\":{\"keccak256\":\"0x5e50d5953c6db5fff06165da2b57f07f62e9f66a645bd18805251eeba68d7877\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://ab500ef898a3a0d2a96151ee3ff03f6445ead407cae80a6ee991db032167900e\",\"dweb:/ipfs/Qmeca6goUzunA24JpzrHhikSvLWMx8NDeLNa5msYqGngnV\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0x9cee862dd93a6dc061a5e54a262bc9cc1e84ca6f3352176fb8c7138eec97ae0e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c1e17f9dd356b457ca024b11d5340a6564109d27f46fec43b9a4f97421a2b315\",\"dweb:/ipfs/QmVH7uBmx22RkbMsYTszsnvGBXssH5DtLMYGPwZEc2HPjN\"]},\"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol\":{\"keccak256\":\"0x28e2aac84d585bbe96ecb9d5cd124fa7cd5929584c70e43a7c96f6faa93022d3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d1347582a9d12cf03fc99ca899f7788f9223773be12c35aa2b8c2145d2e6a2c8\",\"dweb:/ipfs/QmYDrse9BuFsrwHxAZdghycY9F6XQfGDrm8ZifUfFnx2n3\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol\":{\"keccak256\":\"0xb87bef911483f054559e6567a5a958200131b5101fbcee1ed7daefcfc082faf7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://46c8f76cde3c16aed0446e98dc61ddb196288652f6a8735ed87d6e53a13b4142\",\"dweb:/ipfs/Qmd7omugWuFrjrCcwfeRQbeUS1FhqvhscTij4xtqCmjNKG\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol\":{\"keccak256\":\"0x1d8bb94007c874be2640401aeed6219392c07e8b2e779fa24c618adc58bd7ae0\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://55d37783d81c98cb58ed41e6d7283af5fb07261b676a833f632cd6d128fc2e04\",\"dweb:/ipfs/QmXiJ63fWeBfkfJkLzBv1zLDyCjn5shW44ugYv44CqtTca\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol\":{\"keccak256\":\"0xdf59e7e2f672d08ecd361eb9a61fbd21ce70ad47e64f34dcd8bd8101e0e7aa5a\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://7719afe8dbd6803ecda550933f66d447a6fd9866a1a1b06d8c1eaad6c6fa8a63\",\"dweb:/ipfs/QmPwz3RuSWYuQaHMzwF6HP4MAomD2ZoZRm6YRKhdWNhPWb\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol\":{\"keccak256\":\"0xf1cc5f09fc738bf41381fdf6864919c07965f25e715af6982df54605ce3a32fc\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6fa8803e45159a6c404fd714321bc2ba0e010e76e3755594628f0c0bc9204182\",\"dweb:/ipfs/QmSAtmyH38VtzgycYTjGF3Y5aWG6DPjWD3JDjGVAn4fi2m\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol\":{\"keccak256\":\"0x4f9b70282bac671383d001cffca1479dd64f507db84cdab16da886804c64a60c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b1bc8b774ab5027d97625c3ac01ee3f4bbdefcd012ff0bb0e4c9752096bd9562\",\"dweb:/ipfs/Qmcn5kGihMiZAMjwpY1f12nTSWMyrLqmXLvoifaqPtQYYo\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol\":{\"keccak256\":\"0x5ee2c56b4acc88f0c4649e39ebb0f8452381e13305bd297b53358cbe32c16069\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d25e93950215a98988cf189d2eb1cd0bc41c91d7f190b7e3c5cdfb92651dcfd5\",\"dweb:/ipfs/QmXkA7xk83yJtooAqJSRwUfR7V6iwjsiwbvEfATyasuiEM\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol\":{\"keccak256\":\"0xd6b18486bd0eaee545ad10115d33c527e5ba5ddff571120678e7db58ca00b726\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://470a64313758d0a26a6910c924eae39e5c4df6912c61e7239e0d930097f8512f\",\"dweb:/ipfs/QmY18B9x18hLCKQ3kAqjPhHzMvZxKrvNeUjPycKYodETaa\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol\":{\"keccak256\":\"0x02d0fb9c64fba4c4dd0509bb9333825c801a0587d5b957c46f5cb1c610acc447\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://8480784b2654829c0958b00aa3109249ce9088dbe94b6eadeaf8e9138829a764\",\"dweb:/ipfs/QmeFG5AsPUQfhMPtvYC3f9BhGu7sVm71wj2PgXDczaM7XP\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol\":{\"keccak256\":\"0xbd9faad7e7599c61c3141cfe2dd2e423ad4746a6119f047b0ae6d2eccb77bc9c\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d0df4bed6cf34a8c0f6b971fb71411373b4d204afda35eabe8555d8cbe67e291\",\"dweb:/ipfs/QmY6z3BseKy3tEvmLVjhL7VFrNJRuQgDXJXNAFBkBQ218A\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol\":{\"keccak256\":\"0xe061f0f9b5b16934173b1127efe13ccfe80465db17156d91c04e018b31e993fa\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://c607033ec09828f4a8667e7fd2e562814ec689d5806d95b4a248f57e0eff9d38\",\"dweb:/ipfs/QmbGBxBMSzPKitHmRjYJwGGEZVsXDQB6emSsZ19hjy6LUz\"]},\"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol\":{\"keccak256\":\"0xcdaae6cd6af79c4f344e673fe886a980ef5203b15b49f7a466c336c0152ce6ae\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://fa2d3073bd4ca013e2769cf0fa5b68f32cec4fa53a6cc66adb59d86e6293cf15\",\"dweb:/ipfs/QmcwveJdf3JLAPfFZShijKTTxMTP4joDDuSuFboXBe711S\"]},\"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol\":{\"keccak256\":\"0x354b1e099e9a47ce6fdc2ff4a4549249fa9c54434bf4dedb14fd4afe7d94d2d5\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d9efe57e2239df29c7290fc1a27c8f0a6d8aa1f9e4c9271efadb8b29b29d7058\",\"dweb:/ipfs/QmbRJqfJR62Bx7XhN8qNBk85zjpWfyxSSiC5vHpxXnYMKb\"]},\"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol\":{\"keccak256\":\"0x14e91c94e35c50efcd97e13609f686499c1dfa726ee0b3f6078fa4b99bde9a0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d9a7efa21d03180ded0e99d7ba05abd5c8ebedf2439a5a78091b679eadc4064\",\"dweb:/ipfs/QmVUZPhYPTb2yY9381AL242tfVsb3iWxmE2XwqcN9HG6eW\"]},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x89be10e757d242e9b18d5a32c9fbe2019f6d63052bbe46397a430a1d60d7f794\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f103ee2e4aecd37aac6ceefe670709cdd7613dee25fa2d4d9feaf7fc0aaa155e\",\"dweb:/ipfs/QmRiNZLoJk5k3HPMYGPGjZFd2ke1ZxjhJZkM45Ec9GH9hv\"]},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"keccak256\":\"0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://310136ad60820af4177a11a61d77a3686faf5fca4942b600e08fc940db38396b\",\"dweb:/ipfs/QmbCzMNSTL7Zi7M4UCSqBrkHtp4jjxUnGbkneCZKdR1qeq\"]},\"contracts/FeeDiscountConnector.sol\":{\"keccak256\":\"0xd3fa8cd0be886175dc35a8cf2c42aebe2441fe5448b9271e6efbb2f3200c29db\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://0db1cb32d5cdeeecc57c11d021b1f7e82162b6c5dfdbca62a9635bbf7c230caf\",\"dweb:/ipfs/QmboDw8cJr8VmMBdwy3uKV3LZSdkdVbeuHbx5ZKooinBZ4\"]},\"contracts/interfaces/IFeeDiscountPlugin.sol\":{\"keccak256\":\"0x5fd8ce2295eeb9e622a64a6fd8c566ee4b299a2012c826f54772f7c77c849937\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://5523749e1b9b92a5137ecc27ffca992da8db3b7928355c35b36d8dd223422bd7\",\"dweb:/ipfs/QmVTkTPzpLKKMihtmvSsEHSZQapDmF1F6XfE6kpa5htbCr\"]},\"contracts/test/UpgradeableFeeDiscountPluginTest.sol\":{\"keccak256\":\"0x4f480e07c0a948ec728d17118c83b0191aabf78b8102673e43d1753663d2f3f1\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://7aee690f4aa414c84b2390aac10ca0d6f3f570f39a0c57133e1e6e4ef37c7312\",\"dweb:/ipfs/QmTqnarW52VrXBg1m1NVNh2Xd6mtK7Ej4hoSxR4mmvWo2E\"]}},\"version\":1}"}}}}}