{"id":"f11e4eda0540bf6ed171fb11dccd6893","_format":"hh-sol-build-info-1","solcVersion":"0.8.20","solcLongVersion":"0.8.20+commit.a1b79de6","input":{"language":"Solidity","sources":{"@cryptoalgebra/abstract-plugin/contracts/BaseConnector.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\n/// @title Base Connector\r\n/// @notice Abstract base contract for all plugin connectors providing common delegatecall utilities\r\n/// @dev Eliminates code duplication across connectors by providing shared delegation logic\r\nabstract contract BaseConnector {\r\n\r\n  error ConnectorDelegatecallFailed();\r\n\r\n  /// @dev Execute delegatecall and revert with original error if failed\r\n  /// @param implementation The implementation address to delegatecall\r\n  /// @param data The encoded function call data\r\n  /// @return returnData The return data from the delegatecall\r\n  function _delegateCall(address implementation, bytes memory data) internal returns (bytes memory returnData) {\r\n    bool success;\r\n    (success, returnData) = implementation.delegatecall(data);\r\n    if (!success) {\r\n      if (returnData.length > 0) {\r\n        assembly {\r\n          revert(add(32, returnData), mload(returnData))\r\n        }\r\n      }\r\n      revert ConnectorDelegatecallFailed();\r\n    }\r\n  }\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"},"@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  error OnlyPool();\r\n  error OnlyPluginFactory();\r\n  error OnlyAdministrator();\r\n\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/interfaces/IAlgebraPluginProxy.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity >=0.5.0;\r\n\r\ninterface IAlgebraPluginProxy {\r\n  function pool() external view returns (address);\r\n}"},"@cryptoalgebra/abstract-plugin/contracts/libraries/AbstractPluginStorage.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity ^0.8.20;\r\n\r\nlibrary AbstractPluginStorage {\r\n  /// @dev Storage namespace for AbstractPlugin using ERC-7201-style namespacing.\r\n  bytes32 internal constant NAMESPACE = keccak256('algebra.storage.abstractplugin');\r\n\r\n  struct Layout {\r\n    uint8 defaultPluginConfig;\r\n    string[] activeModules;\r\n  }\r\n\r\n  function layout() internal pure returns (Layout storage l) {\r\n    bytes32 position = NAMESPACE;\r\n    assembly {\r\n      l.slot := position\r\n    }\r\n  }\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\nimport './interfaces/IAlgebraPluginProxy.sol';\r\nimport './libraries/AbstractPluginStorage.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  uint256 public constant POOL_ADDRESS_OFFSET = 75;\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  modifier onlyPool() {\r\n    _checkIfFromPool();\r\n    _;\r\n  }\r\n\r\n  modifier onlyPluginFactory() {\r\n    if (msg.sender != pluginFactory) revert OnlyPluginFactory();\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 Returns the default plugin config\r\n  function defaultPluginConfig() public view returns (uint8) {\r\n    return _getDefaultPluginConfig();\r\n  }\r\n\r\n  /// @notice Returns a module name by index \r\n  function activeModules(uint256 index) public view returns (string memory) {\r\n    return _activeModules()[index];\r\n  }\r\n\r\n  function _getPool() internal view virtual returns (address) {\r\n    bytes32 word;\r\n    assembly {\r\n        let ptr := mload(0x40)\r\n        extcodecopy(address(), ptr, POOL_ADDRESS_OFFSET, 32)\r\n        word := mload(ptr)\r\n    }\r\n    return address(uint160(uint256(word)));\r\n  }\r\n\r\n  function _checkIfFromPool() internal view {\r\n    if (msg.sender != _getPool()) revert OnlyPool();\r\n  }\r\n\r\n  function _authorize() internal view virtual {\r\n    if (!IAlgebraFactory(factory).hasRoleOrOwner(ALGEBRA_BASE_PLUGIN_MANAGER, msg.sender)) revert OnlyAdministrator();\r\n  }\r\n\r\n  function getActiveModuleNames() external view override returns (string[] memory moduleNames) {\r\n    string[] storage modules = _activeModules();\r\n    moduleNames = new string[](modules.length);\r\n    for (uint256 i = 0; i < modules.length; i++) {\r\n      moduleNames[i] = modules[i];\r\n    }\r\n  }\r\n\r\n  function _getPoolState() internal view virtual returns (uint160 price, int24 tick, uint16 fee, uint8 pluginConfig) {\r\n    (price, tick, fee, pluginConfig, , ) = IAlgebraPoolState(_getPool()).globalState();\r\n  }\r\n\r\n  function _getPluginInPool() internal view returns (address plugin) {\r\n    return IAlgebraPool(_getPool()).plugin();\r\n  }\r\n\r\n  function pool() public view returns (address) {\r\n    return _getPool();\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 view virtual 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(\r\n    address,\r\n    address,\r\n    int24,\r\n    int24,\r\n    int128,\r\n    bytes calldata\r\n  ) 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(\r\n    address,\r\n    address,\r\n    bool,\r\n    int256,\r\n    uint160,\r\n    int256,\r\n    int256,\r\n    bytes calldata\r\n  ) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.afterSwap.selector;\r\n  }\r\n\r\n  function beforeFlash(\r\n    address,\r\n    address,\r\n    uint256,\r\n    uint256,\r\n    bytes calldata\r\n  ) external virtual override onlyPool returns (bytes4) {\r\n    return IAlgebraPlugin.beforeFlash.selector;\r\n  }\r\n\r\n  function afterFlash(\r\n    address,\r\n    address,\r\n    uint256,\r\n    uint256,\r\n    uint256,\r\n    uint256,\r\n    bytes calldata\r\n  ) 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(_getPool()).setPluginConfig(newPluginConfig);\r\n    }\r\n  }\r\n\r\n  function _abstractPluginStorage() internal pure returns (AbstractPluginStorage.Layout storage s) {\r\n    return AbstractPluginStorage.layout();\r\n  }\r\n\r\n  function _getDefaultPluginConfig() internal view returns (uint8) {\r\n    return _abstractPluginStorage().defaultPluginConfig;\r\n  }\r\n\r\n  function _setDefaultPluginConfig(uint8 config) internal {\r\n    _abstractPluginStorage().defaultPluginConfig = config;\r\n  }\r\n\r\n  function _appendActiveModule(string memory name) internal {\r\n    _abstractPluginStorage().activeModules.push(name);\r\n  }\r\n\r\n  function _activeModules() internal view returns (string[] storage modules) {\r\n    modules = _abstractPluginStorage().activeModules;\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/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/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"},"@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"},"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 '@cryptoalgebra/abstract-plugin/contracts/BaseConnector.sol';\r\nimport './interfaces/IFeeDiscountPlugin.sol';\r\nimport './interfaces/IFeeDiscountPluginImplementation.sol';\r\nimport './libraries/FeeDiscountStorage.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, BaseConnector {\r\n  using Plugins for uint8;\r\n\r\n  string internal constant FEE_DISCOUNT_MODULE_NAME = 'Fee Discount Plugin';\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  /// @notice Initialize FeeDiscount plugin via delegatecall\r\n  function _initializeFeeDiscount(\r\n    address _feeDiscountRegistry\r\n  ) internal returns (uint8 pluginConfig, string memory moduleName) {\r\n    _delegateCall(\r\n      feeDiscountImplementation,\r\n      abi.encodeCall(IFeeDiscountPluginImplementation.initializeFeeDiscount, (_feeDiscountRegistry))\r\n    );\r\n    return (FEE_DISCOUNT_PLUGIN_CONFIG, FEE_DISCOUNT_MODULE_NAME);\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 returnData = _delegateCall(\r\n      feeDiscountImplementation,\r\n      abi.encodeCall(IFeeDiscountPluginImplementation.applyFeeDiscount, (user, pool, fee))\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    _delegateCall(\r\n      feeDiscountImplementation,\r\n      abi.encodeCall(IFeeDiscountPluginImplementation.setFeeDiscountRegistry, (registry))\r\n    );\r\n    emit FeeDiscountRegistry(registry);\r\n  }\r\n\r\n  /// @inheritdoc IFeeDiscountPlugin\r\n  function feeDiscountRegistry() external view override returns (address) {\r\n    return FeeDiscountStorage.layout().feeDiscountRegistry;\r\n  }\r\n}\r\n"},"contracts/interfaces/IFeeDiscountPlugin.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity >=0.5.0;\r\n\r\ninterface IFeeDiscountPlugin {\r\n  function setFeeDiscountRegistry(address registry) external;\r\n\r\n  function feeDiscountRegistry() external view returns (address);\r\n\r\n  event FeeDiscountRegistry(address registry);\r\n}\r\n"},"contracts/interfaces/IFeeDiscountPluginImplementation.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\n/// @title IFeeDiscountPluginImplementation\r\n/// @notice Interface for FeeDiscount plugin implementation contract\r\n/// @dev Used for type-safe delegatecall encoding in FeeDiscountConnector\r\ninterface IFeeDiscountPluginImplementation {\r\n  function initializeFeeDiscount(address _feeDiscountRegistry) external;\r\n  function setFeeDiscountRegistry(address _feeDiscountRegistry) external;\r\n  function getFeeDiscountRegistry() external view returns (address);\r\n  function applyFeeDiscount(address user, address pool, uint24 fee) external returns (uint24 updatedFee);\r\n}\r\n"},"contracts/libraries/FeeDiscountStorage.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\r\npragma solidity =0.8.20;\r\n\r\n/// @dev Shared namespaced storage for FeeDiscount plugin (used by connector + implementation).\r\nlibrary FeeDiscountStorage {\r\n  /// @dev Storage namespace for FeeDiscount plugin using ERC-7201-style namespacing.\r\n  bytes32 internal constant NAMESPACE = keccak256('algebra.storage.feediscount');\r\n\r\n  struct Layout {\r\n    address feeDiscountRegistry;\r\n  }\r\n\r\n  function layout() internal pure returns (Layout storage l) {\r\n    bytes32 position = NAMESPACE;\r\n    assembly {\r\n      l.slot := position\r\n    }\r\n  }\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 onlyPluginFactory {\r\n\r\n    (uint8 pluginConfig, string memory moduleName) = _initializeFeeDiscount(_feeDiscountRegistry);\r\n    _setDefaultPluginConfig(_getDefaultPluginConfig() | pluginConfig);\r\n\r\n    _appendActiveModule(moduleName);\r\n  }\r\n\r\n  // ###### HOOKS ######\r\n\r\n  function beforeInitialize(\r\n    address,\r\n    uint160\r\n  ) external override onlyPool returns (bytes4) {\r\n    _updatePluginConfigInPool(_getDefaultPluginConfig());\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 onlyPool returns (bytes4, uint24, uint24) {\r\n    (, , uint16 fee, ) = _getPoolState();\r\n    uint24 discountedFee = _applyFeeDiscount(sender, _getPool(), 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, BaseConnector) {\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":{"errors":[{"component":"general","errorCode":"5667","formattedMessage":"Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.\n  --> contracts/test/UpgradeableFeeDiscountPluginTest.sol:28:23:\n   |\n28 |   function initialize(address _pool, address _feeDiscountRegistry) external initializer onlyPluginFactory {\n   |                       ^^^^^^^^^^^^^\n\n","message":"Unused function parameter. Remove or comment out the variable name to silence this warning.","severity":"warning","sourceLocation":{"end":1337,"file":"contracts/test/UpgradeableFeeDiscountPluginTest.sol","start":1324},"type":"Warning"}],"sources":{"@cryptoalgebra/abstract-plugin/contracts/BaseConnector.sol":{"ast":{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/BaseConnector.sol","exportedSymbols":{"BaseConnector":[46]},"id":47,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:0"},{"abstract":true,"baseContracts":[],"canonicalName":"BaseConnector","contractDependencies":[],"contractKind":"contract","documentation":{"id":2,"nodeType":"StructuredDocumentation","src":"66:222:0","text":"@title Base Connector\n @notice Abstract base contract for all plugin connectors providing common delegatecall utilities\n @dev Eliminates code duplication across connectors by providing shared delegation logic"},"fullyImplemented":false,"id":46,"linearizedBaseContracts":[46],"name":"BaseConnector","nameLocation":"306:13:0","nodeType":"ContractDefinition","nodes":[{"errorSelector":"70473732","id":4,"name":"ConnectorDelegatecallFailed","nameLocation":"333:27:0","nodeType":"ErrorDefinition","parameters":{"id":3,"nodeType":"ParameterList","parameters":[],"src":"360:2:0"},"src":"327:36:0"},{"body":{"id":40,"nodeType":"Block","src":"738:296:0","statements":[{"assignments":[15],"declarations":[{"constant":false,"id":15,"mutability":"mutable","name":"success","nameLocation":"750:7:0","nodeType":"VariableDeclaration","scope":40,"src":"745:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14,"name":"bool","nodeType":"ElementaryTypeName","src":"745:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":16,"nodeType":"VariableDeclarationStatement","src":"745:12:0"},{"expression":{"id":24,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":17,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"765:7:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":18,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12,"src":"774:10:0","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":19,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"764:21:0","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":22,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9,"src":"816:4:0","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":20,"name":"implementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7,"src":"788:14:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":21,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"803:12:0","memberName":"delegatecall","nodeType":"MemberAccess","src":"788:27:0","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":23,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"788:33:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"src":"764:57:0","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":25,"nodeType":"ExpressionStatement","src":"764:57:0"},{"condition":{"id":27,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"832:8:0","subExpression":{"id":26,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"833:7:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":39,"nodeType":"IfStatement","src":"828:201:0","trueBody":{"id":38,"nodeType":"Block","src":"842:187:0","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":31,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":28,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12,"src":"855:10:0","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":29,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"866:6:0","memberName":"length","nodeType":"MemberAccess","src":"855:17:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":30,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"875:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"855:21:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":34,"nodeType":"IfStatement","src":"851:126:0","trueBody":{"id":33,"nodeType":"Block","src":"878:99:0","statements":[{"AST":{"nodeType":"YulBlock","src":"898:70:0","statements":[{"expression":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"922:2:0","type":"","value":"32"},{"name":"returnData","nodeType":"YulIdentifier","src":"926:10:0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"918:3:0"},"nodeType":"YulFunctionCall","src":"918:19:0"},{"arguments":[{"name":"returnData","nodeType":"YulIdentifier","src":"945:10:0"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"939:5:0"},"nodeType":"YulFunctionCall","src":"939:17:0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"911:6:0"},"nodeType":"YulFunctionCall","src":"911:46:0"},"nodeType":"YulExpressionStatement","src":"911:46:0"}]},"evmVersion":"paris","externalReferences":[{"declaration":12,"isOffset":false,"isSlot":false,"src":"926:10:0","valueSize":1},{"declaration":12,"isOffset":false,"isSlot":false,"src":"945:10:0","valueSize":1}],"id":32,"nodeType":"InlineAssembly","src":"889:79:0"}]}},{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":35,"name":"ConnectorDelegatecallFailed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4,"src":"992:27:0","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":36,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"992:29:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":37,"nodeType":"RevertStatement","src":"985:36:0"}]}}]},"documentation":{"id":5,"nodeType":"StructuredDocumentation","src":"369:256:0","text":"@dev Execute delegatecall and revert with original error if failed\n @param implementation The implementation address to delegatecall\n @param data The encoded function call data\n @return returnData The return data from the delegatecall"},"id":41,"implemented":true,"kind":"function","modifiers":[],"name":"_delegateCall","nameLocation":"638:13:0","nodeType":"FunctionDefinition","parameters":{"id":10,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7,"mutability":"mutable","name":"implementation","nameLocation":"660:14:0","nodeType":"VariableDeclaration","scope":41,"src":"652:22:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6,"name":"address","nodeType":"ElementaryTypeName","src":"652:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":9,"mutability":"mutable","name":"data","nameLocation":"689:4:0","nodeType":"VariableDeclaration","scope":41,"src":"676:17:0","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":8,"name":"bytes","nodeType":"ElementaryTypeName","src":"676:5:0","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"651:43:0"},"returnParameters":{"id":13,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12,"mutability":"mutable","name":"returnData","nameLocation":"726:10:0","nodeType":"VariableDeclaration","scope":41,"src":"713:23:0","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":11,"name":"bytes","nodeType":"ElementaryTypeName","src":"713:5:0","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"712:25:0"},"scope":46,"src":"629:405:0","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"documentation":{"id":42,"nodeType":"StructuredDocumentation","src":"1040:74:0","text":"@dev Must be implemented by inheriting contract to check authorization"},"id":45,"implemented":false,"kind":"function","modifiers":[],"name":"_authorize","nameLocation":"1127:10:0","nodeType":"FunctionDefinition","parameters":{"id":43,"nodeType":"ParameterList","parameters":[],"src":"1137:2:0"},"returnParameters":{"id":44,"nodeType":"ParameterList","parameters":[],"src":"1161:0:0"},"scope":46,"src":"1118:44:0","stateMutability":"view","virtual":true,"visibility":"internal"}],"scope":47,"src":"288:877:0","usedErrors":[4],"usedEvents":[]}],"src":"38:1129:0"},"id":0},"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol":{"ast":{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol","exportedSymbols":{"AbstractPluginStorage":[689],"AddressUpgradeable":[2450],"IAbstractPlugin":[654],"IAlgebraFactory":[973],"IAlgebraPlugin":[1161],"IAlgebraPluginFactory":[1193],"IAlgebraPluginProxy":[662],"IAlgebraPool":[995],"IAlgebraPoolActions":[1309],"IAlgebraPoolErrors":[1411],"IAlgebraPoolEvents":[1563],"IAlgebraPoolImmutables":[1591],"IAlgebraPoolPermissionedActions":[1639],"IAlgebraPoolState":[1823],"IAlgebraVaultFactory":[1851],"Initializable":[2120],"Plugins":[1923],"SafeTransfer":[1951],"Timestamp":[706],"UpgradeableAbstractPlugin":[623]},"id":624,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":48,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:1"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol","file":"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol","id":49,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":707,"src":"66:74:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":50,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":1924,"src":"142:70:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol","id":51,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":1952,"src":"214:75:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","id":52,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":974,"src":"293:79:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","id":53,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":1824,"src":"374:86:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol","id":54,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":996,"src":"462:76:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","id":55,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":1162,"src":"540:85:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","file":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","id":56,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":2121,"src":"629:75:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol","file":"./interfaces/IAbstractPlugin.sol","id":57,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":655,"src":"708:42:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAlgebraPluginProxy.sol","file":"./interfaces/IAlgebraPluginProxy.sol","id":58,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":663,"src":"752:46:1","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/libraries/AbstractPluginStorage.sol","file":"./libraries/AbstractPluginStorage.sol","id":59,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":624,"sourceUnit":690,"src":"800:47:1","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":61,"name":"Initializable","nameLocations":["1144:13:1"],"nodeType":"IdentifierPath","referencedDeclaration":2120,"src":"1144:13:1"},"id":62,"nodeType":"InheritanceSpecifier","src":"1144:13:1"},{"baseName":{"id":63,"name":"IAbstractPlugin","nameLocations":["1159:15:1"],"nodeType":"IdentifierPath","referencedDeclaration":654,"src":"1159:15:1"},"id":64,"nodeType":"InheritanceSpecifier","src":"1159:15:1"},{"baseName":{"id":65,"name":"Timestamp","nameLocations":["1176:9:1"],"nodeType":"IdentifierPath","referencedDeclaration":706,"src":"1176:9:1"},"id":66,"nodeType":"InheritanceSpecifier","src":"1176:9:1"}],"canonicalName":"UpgradeableAbstractPlugin","contractDependencies":[],"contractKind":"contract","documentation":{"id":60,"nodeType":"StructuredDocumentation","src":"851:246:1","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":623,"linearizedBaseContracts":[623,706,654,1161,2120],"name":"UpgradeableAbstractPlugin","nameLocation":"1115:25:1","nodeType":"ContractDefinition","nodes":[{"global":false,"id":69,"libraryName":{"id":67,"name":"Plugins","nameLocations":["1197:7:1"],"nodeType":"IdentifierPath","referencedDeclaration":1923,"src":"1197:7:1"},"nodeType":"UsingForDirective","src":"1191:24:1","typeName":{"id":68,"name":"uint8","nodeType":"ElementaryTypeName","src":"1209:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}},{"constant":true,"functionSelector":"36badf63","id":72,"mutability":"constant","name":"POOL_ADDRESS_OFFSET","nameLocation":"1245:19:1","nodeType":"VariableDeclaration","scope":623,"src":"1221:48:1","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":70,"name":"uint256","nodeType":"ElementaryTypeName","src":"1221:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"3735","id":71,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1267:2:1","typeDescriptions":{"typeIdentifier":"t_rational_75_by_1","typeString":"int_const 75"},"value":"75"},"visibility":"public"},{"constant":true,"documentation":{"id":73,"nodeType":"StructuredDocumentation","src":"1274:50:1","text":"@dev The role can be granted in AlgebraFactory"},"functionSelector":"31b25d1a","id":78,"mutability":"constant","name":"ALGEBRA_BASE_PLUGIN_MANAGER","nameLocation":"1352:27:1","nodeType":"VariableDeclaration","scope":623,"src":"1328:94:1","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":74,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1328:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"414c47454252415f424153455f504c5547494e5f4d414e41474552","id":76,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1392:29:1","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":75,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1382:9:1","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":77,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1382:40:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":false,"documentation":{"id":79,"nodeType":"StructuredDocumentation","src":"1429:81:1","text":"@dev Immutable: shared across all proxies (stored in implementation bytecode)"},"functionSelector":"c45a0155","id":81,"mutability":"immutable","name":"factory","nameLocation":"1539:7:1","nodeType":"VariableDeclaration","scope":623,"src":"1514:32:1","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":80,"name":"address","nodeType":"ElementaryTypeName","src":"1514:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"documentation":{"id":82,"nodeType":"StructuredDocumentation","src":"1553:81:1","text":"@dev Immutable: shared across all proxies (stored in implementation bytecode)"},"functionSelector":"e2a1bd59","id":84,"mutability":"immutable","name":"pluginFactory","nameLocation":"1663:13:1","nodeType":"VariableDeclaration","scope":623,"src":"1638:38:1","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":83,"name":"address","nodeType":"ElementaryTypeName","src":"1638:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"body":{"id":90,"nodeType":"Block","src":"1703:39:1","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":86,"name":"_checkIfFromPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":181,"src":"1710:16:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":87,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1710:18:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":88,"nodeType":"ExpressionStatement","src":"1710:18:1"},{"id":89,"nodeType":"PlaceholderStatement","src":"1735:1:1"}]},"id":91,"name":"onlyPool","nameLocation":"1692:8:1","nodeType":"ModifierDefinition","parameters":{"id":85,"nodeType":"ParameterList","parameters":[],"src":"1700:2:1"},"src":"1683:59:1","virtual":false,"visibility":"internal"},{"body":{"id":102,"nodeType":"Block","src":"1777:80:1","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":96,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":93,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1788:3:1","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":94,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1792:6:1","memberName":"sender","nodeType":"MemberAccess","src":"1788:10:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":95,"name":"pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":84,"src":"1802:13:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1788:27:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":100,"nodeType":"IfStatement","src":"1784:59:1","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":97,"name":"OnlyPluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":634,"src":"1824:17:1","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":98,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1824:19:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99,"nodeType":"RevertStatement","src":"1817:26:1"}},{"id":101,"nodeType":"PlaceholderStatement","src":"1850:1:1"}]},"id":103,"name":"onlyPluginFactory","nameLocation":"1757:17:1","nodeType":"ModifierDefinition","parameters":{"id":92,"nodeType":"ParameterList","parameters":[],"src":"1774:2:1"},"src":"1748:109:1","virtual":false,"visibility":"internal"},{"body":{"id":122,"nodeType":"Block","src":"2108:97:1","statements":[{"expression":{"id":113,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":111,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":81,"src":"2115:7:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":112,"name":"_factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":106,"src":"2125:8:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2115:18:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":114,"nodeType":"ExpressionStatement","src":"2115:18:1"},{"expression":{"id":117,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":115,"name":"pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":84,"src":"2140:13:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":116,"name":"_pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":108,"src":"2156:14:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2140:30:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":118,"nodeType":"ExpressionStatement","src":"2140:30:1"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":119,"name":"_disableInitializers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2101,"src":"2177:20:1","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":120,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2177:22:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":121,"nodeType":"ExpressionStatement","src":"2177:22:1"}]},"documentation":{"id":104,"nodeType":"StructuredDocumentation","src":"1863:187:1","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":123,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":109,"nodeType":"ParameterList","parameters":[{"constant":false,"id":106,"mutability":"mutable","name":"_factory","nameLocation":"2074:8:1","nodeType":"VariableDeclaration","scope":123,"src":"2066:16:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":105,"name":"address","nodeType":"ElementaryTypeName","src":"2066:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":108,"mutability":"mutable","name":"_pluginFactory","nameLocation":"2092:14:1","nodeType":"VariableDeclaration","scope":123,"src":"2084:22:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":107,"name":"address","nodeType":"ElementaryTypeName","src":"2084:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2065:42:1"},"returnParameters":{"id":110,"nodeType":"ParameterList","parameters":[],"src":"2108:0:1"},"scope":623,"src":"2054:151:1","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[1004],"body":{"id":132,"nodeType":"Block","src":"2319:45:1","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":129,"name":"_getDefaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":584,"src":"2333:23:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint8_$","typeString":"function () view returns (uint8)"}},"id":130,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2333:25:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":128,"id":131,"nodeType":"Return","src":"2326:32:1"}]},"documentation":{"id":124,"nodeType":"StructuredDocumentation","src":"2211:45:1","text":"@notice Returns the default plugin config"},"functionSelector":"689ea370","id":133,"implemented":true,"kind":"function","modifiers":[],"name":"defaultPluginConfig","nameLocation":"2269:19:1","nodeType":"FunctionDefinition","parameters":{"id":125,"nodeType":"ParameterList","parameters":[],"src":"2288:2:1"},"returnParameters":{"id":128,"nodeType":"ParameterList","parameters":[{"constant":false,"id":127,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":133,"src":"2312:5:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":126,"name":"uint8","nodeType":"ElementaryTypeName","src":"2312:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"2311:7:1"},"scope":623,"src":"2260:104:1","stateMutability":"view","virtual":false,"visibility":"public"},{"body":{"id":146,"nodeType":"Block","src":"2491:43:1","statements":[{"expression":{"baseExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":141,"name":"_activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":622,"src":"2505:14:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_array$_t_string_storage_$dyn_storage_ptr_$","typeString":"function () view returns (string storage ref[] storage pointer)"}},"id":142,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2505:16:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string storage ref[] storage pointer"}},"id":144,"indexExpression":{"id":143,"name":"index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136,"src":"2522:5:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2505:23:1","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":140,"id":145,"nodeType":"Return","src":"2498:30:1"}]},"documentation":{"id":134,"nodeType":"StructuredDocumentation","src":"2370:43:1","text":"@notice Returns a module name by index "},"functionSelector":"46b7748b","id":147,"implemented":true,"kind":"function","modifiers":[],"name":"activeModules","nameLocation":"2426:13:1","nodeType":"FunctionDefinition","parameters":{"id":137,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136,"mutability":"mutable","name":"index","nameLocation":"2448:5:1","nodeType":"VariableDeclaration","scope":147,"src":"2440:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135,"name":"uint256","nodeType":"ElementaryTypeName","src":"2440:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2439:15:1"},"returnParameters":{"id":140,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":147,"src":"2476:13:1","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":138,"name":"string","nodeType":"ElementaryTypeName","src":"2476:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2475:15:1"},"scope":623,"src":"2417:117:1","stateMutability":"view","virtual":false,"visibility":"public"},{"body":{"id":167,"nodeType":"Block","src":"2600:215:1","statements":[{"assignments":[153],"declarations":[{"constant":false,"id":153,"mutability":"mutable","name":"word","nameLocation":"2615:4:1","nodeType":"VariableDeclaration","scope":167,"src":"2607:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":152,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2607:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":154,"nodeType":"VariableDeclarationStatement","src":"2607:12:1"},{"AST":{"nodeType":"YulBlock","src":"2635:130:1","statements":[{"nodeType":"YulVariableDeclaration","src":"2646:22:1","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2663:4:1","type":"","value":"0x40"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2657:5:1"},"nodeType":"YulFunctionCall","src":"2657:11:1"},"variables":[{"name":"ptr","nodeType":"YulTypedName","src":"2650:3:1","type":""}]},{"expression":{"arguments":[{"arguments":[],"functionName":{"name":"address","nodeType":"YulIdentifier","src":"2690:7:1"},"nodeType":"YulFunctionCall","src":"2690:9:1"},{"name":"ptr","nodeType":"YulIdentifier","src":"2701:3:1"},{"name":"POOL_ADDRESS_OFFSET","nodeType":"YulIdentifier","src":"2706:19:1"},{"kind":"number","nodeType":"YulLiteral","src":"2727:2:1","type":"","value":"32"}],"functionName":{"name":"extcodecopy","nodeType":"YulIdentifier","src":"2678:11:1"},"nodeType":"YulFunctionCall","src":"2678:52:1"},"nodeType":"YulExpressionStatement","src":"2678:52:1"},{"nodeType":"YulAssignment","src":"2740:18:1","value":{"arguments":[{"name":"ptr","nodeType":"YulIdentifier","src":"2754:3:1"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"2748:5:1"},"nodeType":"YulFunctionCall","src":"2748:10:1"},"variableNames":[{"name":"word","nodeType":"YulIdentifier","src":"2740:4:1"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":72,"isOffset":false,"isSlot":false,"src":"2706:19:1","valueSize":1},{"declaration":153,"isOffset":false,"isSlot":false,"src":"2740:4:1","valueSize":1}],"id":155,"nodeType":"InlineAssembly","src":"2626:139:1"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"id":162,"name":"word","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":153,"src":"2802:4:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":161,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2794:7:1","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":160,"name":"uint256","nodeType":"ElementaryTypeName","src":"2794:7:1","typeDescriptions":{}}},"id":163,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2794:13:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":159,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2786:7:1","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":158,"name":"uint160","nodeType":"ElementaryTypeName","src":"2786:7:1","typeDescriptions":{}}},"id":164,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2786:22:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":157,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2778:7:1","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":156,"name":"address","nodeType":"ElementaryTypeName","src":"2778:7:1","typeDescriptions":{}}},"id":165,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2778:31:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":151,"id":166,"nodeType":"Return","src":"2771:38:1"}]},"id":168,"implemented":true,"kind":"function","modifiers":[],"name":"_getPool","nameLocation":"2549:8:1","nodeType":"FunctionDefinition","parameters":{"id":148,"nodeType":"ParameterList","parameters":[],"src":"2557:2:1"},"returnParameters":{"id":151,"nodeType":"ParameterList","parameters":[{"constant":false,"id":150,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":168,"src":"2591:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":149,"name":"address","nodeType":"ElementaryTypeName","src":"2591:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2590:9:1"},"scope":623,"src":"2540:275:1","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":180,"nodeType":"Block","src":"2863:60:1","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":175,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":171,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2874:3:1","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":172,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2878:6:1","memberName":"sender","nodeType":"MemberAccess","src":"2874:10:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":173,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168,"src":"2888:8:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":174,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2888:10:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2874:24:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":179,"nodeType":"IfStatement","src":"2870:47:1","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":176,"name":"OnlyPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":632,"src":"2907:8:1","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":177,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2907:10:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":178,"nodeType":"RevertStatement","src":"2900:17:1"}}]},"id":181,"implemented":true,"kind":"function","modifiers":[],"name":"_checkIfFromPool","nameLocation":"2830:16:1","nodeType":"FunctionDefinition","parameters":{"id":169,"nodeType":"ParameterList","parameters":[],"src":"2846:2:1"},"returnParameters":{"id":170,"nodeType":"ParameterList","parameters":[],"src":"2863:0:1"},"scope":623,"src":"2821:102:1","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":197,"nodeType":"Block","src":"2973:126:1","statements":[{"condition":{"id":192,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2984:81:1","subExpression":{"arguments":[{"id":188,"name":"ALGEBRA_BASE_PLUGIN_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":78,"src":"3025:27:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":189,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3054:3:1","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":190,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3058:6:1","memberName":"sender","nodeType":"MemberAccess","src":"3054:10:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":185,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":81,"src":"3001:7:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":184,"name":"IAlgebraFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":973,"src":"2985:15:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraFactory_$973_$","typeString":"type(contract IAlgebraFactory)"}},"id":186,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2985:24:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraFactory_$973","typeString":"contract IAlgebraFactory"}},"id":187,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3010:14:1","memberName":"hasRoleOrOwner","nodeType":"MemberAccess","referencedDeclaration":796,"src":"2985:39:1","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view external returns (bool)"}},"id":191,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2985:80:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":196,"nodeType":"IfStatement","src":"2980:113:1","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":193,"name":"OnlyAdministrator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":636,"src":"3074:17:1","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":194,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3074:19:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":195,"nodeType":"RevertStatement","src":"3067:26:1"}}]},"id":198,"implemented":true,"kind":"function","modifiers":[],"name":"_authorize","nameLocation":"2938:10:1","nodeType":"FunctionDefinition","parameters":{"id":182,"nodeType":"ParameterList","parameters":[],"src":"2948:2:1"},"returnParameters":{"id":183,"nodeType":"ParameterList","parameters":[],"src":"2973:0:1"},"scope":623,"src":"2929:170:1","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[653],"body":{"id":243,"nodeType":"Block","src":"3198:200:1","statements":[{"assignments":[209],"declarations":[{"constant":false,"id":209,"mutability":"mutable","name":"modules","nameLocation":"3222:7:1","nodeType":"VariableDeclaration","scope":243,"src":"3205:24:1","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":207,"name":"string","nodeType":"ElementaryTypeName","src":"3205:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":208,"nodeType":"ArrayTypeName","src":"3205:8:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"id":212,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":210,"name":"_activeModules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":622,"src":"3232:14:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_array$_t_string_storage_$dyn_storage_ptr_$","typeString":"function () view returns (string storage ref[] storage pointer)"}},"id":211,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3232:16:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string storage ref[] storage pointer"}},"nodeType":"VariableDeclarationStatement","src":"3205:43:1"},{"expression":{"id":220,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":213,"name":"moduleNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":203,"src":"3255:11:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":217,"name":"modules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":209,"src":"3282:7:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string storage ref[] storage pointer"}},"id":218,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3290:6:1","memberName":"length","nodeType":"MemberAccess","src":"3282:14:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":216,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3269:12:1","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":214,"name":"string","nodeType":"ElementaryTypeName","src":"3273:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":215,"nodeType":"ArrayTypeName","src":"3273:8:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":219,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3269:28:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"3255:42:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":221,"nodeType":"ExpressionStatement","src":"3255:42:1"},{"body":{"id":241,"nodeType":"Block","src":"3349:44:1","statements":[{"expression":{"id":239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":233,"name":"moduleNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":203,"src":"3358:11:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":235,"indexExpression":{"id":234,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":223,"src":"3370:1:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3358:14:1","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":236,"name":"modules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":209,"src":"3375:7:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string storage ref[] storage pointer"}},"id":238,"indexExpression":{"id":237,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":223,"src":"3383:1:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3375:10:1","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"src":"3358:27:1","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":240,"nodeType":"ExpressionStatement","src":"3358:27:1"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":229,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":226,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":223,"src":"3324:1:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":227,"name":"modules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":209,"src":"3328:7:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string storage ref[] storage pointer"}},"id":228,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3336:6:1","memberName":"length","nodeType":"MemberAccess","src":"3328:14:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3324:18:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":242,"initializationExpression":{"assignments":[223],"declarations":[{"constant":false,"id":223,"mutability":"mutable","name":"i","nameLocation":"3317:1:1","nodeType":"VariableDeclaration","scope":242,"src":"3309:9:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":222,"name":"uint256","nodeType":"ElementaryTypeName","src":"3309:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":225,"initialValue":{"hexValue":"30","id":224,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3321:1:1","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"3309:13:1"},"loopExpression":{"expression":{"id":231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"3344:3:1","subExpression":{"id":230,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":223,"src":"3344:1:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":232,"nodeType":"ExpressionStatement","src":"3344:3:1"},"nodeType":"ForStatement","src":"3304:89:1"}]},"functionSelector":"b6f78cc9","id":244,"implemented":true,"kind":"function","modifiers":[],"name":"getActiveModuleNames","nameLocation":"3114:20:1","nodeType":"FunctionDefinition","overrides":{"id":200,"nodeType":"OverrideSpecifier","overrides":[],"src":"3151:8:1"},"parameters":{"id":199,"nodeType":"ParameterList","parameters":[],"src":"3134:2:1"},"returnParameters":{"id":204,"nodeType":"ParameterList","parameters":[{"constant":false,"id":203,"mutability":"mutable","name":"moduleNames","nameLocation":"3185:11:1","nodeType":"VariableDeclaration","scope":244,"src":"3169:27:1","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":201,"name":"string","nodeType":"ElementaryTypeName","src":"3169:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":202,"nodeType":"ArrayTypeName","src":"3169:8:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"3168:29:1"},"scope":623,"src":"3105:293:1","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":268,"nodeType":"Block","src":"3519:95:1","statements":[{"expression":{"id":266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":255,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":247,"src":"3527:5:1","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},{"id":256,"name":"tick","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":249,"src":"3534:4:1","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},{"id":257,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":251,"src":"3540:3:1","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":258,"name":"pluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":253,"src":"3545:12:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},null,null],"id":259,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"3526:36:1","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":[{"arguments":[],"expression":{"argumentTypes":[],"id":261,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168,"src":"3583:8:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":262,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3583:10:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":260,"name":"IAlgebraPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1823,"src":"3565:17:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolState_$1823_$","typeString":"type(contract IAlgebraPoolState)"}},"id":263,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3565:29:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPoolState_$1823","typeString":"contract IAlgebraPoolState"}},"id":264,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3595:11:1","memberName":"globalState","nodeType":"MemberAccess","referencedDeclaration":1682,"src":"3565:41:1","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":265,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3565:43:1","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":"3526:82:1","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":267,"nodeType":"ExpressionStatement","src":"3526:82:1"}]},"id":269,"implemented":true,"kind":"function","modifiers":[],"name":"_getPoolState","nameLocation":"3413:13:1","nodeType":"FunctionDefinition","parameters":{"id":245,"nodeType":"ParameterList","parameters":[],"src":"3426:2:1"},"returnParameters":{"id":254,"nodeType":"ParameterList","parameters":[{"constant":false,"id":247,"mutability":"mutable","name":"price","nameLocation":"3468:5:1","nodeType":"VariableDeclaration","scope":269,"src":"3460:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":246,"name":"uint160","nodeType":"ElementaryTypeName","src":"3460:7:1","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":249,"mutability":"mutable","name":"tick","nameLocation":"3481:4:1","nodeType":"VariableDeclaration","scope":269,"src":"3475:10:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":248,"name":"int24","nodeType":"ElementaryTypeName","src":"3475:5:1","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":251,"mutability":"mutable","name":"fee","nameLocation":"3494:3:1","nodeType":"VariableDeclaration","scope":269,"src":"3487:10:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":250,"name":"uint16","nodeType":"ElementaryTypeName","src":"3487:6:1","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":253,"mutability":"mutable","name":"pluginConfig","nameLocation":"3505:12:1","nodeType":"VariableDeclaration","scope":269,"src":"3499:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":252,"name":"uint8","nodeType":"ElementaryTypeName","src":"3499:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"3459:59:1"},"scope":623,"src":"3404:210:1","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":281,"nodeType":"Block","src":"3687:53:1","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":275,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168,"src":"3714:8:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":276,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3714:10:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":274,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":995,"src":"3701:12:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$995_$","typeString":"type(contract IAlgebraPool)"}},"id":277,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3701:24:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$995","typeString":"contract IAlgebraPool"}},"id":278,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3726:6:1","memberName":"plugin","nodeType":"MemberAccess","referencedDeclaration":1728,"src":"3701:31:1","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_address_$","typeString":"function () view external returns (address)"}},"id":279,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3701:33:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":273,"id":280,"nodeType":"Return","src":"3694:40:1"}]},"id":282,"implemented":true,"kind":"function","modifiers":[],"name":"_getPluginInPool","nameLocation":"3629:16:1","nodeType":"FunctionDefinition","parameters":{"id":270,"nodeType":"ParameterList","parameters":[],"src":"3645:2:1"},"returnParameters":{"id":273,"nodeType":"ParameterList","parameters":[{"constant":false,"id":272,"mutability":"mutable","name":"plugin","nameLocation":"3679:6:1","nodeType":"VariableDeclaration","scope":282,"src":"3671:14:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":271,"name":"address","nodeType":"ElementaryTypeName","src":"3671:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3670:16:1"},"scope":623,"src":"3620:120:1","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":290,"nodeType":"Block","src":"3792:30:1","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":287,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168,"src":"3806:8:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":288,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3806:10:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":286,"id":289,"nodeType":"Return","src":"3799:17:1"}]},"functionSelector":"16f0115b","id":291,"implemented":true,"kind":"function","modifiers":[],"name":"pool","nameLocation":"3755:4:1","nodeType":"FunctionDefinition","parameters":{"id":283,"nodeType":"ParameterList","parameters":[],"src":"3759:2:1"},"returnParameters":{"id":286,"nodeType":"ParameterList","parameters":[{"constant":false,"id":285,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":291,"src":"3783:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":284,"name":"address","nodeType":"ElementaryTypeName","src":"3783:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3782:9:1"},"scope":623,"src":"3746:76:1","stateMutability":"view","virtual":false,"visibility":"public"},{"baseFunctions":[646],"body":{"id":313,"nodeType":"Block","src":"3965:83:1","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":302,"name":"_authorize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":198,"src":"3972:10:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":303,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3972:12:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":304,"nodeType":"ExpressionStatement","src":"3972:12:1"},{"expression":{"arguments":[{"id":308,"name":"token","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":294,"src":"4017:5:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":309,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":298,"src":"4024:9:1","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":310,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":296,"src":"4035:6:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":305,"name":"SafeTransfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1951,"src":"3991:12:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeTransfer_$1951_$","typeString":"type(library SafeTransfer)"}},"id":307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4004:12:1","memberName":"safeTransfer","nodeType":"MemberAccess","referencedDeclaration":1950,"src":"3991:25:1","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":311,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3991:51:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":312,"nodeType":"ExpressionStatement","src":"3991:51:1"}]},"documentation":{"id":292,"nodeType":"StructuredDocumentation","src":"3828:31:1","text":"@inheritdoc IAbstractPlugin"},"functionSelector":"e72c652d","id":314,"implemented":true,"kind":"function","modifiers":[],"name":"collectPluginFee","nameLocation":"3872:16:1","nodeType":"FunctionDefinition","overrides":{"id":300,"nodeType":"OverrideSpecifier","overrides":[],"src":"3956:8:1"},"parameters":{"id":299,"nodeType":"ParameterList","parameters":[{"constant":false,"id":294,"mutability":"mutable","name":"token","nameLocation":"3897:5:1","nodeType":"VariableDeclaration","scope":314,"src":"3889:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":293,"name":"address","nodeType":"ElementaryTypeName","src":"3889:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":296,"mutability":"mutable","name":"amount","nameLocation":"3912:6:1","nodeType":"VariableDeclaration","scope":314,"src":"3904:14:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":295,"name":"uint256","nodeType":"ElementaryTypeName","src":"3904:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":298,"mutability":"mutable","name":"recipient","nameLocation":"3928:9:1","nodeType":"VariableDeclaration","scope":314,"src":"3920:17:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":297,"name":"address","nodeType":"ElementaryTypeName","src":"3920:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3888:50:1"},"returnParameters":{"id":301,"nodeType":"ParameterList","parameters":[],"src":"3965:0:1"},"scope":623,"src":"3863:185:1","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1014],"body":{"id":331,"nodeType":"Block","src":"4188:59:1","statements":[{"expression":{"expression":{"expression":{"id":327,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"4202:14:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":328,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4217:15:1","memberName":"handlePluginFee","nodeType":"MemberAccess","referencedDeclaration":1014,"src":"4202:30:1","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_uint256_$_t_uint256_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.handlePluginFee(uint256,uint256) returns (bytes4)"}},"id":329,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4233:8:1","memberName":"selector","nodeType":"MemberAccess","src":"4202:39:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":326,"id":330,"nodeType":"Return","src":"4195:46:1"}]},"documentation":{"id":315,"nodeType":"StructuredDocumentation","src":"4054:30:1","text":"@inheritdoc IAlgebraPlugin"},"functionSelector":"aa6b14bb","id":332,"implemented":true,"kind":"function","modifiers":[{"id":323,"kind":"modifierInvocation","modifierName":{"id":322,"name":"onlyPool","nameLocations":["4162:8:1"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"4162:8:1"},"nodeType":"ModifierInvocation","src":"4162:8:1"}],"name":"handlePluginFee","nameLocation":"4097:15:1","nodeType":"FunctionDefinition","overrides":{"id":321,"nodeType":"OverrideSpecifier","overrides":[],"src":"4153:8:1"},"parameters":{"id":320,"nodeType":"ParameterList","parameters":[{"constant":false,"id":317,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":332,"src":"4113:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":316,"name":"uint256","nodeType":"ElementaryTypeName","src":"4113:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":319,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":332,"src":"4122:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":318,"name":"uint256","nodeType":"ElementaryTypeName","src":"4122:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4112:18:1"},"returnParameters":{"id":326,"nodeType":"ParameterList","parameters":[{"constant":false,"id":325,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":332,"src":"4180:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":324,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4180:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"4179:8:1"},"scope":623,"src":"4088:159:1","stateMutability":"view","virtual":true,"visibility":"external"},{"baseFunctions":[1024],"body":{"id":348,"nodeType":"Block","src":"4377:60:1","statements":[{"expression":{"expression":{"expression":{"id":344,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"4391:14:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":345,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4406:16:1","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":1024,"src":"4391:31:1","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint160_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.beforeInitialize(address,uint160) returns (bytes4)"}},"id":346,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4423:8:1","memberName":"selector","nodeType":"MemberAccess","src":"4391:40:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":343,"id":347,"nodeType":"Return","src":"4384:47:1"}]},"functionSelector":"636fd804","id":349,"implemented":true,"kind":"function","modifiers":[{"id":340,"kind":"modifierInvocation","modifierName":{"id":339,"name":"onlyPool","nameLocations":["4351:8:1"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"4351:8:1"},"nodeType":"ModifierInvocation","src":"4351:8:1"}],"name":"beforeInitialize","nameLocation":"4290:16:1","nodeType":"FunctionDefinition","overrides":{"id":338,"nodeType":"OverrideSpecifier","overrides":[],"src":"4342:8:1"},"parameters":{"id":337,"nodeType":"ParameterList","parameters":[{"constant":false,"id":334,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":349,"src":"4307:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":333,"name":"address","nodeType":"ElementaryTypeName","src":"4307:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":336,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":349,"src":"4316:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":335,"name":"uint160","nodeType":"ElementaryTypeName","src":"4316:7:1","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"4306:18:1"},"returnParameters":{"id":343,"nodeType":"ParameterList","parameters":[{"constant":false,"id":342,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":349,"src":"4369:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":341,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4369:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"4368:8:1"},"scope":623,"src":"4281:156:1","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1036],"body":{"id":367,"nodeType":"Block","src":"4545:59:1","statements":[{"expression":{"expression":{"expression":{"id":363,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"4559:14:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":364,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4574:15:1","memberName":"afterInitialize","nodeType":"MemberAccess","referencedDeclaration":1036,"src":"4559:30:1","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":365,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4590:8:1","memberName":"selector","nodeType":"MemberAccess","src":"4559:39:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":362,"id":366,"nodeType":"Return","src":"4552:46:1"}]},"functionSelector":"82dd6522","id":368,"implemented":true,"kind":"function","modifiers":[{"id":359,"kind":"modifierInvocation","modifierName":{"id":358,"name":"onlyPool","nameLocations":["4519:8:1"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"4519:8:1"},"nodeType":"ModifierInvocation","src":"4519:8:1"}],"name":"afterInitialize","nameLocation":"4452:15:1","nodeType":"FunctionDefinition","overrides":{"id":357,"nodeType":"OverrideSpecifier","overrides":[],"src":"4510:8:1"},"parameters":{"id":356,"nodeType":"ParameterList","parameters":[{"constant":false,"id":351,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":368,"src":"4468:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":350,"name":"address","nodeType":"ElementaryTypeName","src":"4468:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":353,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":368,"src":"4477:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":352,"name":"uint160","nodeType":"ElementaryTypeName","src":"4477:7:1","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":355,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":368,"src":"4486:5:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":354,"name":"int24","nodeType":"ElementaryTypeName","src":"4486:5:1","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"4467:25:1"},"returnParameters":{"id":362,"nodeType":"ParameterList","parameters":[{"constant":false,"id":361,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":368,"src":"4537:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":360,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4537:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"4536:8:1"},"scope":623,"src":"4443:161:1","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1056],"body":{"id":396,"nodeType":"Block","src":"4791:69:1","statements":[{"expression":{"components":[{"expression":{"expression":{"id":390,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"4806:14:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":391,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4821:20:1","memberName":"beforeModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1056,"src":"4806:35:1","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":392,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4842:8:1","memberName":"selector","nodeType":"MemberAccess","src":"4806:44:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"hexValue":"30","id":393,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4852:1:1","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":394,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"4805:49:1","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_rational_0_by_1_$","typeString":"tuple(bytes4,int_const 0)"}},"functionReturnParameters":389,"id":395,"nodeType":"Return","src":"4798:56:1"}]},"functionSelector":"5e2411b2","id":397,"implemented":true,"kind":"function","modifiers":[{"id":384,"kind":"modifierInvocation","modifierName":{"id":383,"name":"onlyPool","nameLocations":["4757:8:1"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"4757:8:1"},"nodeType":"ModifierInvocation","src":"4757:8:1"}],"name":"beforeModifyPosition","nameLocation":"4619:20:1","nodeType":"FunctionDefinition","overrides":{"id":382,"nodeType":"OverrideSpecifier","overrides":[],"src":"4748:8:1"},"parameters":{"id":381,"nodeType":"ParameterList","parameters":[{"constant":false,"id":370,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":397,"src":"4646:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":369,"name":"address","nodeType":"ElementaryTypeName","src":"4646:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":372,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":397,"src":"4660:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":371,"name":"address","nodeType":"ElementaryTypeName","src":"4660:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":374,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":397,"src":"4674:5:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":373,"name":"int24","nodeType":"ElementaryTypeName","src":"4674:5:1","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":376,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":397,"src":"4686:5:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":375,"name":"int24","nodeType":"ElementaryTypeName","src":"4686:5:1","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":378,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":397,"src":"4698:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":377,"name":"int128","nodeType":"ElementaryTypeName","src":"4698:6:1","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":380,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":397,"src":"4711:14:1","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":379,"name":"bytes","nodeType":"ElementaryTypeName","src":"4711:5:1","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4639:91:1"},"returnParameters":{"id":389,"nodeType":"ParameterList","parameters":[{"constant":false,"id":386,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":397,"src":"4775:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":385,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4775:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":388,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":397,"src":"4783:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":387,"name":"uint24","nodeType":"ElementaryTypeName","src":"4783:6:1","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"4774:16:1"},"scope":623,"src":"4610:250:1","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1078],"body":{"id":425,"nodeType":"Block","src":"5066:63:1","statements":[{"expression":{"expression":{"expression":{"id":421,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"5080:14:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":422,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5095:19:1","memberName":"afterModifyPosition","nodeType":"MemberAccess","referencedDeclaration":1078,"src":"5080:34:1","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":423,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5115:8:1","memberName":"selector","nodeType":"MemberAccess","src":"5080:43:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":420,"id":424,"nodeType":"Return","src":"5073:50:1"}]},"functionSelector":"d6852010","id":426,"implemented":true,"kind":"function","modifiers":[{"id":417,"kind":"modifierInvocation","modifierName":{"id":416,"name":"onlyPool","nameLocations":["5040:8:1"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"5040:8:1"},"nodeType":"ModifierInvocation","src":"5040:8:1"}],"name":"afterModifyPosition","nameLocation":"4875:19:1","nodeType":"FunctionDefinition","overrides":{"id":415,"nodeType":"OverrideSpecifier","overrides":[],"src":"5031:8:1"},"parameters":{"id":414,"nodeType":"ParameterList","parameters":[{"constant":false,"id":399,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"4901:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":398,"name":"address","nodeType":"ElementaryTypeName","src":"4901:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":401,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"4915:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":400,"name":"address","nodeType":"ElementaryTypeName","src":"4915:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":403,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"4929:5:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":402,"name":"int24","nodeType":"ElementaryTypeName","src":"4929:5:1","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":405,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"4941:5:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":404,"name":"int24","nodeType":"ElementaryTypeName","src":"4941:5:1","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":407,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"4953:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":406,"name":"int128","nodeType":"ElementaryTypeName","src":"4953:6:1","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":409,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"4966:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":408,"name":"uint256","nodeType":"ElementaryTypeName","src":"4966:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":411,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"4980:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":410,"name":"uint256","nodeType":"ElementaryTypeName","src":"4980:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":413,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"4994:14:1","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":412,"name":"bytes","nodeType":"ElementaryTypeName","src":"4994:5:1","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4894:119:1"},"returnParameters":{"id":420,"nodeType":"ParameterList","parameters":[{"constant":false,"id":419,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":426,"src":"5058:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":418,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5058:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"5057:8:1"},"scope":623,"src":"4866:263:1","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1102],"body":{"id":459,"nodeType":"Block","src":"5326:62:1","statements":[{"expression":{"components":[{"expression":{"expression":{"id":452,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"5341:14:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":453,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5356:10:1","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":1102,"src":"5341:25:1","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":454,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5367:8:1","memberName":"selector","nodeType":"MemberAccess","src":"5341:34:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"hexValue":"30","id":455,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5377:1:1","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":456,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5380:1:1","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":457,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"5340:42:1","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":451,"id":458,"nodeType":"Return","src":"5333:49:1"}]},"functionSelector":"029c1cb7","id":460,"implemented":true,"kind":"function","modifiers":[{"id":444,"kind":"modifierInvocation","modifierName":{"id":443,"name":"onlyPool","nameLocations":["5284:8:1"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"5284:8:1"},"nodeType":"ModifierInvocation","src":"5284:8:1"}],"name":"beforeSwap","nameLocation":"5144:10:1","nodeType":"FunctionDefinition","overrides":{"id":442,"nodeType":"OverrideSpecifier","overrides":[],"src":"5275:8:1"},"parameters":{"id":441,"nodeType":"ParameterList","parameters":[{"constant":false,"id":428,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5161:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":427,"name":"address","nodeType":"ElementaryTypeName","src":"5161:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":430,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5175:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":429,"name":"address","nodeType":"ElementaryTypeName","src":"5175:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":432,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5189:4:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":431,"name":"bool","nodeType":"ElementaryTypeName","src":"5189:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":434,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5200:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":433,"name":"int256","nodeType":"ElementaryTypeName","src":"5200:6:1","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":436,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5213:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":435,"name":"uint160","nodeType":"ElementaryTypeName","src":"5213:7:1","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":438,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5227:4:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":437,"name":"bool","nodeType":"ElementaryTypeName","src":"5227:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":440,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5238:14:1","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":439,"name":"bytes","nodeType":"ElementaryTypeName","src":"5238:5:1","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5154:103:1"},"returnParameters":{"id":451,"nodeType":"ParameterList","parameters":[{"constant":false,"id":446,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5302:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":445,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5302:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":448,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5310:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":447,"name":"uint24","nodeType":"ElementaryTypeName","src":"5310:6:1","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":450,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":460,"src":"5318:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":449,"name":"uint24","nodeType":"ElementaryTypeName","src":"5318:6:1","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"5301:24:1"},"scope":623,"src":"5135:253:1","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1124],"body":{"id":488,"nodeType":"Block","src":"5583:53:1","statements":[{"expression":{"expression":{"expression":{"id":484,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"5597:14:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":485,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5612:9:1","memberName":"afterSwap","nodeType":"MemberAccess","referencedDeclaration":1124,"src":"5597:24:1","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":486,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5622:8:1","memberName":"selector","nodeType":"MemberAccess","src":"5597:33:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":483,"id":487,"nodeType":"Return","src":"5590:40:1"}]},"functionSelector":"9cb5a963","id":489,"implemented":true,"kind":"function","modifiers":[{"id":480,"kind":"modifierInvocation","modifierName":{"id":479,"name":"onlyPool","nameLocations":["5557:8:1"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"5557:8:1"},"nodeType":"ModifierInvocation","src":"5557:8:1"}],"name":"afterSwap","nameLocation":"5403:9:1","nodeType":"FunctionDefinition","overrides":{"id":478,"nodeType":"OverrideSpecifier","overrides":[],"src":"5548:8:1"},"parameters":{"id":477,"nodeType":"ParameterList","parameters":[{"constant":false,"id":462,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":489,"src":"5419:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":461,"name":"address","nodeType":"ElementaryTypeName","src":"5419:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":464,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":489,"src":"5433:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":463,"name":"address","nodeType":"ElementaryTypeName","src":"5433:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":466,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":489,"src":"5447:4:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":465,"name":"bool","nodeType":"ElementaryTypeName","src":"5447:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":468,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":489,"src":"5458:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":467,"name":"int256","nodeType":"ElementaryTypeName","src":"5458:6:1","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":470,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":489,"src":"5471:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":469,"name":"uint160","nodeType":"ElementaryTypeName","src":"5471:7:1","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":472,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":489,"src":"5485:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":471,"name":"int256","nodeType":"ElementaryTypeName","src":"5485:6:1","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":474,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":489,"src":"5498:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":473,"name":"int256","nodeType":"ElementaryTypeName","src":"5498:6:1","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":476,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":489,"src":"5511:14:1","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":475,"name":"bytes","nodeType":"ElementaryTypeName","src":"5511:5:1","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5412:118:1"},"returnParameters":{"id":483,"nodeType":"ParameterList","parameters":[{"constant":false,"id":482,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":489,"src":"5575:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":481,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5575:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"5574:8:1"},"scope":623,"src":"5394:242:1","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1140],"body":{"id":511,"nodeType":"Block","src":"5797:55:1","statements":[{"expression":{"expression":{"expression":{"id":507,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"5811:14:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":508,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5826:11:1","memberName":"beforeFlash","nodeType":"MemberAccess","referencedDeclaration":1140,"src":"5811:26:1","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":509,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5838:8:1","memberName":"selector","nodeType":"MemberAccess","src":"5811:35:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":506,"id":510,"nodeType":"Return","src":"5804:42:1"}]},"functionSelector":"8de0a8ee","id":512,"implemented":true,"kind":"function","modifiers":[{"id":503,"kind":"modifierInvocation","modifierName":{"id":502,"name":"onlyPool","nameLocations":["5771:8:1"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"5771:8:1"},"nodeType":"ModifierInvocation","src":"5771:8:1"}],"name":"beforeFlash","nameLocation":"5651:11:1","nodeType":"FunctionDefinition","overrides":{"id":501,"nodeType":"OverrideSpecifier","overrides":[],"src":"5762:8:1"},"parameters":{"id":500,"nodeType":"ParameterList","parameters":[{"constant":false,"id":491,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":512,"src":"5669:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":490,"name":"address","nodeType":"ElementaryTypeName","src":"5669:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":493,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":512,"src":"5683:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":492,"name":"address","nodeType":"ElementaryTypeName","src":"5683:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":495,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":512,"src":"5697:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":494,"name":"uint256","nodeType":"ElementaryTypeName","src":"5697:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":497,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":512,"src":"5711:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":496,"name":"uint256","nodeType":"ElementaryTypeName","src":"5711:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":499,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":512,"src":"5725:14:1","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":498,"name":"bytes","nodeType":"ElementaryTypeName","src":"5725:5:1","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5662:82:1"},"returnParameters":{"id":506,"nodeType":"ParameterList","parameters":[{"constant":false,"id":505,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":512,"src":"5789:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":504,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5789:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"5788:8:1"},"scope":623,"src":"5642:210:1","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"baseFunctions":[1160],"body":{"id":538,"nodeType":"Block","src":"6040:54:1","statements":[{"expression":{"expression":{"expression":{"id":534,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"6054:14:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":535,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6069:10:1","memberName":"afterFlash","nodeType":"MemberAccess","referencedDeclaration":1160,"src":"6054:25:1","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":536,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6080:8:1","memberName":"selector","nodeType":"MemberAccess","src":"6054:34:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":533,"id":537,"nodeType":"Return","src":"6047:41:1"}]},"functionSelector":"343d37ff","id":539,"implemented":true,"kind":"function","modifiers":[{"id":530,"kind":"modifierInvocation","modifierName":{"id":529,"name":"onlyPool","nameLocations":["6014:8:1"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"6014:8:1"},"nodeType":"ModifierInvocation","src":"6014:8:1"}],"name":"afterFlash","nameLocation":"5867:10:1","nodeType":"FunctionDefinition","overrides":{"id":528,"nodeType":"OverrideSpecifier","overrides":[],"src":"6005:8:1"},"parameters":{"id":527,"nodeType":"ParameterList","parameters":[{"constant":false,"id":514,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":539,"src":"5884:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":513,"name":"address","nodeType":"ElementaryTypeName","src":"5884:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":516,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":539,"src":"5898:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":515,"name":"address","nodeType":"ElementaryTypeName","src":"5898:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":518,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":539,"src":"5912:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":517,"name":"uint256","nodeType":"ElementaryTypeName","src":"5912:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":520,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":539,"src":"5926:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":519,"name":"uint256","nodeType":"ElementaryTypeName","src":"5926:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":522,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":539,"src":"5940:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":521,"name":"uint256","nodeType":"ElementaryTypeName","src":"5940:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":524,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":539,"src":"5954:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":523,"name":"uint256","nodeType":"ElementaryTypeName","src":"5954:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":526,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":539,"src":"5968:14:1","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":525,"name":"bytes","nodeType":"ElementaryTypeName","src":"5968:5:1","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5877:110:1"},"returnParameters":{"id":533,"nodeType":"ParameterList","parameters":[{"constant":false,"id":532,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":539,"src":"6032:6:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":531,"name":"bytes4","nodeType":"ElementaryTypeName","src":"6032:6:1","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"6031:8:1"},"scope":623,"src":"5858:236:1","stateMutability":"nonpayable","virtual":true,"visibility":"external"},{"body":{"id":562,"nodeType":"Block","src":"6167:188:1","statements":[{"assignments":[null,null,null,545],"declarations":[null,null,null,{"constant":false,"id":545,"mutability":"mutable","name":"currentPluginConfig","nameLocation":"6187:19:1","nodeType":"VariableDeclaration","scope":562,"src":"6181:25:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":544,"name":"uint8","nodeType":"ElementaryTypeName","src":"6181:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":548,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":546,"name":"_getPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":269,"src":"6210:13:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"function () view returns (uint160,int24,uint16,uint8)"}},"id":547,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6210:15:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"tuple(uint160,int24,uint16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"6174:51:1"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":551,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":549,"name":"currentPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":545,"src":"6236:19:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":550,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":541,"src":"6259:15:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6236:38:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":561,"nodeType":"IfStatement","src":"6232:118:1","trueBody":{"id":560,"nodeType":"Block","src":"6276:74:1","statements":[{"expression":{"arguments":[{"id":557,"name":"newPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":541,"src":"6326:15:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":553,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168,"src":"6298:8:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":554,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6298:10:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":552,"name":"IAlgebraPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":995,"src":"6285:12:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPool_$995_$","typeString":"type(contract IAlgebraPool)"}},"id":555,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6285:24:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPool_$995","typeString":"contract IAlgebraPool"}},"id":556,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6310:15:1","memberName":"setPluginConfig","nodeType":"MemberAccess","referencedDeclaration":1618,"src":"6285:40:1","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8) external"}},"id":558,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6285:57:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":559,"nodeType":"ExpressionStatement","src":"6285:57:1"}]}}]},"id":563,"implemented":true,"kind":"function","modifiers":[],"name":"_updatePluginConfigInPool","nameLocation":"6109:25:1","nodeType":"FunctionDefinition","parameters":{"id":542,"nodeType":"ParameterList","parameters":[{"constant":false,"id":541,"mutability":"mutable","name":"newPluginConfig","nameLocation":"6141:15:1","nodeType":"VariableDeclaration","scope":563,"src":"6135:21:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":540,"name":"uint8","nodeType":"ElementaryTypeName","src":"6135:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"6134:23:1"},"returnParameters":{"id":543,"nodeType":"ParameterList","parameters":[],"src":"6167:0:1"},"scope":623,"src":"6100:255:1","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":573,"nodeType":"Block","src":"6458:50:1","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":569,"name":"AbstractPluginStorage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":689,"src":"6472:21:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_AbstractPluginStorage_$689_$","typeString":"type(library AbstractPluginStorage)"}},"id":570,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6494:6:1","memberName":"layout","nodeType":"MemberAccess","referencedDeclaration":688,"src":"6472:28:1","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_Layout_$676_storage_ptr_$","typeString":"function () pure returns (struct AbstractPluginStorage.Layout storage pointer)"}},"id":571,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6472:30:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$676_storage_ptr","typeString":"struct AbstractPluginStorage.Layout storage pointer"}},"functionReturnParameters":568,"id":572,"nodeType":"Return","src":"6465:37:1"}]},"id":574,"implemented":true,"kind":"function","modifiers":[],"name":"_abstractPluginStorage","nameLocation":"6370:22:1","nodeType":"FunctionDefinition","parameters":{"id":564,"nodeType":"ParameterList","parameters":[],"src":"6392:2:1"},"returnParameters":{"id":568,"nodeType":"ParameterList","parameters":[{"constant":false,"id":567,"mutability":"mutable","name":"s","nameLocation":"6455:1:1","nodeType":"VariableDeclaration","scope":574,"src":"6418:38:1","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$676_storage_ptr","typeString":"struct AbstractPluginStorage.Layout"},"typeName":{"id":566,"nodeType":"UserDefinedTypeName","pathNode":{"id":565,"name":"AbstractPluginStorage.Layout","nameLocations":["6418:21:1","6440:6:1"],"nodeType":"IdentifierPath","referencedDeclaration":676,"src":"6418:28:1"},"referencedDeclaration":676,"src":"6418:28:1","typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$676_storage_ptr","typeString":"struct AbstractPluginStorage.Layout"}},"visibility":"internal"}],"src":"6417:40:1"},"scope":623,"src":"6361:147:1","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":583,"nodeType":"Block","src":"6579:64:1","statements":[{"expression":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":579,"name":"_abstractPluginStorage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":574,"src":"6593:22:1","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_Layout_$676_storage_ptr_$","typeString":"function () pure returns (struct AbstractPluginStorage.Layout storage pointer)"}},"id":580,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6593:24:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$676_storage_ptr","typeString":"struct AbstractPluginStorage.Layout storage pointer"}},"id":581,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6618:19:1","memberName":"defaultPluginConfig","nodeType":"MemberAccess","referencedDeclaration":672,"src":"6593:44:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":578,"id":582,"nodeType":"Return","src":"6586:51:1"}]},"id":584,"implemented":true,"kind":"function","modifiers":[],"name":"_getDefaultPluginConfig","nameLocation":"6523:23:1","nodeType":"FunctionDefinition","parameters":{"id":575,"nodeType":"ParameterList","parameters":[],"src":"6546:2:1"},"returnParameters":{"id":578,"nodeType":"ParameterList","parameters":[{"constant":false,"id":577,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":584,"src":"6572:5:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":576,"name":"uint8","nodeType":"ElementaryTypeName","src":"6572:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"6571:7:1"},"scope":623,"src":"6514:129:1","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":595,"nodeType":"Block","src":"6705:66:1","statements":[{"expression":{"id":593,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":589,"name":"_abstractPluginStorage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":574,"src":"6712:22:1","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_Layout_$676_storage_ptr_$","typeString":"function () pure returns (struct AbstractPluginStorage.Layout storage pointer)"}},"id":590,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6712:24:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$676_storage_ptr","typeString":"struct AbstractPluginStorage.Layout storage pointer"}},"id":591,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6737:19:1","memberName":"defaultPluginConfig","nodeType":"MemberAccess","referencedDeclaration":672,"src":"6712:44:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":592,"name":"config","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":586,"src":"6759:6:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6712:53:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":594,"nodeType":"ExpressionStatement","src":"6712:53:1"}]},"id":596,"implemented":true,"kind":"function","modifiers":[],"name":"_setDefaultPluginConfig","nameLocation":"6658:23:1","nodeType":"FunctionDefinition","parameters":{"id":587,"nodeType":"ParameterList","parameters":[{"constant":false,"id":586,"mutability":"mutable","name":"config","nameLocation":"6688:6:1","nodeType":"VariableDeclaration","scope":596,"src":"6682:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":585,"name":"uint8","nodeType":"ElementaryTypeName","src":"6682:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"6681:14:1"},"returnParameters":{"id":588,"nodeType":"ParameterList","parameters":[],"src":"6705:0:1"},"scope":623,"src":"6649:122:1","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":608,"nodeType":"Block","src":"6835:62:1","statements":[{"expression":{"arguments":[{"id":605,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":598,"src":"6886:4:1","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"expression":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":601,"name":"_abstractPluginStorage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":574,"src":"6842:22:1","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_Layout_$676_storage_ptr_$","typeString":"function () pure returns (struct AbstractPluginStorage.Layout storage pointer)"}},"id":602,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6842:24:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$676_storage_ptr","typeString":"struct AbstractPluginStorage.Layout storage pointer"}},"id":603,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6867:13:1","memberName":"activeModules","nodeType":"MemberAccess","referencedDeclaration":675,"src":"6842:38:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"id":604,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6881:4:1","memberName":"push","nodeType":"MemberAccess","src":"6842:43:1","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":606,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6842:49:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":607,"nodeType":"ExpressionStatement","src":"6842:49:1"}]},"id":609,"implemented":true,"kind":"function","modifiers":[],"name":"_appendActiveModule","nameLocation":"6786:19:1","nodeType":"FunctionDefinition","parameters":{"id":599,"nodeType":"ParameterList","parameters":[{"constant":false,"id":598,"mutability":"mutable","name":"name","nameLocation":"6820:4:1","nodeType":"VariableDeclaration","scope":609,"src":"6806:18:1","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":597,"name":"string","nodeType":"ElementaryTypeName","src":"6806:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"6805:20:1"},"returnParameters":{"id":600,"nodeType":"ParameterList","parameters":[],"src":"6835:0:1"},"scope":623,"src":"6777:120:1","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":621,"nodeType":"Block","src":"6978:61:1","statements":[{"expression":{"id":619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":615,"name":"modules","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":613,"src":"6985:7:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string storage ref[] storage pointer"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":616,"name":"_abstractPluginStorage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":574,"src":"6995:22:1","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_Layout_$676_storage_ptr_$","typeString":"function () pure returns (struct AbstractPluginStorage.Layout storage pointer)"}},"id":617,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6995:24:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$676_storage_ptr","typeString":"struct AbstractPluginStorage.Layout storage pointer"}},"id":618,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7020:13:1","memberName":"activeModules","nodeType":"MemberAccess","referencedDeclaration":675,"src":"6995:38:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage","typeString":"string storage ref[] storage ref"}},"src":"6985:48:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string storage ref[] storage pointer"}},"id":620,"nodeType":"ExpressionStatement","src":"6985:48:1"}]},"id":622,"implemented":true,"kind":"function","modifiers":[],"name":"_activeModules","nameLocation":"6912:14:1","nodeType":"FunctionDefinition","parameters":{"id":610,"nodeType":"ParameterList","parameters":[],"src":"6926:2:1"},"returnParameters":{"id":614,"nodeType":"ParameterList","parameters":[{"constant":false,"id":613,"mutability":"mutable","name":"modules","nameLocation":"6969:7:1","nodeType":"VariableDeclaration","scope":622,"src":"6952:24:1","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":611,"name":"string","nodeType":"ElementaryTypeName","src":"6952:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":612,"nodeType":"ArrayTypeName","src":"6952:8:1","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"6951:26:1"},"scope":623,"src":"6903:136:1","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":624,"src":"1097:5947:1","usedErrors":[632,634,636,1404],"usedEvents":[1966]}],"src":"38:7008:1"},"id":1},"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol":{"ast":{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol","exportedSymbols":{"IAbstractPlugin":[654],"IAlgebraPlugin":[1161]},"id":655,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":625,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"46:24:2"},{"id":626,"literals":["abicoder","v2"],"nodeType":"PragmaDirective","src":"72:19:2"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","id":627,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":655,"sourceUnit":1162,"src":"95:85:2","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":629,"name":"IAlgebraPlugin","nameLocations":["258:14:2"],"nodeType":"IdentifierPath","referencedDeclaration":1161,"src":"258:14:2"},"id":630,"nodeType":"InheritanceSpecifier","src":"258:14:2"}],"canonicalName":"IAbstractPlugin","contractDependencies":[],"contractKind":"interface","documentation":{"id":628,"nodeType":"StructuredDocumentation","src":"184:45:2","text":"@title The interface for the BasePlugin"},"fullyImplemented":false,"id":654,"linearizedBaseContracts":[654,1161],"name":"IAbstractPlugin","nameLocation":"239:15:2","nodeType":"ContractDefinition","nodes":[{"errorSelector":"4b602735","id":632,"name":"OnlyPool","nameLocation":"284:8:2","nodeType":"ErrorDefinition","parameters":{"id":631,"nodeType":"ParameterList","parameters":[],"src":"292:2:2"},"src":"278:17:2"},{"errorSelector":"504d5728","id":634,"name":"OnlyPluginFactory","nameLocation":"305:17:2","nodeType":"ErrorDefinition","parameters":{"id":633,"nodeType":"ParameterList","parameters":[],"src":"322:2:2"},"src":"299:26:2"},{"errorSelector":"ff512cd0","id":636,"name":"OnlyAdministrator","nameLocation":"335:17:2","nodeType":"ErrorDefinition","parameters":{"id":635,"nodeType":"ParameterList","parameters":[],"src":"352:2:2"},"src":"329:26:2"},{"documentation":{"id":637,"nodeType":"StructuredDocumentation","src":"361:146:2","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":646,"implemented":false,"kind":"function","modifiers":[],"name":"collectPluginFee","nameLocation":"520:16:2","nodeType":"FunctionDefinition","parameters":{"id":644,"nodeType":"ParameterList","parameters":[{"constant":false,"id":639,"mutability":"mutable","name":"token","nameLocation":"545:5:2","nodeType":"VariableDeclaration","scope":646,"src":"537:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":638,"name":"address","nodeType":"ElementaryTypeName","src":"537:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":641,"mutability":"mutable","name":"amount","nameLocation":"560:6:2","nodeType":"VariableDeclaration","scope":646,"src":"552:14:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":640,"name":"uint256","nodeType":"ElementaryTypeName","src":"552:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":643,"mutability":"mutable","name":"recipient","nameLocation":"576:9:2","nodeType":"VariableDeclaration","scope":646,"src":"568:17:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":642,"name":"address","nodeType":"ElementaryTypeName","src":"568:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"536:50:2"},"returnParameters":{"id":645,"nodeType":"ParameterList","parameters":[],"src":"595:0:2"},"scope":654,"src":"511:85:2","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":647,"nodeType":"StructuredDocumentation","src":"602:95:2","text":"@notice Get all active module names\n @return moduleNames Array of active module names"},"functionSelector":"b6f78cc9","id":653,"implemented":false,"kind":"function","modifiers":[],"name":"getActiveModuleNames","nameLocation":"710:20:2","nodeType":"FunctionDefinition","parameters":{"id":648,"nodeType":"ParameterList","parameters":[],"src":"730:2:2"},"returnParameters":{"id":652,"nodeType":"ParameterList","parameters":[{"constant":false,"id":651,"mutability":"mutable","name":"moduleNames","nameLocation":"772:11:2","nodeType":"VariableDeclaration","scope":653,"src":"756:27:2","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":649,"name":"string","nodeType":"ElementaryTypeName","src":"756:6:2","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":650,"nodeType":"ArrayTypeName","src":"756:8:2","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"755:29:2"},"scope":654,"src":"701:84:2","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":655,"src":"229:559:2","usedErrors":[632,634,636],"usedEvents":[]}],"src":"46:744:2"},"id":2},"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAlgebraPluginProxy.sol":{"ast":{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAlgebraPluginProxy.sol","exportedSymbols":{"IAlgebraPluginProxy":[662]},"id":663,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":656,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"46:24:3"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPluginProxy","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":662,"linearizedBaseContracts":[662],"name":"IAlgebraPluginProxy","nameLocation":"84:19:3","nodeType":"ContractDefinition","nodes":[{"functionSelector":"16f0115b","id":661,"implemented":false,"kind":"function","modifiers":[],"name":"pool","nameLocation":"118:4:3","nodeType":"FunctionDefinition","parameters":{"id":657,"nodeType":"ParameterList","parameters":[],"src":"122:2:3"},"returnParameters":{"id":660,"nodeType":"ParameterList","parameters":[{"constant":false,"id":659,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":661,"src":"148:7:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":658,"name":"address","nodeType":"ElementaryTypeName","src":"148:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"147:9:3"},"scope":662,"src":"109:48:3","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":663,"src":"74:86:3","usedErrors":[],"usedEvents":[]}],"src":"46:114:3"},"id":3},"@cryptoalgebra/abstract-plugin/contracts/libraries/AbstractPluginStorage.sol":{"ast":{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/libraries/AbstractPluginStorage.sol","exportedSymbols":{"AbstractPluginStorage":[689]},"id":690,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":664,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:4"},{"abstract":false,"baseContracts":[],"canonicalName":"AbstractPluginStorage","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":689,"linearizedBaseContracts":[689],"name":"AbstractPluginStorage","nameLocation":"74:21:4","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":665,"nodeType":"StructuredDocumentation","src":"101:79:4","text":"@dev Storage namespace for AbstractPlugin using ERC-7201-style namespacing."},"id":670,"mutability":"constant","name":"NAMESPACE","nameLocation":"210:9:4","nodeType":"VariableDeclaration","scope":689,"src":"184:81:4","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":666,"name":"bytes32","nodeType":"ElementaryTypeName","src":"184:7:4","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"616c67656272612e73746f726167652e6162737472616374706c7567696e","id":668,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"232:32:4","typeDescriptions":{"typeIdentifier":"t_stringliteral_ce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d44","typeString":"literal_string \"algebra.storage.abstractplugin\""},"value":"algebra.storage.abstractplugin"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_ce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d44","typeString":"literal_string \"algebra.storage.abstractplugin\""}],"id":667,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"222:9:4","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":669,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"222:43:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"canonicalName":"AbstractPluginStorage.Layout","id":676,"members":[{"constant":false,"id":672,"mutability":"mutable","name":"defaultPluginConfig","nameLocation":"299:19:4","nodeType":"VariableDeclaration","scope":676,"src":"293:25:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":671,"name":"uint8","nodeType":"ElementaryTypeName","src":"293:5:4","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":675,"mutability":"mutable","name":"activeModules","nameLocation":"334:13:4","nodeType":"VariableDeclaration","scope":676,"src":"325:22:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":673,"name":"string","nodeType":"ElementaryTypeName","src":"325:6:4","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":674,"nodeType":"ArrayTypeName","src":"325:8:4","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"name":"Layout","nameLocation":"279:6:4","nodeType":"StructDefinition","scope":689,"src":"272:81:4","visibility":"public"},{"body":{"id":687,"nodeType":"Block","src":"418:90:4","statements":[{"assignments":[683],"declarations":[{"constant":false,"id":683,"mutability":"mutable","name":"position","nameLocation":"433:8:4","nodeType":"VariableDeclaration","scope":687,"src":"425:16:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":682,"name":"bytes32","nodeType":"ElementaryTypeName","src":"425:7:4","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":685,"initialValue":{"id":684,"name":"NAMESPACE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":670,"src":"444:9:4","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"425:28:4"},{"AST":{"nodeType":"YulBlock","src":"469:34:4","statements":[{"nodeType":"YulAssignment","src":"478:18:4","value":{"name":"position","nodeType":"YulIdentifier","src":"488:8:4"},"variableNames":[{"name":"l.slot","nodeType":"YulIdentifier","src":"478:6:4"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":680,"isOffset":false,"isSlot":true,"src":"478:6:4","suffix":"slot","valueSize":1},{"declaration":683,"isOffset":false,"isSlot":false,"src":"488:8:4","valueSize":1}],"id":686,"nodeType":"InlineAssembly","src":"460:43:4"}]},"id":688,"implemented":true,"kind":"function","modifiers":[],"name":"layout","nameLocation":"368:6:4","nodeType":"FunctionDefinition","parameters":{"id":677,"nodeType":"ParameterList","parameters":[],"src":"374:2:4"},"returnParameters":{"id":681,"nodeType":"ParameterList","parameters":[{"constant":false,"id":680,"mutability":"mutable","name":"l","nameLocation":"415:1:4","nodeType":"VariableDeclaration","scope":688,"src":"400:16:4","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$676_storage_ptr","typeString":"struct AbstractPluginStorage.Layout"},"typeName":{"id":679,"nodeType":"UserDefinedTypeName","pathNode":{"id":678,"name":"Layout","nameLocations":["400:6:4"],"nodeType":"IdentifierPath","referencedDeclaration":676,"src":"400:6:4"},"referencedDeclaration":676,"src":"400:6:4","typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$676_storage_ptr","typeString":"struct AbstractPluginStorage.Layout"}},"visibility":"internal"}],"src":"399:18:4"},"scope":689,"src":"359:149:4","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":690,"src":"66:445:4","usedErrors":[],"usedEvents":[]}],"src":"38:475:4"},"id":4},"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/base/common/Timestamp.sol","exportedSymbols":{"Timestamp":[706]},"id":707,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":691,"literals":["solidity",">=","0.8",".0","<","0.9",".0"],"nodeType":"PragmaDirective","src":"45:31:5"},{"abstract":true,"baseContracts":[],"canonicalName":"Timestamp","contractDependencies":[],"contractKind":"contract","documentation":{"id":692,"nodeType":"StructuredDocumentation","src":"78:219:5","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":706,"linearizedBaseContracts":[706],"name":"Timestamp","nameLocation":"315:9:5","nodeType":"ContractDefinition","nodes":[{"body":{"id":704,"nodeType":"Block","src":"507:66:5","statements":[{"expression":{"arguments":[{"expression":{"id":700,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"527:5:5","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"533:9:5","memberName":"timestamp","nodeType":"MemberAccess","src":"527:15:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":699,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"520:6:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":698,"name":"uint32","nodeType":"ElementaryTypeName","src":"520:6:5","typeDescriptions":{}}},"id":702,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"520:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"functionReturnParameters":697,"id":703,"nodeType":"Return","src":"513:30:5"}]},"documentation":{"id":693,"nodeType":"StructuredDocumentation","src":"329:109:5","text":"@dev This function is created for testing by overriding it.\n @return A timestamp converted to uint32"},"id":705,"implemented":true,"kind":"function","modifiers":[],"name":"_blockTimestamp","nameLocation":"450:15:5","nodeType":"FunctionDefinition","parameters":{"id":694,"nodeType":"ParameterList","parameters":[],"src":"465:2:5"},"returnParameters":{"id":697,"nodeType":"ParameterList","parameters":[{"constant":false,"id":696,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":705,"src":"499:6:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":695,"name":"uint32","nodeType":"ElementaryTypeName","src":"499:6:5","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"498:8:5"},"scope":706,"src":"441:132:5","stateMutability":"view","virtual":true,"visibility":"internal"}],"scope":707,"src":"297:278:5","usedErrors":[],"usedEvents":[]}],"src":"45:531:5"},"id":5},"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraFactory.sol","exportedSymbols":{"IAlgebraFactory":[973],"IAlgebraPluginFactory":[1193],"IAlgebraVaultFactory":[1851]},"id":974,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":708,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:6"},{"id":709,"literals":["abicoder","v2"],"nodeType":"PragmaDirective","src":"70:19:6"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol","file":"./plugin/IAlgebraPluginFactory.sol","id":710,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":974,"sourceUnit":1194,"src":"91:44:6","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol","file":"./vault/IAlgebraVaultFactory.sol","id":711,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":974,"sourceUnit":1852,"src":"136:42:6","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraFactory","contractDependencies":[],"contractKind":"interface","documentation":{"id":712,"nodeType":"StructuredDocumentation","src":"180:183:6","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":973,"linearizedBaseContracts":[973],"name":"IAlgebraFactory","nameLocation":"373:15:6","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":713,"nodeType":"StructuredDocumentation","src":"393:207:6","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":719,"name":"RenounceOwnershipStart","nameLocation":"609:22:6","nodeType":"EventDefinition","parameters":{"id":718,"nodeType":"ParameterList","parameters":[{"constant":false,"id":715,"indexed":false,"mutability":"mutable","name":"timestamp","nameLocation":"640:9:6","nodeType":"VariableDeclaration","scope":719,"src":"632:17:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":714,"name":"uint256","nodeType":"ElementaryTypeName","src":"632:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":717,"indexed":false,"mutability":"mutable","name":"finishTimestamp","nameLocation":"659:15:6","nodeType":"VariableDeclaration","scope":719,"src":"651:23:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":716,"name":"uint256","nodeType":"ElementaryTypeName","src":"651:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"631:44:6"},"src":"603:73:6"},{"anonymous":false,"documentation":{"id":720,"nodeType":"StructuredDocumentation","src":"680:112:6","text":"@notice Emitted when a process of ownership renounce cancelled\n @param timestamp The timestamp of event"},"eventSelector":"a2492902a0a1d28dc73e6ab22e473239ef077bb7bc8174dc7dab9fc0818e7135","id":724,"name":"RenounceOwnershipStop","nameLocation":"801:21:6","nodeType":"EventDefinition","parameters":{"id":723,"nodeType":"ParameterList","parameters":[{"constant":false,"id":722,"indexed":false,"mutability":"mutable","name":"timestamp","nameLocation":"831:9:6","nodeType":"VariableDeclaration","scope":724,"src":"823:17:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":721,"name":"uint256","nodeType":"ElementaryTypeName","src":"823:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"822:19:6"},"src":"795:47:6"},{"anonymous":false,"documentation":{"id":725,"nodeType":"StructuredDocumentation","src":"846:128:6","text":"@notice Emitted when a process of ownership renounce finished\n @param timestamp The timestamp of ownership renouncement"},"eventSelector":"a24203c457ce43a097fa0c491fc9cf5e0a893af87a5e0a9785f29491deb11e23","id":729,"name":"RenounceOwnershipFinish","nameLocation":"983:23:6","nodeType":"EventDefinition","parameters":{"id":728,"nodeType":"ParameterList","parameters":[{"constant":false,"id":727,"indexed":false,"mutability":"mutable","name":"timestamp","nameLocation":"1015:9:6","nodeType":"VariableDeclaration","scope":729,"src":"1007:17:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":726,"name":"uint256","nodeType":"ElementaryTypeName","src":"1007:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1006:19:6"},"src":"977:49:6"},{"anonymous":false,"documentation":{"id":730,"nodeType":"StructuredDocumentation","src":"1030:233:6","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":738,"name":"Pool","nameLocation":"1272:4:6","nodeType":"EventDefinition","parameters":{"id":737,"nodeType":"ParameterList","parameters":[{"constant":false,"id":732,"indexed":true,"mutability":"mutable","name":"token0","nameLocation":"1293:6:6","nodeType":"VariableDeclaration","scope":738,"src":"1277:22:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":731,"name":"address","nodeType":"ElementaryTypeName","src":"1277:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":734,"indexed":true,"mutability":"mutable","name":"token1","nameLocation":"1317:6:6","nodeType":"VariableDeclaration","scope":738,"src":"1301:22:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":733,"name":"address","nodeType":"ElementaryTypeName","src":"1301:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":736,"indexed":false,"mutability":"mutable","name":"pool","nameLocation":"1333:4:6","nodeType":"VariableDeclaration","scope":738,"src":"1325:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":735,"name":"address","nodeType":"ElementaryTypeName","src":"1325:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1276:62:6"},"src":"1266:73:6"},{"anonymous":false,"documentation":{"id":739,"nodeType":"StructuredDocumentation","src":"1343:298:6","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":749,"name":"CustomPool","nameLocation":"1650:10:6","nodeType":"EventDefinition","parameters":{"id":748,"nodeType":"ParameterList","parameters":[{"constant":false,"id":741,"indexed":true,"mutability":"mutable","name":"deployer","nameLocation":"1677:8:6","nodeType":"VariableDeclaration","scope":749,"src":"1661:24:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":740,"name":"address","nodeType":"ElementaryTypeName","src":"1661:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":743,"indexed":true,"mutability":"mutable","name":"token0","nameLocation":"1703:6:6","nodeType":"VariableDeclaration","scope":749,"src":"1687:22:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":742,"name":"address","nodeType":"ElementaryTypeName","src":"1687:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":745,"indexed":true,"mutability":"mutable","name":"token1","nameLocation":"1727:6:6","nodeType":"VariableDeclaration","scope":749,"src":"1711:22:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":744,"name":"address","nodeType":"ElementaryTypeName","src":"1711:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":747,"indexed":false,"mutability":"mutable","name":"pool","nameLocation":"1743:4:6","nodeType":"VariableDeclaration","scope":749,"src":"1735:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":746,"name":"address","nodeType":"ElementaryTypeName","src":"1735:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1660:88:6"},"src":"1644:105:6"},{"anonymous":false,"documentation":{"id":750,"nodeType":"StructuredDocumentation","src":"1753:133:6","text":"@notice Emitted when the default community fee is changed\n @param newDefaultCommunityFee The new default community fee value"},"eventSelector":"6b5c342391f543846fce47a925e7eba910f7bec232b08633308ca93fdd0fdf0d","id":754,"name":"DefaultCommunityFee","nameLocation":"1895:19:6","nodeType":"EventDefinition","parameters":{"id":753,"nodeType":"ParameterList","parameters":[{"constant":false,"id":752,"indexed":false,"mutability":"mutable","name":"newDefaultCommunityFee","nameLocation":"1922:22:6","nodeType":"VariableDeclaration","scope":754,"src":"1915:29:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":751,"name":"uint16","nodeType":"ElementaryTypeName","src":"1915:6:6","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"1914:31:6"},"src":"1889:57:6"},{"anonymous":false,"documentation":{"id":755,"nodeType":"StructuredDocumentation","src":"1950:128:6","text":"@notice Emitted when the default tickspacing is changed\n @param newDefaultTickspacing The new default tickspacing value"},"eventSelector":"7d7979096f943139ebee59f01c077a0f0766d06c40c86d596f23ed2561547cce","id":759,"name":"DefaultTickspacing","nameLocation":"2087:18:6","nodeType":"EventDefinition","parameters":{"id":758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":757,"indexed":false,"mutability":"mutable","name":"newDefaultTickspacing","nameLocation":"2112:21:6","nodeType":"VariableDeclaration","scope":759,"src":"2106:27:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":756,"name":"int24","nodeType":"ElementaryTypeName","src":"2106:5:6","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"2105:29:6"},"src":"2081:54:6"},{"anonymous":false,"documentation":{"id":760,"nodeType":"StructuredDocumentation","src":"2139:104:6","text":"@notice Emitted when the default fee is changed\n @param newDefaultFee The new default fee value"},"eventSelector":"ddc0c6f0b581e0d51bfe90ff138e4a548f94515c4dbcb12f5e98fdf0f7503983","id":764,"name":"DefaultFee","nameLocation":"2252:10:6","nodeType":"EventDefinition","parameters":{"id":763,"nodeType":"ParameterList","parameters":[{"constant":false,"id":762,"indexed":false,"mutability":"mutable","name":"newDefaultFee","nameLocation":"2270:13:6","nodeType":"VariableDeclaration","scope":764,"src":"2263:20:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":761,"name":"uint16","nodeType":"ElementaryTypeName","src":"2263:6:6","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"2262:22:6"},"src":"2246:39:6"},{"anonymous":false,"documentation":{"id":765,"nodeType":"StructuredDocumentation","src":"2289:146:6","text":"@notice Emitted when the defaultPluginFactory address is changed\n @param defaultPluginFactoryAddress The new defaultPluginFactory address"},"eventSelector":"5e38e259ec1f8a38b98fc65a27e266bb9cc87c76eb8c96c957450d1cff4591ef","id":769,"name":"DefaultPluginFactory","nameLocation":"2444:20:6","nodeType":"EventDefinition","parameters":{"id":768,"nodeType":"ParameterList","parameters":[{"constant":false,"id":767,"indexed":false,"mutability":"mutable","name":"defaultPluginFactoryAddress","nameLocation":"2473:27:6","nodeType":"VariableDeclaration","scope":769,"src":"2465:35:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":766,"name":"address","nodeType":"ElementaryTypeName","src":"2465:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2464:37:6"},"src":"2438:64:6"},{"anonymous":false,"documentation":{"id":770,"nodeType":"StructuredDocumentation","src":"2506:118:6","text":"@notice Emitted when the vaultFactory address is changed\n @param newVaultFactory The new vaultFactory address"},"eventSelector":"a006ea05a14783821b0248e75d2342cd1681b07509e10a0f08487b080c29dea8","id":774,"name":"VaultFactory","nameLocation":"2633:12:6","nodeType":"EventDefinition","parameters":{"id":773,"nodeType":"ParameterList","parameters":[{"constant":false,"id":772,"indexed":false,"mutability":"mutable","name":"newVaultFactory","nameLocation":"2654:15:6","nodeType":"VariableDeclaration","scope":774,"src":"2646:23:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":771,"name":"address","nodeType":"ElementaryTypeName","src":"2646:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2645:25:6"},"src":"2627:44:6"},{"documentation":{"id":775,"nodeType":"StructuredDocumentation","src":"2675:120:6","text":"@notice role that can change communityFee and tickspacing in pools\n @return The hash corresponding to this role"},"functionSelector":"b500a48b","id":780,"implemented":false,"kind":"function","modifiers":[],"name":"POOLS_ADMINISTRATOR_ROLE","nameLocation":"2807:24:6","nodeType":"FunctionDefinition","parameters":{"id":776,"nodeType":"ParameterList","parameters":[],"src":"2831:2:6"},"returnParameters":{"id":779,"nodeType":"ParameterList","parameters":[{"constant":false,"id":778,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":780,"src":"2857:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":777,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2857:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2856:9:6"},"scope":973,"src":"2798:68:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":781,"nodeType":"StructuredDocumentation","src":"2870:108:6","text":"@notice role that can call `createCustomPool` function\n @return The hash corresponding to this role"},"functionSelector":"07810754","id":786,"implemented":false,"kind":"function","modifiers":[],"name":"CUSTOM_POOL_DEPLOYER","nameLocation":"2990:20:6","nodeType":"FunctionDefinition","parameters":{"id":782,"nodeType":"ParameterList","parameters":[],"src":"3010:2:6"},"returnParameters":{"id":785,"nodeType":"ParameterList","parameters":[{"constant":false,"id":784,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":786,"src":"3036:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":783,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3036:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3035:9:6"},"scope":973,"src":"2981:64:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":787,"nodeType":"StructuredDocumentation","src":"3049:280:6","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":796,"implemented":false,"kind":"function","modifiers":[],"name":"hasRoleOrOwner","nameLocation":"3341:14:6","nodeType":"FunctionDefinition","parameters":{"id":792,"nodeType":"ParameterList","parameters":[{"constant":false,"id":789,"mutability":"mutable","name":"role","nameLocation":"3364:4:6","nodeType":"VariableDeclaration","scope":796,"src":"3356:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":788,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3356:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":791,"mutability":"mutable","name":"account","nameLocation":"3378:7:6","nodeType":"VariableDeclaration","scope":796,"src":"3370:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":790,"name":"address","nodeType":"ElementaryTypeName","src":"3370:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3355:31:6"},"returnParameters":{"id":795,"nodeType":"ParameterList","parameters":[{"constant":false,"id":794,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":796,"src":"3410:4:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":793,"name":"bool","nodeType":"ElementaryTypeName","src":"3410:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3409:6:6"},"scope":973,"src":"3332:84:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":797,"nodeType":"StructuredDocumentation","src":"3420:186:6","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":802,"implemented":false,"kind":"function","modifiers":[],"name":"owner","nameLocation":"3618:5:6","nodeType":"FunctionDefinition","parameters":{"id":798,"nodeType":"ParameterList","parameters":[],"src":"3623:2:6"},"returnParameters":{"id":801,"nodeType":"ParameterList","parameters":[{"constant":false,"id":800,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":802,"src":"3649:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":799,"name":"address","nodeType":"ElementaryTypeName","src":"3649:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3648:9:6"},"scope":973,"src":"3609:49:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":803,"nodeType":"StructuredDocumentation","src":"3662:97:6","text":"@notice Returns the current poolDeployerAddress\n @return The address of the poolDeployer"},"functionSelector":"3119049a","id":808,"implemented":false,"kind":"function","modifiers":[],"name":"poolDeployer","nameLocation":"3771:12:6","nodeType":"FunctionDefinition","parameters":{"id":804,"nodeType":"ParameterList","parameters":[],"src":"3783:2:6"},"returnParameters":{"id":807,"nodeType":"ParameterList","parameters":[{"constant":false,"id":806,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":808,"src":"3809:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":805,"name":"address","nodeType":"ElementaryTypeName","src":"3809:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3808:9:6"},"scope":973,"src":"3762:56:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":809,"nodeType":"StructuredDocumentation","src":"3822:109:6","text":"@notice Returns the default community fee\n @return Fee which will be set at the creation of the pool"},"functionSelector":"2f8a39dd","id":814,"implemented":false,"kind":"function","modifiers":[],"name":"defaultCommunityFee","nameLocation":"3943:19:6","nodeType":"FunctionDefinition","parameters":{"id":810,"nodeType":"ParameterList","parameters":[],"src":"3962:2:6"},"returnParameters":{"id":813,"nodeType":"ParameterList","parameters":[{"constant":false,"id":812,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":814,"src":"3988:6:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":811,"name":"uint16","nodeType":"ElementaryTypeName","src":"3988:6:6","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"3987:8:6"},"scope":973,"src":"3934:62:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":815,"nodeType":"StructuredDocumentation","src":"4000:99:6","text":"@notice Returns the default fee\n @return Fee which will be set at the creation of the pool"},"functionSelector":"5a6c72d0","id":820,"implemented":false,"kind":"function","modifiers":[],"name":"defaultFee","nameLocation":"4111:10:6","nodeType":"FunctionDefinition","parameters":{"id":816,"nodeType":"ParameterList","parameters":[],"src":"4121:2:6"},"returnParameters":{"id":819,"nodeType":"ParameterList","parameters":[{"constant":false,"id":818,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":820,"src":"4147:6:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":817,"name":"uint16","nodeType":"ElementaryTypeName","src":"4147:6:6","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"4146:8:6"},"scope":973,"src":"4102:53:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":821,"nodeType":"StructuredDocumentation","src":"4159:115:6","text":"@notice Returns the default tickspacing\n @return Tickspacing which will be set at the creation of the pool"},"functionSelector":"29bc3446","id":826,"implemented":false,"kind":"function","modifiers":[],"name":"defaultTickspacing","nameLocation":"4286:18:6","nodeType":"FunctionDefinition","parameters":{"id":822,"nodeType":"ParameterList","parameters":[],"src":"4304:2:6"},"returnParameters":{"id":825,"nodeType":"ParameterList","parameters":[{"constant":false,"id":824,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":826,"src":"4330:5:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":823,"name":"int24","nodeType":"ElementaryTypeName","src":"4330:5:6","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"4329:7:6"},"scope":973,"src":"4277:60:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":827,"nodeType":"StructuredDocumentation","src":"4341:183:6","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":833,"implemented":false,"kind":"function","modifiers":[],"name":"defaultPluginFactory","nameLocation":"4536:20:6","nodeType":"FunctionDefinition","parameters":{"id":828,"nodeType":"ParameterList","parameters":[],"src":"4556:2:6"},"returnParameters":{"id":832,"nodeType":"ParameterList","parameters":[{"constant":false,"id":831,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":833,"src":"4582:21:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPluginFactory_$1193","typeString":"contract IAlgebraPluginFactory"},"typeName":{"id":830,"nodeType":"UserDefinedTypeName","pathNode":{"id":829,"name":"IAlgebraPluginFactory","nameLocations":["4582:21:6"],"nodeType":"IdentifierPath","referencedDeclaration":1193,"src":"4582:21:6"},"referencedDeclaration":1193,"src":"4582:21:6","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraPluginFactory_$1193","typeString":"contract IAlgebraPluginFactory"}},"visibility":"internal"}],"src":"4581:23:6"},"scope":973,"src":"4527:78:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":834,"nodeType":"StructuredDocumentation","src":"4609:180:6","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":840,"implemented":false,"kind":"function","modifiers":[],"name":"vaultFactory","nameLocation":"4801:12:6","nodeType":"FunctionDefinition","parameters":{"id":835,"nodeType":"ParameterList","parameters":[],"src":"4813:2:6"},"returnParameters":{"id":839,"nodeType":"ParameterList","parameters":[{"constant":false,"id":838,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":840,"src":"4839:20:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraVaultFactory_$1851","typeString":"contract IAlgebraVaultFactory"},"typeName":{"id":837,"nodeType":"UserDefinedTypeName","pathNode":{"id":836,"name":"IAlgebraVaultFactory","nameLocations":["4839:20:6"],"nodeType":"IdentifierPath","referencedDeclaration":1851,"src":"4839:20:6"},"referencedDeclaration":1851,"src":"4839:20:6","typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraVaultFactory_$1851","typeString":"contract IAlgebraVaultFactory"}},"visibility":"internal"}],"src":"4838:22:6"},"scope":973,"src":"4792:69:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":841,"nodeType":"StructuredDocumentation","src":"4865:302:6","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":850,"implemented":false,"kind":"function","modifiers":[],"name":"defaultConfigurationForPool","nameLocation":"5179:27:6","nodeType":"FunctionDefinition","parameters":{"id":842,"nodeType":"ParameterList","parameters":[],"src":"5206:2:6"},"returnParameters":{"id":849,"nodeType":"ParameterList","parameters":[{"constant":false,"id":844,"mutability":"mutable","name":"communityFee","nameLocation":"5239:12:6","nodeType":"VariableDeclaration","scope":850,"src":"5232:19:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":843,"name":"uint16","nodeType":"ElementaryTypeName","src":"5232:6:6","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":846,"mutability":"mutable","name":"tickSpacing","nameLocation":"5259:11:6","nodeType":"VariableDeclaration","scope":850,"src":"5253:17:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":845,"name":"int24","nodeType":"ElementaryTypeName","src":"5253:5:6","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":848,"mutability":"mutable","name":"fee","nameLocation":"5279:3:6","nodeType":"VariableDeclaration","scope":850,"src":"5272:10:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":847,"name":"uint16","nodeType":"ElementaryTypeName","src":"5272:6:6","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"5231:52:6"},"scope":973,"src":"5170:114:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":851,"nodeType":"StructuredDocumentation","src":"5288:277:6","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":860,"implemented":false,"kind":"function","modifiers":[],"name":"computePoolAddress","nameLocation":"5577:18:6","nodeType":"FunctionDefinition","parameters":{"id":856,"nodeType":"ParameterList","parameters":[{"constant":false,"id":853,"mutability":"mutable","name":"token0","nameLocation":"5604:6:6","nodeType":"VariableDeclaration","scope":860,"src":"5596:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":852,"name":"address","nodeType":"ElementaryTypeName","src":"5596:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":855,"mutability":"mutable","name":"token1","nameLocation":"5620:6:6","nodeType":"VariableDeclaration","scope":860,"src":"5612:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":854,"name":"address","nodeType":"ElementaryTypeName","src":"5612:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5595:32:6"},"returnParameters":{"id":859,"nodeType":"ParameterList","parameters":[{"constant":false,"id":858,"mutability":"mutable","name":"pool","nameLocation":"5659:4:6","nodeType":"VariableDeclaration","scope":860,"src":"5651:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":857,"name":"address","nodeType":"ElementaryTypeName","src":"5651:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5650:14:6"},"scope":973,"src":"5568:97:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":861,"nodeType":"StructuredDocumentation","src":"5669:372:6","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":872,"implemented":false,"kind":"function","modifiers":[],"name":"computeCustomPoolAddress","nameLocation":"6053:24:6","nodeType":"FunctionDefinition","parameters":{"id":868,"nodeType":"ParameterList","parameters":[{"constant":false,"id":863,"mutability":"mutable","name":"customDeployer","nameLocation":"6086:14:6","nodeType":"VariableDeclaration","scope":872,"src":"6078:22:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":862,"name":"address","nodeType":"ElementaryTypeName","src":"6078:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":865,"mutability":"mutable","name":"token0","nameLocation":"6110:6:6","nodeType":"VariableDeclaration","scope":872,"src":"6102:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":864,"name":"address","nodeType":"ElementaryTypeName","src":"6102:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":867,"mutability":"mutable","name":"token1","nameLocation":"6126:6:6","nodeType":"VariableDeclaration","scope":872,"src":"6118:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":866,"name":"address","nodeType":"ElementaryTypeName","src":"6118:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6077:56:6"},"returnParameters":{"id":871,"nodeType":"ParameterList","parameters":[{"constant":false,"id":870,"mutability":"mutable","name":"customPool","nameLocation":"6165:10:6","nodeType":"VariableDeclaration","scope":872,"src":"6157:18:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":869,"name":"address","nodeType":"ElementaryTypeName","src":"6157:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6156:20:6"},"scope":973,"src":"6044:133:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":873,"nodeType":"StructuredDocumentation","src":"6181:352:6","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":882,"implemented":false,"kind":"function","modifiers":[],"name":"poolByPair","nameLocation":"6545:10:6","nodeType":"FunctionDefinition","parameters":{"id":878,"nodeType":"ParameterList","parameters":[{"constant":false,"id":875,"mutability":"mutable","name":"tokenA","nameLocation":"6564:6:6","nodeType":"VariableDeclaration","scope":882,"src":"6556:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":874,"name":"address","nodeType":"ElementaryTypeName","src":"6556:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":877,"mutability":"mutable","name":"tokenB","nameLocation":"6580:6:6","nodeType":"VariableDeclaration","scope":882,"src":"6572:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":876,"name":"address","nodeType":"ElementaryTypeName","src":"6572:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6555:32:6"},"returnParameters":{"id":881,"nodeType":"ParameterList","parameters":[{"constant":false,"id":880,"mutability":"mutable","name":"pool","nameLocation":"6619:4:6","nodeType":"VariableDeclaration","scope":882,"src":"6611:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":879,"name":"address","nodeType":"ElementaryTypeName","src":"6611:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6610:14:6"},"scope":973,"src":"6536:89:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":883,"nodeType":"StructuredDocumentation","src":"6629:452:6","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":894,"implemented":false,"kind":"function","modifiers":[],"name":"customPoolByPair","nameLocation":"7093:16:6","nodeType":"FunctionDefinition","parameters":{"id":890,"nodeType":"ParameterList","parameters":[{"constant":false,"id":885,"mutability":"mutable","name":"customDeployer","nameLocation":"7118:14:6","nodeType":"VariableDeclaration","scope":894,"src":"7110:22:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":884,"name":"address","nodeType":"ElementaryTypeName","src":"7110:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":887,"mutability":"mutable","name":"tokenA","nameLocation":"7142:6:6","nodeType":"VariableDeclaration","scope":894,"src":"7134:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":886,"name":"address","nodeType":"ElementaryTypeName","src":"7134:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":889,"mutability":"mutable","name":"tokenB","nameLocation":"7158:6:6","nodeType":"VariableDeclaration","scope":894,"src":"7150:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":888,"name":"address","nodeType":"ElementaryTypeName","src":"7150:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"7109:56:6"},"returnParameters":{"id":893,"nodeType":"ParameterList","parameters":[{"constant":false,"id":892,"mutability":"mutable","name":"customPool","nameLocation":"7197:10:6","nodeType":"VariableDeclaration","scope":894,"src":"7189:18:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":891,"name":"address","nodeType":"ElementaryTypeName","src":"7189:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"7188:20:6"},"scope":973,"src":"7084:125:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":895,"nodeType":"StructuredDocumentation","src":"7213:197:6","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":900,"implemented":false,"kind":"function","modifiers":[],"name":"POOL_INIT_CODE_HASH","nameLocation":"7422:19:6","nodeType":"FunctionDefinition","parameters":{"id":896,"nodeType":"ParameterList","parameters":[],"src":"7441:2:6"},"returnParameters":{"id":899,"nodeType":"ParameterList","parameters":[{"constant":false,"id":898,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":900,"src":"7467:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":897,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7467:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"7466:9:6"},"scope":973,"src":"7413:63:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":901,"nodeType":"StructuredDocumentation","src":"7480:85:6","text":"@return timestamp The timestamp of the beginning of the renounceOwnership process"},"functionSelector":"084bfff9","id":906,"implemented":false,"kind":"function","modifiers":[],"name":"renounceOwnershipStartTimestamp","nameLocation":"7577:31:6","nodeType":"FunctionDefinition","parameters":{"id":902,"nodeType":"ParameterList","parameters":[],"src":"7608:2:6"},"returnParameters":{"id":905,"nodeType":"ParameterList","parameters":[{"constant":false,"id":904,"mutability":"mutable","name":"timestamp","nameLocation":"7642:9:6","nodeType":"VariableDeclaration","scope":906,"src":"7634:17:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":903,"name":"uint256","nodeType":"ElementaryTypeName","src":"7634:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7633:19:6"},"scope":973,"src":"7568:85:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":907,"nodeType":"StructuredDocumentation","src":"7657:463:6","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":918,"implemented":false,"kind":"function","modifiers":[],"name":"createPool","nameLocation":"8132:10:6","nodeType":"FunctionDefinition","parameters":{"id":914,"nodeType":"ParameterList","parameters":[{"constant":false,"id":909,"mutability":"mutable","name":"tokenA","nameLocation":"8151:6:6","nodeType":"VariableDeclaration","scope":918,"src":"8143:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":908,"name":"address","nodeType":"ElementaryTypeName","src":"8143:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":911,"mutability":"mutable","name":"tokenB","nameLocation":"8167:6:6","nodeType":"VariableDeclaration","scope":918,"src":"8159:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":910,"name":"address","nodeType":"ElementaryTypeName","src":"8159:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":913,"mutability":"mutable","name":"data","nameLocation":"8190:4:6","nodeType":"VariableDeclaration","scope":918,"src":"8175:19:6","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":912,"name":"bytes","nodeType":"ElementaryTypeName","src":"8175:5:6","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8142:53:6"},"returnParameters":{"id":917,"nodeType":"ParameterList","parameters":[{"constant":false,"id":916,"mutability":"mutable","name":"pool","nameLocation":"8222:4:6","nodeType":"VariableDeclaration","scope":918,"src":"8214:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":915,"name":"address","nodeType":"ElementaryTypeName","src":"8214:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8213:14:6"},"scope":973,"src":"8123:105:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":919,"nodeType":"StructuredDocumentation","src":"8232:669:6","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":934,"implemented":false,"kind":"function","modifiers":[],"name":"createCustomPool","nameLocation":"8913:16:6","nodeType":"FunctionDefinition","parameters":{"id":930,"nodeType":"ParameterList","parameters":[{"constant":false,"id":921,"mutability":"mutable","name":"deployer","nameLocation":"8943:8:6","nodeType":"VariableDeclaration","scope":934,"src":"8935:16:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":920,"name":"address","nodeType":"ElementaryTypeName","src":"8935:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":923,"mutability":"mutable","name":"creator","nameLocation":"8965:7:6","nodeType":"VariableDeclaration","scope":934,"src":"8957:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":922,"name":"address","nodeType":"ElementaryTypeName","src":"8957:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":925,"mutability":"mutable","name":"tokenA","nameLocation":"8986:6:6","nodeType":"VariableDeclaration","scope":934,"src":"8978:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":924,"name":"address","nodeType":"ElementaryTypeName","src":"8978:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":927,"mutability":"mutable","name":"tokenB","nameLocation":"9006:6:6","nodeType":"VariableDeclaration","scope":934,"src":"8998:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":926,"name":"address","nodeType":"ElementaryTypeName","src":"8998:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":929,"mutability":"mutable","name":"data","nameLocation":"9033:4:6","nodeType":"VariableDeclaration","scope":934,"src":"9018:19:6","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":928,"name":"bytes","nodeType":"ElementaryTypeName","src":"9018:5:6","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8929:112:6"},"returnParameters":{"id":933,"nodeType":"ParameterList","parameters":[{"constant":false,"id":932,"mutability":"mutable","name":"customPool","nameLocation":"9068:10:6","nodeType":"VariableDeclaration","scope":934,"src":"9060:18:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":931,"name":"address","nodeType":"ElementaryTypeName","src":"9060:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"9059:20:6"},"scope":973,"src":"8904:176:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":935,"nodeType":"StructuredDocumentation","src":"9084:142:6","text":"@dev updates default community fee for new pools\n @param newDefaultCommunityFee The new community fee, _must_ be <= MAX_COMMUNITY_FEE"},"functionSelector":"8d5a8711","id":940,"implemented":false,"kind":"function","modifiers":[],"name":"setDefaultCommunityFee","nameLocation":"9238:22:6","nodeType":"FunctionDefinition","parameters":{"id":938,"nodeType":"ParameterList","parameters":[{"constant":false,"id":937,"mutability":"mutable","name":"newDefaultCommunityFee","nameLocation":"9268:22:6","nodeType":"VariableDeclaration","scope":940,"src":"9261:29:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":936,"name":"uint16","nodeType":"ElementaryTypeName","src":"9261:6:6","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"9260:31:6"},"returnParameters":{"id":939,"nodeType":"ParameterList","parameters":[],"src":"9300:0:6"},"scope":973,"src":"9229:72:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":941,"nodeType":"StructuredDocumentation","src":"9305:112:6","text":"@dev updates default fee for new pools\n @param newDefaultFee The new  fee, _must_ be <= MAX_DEFAULT_FEE"},"functionSelector":"77326584","id":946,"implemented":false,"kind":"function","modifiers":[],"name":"setDefaultFee","nameLocation":"9429:13:6","nodeType":"FunctionDefinition","parameters":{"id":944,"nodeType":"ParameterList","parameters":[{"constant":false,"id":943,"mutability":"mutable","name":"newDefaultFee","nameLocation":"9450:13:6","nodeType":"VariableDeclaration","scope":946,"src":"9443:20:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":942,"name":"uint16","nodeType":"ElementaryTypeName","src":"9443:6:6","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"9442:22:6"},"returnParameters":{"id":945,"nodeType":"ParameterList","parameters":[],"src":"9473:0:6"},"scope":973,"src":"9420:54:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":947,"nodeType":"StructuredDocumentation","src":"9478:160:6","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":952,"implemented":false,"kind":"function","modifiers":[],"name":"setDefaultTickspacing","nameLocation":"9650:21:6","nodeType":"FunctionDefinition","parameters":{"id":950,"nodeType":"ParameterList","parameters":[{"constant":false,"id":949,"mutability":"mutable","name":"newDefaultTickspacing","nameLocation":"9678:21:6","nodeType":"VariableDeclaration","scope":952,"src":"9672:27:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":948,"name":"int24","nodeType":"ElementaryTypeName","src":"9672:5:6","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"9671:29:6"},"returnParameters":{"id":951,"nodeType":"ParameterList","parameters":[],"src":"9709:0:6"},"scope":973,"src":"9641:69:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":953,"nodeType":"StructuredDocumentation","src":"9714:105:6","text":"@dev updates pluginFactory address\n @param newDefaultPluginFactory address of new plugin factory"},"functionSelector":"2939dd97","id":958,"implemented":false,"kind":"function","modifiers":[],"name":"setDefaultPluginFactory","nameLocation":"9831:23:6","nodeType":"FunctionDefinition","parameters":{"id":956,"nodeType":"ParameterList","parameters":[{"constant":false,"id":955,"mutability":"mutable","name":"newDefaultPluginFactory","nameLocation":"9863:23:6","nodeType":"VariableDeclaration","scope":958,"src":"9855:31:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":954,"name":"address","nodeType":"ElementaryTypeName","src":"9855:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"9854:33:6"},"returnParameters":{"id":957,"nodeType":"ParameterList","parameters":[],"src":"9896:0:6"},"scope":973,"src":"9822:75:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":959,"nodeType":"StructuredDocumentation","src":"9901:95:6","text":"@dev updates vaultFactory address\n @param newVaultFactory address of new vault factory"},"functionSelector":"3ea7fbdb","id":964,"implemented":false,"kind":"function","modifiers":[],"name":"setVaultFactory","nameLocation":"10008:15:6","nodeType":"FunctionDefinition","parameters":{"id":962,"nodeType":"ParameterList","parameters":[{"constant":false,"id":961,"mutability":"mutable","name":"newVaultFactory","nameLocation":"10032:15:6","nodeType":"VariableDeclaration","scope":964,"src":"10024:23:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":960,"name":"address","nodeType":"ElementaryTypeName","src":"10024:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"10023:25:6"},"returnParameters":{"id":963,"nodeType":"ParameterList","parameters":[],"src":"10057:0:6"},"scope":973,"src":"9999:59:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":965,"nodeType":"StructuredDocumentation","src":"10062:149:6","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":968,"implemented":false,"kind":"function","modifiers":[],"name":"startRenounceOwnership","nameLocation":"10223:22:6","nodeType":"FunctionDefinition","parameters":{"id":966,"nodeType":"ParameterList","parameters":[],"src":"10245:2:6"},"returnParameters":{"id":967,"nodeType":"ParameterList","parameters":[],"src":"10256:0:6"},"scope":973,"src":"10214:43:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":969,"nodeType":"StructuredDocumentation","src":"10261:65:6","text":"@notice Stops process of renounceOwnership and removes timer."},"functionSelector":"238a1d74","id":972,"implemented":false,"kind":"function","modifiers":[],"name":"stopRenounceOwnership","nameLocation":"10338:21:6","nodeType":"FunctionDefinition","parameters":{"id":970,"nodeType":"ParameterList","parameters":[],"src":"10359:2:6"},"returnParameters":{"id":971,"nodeType":"ParameterList","parameters":[],"src":"10370:0:6"},"scope":973,"src":"10329:42:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":974,"src":"363:10010:6","usedErrors":[],"usedEvents":[719,724,729,738,749,754,759,764,769,774]}],"src":"45:10329:6"},"id":6},"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/IAlgebraPool.sol","exportedSymbols":{"IAlgebraPool":[995],"IAlgebraPoolActions":[1309],"IAlgebraPoolErrors":[1411],"IAlgebraPoolEvents":[1563],"IAlgebraPoolImmutables":[1591],"IAlgebraPoolPermissionedActions":[1639],"IAlgebraPoolState":[1823]},"id":996,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":975,"literals":["solidity",">=","0.8",".4"],"nodeType":"PragmaDirective","src":"45:24:7"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol","file":"./pool/IAlgebraPoolImmutables.sol","id":976,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":996,"sourceUnit":1592,"src":"71:43:7","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","file":"./pool/IAlgebraPoolState.sol","id":977,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":996,"sourceUnit":1824,"src":"115:38:7","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol","file":"./pool/IAlgebraPoolActions.sol","id":978,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":996,"sourceUnit":1310,"src":"154:40:7","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol","file":"./pool/IAlgebraPoolPermissionedActions.sol","id":979,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":996,"sourceUnit":1640,"src":"195:52:7","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol","file":"./pool/IAlgebraPoolEvents.sol","id":980,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":996,"sourceUnit":1564,"src":"248:39:7","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"./pool/IAlgebraPoolErrors.sol","id":981,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":996,"sourceUnit":1412,"src":"288:39:7","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":983,"name":"IAlgebraPoolImmutables","nameLocations":["759:22:7"],"nodeType":"IdentifierPath","referencedDeclaration":1591,"src":"759:22:7"},"id":984,"nodeType":"InheritanceSpecifier","src":"759:22:7"},{"baseName":{"id":985,"name":"IAlgebraPoolState","nameLocations":["785:17:7"],"nodeType":"IdentifierPath","referencedDeclaration":1823,"src":"785:17:7"},"id":986,"nodeType":"InheritanceSpecifier","src":"785:17:7"},{"baseName":{"id":987,"name":"IAlgebraPoolActions","nameLocations":["806:19:7"],"nodeType":"IdentifierPath","referencedDeclaration":1309,"src":"806:19:7"},"id":988,"nodeType":"InheritanceSpecifier","src":"806:19:7"},{"baseName":{"id":989,"name":"IAlgebraPoolPermissionedActions","nameLocations":["829:31:7"],"nodeType":"IdentifierPath","referencedDeclaration":1639,"src":"829:31:7"},"id":990,"nodeType":"InheritanceSpecifier","src":"829:31:7"},{"baseName":{"id":991,"name":"IAlgebraPoolEvents","nameLocations":["864:18:7"],"nodeType":"IdentifierPath","referencedDeclaration":1563,"src":"864:18:7"},"id":992,"nodeType":"InheritanceSpecifier","src":"864:18:7"},{"baseName":{"id":993,"name":"IAlgebraPoolErrors","nameLocations":["886:18:7"],"nodeType":"IdentifierPath","referencedDeclaration":1411,"src":"886:18:7"},"id":994,"nodeType":"InheritanceSpecifier","src":"886:18:7"}],"canonicalName":"IAlgebraPool","contractDependencies":[],"contractKind":"interface","documentation":{"id":982,"nodeType":"StructuredDocumentation","src":"329:402:7","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":995,"linearizedBaseContracts":[995,1411,1563,1639,1309,1823,1591],"name":"IAlgebraPool","nameLocation":"741:12:7","nodeType":"ContractDefinition","nodes":[],"scope":996,"src":"731:217:7","usedErrors":[1315,1318,1321,1324,1327,1330,1333,1336,1339,1342,1345,1348,1351,1354,1357,1360,1363,1366,1369,1372,1377,1380,1383,1386,1389,1392,1395,1398,1401,1404,1407,1410],"usedEvents":[1421,1438,1453,1468,1475,1492,1501,1516,1523,1528,1533,1538,1543,1548,1553,1562]}],"src":"45:904:7"},"id":7},"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPlugin.sol","exportedSymbols":{"IAlgebraPlugin":[1161]},"id":1162,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":997,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:8"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPlugin","contractDependencies":[],"contractKind":"interface","documentation":{"id":998,"nodeType":"StructuredDocumentation","src":"71:145:8","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":1161,"linearizedBaseContracts":[1161],"name":"IAlgebraPlugin","nameLocation":"226:14:8","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":999,"nodeType":"StructuredDocumentation","src":"245:202:8","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":1004,"implemented":false,"kind":"function","modifiers":[],"name":"defaultPluginConfig","nameLocation":"459:19:8","nodeType":"FunctionDefinition","parameters":{"id":1000,"nodeType":"ParameterList","parameters":[],"src":"478:2:8"},"returnParameters":{"id":1003,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1002,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1004,"src":"504:5:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1001,"name":"uint8","nodeType":"ElementaryTypeName","src":"504:5:8","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"503:7:8"},"scope":1161,"src":"450:61:8","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1005,"nodeType":"StructuredDocumentation","src":"515:216:8","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":1014,"implemented":false,"kind":"function","modifiers":[],"name":"handlePluginFee","nameLocation":"743:15:8","nodeType":"FunctionDefinition","parameters":{"id":1010,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1007,"mutability":"mutable","name":"pluginFee0","nameLocation":"767:10:8","nodeType":"VariableDeclaration","scope":1014,"src":"759:18:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1006,"name":"uint256","nodeType":"ElementaryTypeName","src":"759:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1009,"mutability":"mutable","name":"pluginFee1","nameLocation":"787:10:8","nodeType":"VariableDeclaration","scope":1014,"src":"779:18:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1008,"name":"uint256","nodeType":"ElementaryTypeName","src":"779:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"758:40:8"},"returnParameters":{"id":1013,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1012,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1014,"src":"817:6:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1011,"name":"bytes4","nodeType":"ElementaryTypeName","src":"817:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"816:8:8"},"scope":1161,"src":"734:91:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1015,"nodeType":"StructuredDocumentation","src":"829:258:8","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":1024,"implemented":false,"kind":"function","modifiers":[],"name":"beforeInitialize","nameLocation":"1099:16:8","nodeType":"FunctionDefinition","parameters":{"id":1020,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1017,"mutability":"mutable","name":"sender","nameLocation":"1124:6:8","nodeType":"VariableDeclaration","scope":1024,"src":"1116:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1016,"name":"address","nodeType":"ElementaryTypeName","src":"1116:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1019,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"1140:12:8","nodeType":"VariableDeclaration","scope":1024,"src":"1132:20:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1018,"name":"uint160","nodeType":"ElementaryTypeName","src":"1132:7:8","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1115:38:8"},"returnParameters":{"id":1023,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1022,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1024,"src":"1172:6:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1021,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1172:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1171:8:8"},"scope":1161,"src":"1090:90:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1025,"nodeType":"StructuredDocumentation","src":"1184:333:8","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":1036,"implemented":false,"kind":"function","modifiers":[],"name":"afterInitialize","nameLocation":"1529:15:8","nodeType":"FunctionDefinition","parameters":{"id":1032,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1027,"mutability":"mutable","name":"sender","nameLocation":"1553:6:8","nodeType":"VariableDeclaration","scope":1036,"src":"1545:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1026,"name":"address","nodeType":"ElementaryTypeName","src":"1545:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1029,"mutability":"mutable","name":"sqrtPriceX96","nameLocation":"1569:12:8","nodeType":"VariableDeclaration","scope":1036,"src":"1561:20:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1028,"name":"uint160","nodeType":"ElementaryTypeName","src":"1561:7:8","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1031,"mutability":"mutable","name":"tick","nameLocation":"1589:4:8","nodeType":"VariableDeclaration","scope":1036,"src":"1583:10:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1030,"name":"int24","nodeType":"ElementaryTypeName","src":"1583:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1544:50:8"},"returnParameters":{"id":1035,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1034,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1036,"src":"1613:6:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1033,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1613:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1612:8:8"},"scope":1161,"src":"1520:101:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1037,"nodeType":"StructuredDocumentation","src":"1625:575:8","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":1056,"implemented":false,"kind":"function","modifiers":[],"name":"beforeModifyPosition","nameLocation":"2212:20:8","nodeType":"FunctionDefinition","parameters":{"id":1050,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1039,"mutability":"mutable","name":"sender","nameLocation":"2246:6:8","nodeType":"VariableDeclaration","scope":1056,"src":"2238:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1038,"name":"address","nodeType":"ElementaryTypeName","src":"2238:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1041,"mutability":"mutable","name":"recipient","nameLocation":"2266:9:8","nodeType":"VariableDeclaration","scope":1056,"src":"2258:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1040,"name":"address","nodeType":"ElementaryTypeName","src":"2258:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1043,"mutability":"mutable","name":"bottomTick","nameLocation":"2287:10:8","nodeType":"VariableDeclaration","scope":1056,"src":"2281:16:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1042,"name":"int24","nodeType":"ElementaryTypeName","src":"2281:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1045,"mutability":"mutable","name":"topTick","nameLocation":"2309:7:8","nodeType":"VariableDeclaration","scope":1056,"src":"2303:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1044,"name":"int24","nodeType":"ElementaryTypeName","src":"2303:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1047,"mutability":"mutable","name":"desiredLiquidityDelta","nameLocation":"2329:21:8","nodeType":"VariableDeclaration","scope":1056,"src":"2322:28:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":1046,"name":"int128","nodeType":"ElementaryTypeName","src":"2322:6:8","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":1049,"mutability":"mutable","name":"data","nameLocation":"2371:4:8","nodeType":"VariableDeclaration","scope":1056,"src":"2356:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1048,"name":"bytes","nodeType":"ElementaryTypeName","src":"2356:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2232:147:8"},"returnParameters":{"id":1055,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1052,"mutability":"mutable","name":"selector","nameLocation":"2405:8:8","nodeType":"VariableDeclaration","scope":1056,"src":"2398:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1051,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2398:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":1054,"mutability":"mutable","name":"pluginFee","nameLocation":"2422:9:8","nodeType":"VariableDeclaration","scope":1056,"src":"2415:16:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1053,"name":"uint24","nodeType":"ElementaryTypeName","src":"2415:6:8","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2397:35:8"},"scope":1161,"src":"2203:230:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1057,"nodeType":"StructuredDocumentation","src":"2437:740:8","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":1078,"implemented":false,"kind":"function","modifiers":[],"name":"afterModifyPosition","nameLocation":"3189:19:8","nodeType":"FunctionDefinition","parameters":{"id":1074,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1059,"mutability":"mutable","name":"sender","nameLocation":"3222:6:8","nodeType":"VariableDeclaration","scope":1078,"src":"3214:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1058,"name":"address","nodeType":"ElementaryTypeName","src":"3214:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1061,"mutability":"mutable","name":"recipient","nameLocation":"3242:9:8","nodeType":"VariableDeclaration","scope":1078,"src":"3234:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1060,"name":"address","nodeType":"ElementaryTypeName","src":"3234:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1063,"mutability":"mutable","name":"bottomTick","nameLocation":"3263:10:8","nodeType":"VariableDeclaration","scope":1078,"src":"3257:16:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1062,"name":"int24","nodeType":"ElementaryTypeName","src":"3257:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1065,"mutability":"mutable","name":"topTick","nameLocation":"3285:7:8","nodeType":"VariableDeclaration","scope":1078,"src":"3279:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1064,"name":"int24","nodeType":"ElementaryTypeName","src":"3279:5:8","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1067,"mutability":"mutable","name":"desiredLiquidityDelta","nameLocation":"3305:21:8","nodeType":"VariableDeclaration","scope":1078,"src":"3298:28:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":1066,"name":"int128","nodeType":"ElementaryTypeName","src":"3298:6:8","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":1069,"mutability":"mutable","name":"amount0","nameLocation":"3340:7:8","nodeType":"VariableDeclaration","scope":1078,"src":"3332:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1068,"name":"uint256","nodeType":"ElementaryTypeName","src":"3332:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1071,"mutability":"mutable","name":"amount1","nameLocation":"3361:7:8","nodeType":"VariableDeclaration","scope":1078,"src":"3353:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1070,"name":"uint256","nodeType":"ElementaryTypeName","src":"3353:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1073,"mutability":"mutable","name":"data","nameLocation":"3389:4:8","nodeType":"VariableDeclaration","scope":1078,"src":"3374:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1072,"name":"bytes","nodeType":"ElementaryTypeName","src":"3374:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3208:189:8"},"returnParameters":{"id":1077,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1076,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1078,"src":"3416:6:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1075,"name":"bytes4","nodeType":"ElementaryTypeName","src":"3416:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"3415:8:8"},"scope":1161,"src":"3180:244:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1079,"nodeType":"StructuredDocumentation","src":"3428:856:8","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":1102,"implemented":false,"kind":"function","modifiers":[],"name":"beforeSwap","nameLocation":"4296:10:8","nodeType":"FunctionDefinition","parameters":{"id":1094,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1081,"mutability":"mutable","name":"sender","nameLocation":"4320:6:8","nodeType":"VariableDeclaration","scope":1102,"src":"4312:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1080,"name":"address","nodeType":"ElementaryTypeName","src":"4312:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1083,"mutability":"mutable","name":"recipient","nameLocation":"4340:9:8","nodeType":"VariableDeclaration","scope":1102,"src":"4332:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1082,"name":"address","nodeType":"ElementaryTypeName","src":"4332:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1085,"mutability":"mutable","name":"zeroToOne","nameLocation":"4360:9:8","nodeType":"VariableDeclaration","scope":1102,"src":"4355:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1084,"name":"bool","nodeType":"ElementaryTypeName","src":"4355:4:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1087,"mutability":"mutable","name":"amountRequired","nameLocation":"4382:14:8","nodeType":"VariableDeclaration","scope":1102,"src":"4375:21:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1086,"name":"int256","nodeType":"ElementaryTypeName","src":"4375:6:8","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1089,"mutability":"mutable","name":"limitSqrtPrice","nameLocation":"4410:14:8","nodeType":"VariableDeclaration","scope":1102,"src":"4402:22:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1088,"name":"uint160","nodeType":"ElementaryTypeName","src":"4402:7:8","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1091,"mutability":"mutable","name":"withPaymentInAdvance","nameLocation":"4435:20:8","nodeType":"VariableDeclaration","scope":1102,"src":"4430:25:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1090,"name":"bool","nodeType":"ElementaryTypeName","src":"4430:4:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1093,"mutability":"mutable","name":"data","nameLocation":"4476:4:8","nodeType":"VariableDeclaration","scope":1102,"src":"4461:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1092,"name":"bytes","nodeType":"ElementaryTypeName","src":"4461:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4306:178:8"},"returnParameters":{"id":1101,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1096,"mutability":"mutable","name":"selector","nameLocation":"4510:8:8","nodeType":"VariableDeclaration","scope":1102,"src":"4503:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1095,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4503:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":1098,"mutability":"mutable","name":"feeOverride","nameLocation":"4527:11:8","nodeType":"VariableDeclaration","scope":1102,"src":"4520:18:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1097,"name":"uint24","nodeType":"ElementaryTypeName","src":"4520:6:8","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":1100,"mutability":"mutable","name":"pluginFee","nameLocation":"4547:9:8","nodeType":"VariableDeclaration","scope":1102,"src":"4540:16:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1099,"name":"uint24","nodeType":"ElementaryTypeName","src":"4540:6:8","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"4502:55:8"},"scope":1161,"src":"4287:271:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1103,"nodeType":"StructuredDocumentation","src":"4562:966:8","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":1124,"implemented":false,"kind":"function","modifiers":[],"name":"afterSwap","nameLocation":"5540:9:8","nodeType":"FunctionDefinition","parameters":{"id":1120,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1105,"mutability":"mutable","name":"sender","nameLocation":"5563:6:8","nodeType":"VariableDeclaration","scope":1124,"src":"5555:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1104,"name":"address","nodeType":"ElementaryTypeName","src":"5555:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1107,"mutability":"mutable","name":"recipient","nameLocation":"5583:9:8","nodeType":"VariableDeclaration","scope":1124,"src":"5575:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1106,"name":"address","nodeType":"ElementaryTypeName","src":"5575:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1109,"mutability":"mutable","name":"zeroToOne","nameLocation":"5603:9:8","nodeType":"VariableDeclaration","scope":1124,"src":"5598:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1108,"name":"bool","nodeType":"ElementaryTypeName","src":"5598:4:8","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1111,"mutability":"mutable","name":"amountRequired","nameLocation":"5625:14:8","nodeType":"VariableDeclaration","scope":1124,"src":"5618:21:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1110,"name":"int256","nodeType":"ElementaryTypeName","src":"5618:6:8","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1113,"mutability":"mutable","name":"limitSqrtPrice","nameLocation":"5653:14:8","nodeType":"VariableDeclaration","scope":1124,"src":"5645:22:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1112,"name":"uint160","nodeType":"ElementaryTypeName","src":"5645:7:8","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1115,"mutability":"mutable","name":"amount0","nameLocation":"5680:7:8","nodeType":"VariableDeclaration","scope":1124,"src":"5673:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1114,"name":"int256","nodeType":"ElementaryTypeName","src":"5673:6:8","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1117,"mutability":"mutable","name":"amount1","nameLocation":"5700:7:8","nodeType":"VariableDeclaration","scope":1124,"src":"5693:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1116,"name":"int256","nodeType":"ElementaryTypeName","src":"5693:6:8","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1119,"mutability":"mutable","name":"data","nameLocation":"5728:4:8","nodeType":"VariableDeclaration","scope":1124,"src":"5713:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1118,"name":"bytes","nodeType":"ElementaryTypeName","src":"5713:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5549:187:8"},"returnParameters":{"id":1123,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1122,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1124,"src":"5755:6:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1121,"name":"bytes4","nodeType":"ElementaryTypeName","src":"5755:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"5754:8:8"},"scope":1161,"src":"5531:232:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1125,"nodeType":"StructuredDocumentation","src":"5767:434:8","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":1140,"implemented":false,"kind":"function","modifiers":[],"name":"beforeFlash","nameLocation":"6213:11:8","nodeType":"FunctionDefinition","parameters":{"id":1136,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1127,"mutability":"mutable","name":"sender","nameLocation":"6233:6:8","nodeType":"VariableDeclaration","scope":1140,"src":"6225:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1126,"name":"address","nodeType":"ElementaryTypeName","src":"6225:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1129,"mutability":"mutable","name":"recipient","nameLocation":"6249:9:8","nodeType":"VariableDeclaration","scope":1140,"src":"6241:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1128,"name":"address","nodeType":"ElementaryTypeName","src":"6241:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1131,"mutability":"mutable","name":"amount0","nameLocation":"6268:7:8","nodeType":"VariableDeclaration","scope":1140,"src":"6260:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1130,"name":"uint256","nodeType":"ElementaryTypeName","src":"6260:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1133,"mutability":"mutable","name":"amount1","nameLocation":"6285:7:8","nodeType":"VariableDeclaration","scope":1140,"src":"6277:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1132,"name":"uint256","nodeType":"ElementaryTypeName","src":"6277:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1135,"mutability":"mutable","name":"data","nameLocation":"6309:4:8","nodeType":"VariableDeclaration","scope":1140,"src":"6294:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1134,"name":"bytes","nodeType":"ElementaryTypeName","src":"6294:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6224:90:8"},"returnParameters":{"id":1139,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1138,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1140,"src":"6333:6:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1137,"name":"bytes4","nodeType":"ElementaryTypeName","src":"6333:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"6332:8:8"},"scope":1161,"src":"6204:137:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1141,"nodeType":"StructuredDocumentation","src":"6345:555:8","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":1160,"implemented":false,"kind":"function","modifiers":[],"name":"afterFlash","nameLocation":"6912:10:8","nodeType":"FunctionDefinition","parameters":{"id":1156,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1143,"mutability":"mutable","name":"sender","nameLocation":"6936:6:8","nodeType":"VariableDeclaration","scope":1160,"src":"6928:14:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1142,"name":"address","nodeType":"ElementaryTypeName","src":"6928:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1145,"mutability":"mutable","name":"recipient","nameLocation":"6956:9:8","nodeType":"VariableDeclaration","scope":1160,"src":"6948:17:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1144,"name":"address","nodeType":"ElementaryTypeName","src":"6948:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1147,"mutability":"mutable","name":"amount0","nameLocation":"6979:7:8","nodeType":"VariableDeclaration","scope":1160,"src":"6971:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1146,"name":"uint256","nodeType":"ElementaryTypeName","src":"6971:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1149,"mutability":"mutable","name":"amount1","nameLocation":"7000:7:8","nodeType":"VariableDeclaration","scope":1160,"src":"6992:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1148,"name":"uint256","nodeType":"ElementaryTypeName","src":"6992:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1151,"mutability":"mutable","name":"paid0","nameLocation":"7021:5:8","nodeType":"VariableDeclaration","scope":1160,"src":"7013:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1150,"name":"uint256","nodeType":"ElementaryTypeName","src":"7013:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1153,"mutability":"mutable","name":"paid1","nameLocation":"7040:5:8","nodeType":"VariableDeclaration","scope":1160,"src":"7032:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1152,"name":"uint256","nodeType":"ElementaryTypeName","src":"7032:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1155,"mutability":"mutable","name":"data","nameLocation":"7066:4:8","nodeType":"VariableDeclaration","scope":1160,"src":"7051:19:8","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1154,"name":"bytes","nodeType":"ElementaryTypeName","src":"7051:5:8","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6922:152:8"},"returnParameters":{"id":1159,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1158,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1160,"src":"7093:6:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1157,"name":"bytes4","nodeType":"ElementaryTypeName","src":"7093:6:8","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"7092:8:8"},"scope":1161,"src":"6903:198:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1162,"src":"216:6887:8","usedErrors":[],"usedEvents":[]}],"src":"45:7059:8"},"id":8},"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/plugin/IAlgebraPluginFactory.sol","exportedSymbols":{"IAlgebraPluginFactory":[1193]},"id":1194,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1163,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:9"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPluginFactory","contractDependencies":[],"contractKind":"interface","documentation":{"id":1164,"nodeType":"StructuredDocumentation","src":"71:249:9","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":1193,"linearizedBaseContracts":[1193],"name":"IAlgebraPluginFactory","nameLocation":"330:21:9","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1165,"nodeType":"StructuredDocumentation","src":"356:364:9","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":1182,"implemented":false,"kind":"function","modifiers":[],"name":"beforeCreatePoolHook","nameLocation":"732:20:9","nodeType":"FunctionDefinition","parameters":{"id":1178,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1167,"mutability":"mutable","name":"pool","nameLocation":"766:4:9","nodeType":"VariableDeclaration","scope":1182,"src":"758:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1166,"name":"address","nodeType":"ElementaryTypeName","src":"758:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1169,"mutability":"mutable","name":"creator","nameLocation":"784:7:9","nodeType":"VariableDeclaration","scope":1182,"src":"776:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1168,"name":"address","nodeType":"ElementaryTypeName","src":"776:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1171,"mutability":"mutable","name":"deployer","nameLocation":"805:8:9","nodeType":"VariableDeclaration","scope":1182,"src":"797:16:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1170,"name":"address","nodeType":"ElementaryTypeName","src":"797:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1173,"mutability":"mutable","name":"token0","nameLocation":"827:6:9","nodeType":"VariableDeclaration","scope":1182,"src":"819:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1172,"name":"address","nodeType":"ElementaryTypeName","src":"819:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1175,"mutability":"mutable","name":"token1","nameLocation":"847:6:9","nodeType":"VariableDeclaration","scope":1182,"src":"839:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1174,"name":"address","nodeType":"ElementaryTypeName","src":"839:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1177,"mutability":"mutable","name":"data","nameLocation":"874:4:9","nodeType":"VariableDeclaration","scope":1182,"src":"859:19:9","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1176,"name":"bytes","nodeType":"ElementaryTypeName","src":"859:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"752:130:9"},"returnParameters":{"id":1181,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1180,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1182,"src":"901:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1179,"name":"address","nodeType":"ElementaryTypeName","src":"901:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"900:9:9"},"scope":1193,"src":"723:187:9","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1183,"nodeType":"StructuredDocumentation","src":"914:211:9","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":1192,"implemented":false,"kind":"function","modifiers":[],"name":"afterCreatePoolHook","nameLocation":"1137:19:9","nodeType":"FunctionDefinition","parameters":{"id":1190,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1185,"mutability":"mutable","name":"plugin","nameLocation":"1165:6:9","nodeType":"VariableDeclaration","scope":1192,"src":"1157:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1184,"name":"address","nodeType":"ElementaryTypeName","src":"1157:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1187,"mutability":"mutable","name":"pool","nameLocation":"1181:4:9","nodeType":"VariableDeclaration","scope":1192,"src":"1173:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1186,"name":"address","nodeType":"ElementaryTypeName","src":"1173:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1189,"mutability":"mutable","name":"deployer","nameLocation":"1195:8:9","nodeType":"VariableDeclaration","scope":1192,"src":"1187:16:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1188,"name":"address","nodeType":"ElementaryTypeName","src":"1187:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1156:48:9"},"returnParameters":{"id":1191,"nodeType":"ParameterList","parameters":[],"src":"1213:0:9"},"scope":1193,"src":"1128:86:9","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1194,"src":"320:896:9","usedErrors":[],"usedEvents":[]}],"src":"45:1172:9"},"id":9},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolActions.sol","exportedSymbols":{"IAlgebraPoolActions":[1309]},"id":1310,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1195,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:10"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolActions","contractDependencies":[],"contractKind":"interface","documentation":{"id":1196,"nodeType":"StructuredDocumentation","src":"71:173:10","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":1309,"linearizedBaseContracts":[1309],"name":"IAlgebraPoolActions","nameLocation":"254:19:10","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1197,"nodeType":"StructuredDocumentation","src":"278:304:10","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":1202,"implemented":false,"kind":"function","modifiers":[],"name":"initialize","nameLocation":"594:10:10","nodeType":"FunctionDefinition","parameters":{"id":1200,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1199,"mutability":"mutable","name":"initialPrice","nameLocation":"613:12:10","nodeType":"VariableDeclaration","scope":1202,"src":"605:20:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1198,"name":"uint160","nodeType":"ElementaryTypeName","src":"605:7:10","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"604:22:10"},"returnParameters":{"id":1201,"nodeType":"ParameterList","parameters":[],"src":"635:0:10"},"scope":1309,"src":"585:51:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1203,"nodeType":"StructuredDocumentation","src":"640:1184:10","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":1224,"implemented":false,"kind":"function","modifiers":[],"name":"mint","nameLocation":"1836:4:10","nodeType":"FunctionDefinition","parameters":{"id":1216,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1205,"mutability":"mutable","name":"leftoversRecipient","nameLocation":"1854:18:10","nodeType":"VariableDeclaration","scope":1224,"src":"1846:26:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1204,"name":"address","nodeType":"ElementaryTypeName","src":"1846:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1207,"mutability":"mutable","name":"recipient","nameLocation":"1886:9:10","nodeType":"VariableDeclaration","scope":1224,"src":"1878:17:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1206,"name":"address","nodeType":"ElementaryTypeName","src":"1878:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1209,"mutability":"mutable","name":"bottomTick","nameLocation":"1907:10:10","nodeType":"VariableDeclaration","scope":1224,"src":"1901:16:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1208,"name":"int24","nodeType":"ElementaryTypeName","src":"1901:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1211,"mutability":"mutable","name":"topTick","nameLocation":"1929:7:10","nodeType":"VariableDeclaration","scope":1224,"src":"1923:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1210,"name":"int24","nodeType":"ElementaryTypeName","src":"1923:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1213,"mutability":"mutable","name":"liquidityDesired","nameLocation":"1950:16:10","nodeType":"VariableDeclaration","scope":1224,"src":"1942:24:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1212,"name":"uint128","nodeType":"ElementaryTypeName","src":"1942:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1215,"mutability":"mutable","name":"data","nameLocation":"1987:4:10","nodeType":"VariableDeclaration","scope":1224,"src":"1972:19:10","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1214,"name":"bytes","nodeType":"ElementaryTypeName","src":"1972:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1840:155:10"},"returnParameters":{"id":1223,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1218,"mutability":"mutable","name":"amount0","nameLocation":"2022:7:10","nodeType":"VariableDeclaration","scope":1224,"src":"2014:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1217,"name":"uint256","nodeType":"ElementaryTypeName","src":"2014:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1220,"mutability":"mutable","name":"amount1","nameLocation":"2039:7:10","nodeType":"VariableDeclaration","scope":1224,"src":"2031:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1219,"name":"uint256","nodeType":"ElementaryTypeName","src":"2031:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1222,"mutability":"mutable","name":"liquidityActual","nameLocation":"2056:15:10","nodeType":"VariableDeclaration","scope":1224,"src":"2048:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1221,"name":"uint128","nodeType":"ElementaryTypeName","src":"2048:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"2013:59:10"},"scope":1309,"src":"1827:246:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1225,"nodeType":"StructuredDocumentation","src":"2077:1030:10","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":1242,"implemented":false,"kind":"function","modifiers":[],"name":"collect","nameLocation":"3119:7:10","nodeType":"FunctionDefinition","parameters":{"id":1236,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1227,"mutability":"mutable","name":"recipient","nameLocation":"3140:9:10","nodeType":"VariableDeclaration","scope":1242,"src":"3132:17:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1226,"name":"address","nodeType":"ElementaryTypeName","src":"3132:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1229,"mutability":"mutable","name":"bottomTick","nameLocation":"3161:10:10","nodeType":"VariableDeclaration","scope":1242,"src":"3155:16:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1228,"name":"int24","nodeType":"ElementaryTypeName","src":"3155:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1231,"mutability":"mutable","name":"topTick","nameLocation":"3183:7:10","nodeType":"VariableDeclaration","scope":1242,"src":"3177:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1230,"name":"int24","nodeType":"ElementaryTypeName","src":"3177:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1233,"mutability":"mutable","name":"amount0Requested","nameLocation":"3204:16:10","nodeType":"VariableDeclaration","scope":1242,"src":"3196:24:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1232,"name":"uint128","nodeType":"ElementaryTypeName","src":"3196:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1235,"mutability":"mutable","name":"amount1Requested","nameLocation":"3234:16:10","nodeType":"VariableDeclaration","scope":1242,"src":"3226:24:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1234,"name":"uint128","nodeType":"ElementaryTypeName","src":"3226:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3126:128:10"},"returnParameters":{"id":1241,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1238,"mutability":"mutable","name":"amount0","nameLocation":"3281:7:10","nodeType":"VariableDeclaration","scope":1242,"src":"3273:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1237,"name":"uint128","nodeType":"ElementaryTypeName","src":"3273:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1240,"mutability":"mutable","name":"amount1","nameLocation":"3298:7:10","nodeType":"VariableDeclaration","scope":1242,"src":"3290:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1239,"name":"uint128","nodeType":"ElementaryTypeName","src":"3290:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"3272:34:10"},"scope":1309,"src":"3110:197:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1243,"nodeType":"StructuredDocumentation","src":"3311:687:10","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":1258,"implemented":false,"kind":"function","modifiers":[],"name":"burn","nameLocation":"4010:4:10","nodeType":"FunctionDefinition","parameters":{"id":1252,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1245,"mutability":"mutable","name":"bottomTick","nameLocation":"4021:10:10","nodeType":"VariableDeclaration","scope":1258,"src":"4015:16:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1244,"name":"int24","nodeType":"ElementaryTypeName","src":"4015:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1247,"mutability":"mutable","name":"topTick","nameLocation":"4039:7:10","nodeType":"VariableDeclaration","scope":1258,"src":"4033:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1246,"name":"int24","nodeType":"ElementaryTypeName","src":"4033:5:10","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1249,"mutability":"mutable","name":"amount","nameLocation":"4056:6:10","nodeType":"VariableDeclaration","scope":1258,"src":"4048:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1248,"name":"uint128","nodeType":"ElementaryTypeName","src":"4048:7:10","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1251,"mutability":"mutable","name":"data","nameLocation":"4079:4:10","nodeType":"VariableDeclaration","scope":1258,"src":"4064:19:10","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1250,"name":"bytes","nodeType":"ElementaryTypeName","src":"4064:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4014:70:10"},"returnParameters":{"id":1257,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1254,"mutability":"mutable","name":"amount0","nameLocation":"4111:7:10","nodeType":"VariableDeclaration","scope":1258,"src":"4103:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1253,"name":"uint256","nodeType":"ElementaryTypeName","src":"4103:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1256,"mutability":"mutable","name":"amount1","nameLocation":"4128:7:10","nodeType":"VariableDeclaration","scope":1258,"src":"4120:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1255,"name":"uint256","nodeType":"ElementaryTypeName","src":"4120:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4102:34:10"},"scope":1309,"src":"4001:136:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1259,"nodeType":"StructuredDocumentation","src":"4141:1055:10","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":1276,"implemented":false,"kind":"function","modifiers":[],"name":"swap","nameLocation":"5208:4:10","nodeType":"FunctionDefinition","parameters":{"id":1270,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1261,"mutability":"mutable","name":"recipient","nameLocation":"5226:9:10","nodeType":"VariableDeclaration","scope":1276,"src":"5218:17:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1260,"name":"address","nodeType":"ElementaryTypeName","src":"5218:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1263,"mutability":"mutable","name":"zeroToOne","nameLocation":"5246:9:10","nodeType":"VariableDeclaration","scope":1276,"src":"5241:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1262,"name":"bool","nodeType":"ElementaryTypeName","src":"5241:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1265,"mutability":"mutable","name":"amountRequired","nameLocation":"5268:14:10","nodeType":"VariableDeclaration","scope":1276,"src":"5261:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1264,"name":"int256","nodeType":"ElementaryTypeName","src":"5261:6:10","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1267,"mutability":"mutable","name":"limitSqrtPrice","nameLocation":"5296:14:10","nodeType":"VariableDeclaration","scope":1276,"src":"5288:22:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1266,"name":"uint160","nodeType":"ElementaryTypeName","src":"5288:7:10","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1269,"mutability":"mutable","name":"data","nameLocation":"5331:4:10","nodeType":"VariableDeclaration","scope":1276,"src":"5316:19:10","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1268,"name":"bytes","nodeType":"ElementaryTypeName","src":"5316:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5212:127:10"},"returnParameters":{"id":1275,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1272,"mutability":"mutable","name":"amount0","nameLocation":"5365:7:10","nodeType":"VariableDeclaration","scope":1276,"src":"5358:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1271,"name":"int256","nodeType":"ElementaryTypeName","src":"5358:6:10","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1274,"mutability":"mutable","name":"amount1","nameLocation":"5381:7:10","nodeType":"VariableDeclaration","scope":1276,"src":"5374:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1273,"name":"int256","nodeType":"ElementaryTypeName","src":"5374:6:10","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"5357:32:10"},"scope":1309,"src":"5199:191:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1277,"nodeType":"StructuredDocumentation","src":"5394:1257:10","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":1296,"implemented":false,"kind":"function","modifiers":[],"name":"swapWithPaymentInAdvance","nameLocation":"6663:24:10","nodeType":"FunctionDefinition","parameters":{"id":1290,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1279,"mutability":"mutable","name":"leftoversRecipient","nameLocation":"6701:18:10","nodeType":"VariableDeclaration","scope":1296,"src":"6693:26:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1278,"name":"address","nodeType":"ElementaryTypeName","src":"6693:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1281,"mutability":"mutable","name":"recipient","nameLocation":"6733:9:10","nodeType":"VariableDeclaration","scope":1296,"src":"6725:17:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1280,"name":"address","nodeType":"ElementaryTypeName","src":"6725:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1283,"mutability":"mutable","name":"zeroToOne","nameLocation":"6753:9:10","nodeType":"VariableDeclaration","scope":1296,"src":"6748:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1282,"name":"bool","nodeType":"ElementaryTypeName","src":"6748:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":1285,"mutability":"mutable","name":"amountToSell","nameLocation":"6775:12:10","nodeType":"VariableDeclaration","scope":1296,"src":"6768:19:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1284,"name":"int256","nodeType":"ElementaryTypeName","src":"6768:6:10","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1287,"mutability":"mutable","name":"limitSqrtPrice","nameLocation":"6801:14:10","nodeType":"VariableDeclaration","scope":1296,"src":"6793:22:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1286,"name":"uint160","nodeType":"ElementaryTypeName","src":"6793:7:10","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1289,"mutability":"mutable","name":"data","nameLocation":"6836:4:10","nodeType":"VariableDeclaration","scope":1296,"src":"6821:19:10","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1288,"name":"bytes","nodeType":"ElementaryTypeName","src":"6821:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6687:157:10"},"returnParameters":{"id":1295,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1292,"mutability":"mutable","name":"amount0","nameLocation":"6870:7:10","nodeType":"VariableDeclaration","scope":1296,"src":"6863:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1291,"name":"int256","nodeType":"ElementaryTypeName","src":"6863:6:10","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1294,"mutability":"mutable","name":"amount1","nameLocation":"6886:7:10","nodeType":"VariableDeclaration","scope":1296,"src":"6879:14:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1293,"name":"int256","nodeType":"ElementaryTypeName","src":"6879:6:10","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"6862:32:10"},"scope":1309,"src":"6654:241:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1297,"nodeType":"StructuredDocumentation","src":"6899:701:10","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":1308,"implemented":false,"kind":"function","modifiers":[],"name":"flash","nameLocation":"7612:5:10","nodeType":"FunctionDefinition","parameters":{"id":1306,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1299,"mutability":"mutable","name":"recipient","nameLocation":"7626:9:10","nodeType":"VariableDeclaration","scope":1308,"src":"7618:17:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1298,"name":"address","nodeType":"ElementaryTypeName","src":"7618:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1301,"mutability":"mutable","name":"amount0","nameLocation":"7645:7:10","nodeType":"VariableDeclaration","scope":1308,"src":"7637:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1300,"name":"uint256","nodeType":"ElementaryTypeName","src":"7637:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1303,"mutability":"mutable","name":"amount1","nameLocation":"7662:7:10","nodeType":"VariableDeclaration","scope":1308,"src":"7654:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1302,"name":"uint256","nodeType":"ElementaryTypeName","src":"7654:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1305,"mutability":"mutable","name":"data","nameLocation":"7686:4:10","nodeType":"VariableDeclaration","scope":1308,"src":"7671:19:10","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":1304,"name":"bytes","nodeType":"ElementaryTypeName","src":"7671:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7617:74:10"},"returnParameters":{"id":1307,"nodeType":"ParameterList","parameters":[],"src":"7700:0:10"},"scope":1309,"src":"7603:98:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1310,"src":"244:7459:10","usedErrors":[],"usedEvents":[]}],"src":"45:7659:10"},"id":10},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","exportedSymbols":{"IAlgebraPoolErrors":[1411]},"id":1412,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1311,"literals":["solidity",">=","0.8",".4"],"nodeType":"PragmaDirective","src":"45:24:11"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolErrors","contractDependencies":[],"contractKind":"interface","documentation":{"id":1312,"nodeType":"StructuredDocumentation","src":"71:209:11","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":1411,"linearizedBaseContracts":[1411],"name":"IAlgebraPoolErrors","nameLocation":"290:18:11","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1313,"nodeType":"StructuredDocumentation","src":"343:43:11","text":"@notice Emitted by the reentrancy guard"},"errorSelector":"cf309012","id":1315,"name":"locked","nameLocation":"395:6:11","nodeType":"ErrorDefinition","parameters":{"id":1314,"nodeType":"ParameterList","parameters":[],"src":"401:2:11"},"src":"389:15:11"},{"documentation":{"id":1316,"nodeType":"StructuredDocumentation","src":"408:48:11","text":"@notice Emitted if arithmetic error occurred"},"errorSelector":"8995290f","id":1318,"name":"arithmeticError","nameLocation":"465:15:11","nodeType":"ErrorDefinition","parameters":{"id":1317,"nodeType":"ParameterList","parameters":[],"src":"480:2:11"},"src":"459:24:11"},{"documentation":{"id":1319,"nodeType":"StructuredDocumentation","src":"487:70:11","text":"@notice Emitted if an attempt is made to initialize the pool twice"},"errorSelector":"52669adc","id":1321,"name":"alreadyInitialized","nameLocation":"566:18:11","nodeType":"ErrorDefinition","parameters":{"id":1320,"nodeType":"ParameterList","parameters":[],"src":"584:2:11"},"src":"560:27:11"},{"documentation":{"id":1322,"nodeType":"StructuredDocumentation","src":"591:79:11","text":"@notice Emitted if an attempt is made to mint or swap in uninitialized pool"},"errorSelector":"812eb655","id":1324,"name":"notInitialized","nameLocation":"679:14:11","nodeType":"ErrorDefinition","parameters":{"id":1323,"nodeType":"ParameterList","parameters":[],"src":"693:2:11"},"src":"673:23:11"},{"documentation":{"id":1325,"nodeType":"StructuredDocumentation","src":"700:69:11","text":"@notice Emitted if 0 is passed as amountRequired to swap function"},"errorSelector":"79db9840","id":1327,"name":"zeroAmountRequired","nameLocation":"778:18:11","nodeType":"ErrorDefinition","parameters":{"id":1326,"nodeType":"ParameterList","parameters":[],"src":"796:2:11"},"src":"772:27:11"},{"documentation":{"id":1328,"nodeType":"StructuredDocumentation","src":"803:82:11","text":"@notice Emitted if invalid amount is passed as amountRequired to swap function"},"errorSelector":"69967402","id":1330,"name":"invalidAmountRequired","nameLocation":"894:21:11","nodeType":"ErrorDefinition","parameters":{"id":1329,"nodeType":"ParameterList","parameters":[],"src":"915:2:11"},"src":"888:30:11"},{"documentation":{"id":1331,"nodeType":"StructuredDocumentation","src":"922:69:11","text":"@notice Emitted if plugin fee param greater than fee/override fee"},"errorSelector":"15b2afa9","id":1333,"name":"incorrectPluginFee","nameLocation":"1000:18:11","nodeType":"ErrorDefinition","parameters":{"id":1332,"nodeType":"ParameterList","parameters":[],"src":"1018:2:11"},"src":"994:27:11"},{"documentation":{"id":1334,"nodeType":"StructuredDocumentation","src":"1025:73:11","text":"@notice Emitted if the pool received fewer tokens than it should have"},"errorSelector":"fb5b5414","id":1336,"name":"insufficientInputAmount","nameLocation":"1107:23:11","nodeType":"ErrorDefinition","parameters":{"id":1335,"nodeType":"ParameterList","parameters":[],"src":"1130:2:11"},"src":"1101:32:11"},{"documentation":{"id":1337,"nodeType":"StructuredDocumentation","src":"1137:66:11","text":"@notice Emitted if there was an attempt to mint zero liquidity"},"errorSelector":"e6ace6df","id":1339,"name":"zeroLiquidityDesired","nameLocation":"1212:20:11","nodeType":"ErrorDefinition","parameters":{"id":1338,"nodeType":"ParameterList","parameters":[],"src":"1232:2:11"},"src":"1206:29:11"},{"documentation":{"id":1340,"nodeType":"StructuredDocumentation","src":"1238:105:11","text":"@notice Emitted if actual amount of liquidity is zero (due to insufficient amount of tokens received)"},"errorSelector":"beba2a6c","id":1342,"name":"zeroLiquidityActual","nameLocation":"1352:19:11","nodeType":"ErrorDefinition","parameters":{"id":1341,"nodeType":"ParameterList","parameters":[],"src":"1371:2:11"},"src":"1346:28:11"},{"documentation":{"id":1343,"nodeType":"StructuredDocumentation","src":"1378:86:11","text":"@notice Emitted if the pool received fewer tokens0 after flash than it should have"},"errorSelector":"6dbca1fe","id":1345,"name":"flashInsufficientPaid0","nameLocation":"1473:22:11","nodeType":"ErrorDefinition","parameters":{"id":1344,"nodeType":"ParameterList","parameters":[],"src":"1495:2:11"},"src":"1467:31:11"},{"documentation":{"id":1346,"nodeType":"StructuredDocumentation","src":"1501:86:11","text":"@notice Emitted if the pool received fewer tokens1 after flash than it should have"},"errorSelector":"c998149f","id":1348,"name":"flashInsufficientPaid1","nameLocation":"1596:22:11","nodeType":"ErrorDefinition","parameters":{"id":1347,"nodeType":"ParameterList","parameters":[],"src":"1618:2:11"},"src":"1590:31:11"},{"documentation":{"id":1349,"nodeType":"StructuredDocumentation","src":"1625:56:11","text":"@notice Emitted if limitSqrtPrice param is incorrect"},"errorSelector":"16626723","id":1351,"name":"invalidLimitSqrtPrice","nameLocation":"1690:21:11","nodeType":"ErrorDefinition","parameters":{"id":1350,"nodeType":"ParameterList","parameters":[],"src":"1711:2:11"},"src":"1684:30:11"},{"documentation":{"id":1352,"nodeType":"StructuredDocumentation","src":"1718:49:11","text":"@notice Tick must be divisible by tickspacing"},"errorSelector":"5f6e14f3","id":1354,"name":"tickIsNotSpaced","nameLocation":"1776:15:11","nodeType":"ErrorDefinition","parameters":{"id":1353,"nodeType":"ParameterList","parameters":[],"src":"1791:2:11"},"src":"1770:24:11"},{"documentation":{"id":1355,"nodeType":"StructuredDocumentation","src":"1798:104:11","text":"@notice Emitted if a method is called that is accessible only to the factory owner or dedicated role"},"errorSelector":"932984d2","id":1357,"name":"notAllowed","nameLocation":"1911:10:11","nodeType":"ErrorDefinition","parameters":{"id":1356,"nodeType":"ParameterList","parameters":[],"src":"1921:2:11"},"src":"1905:19:11"},{"documentation":{"id":1358,"nodeType":"StructuredDocumentation","src":"1928:65:11","text":"@notice Emitted if new tick spacing exceeds max allowed value"},"errorSelector":"afe09f44","id":1360,"name":"invalidNewTickSpacing","nameLocation":"2002:21:11","nodeType":"ErrorDefinition","parameters":{"id":1359,"nodeType":"ParameterList","parameters":[],"src":"2023:2:11"},"src":"1996:30:11"},{"documentation":{"id":1361,"nodeType":"StructuredDocumentation","src":"2029:66:11","text":"@notice Emitted if new community fee exceeds max allowed value"},"errorSelector":"a709b9af","id":1363,"name":"invalidNewCommunityFee","nameLocation":"2104:22:11","nodeType":"ErrorDefinition","parameters":{"id":1362,"nodeType":"ParameterList","parameters":[],"src":"2126:2:11"},"src":"2098:31:11"},{"documentation":{"id":1364,"nodeType":"StructuredDocumentation","src":"2133:102:11","text":"@notice Emitted if an attempt is made to manually change the fee value, but dynamic fee is enabled"},"errorSelector":"d39b8e0e","id":1366,"name":"dynamicFeeActive","nameLocation":"2244:16:11","nodeType":"ErrorDefinition","parameters":{"id":1365,"nodeType":"ParameterList","parameters":[],"src":"2260:2:11"},"src":"2238:25:11"},{"documentation":{"id":1367,"nodeType":"StructuredDocumentation","src":"2266:104:11","text":"@notice Emitted if an attempt is made by plugin to change the fee value, but dynamic fee is disabled"},"errorSelector":"3a4528ef","id":1369,"name":"dynamicFeeDisabled","nameLocation":"2379:18:11","nodeType":"ErrorDefinition","parameters":{"id":1368,"nodeType":"ParameterList","parameters":[],"src":"2397:2:11"},"src":"2373:27:11"},{"documentation":{"id":1370,"nodeType":"StructuredDocumentation","src":"2403:109:11","text":"@notice Emitted if an attempt is made to change the plugin configuration, but the plugin is not connected"},"errorSelector":"9e727ce3","id":1372,"name":"pluginIsNotConnected","nameLocation":"2521:20:11","nodeType":"ErrorDefinition","parameters":{"id":1371,"nodeType":"ParameterList","parameters":[],"src":"2541:2:11"},"src":"2515:29:11"},{"documentation":{"id":1373,"nodeType":"StructuredDocumentation","src":"2547:124:11","text":"@notice Emitted if a plugin returns invalid selector after hook call\n @param expectedSelector The expected selector"},"errorSelector":"d3f5153b","id":1377,"name":"invalidHookResponse","nameLocation":"2680:19:11","nodeType":"ErrorDefinition","parameters":{"id":1376,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1375,"mutability":"mutable","name":"expectedSelector","nameLocation":"2707:16:11","nodeType":"VariableDeclaration","scope":1377,"src":"2700:23:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1374,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2700:6:11","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2699:25:11"},"src":"2674:51:11"},{"documentation":{"id":1378,"nodeType":"StructuredDocumentation","src":"2768:43:11","text":"@notice Emitted if liquidity underflows"},"errorSelector":"1301f748","id":1380,"name":"liquiditySub","nameLocation":"2820:12:11","nodeType":"ErrorDefinition","parameters":{"id":1379,"nodeType":"ParameterList","parameters":[],"src":"2832:2:11"},"src":"2814:21:11"},{"documentation":{"id":1381,"nodeType":"StructuredDocumentation","src":"2838:42:11","text":"@notice Emitted if liquidity overflows"},"errorSelector":"997402f2","id":1383,"name":"liquidityAdd","nameLocation":"2889:12:11","nodeType":"ErrorDefinition","parameters":{"id":1382,"nodeType":"ParameterList","parameters":[],"src":"2901:2:11"},"src":"2883:21:11"},{"documentation":{"id":1384,"nodeType":"StructuredDocumentation","src":"2948:78:11","text":"@notice Emitted if the topTick param not greater then the bottomTick param"},"errorSelector":"d9a841a7","id":1386,"name":"topTickLowerOrEqBottomTick","nameLocation":"3035:26:11","nodeType":"ErrorDefinition","parameters":{"id":1385,"nodeType":"ParameterList","parameters":[],"src":"3061:2:11"},"src":"3029:35:11"},{"documentation":{"id":1387,"nodeType":"StructuredDocumentation","src":"3067:75:11","text":"@notice Emitted if the bottomTick param is lower than min allowed value"},"errorSelector":"746b1fc4","id":1389,"name":"bottomTickLowerThanMIN","nameLocation":"3151:22:11","nodeType":"ErrorDefinition","parameters":{"id":1388,"nodeType":"ParameterList","parameters":[],"src":"3173:2:11"},"src":"3145:31:11"},{"documentation":{"id":1390,"nodeType":"StructuredDocumentation","src":"3179:74:11","text":"@notice Emitted if the topTick param is greater than max allowed value"},"errorSelector":"1445443d","id":1392,"name":"topTickAboveMAX","nameLocation":"3262:15:11","nodeType":"ErrorDefinition","parameters":{"id":1391,"nodeType":"ParameterList","parameters":[],"src":"3277:2:11"},"src":"3256:24:11"},{"documentation":{"id":1393,"nodeType":"StructuredDocumentation","src":"3283:98:11","text":"@notice Emitted if the liquidity value associated with the tick exceeds MAX_LIQUIDITY_PER_TICK"},"errorSelector":"25b8364a","id":1395,"name":"liquidityOverflow","nameLocation":"3390:17:11","nodeType":"ErrorDefinition","parameters":{"id":1394,"nodeType":"ParameterList","parameters":[],"src":"3407:2:11"},"src":"3384:26:11"},{"documentation":{"id":1396,"nodeType":"StructuredDocumentation","src":"3413:80:11","text":"@notice Emitted if an attempt is made to interact with an uninitialized tick"},"errorSelector":"0d6e0949","id":1398,"name":"tickIsNotInitialized","nameLocation":"3502:20:11","nodeType":"ErrorDefinition","parameters":{"id":1397,"nodeType":"ParameterList","parameters":[],"src":"3522:2:11"},"src":"3496:29:11"},{"documentation":{"id":1399,"nodeType":"StructuredDocumentation","src":"3528:140:11","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":1401,"name":"tickInvalidLinks","nameLocation":"3677:16:11","nodeType":"ErrorDefinition","parameters":{"id":1400,"nodeType":"ParameterList","parameters":[],"src":"3693:2:11"},"src":"3671:25:11"},{"documentation":{"id":1402,"nodeType":"StructuredDocumentation","src":"3738:55:11","text":"@notice Emitted if token transfer failed internally"},"errorSelector":"e465903e","id":1404,"name":"transferFailed","nameLocation":"3802:14:11","nodeType":"ErrorDefinition","parameters":{"id":1403,"nodeType":"ParameterList","parameters":[],"src":"3816:2:11"},"src":"3796:23:11"},{"documentation":{"id":1405,"nodeType":"StructuredDocumentation","src":"3857:94:11","text":"@notice Emitted if tick is greater than the maximum or less than the minimum allowed value"},"errorSelector":"3c10250f","id":1407,"name":"tickOutOfRange","nameLocation":"3960:14:11","nodeType":"ErrorDefinition","parameters":{"id":1406,"nodeType":"ParameterList","parameters":[],"src":"3974:2:11"},"src":"3954:23:11"},{"documentation":{"id":1408,"nodeType":"StructuredDocumentation","src":"3980:95:11","text":"@notice Emitted if price is greater than the maximum or less than the minimum allowed value"},"errorSelector":"55cf1e23","id":1410,"name":"priceOutOfRange","nameLocation":"4084:15:11","nodeType":"ErrorDefinition","parameters":{"id":1409,"nodeType":"ParameterList","parameters":[],"src":"4099:2:11"},"src":"4078:24:11"}],"scope":1412,"src":"280:3824:11","usedErrors":[1315,1318,1321,1324,1327,1330,1333,1336,1339,1342,1345,1348,1351,1354,1357,1360,1363,1366,1369,1372,1377,1380,1383,1386,1389,1392,1395,1398,1401,1404,1407,1410],"usedEvents":[]}],"src":"45:4060:11"},"id":11},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolEvents.sol","exportedSymbols":{"IAlgebraPoolEvents":[1563]},"id":1564,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1413,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:12"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolEvents","contractDependencies":[],"contractKind":"interface","documentation":{"id":1414,"nodeType":"StructuredDocumentation","src":"71:170:12","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":1563,"linearizedBaseContracts":[1563],"name":"IAlgebraPoolEvents","nameLocation":"251:18:12","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":1415,"nodeType":"StructuredDocumentation","src":"274:332:12","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":1421,"name":"Initialize","nameLocation":"615:10:12","nodeType":"EventDefinition","parameters":{"id":1420,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1417,"indexed":false,"mutability":"mutable","name":"price","nameLocation":"634:5:12","nodeType":"VariableDeclaration","scope":1421,"src":"626:13:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1416,"name":"uint160","nodeType":"ElementaryTypeName","src":"626:7:12","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1419,"indexed":false,"mutability":"mutable","name":"tick","nameLocation":"647:4:12","nodeType":"VariableDeclaration","scope":1421,"src":"641:10:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1418,"name":"int24","nodeType":"ElementaryTypeName","src":"641:5:12","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"625:27:12"},"src":"609:44:12"},{"anonymous":false,"documentation":{"id":1422,"nodeType":"StructuredDocumentation","src":"657:545:12","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":1438,"name":"Mint","nameLocation":"1211:4:12","nodeType":"EventDefinition","parameters":{"id":1437,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1424,"indexed":false,"mutability":"mutable","name":"sender","nameLocation":"1229:6:12","nodeType":"VariableDeclaration","scope":1438,"src":"1221:14:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1423,"name":"address","nodeType":"ElementaryTypeName","src":"1221:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1426,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"1257:5:12","nodeType":"VariableDeclaration","scope":1438,"src":"1241:21:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1425,"name":"address","nodeType":"ElementaryTypeName","src":"1241:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1428,"indexed":true,"mutability":"mutable","name":"bottomTick","nameLocation":"1282:10:12","nodeType":"VariableDeclaration","scope":1438,"src":"1268:24:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1427,"name":"int24","nodeType":"ElementaryTypeName","src":"1268:5:12","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1430,"indexed":true,"mutability":"mutable","name":"topTick","nameLocation":"1312:7:12","nodeType":"VariableDeclaration","scope":1438,"src":"1298:21:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1429,"name":"int24","nodeType":"ElementaryTypeName","src":"1298:5:12","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1432,"indexed":false,"mutability":"mutable","name":"liquidityAmount","nameLocation":"1333:15:12","nodeType":"VariableDeclaration","scope":1438,"src":"1325:23:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1431,"name":"uint128","nodeType":"ElementaryTypeName","src":"1325:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1434,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"1362:7:12","nodeType":"VariableDeclaration","scope":1438,"src":"1354:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1433,"name":"uint256","nodeType":"ElementaryTypeName","src":"1354:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1436,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"1383:7:12","nodeType":"VariableDeclaration","scope":1438,"src":"1375:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1435,"name":"uint256","nodeType":"ElementaryTypeName","src":"1375:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1215:179:12"},"src":"1205:190:12"},{"anonymous":false,"documentation":{"id":1439,"nodeType":"StructuredDocumentation","src":"1399:419:12","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":1453,"name":"Collect","nameLocation":"1827:7:12","nodeType":"EventDefinition","parameters":{"id":1452,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1441,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"1851:5:12","nodeType":"VariableDeclaration","scope":1453,"src":"1835:21:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1440,"name":"address","nodeType":"ElementaryTypeName","src":"1835:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1443,"indexed":false,"mutability":"mutable","name":"recipient","nameLocation":"1866:9:12","nodeType":"VariableDeclaration","scope":1453,"src":"1858:17:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1442,"name":"address","nodeType":"ElementaryTypeName","src":"1858:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1445,"indexed":true,"mutability":"mutable","name":"bottomTick","nameLocation":"1891:10:12","nodeType":"VariableDeclaration","scope":1453,"src":"1877:24:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1444,"name":"int24","nodeType":"ElementaryTypeName","src":"1877:5:12","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1447,"indexed":true,"mutability":"mutable","name":"topTick","nameLocation":"1917:7:12","nodeType":"VariableDeclaration","scope":1453,"src":"1903:21:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1446,"name":"int24","nodeType":"ElementaryTypeName","src":"1903:5:12","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1449,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"1934:7:12","nodeType":"VariableDeclaration","scope":1453,"src":"1926:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1448,"name":"uint128","nodeType":"ElementaryTypeName","src":"1926:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1451,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"1951:7:12","nodeType":"VariableDeclaration","scope":1453,"src":"1943:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1450,"name":"uint128","nodeType":"ElementaryTypeName","src":"1943:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1834:125:12"},"src":"1821:139:12"},{"anonymous":false,"documentation":{"id":1454,"nodeType":"StructuredDocumentation","src":"1964:517:12","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":1468,"name":"Burn","nameLocation":"2490:4:12","nodeType":"EventDefinition","parameters":{"id":1467,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1456,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"2516:5:12","nodeType":"VariableDeclaration","scope":1468,"src":"2500:21:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1455,"name":"address","nodeType":"ElementaryTypeName","src":"2500:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1458,"indexed":true,"mutability":"mutable","name":"bottomTick","nameLocation":"2541:10:12","nodeType":"VariableDeclaration","scope":1468,"src":"2527:24:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1457,"name":"int24","nodeType":"ElementaryTypeName","src":"2527:5:12","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1460,"indexed":true,"mutability":"mutable","name":"topTick","nameLocation":"2571:7:12","nodeType":"VariableDeclaration","scope":1468,"src":"2557:21:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1459,"name":"int24","nodeType":"ElementaryTypeName","src":"2557:5:12","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1462,"indexed":false,"mutability":"mutable","name":"liquidityAmount","nameLocation":"2592:15:12","nodeType":"VariableDeclaration","scope":1468,"src":"2584:23:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1461,"name":"uint128","nodeType":"ElementaryTypeName","src":"2584:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1464,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"2621:7:12","nodeType":"VariableDeclaration","scope":1468,"src":"2613:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1463,"name":"uint256","nodeType":"ElementaryTypeName","src":"2613:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1466,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"2642:7:12","nodeType":"VariableDeclaration","scope":1468,"src":"2634:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1465,"name":"uint256","nodeType":"ElementaryTypeName","src":"2634:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2494:159:12"},"src":"2484:170:12"},{"anonymous":false,"documentation":{"id":1469,"nodeType":"StructuredDocumentation","src":"2658:163:12","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":1475,"name":"BurnFee","nameLocation":"2830:7:12","nodeType":"EventDefinition","parameters":{"id":1474,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1471,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"2854:5:12","nodeType":"VariableDeclaration","scope":1475,"src":"2838:21:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1470,"name":"address","nodeType":"ElementaryTypeName","src":"2838:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1473,"indexed":false,"mutability":"mutable","name":"pluginFee","nameLocation":"2868:9:12","nodeType":"VariableDeclaration","scope":1475,"src":"2861:16:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1472,"name":"uint24","nodeType":"ElementaryTypeName","src":"2861:6:12","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2837:41:12"},"src":"2824:55:12"},{"anonymous":false,"documentation":{"id":1476,"nodeType":"StructuredDocumentation","src":"2884:580:12","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":1492,"name":"Swap","nameLocation":"3473:4:12","nodeType":"EventDefinition","parameters":{"id":1491,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1478,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"3499:6:12","nodeType":"VariableDeclaration","scope":1492,"src":"3483:22:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1477,"name":"address","nodeType":"ElementaryTypeName","src":"3483:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1480,"indexed":true,"mutability":"mutable","name":"recipient","nameLocation":"3527:9:12","nodeType":"VariableDeclaration","scope":1492,"src":"3511:25:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1479,"name":"address","nodeType":"ElementaryTypeName","src":"3511:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1482,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"3549:7:12","nodeType":"VariableDeclaration","scope":1492,"src":"3542:14:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1481,"name":"int256","nodeType":"ElementaryTypeName","src":"3542:6:12","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1484,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"3569:7:12","nodeType":"VariableDeclaration","scope":1492,"src":"3562:14:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":1483,"name":"int256","nodeType":"ElementaryTypeName","src":"3562:6:12","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":1486,"indexed":false,"mutability":"mutable","name":"price","nameLocation":"3590:5:12","nodeType":"VariableDeclaration","scope":1492,"src":"3582:13:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1485,"name":"uint160","nodeType":"ElementaryTypeName","src":"3582:7:12","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1488,"indexed":false,"mutability":"mutable","name":"liquidity","nameLocation":"3609:9:12","nodeType":"VariableDeclaration","scope":1492,"src":"3601:17:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1487,"name":"uint128","nodeType":"ElementaryTypeName","src":"3601:7:12","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1490,"indexed":false,"mutability":"mutable","name":"tick","nameLocation":"3630:4:12","nodeType":"VariableDeclaration","scope":1492,"src":"3624:10:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1489,"name":"int24","nodeType":"ElementaryTypeName","src":"3624:5:12","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"3477:161:12"},"src":"3467:172:12"},{"anonymous":false,"documentation":{"id":1493,"nodeType":"StructuredDocumentation","src":"3643:221:12","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":1501,"name":"SwapFee","nameLocation":"3873:7:12","nodeType":"EventDefinition","parameters":{"id":1500,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1495,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"3897:6:12","nodeType":"VariableDeclaration","scope":1501,"src":"3881:22:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1494,"name":"address","nodeType":"ElementaryTypeName","src":"3881:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1497,"indexed":false,"mutability":"mutable","name":"overrideFee","nameLocation":"3912:11:12","nodeType":"VariableDeclaration","scope":1501,"src":"3905:18:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1496,"name":"uint24","nodeType":"ElementaryTypeName","src":"3905:6:12","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":1499,"indexed":false,"mutability":"mutable","name":"pluginFee","nameLocation":"3932:9:12","nodeType":"VariableDeclaration","scope":1501,"src":"3925:16:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":1498,"name":"uint24","nodeType":"ElementaryTypeName","src":"3925:6:12","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"3880:62:12"},"src":"3867:76:12"},{"anonymous":false,"documentation":{"id":1502,"nodeType":"StructuredDocumentation","src":"3947:550:12","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":1516,"name":"Flash","nameLocation":"4506:5:12","nodeType":"EventDefinition","parameters":{"id":1515,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1504,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"4528:6:12","nodeType":"VariableDeclaration","scope":1516,"src":"4512:22:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1503,"name":"address","nodeType":"ElementaryTypeName","src":"4512:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1506,"indexed":true,"mutability":"mutable","name":"recipient","nameLocation":"4552:9:12","nodeType":"VariableDeclaration","scope":1516,"src":"4536:25:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1505,"name":"address","nodeType":"ElementaryTypeName","src":"4536:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1508,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"4571:7:12","nodeType":"VariableDeclaration","scope":1516,"src":"4563:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1507,"name":"uint256","nodeType":"ElementaryTypeName","src":"4563:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1510,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"4588:7:12","nodeType":"VariableDeclaration","scope":1516,"src":"4580:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1509,"name":"uint256","nodeType":"ElementaryTypeName","src":"4580:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1512,"indexed":false,"mutability":"mutable","name":"paid0","nameLocation":"4605:5:12","nodeType":"VariableDeclaration","scope":1516,"src":"4597:13:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1511,"name":"uint256","nodeType":"ElementaryTypeName","src":"4597:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1514,"indexed":false,"mutability":"mutable","name":"paid1","nameLocation":"4620:5:12","nodeType":"VariableDeclaration","scope":1516,"src":"4612:13:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1513,"name":"uint256","nodeType":"ElementaryTypeName","src":"4612:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4511:115:12"},"src":"4500:127:12"},{"anonymous":false,"documentation":{"id":1517,"nodeType":"StructuredDocumentation","src":"4631:319:12","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":1523,"name":"ExcessTokens","nameLocation":"4959:12:12","nodeType":"EventDefinition","parameters":{"id":1522,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1519,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"4980:7:12","nodeType":"VariableDeclaration","scope":1523,"src":"4972:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1518,"name":"uint256","nodeType":"ElementaryTypeName","src":"4972:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1521,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"4997:7:12","nodeType":"VariableDeclaration","scope":1523,"src":"4989:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1520,"name":"uint256","nodeType":"ElementaryTypeName","src":"4989:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4971:34:12"},"src":"4953:53:12"},{"anonymous":false,"documentation":{"id":1524,"nodeType":"StructuredDocumentation","src":"5010:155:12","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":1528,"name":"CommunityFee","nameLocation":"5174:12:12","nodeType":"EventDefinition","parameters":{"id":1527,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1526,"indexed":false,"mutability":"mutable","name":"communityFeeNew","nameLocation":"5194:15:12","nodeType":"VariableDeclaration","scope":1528,"src":"5187:22:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1525,"name":"uint16","nodeType":"ElementaryTypeName","src":"5187:6:12","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"5186:24:12"},"src":"5168:43:12"},{"anonymous":false,"documentation":{"id":1529,"nodeType":"StructuredDocumentation","src":"5215:119:12","text":"@notice Emitted when the tick spacing changes\n @param newTickSpacing The updated value of the new tick spacing"},"eventSelector":"01413b1d5d4c359e9a0daa7909ecda165f6e8c51fe2ff529d74b22a5a7c02645","id":1533,"name":"TickSpacing","nameLocation":"5343:11:12","nodeType":"EventDefinition","parameters":{"id":1532,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1531,"indexed":false,"mutability":"mutable","name":"newTickSpacing","nameLocation":"5361:14:12","nodeType":"VariableDeclaration","scope":1533,"src":"5355:20:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1530,"name":"int24","nodeType":"ElementaryTypeName","src":"5355:5:12","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"5354:22:12"},"src":"5337:40:12"},{"anonymous":false,"documentation":{"id":1534,"nodeType":"StructuredDocumentation","src":"5381:100:12","text":"@notice Emitted when the plugin address changes\n @param newPluginAddress New plugin address"},"eventSelector":"27a3944eff2135a57675f17e72501038982b73620d01f794c72e93d61a3932a2","id":1538,"name":"Plugin","nameLocation":"5490:6:12","nodeType":"EventDefinition","parameters":{"id":1537,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1536,"indexed":false,"mutability":"mutable","name":"newPluginAddress","nameLocation":"5505:16:12","nodeType":"VariableDeclaration","scope":1538,"src":"5497:24:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1535,"name":"address","nodeType":"ElementaryTypeName","src":"5497:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5496:26:12"},"src":"5484:39:12"},{"anonymous":false,"documentation":{"id":1539,"nodeType":"StructuredDocumentation","src":"5527:97:12","text":"@notice Emitted when the plugin config changes\n @param newPluginConfig New plugin config"},"eventSelector":"3a6271b36c1b44bd6a0a0d56230602dc6919b7c17af57254306fadf5fee69dc3","id":1543,"name":"PluginConfig","nameLocation":"5633:12:12","nodeType":"EventDefinition","parameters":{"id":1542,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1541,"indexed":false,"mutability":"mutable","name":"newPluginConfig","nameLocation":"5652:15:12","nodeType":"VariableDeclaration","scope":1543,"src":"5646:21:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1540,"name":"uint8","nodeType":"ElementaryTypeName","src":"5646:5:12","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"5645:23:12"},"src":"5627:42:12"},{"anonymous":false,"documentation":{"id":1544,"nodeType":"StructuredDocumentation","src":"5673:123:12","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":1548,"name":"Fee","nameLocation":"5805:3:12","nodeType":"EventDefinition","parameters":{"id":1547,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1546,"indexed":false,"mutability":"mutable","name":"fee","nameLocation":"5816:3:12","nodeType":"VariableDeclaration","scope":1548,"src":"5809:10:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1545,"name":"uint16","nodeType":"ElementaryTypeName","src":"5809:6:12","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"5808:12:12"},"src":"5799:22:12"},{"anonymous":false,"documentation":{"id":1549,"nodeType":"StructuredDocumentation","src":"5825:111:12","text":"@notice Emitted when the community vault address changes\n @param newCommunityVault New community vault"},"eventSelector":"b0b573c1f636e1f8bd9b415ba6c04d6dd49100bc25493fc6305b65ec0e581df3","id":1553,"name":"CommunityVault","nameLocation":"5945:14:12","nodeType":"EventDefinition","parameters":{"id":1552,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1551,"indexed":false,"mutability":"mutable","name":"newCommunityVault","nameLocation":"5968:17:12","nodeType":"VariableDeclaration","scope":1553,"src":"5960:25:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1550,"name":"address","nodeType":"ElementaryTypeName","src":"5960:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5959:27:12"},"src":"5939:48:12"},{"anonymous":false,"documentation":{"id":1554,"nodeType":"StructuredDocumentation","src":"5991:198:12","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":1562,"name":"Skim","nameLocation":"6198:4:12","nodeType":"EventDefinition","parameters":{"id":1561,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1556,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"6219:2:12","nodeType":"VariableDeclaration","scope":1562,"src":"6203:18:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1555,"name":"address","nodeType":"ElementaryTypeName","src":"6203:7:12","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1558,"indexed":false,"mutability":"mutable","name":"amount0","nameLocation":"6231:7:12","nodeType":"VariableDeclaration","scope":1562,"src":"6223:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1557,"name":"uint256","nodeType":"ElementaryTypeName","src":"6223:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1560,"indexed":false,"mutability":"mutable","name":"amount1","nameLocation":"6248:7:12","nodeType":"VariableDeclaration","scope":1562,"src":"6240:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1559,"name":"uint256","nodeType":"ElementaryTypeName","src":"6240:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6202:54:12"},"src":"6192:65:12"}],"scope":1564,"src":"241:6018:12","usedErrors":[],"usedEvents":[1421,1438,1453,1468,1475,1492,1501,1516,1523,1528,1533,1538,1543,1548,1553,1562]}],"src":"45:6215:12"},"id":12},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolImmutables.sol","exportedSymbols":{"IAlgebraPoolImmutables":[1591]},"id":1592,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1565,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:13"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolImmutables","contractDependencies":[],"contractKind":"interface","documentation":{"id":1566,"nodeType":"StructuredDocumentation","src":"71:175:13","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":1591,"linearizedBaseContracts":[1591],"name":"IAlgebraPoolImmutables","nameLocation":"256:22:13","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1567,"nodeType":"StructuredDocumentation","src":"283:127:13","text":"@notice The Algebra factory contract, which must adhere to the IAlgebraFactory interface\n @return The contract address"},"functionSelector":"c45a0155","id":1572,"implemented":false,"kind":"function","modifiers":[],"name":"factory","nameLocation":"422:7:13","nodeType":"FunctionDefinition","parameters":{"id":1568,"nodeType":"ParameterList","parameters":[],"src":"429:2:13"},"returnParameters":{"id":1571,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1570,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1572,"src":"455:7:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1569,"name":"address","nodeType":"ElementaryTypeName","src":"455:7:13","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"454:9:13"},"scope":1591,"src":"413:51:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1573,"nodeType":"StructuredDocumentation","src":"468:111:13","text":"@notice The first of the two tokens of the pool, sorted by address\n @return The token contract address"},"functionSelector":"0dfe1681","id":1578,"implemented":false,"kind":"function","modifiers":[],"name":"token0","nameLocation":"591:6:13","nodeType":"FunctionDefinition","parameters":{"id":1574,"nodeType":"ParameterList","parameters":[],"src":"597:2:13"},"returnParameters":{"id":1577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1576,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1578,"src":"623:7:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1575,"name":"address","nodeType":"ElementaryTypeName","src":"623:7:13","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"622:9:13"},"scope":1591,"src":"582:50:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1579,"nodeType":"StructuredDocumentation","src":"636:112:13","text":"@notice The second of the two tokens of the pool, sorted by address\n @return The token contract address"},"functionSelector":"d21220a7","id":1584,"implemented":false,"kind":"function","modifiers":[],"name":"token1","nameLocation":"760:6:13","nodeType":"FunctionDefinition","parameters":{"id":1580,"nodeType":"ParameterList","parameters":[],"src":"766:2:13"},"returnParameters":{"id":1583,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1582,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1584,"src":"792:7:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1581,"name":"address","nodeType":"ElementaryTypeName","src":"792:7:13","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"791:9:13"},"scope":1591,"src":"751:50:13","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1585,"nodeType":"StructuredDocumentation","src":"805:357:13","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":1590,"implemented":false,"kind":"function","modifiers":[],"name":"maxLiquidityPerTick","nameLocation":"1174:19:13","nodeType":"FunctionDefinition","parameters":{"id":1586,"nodeType":"ParameterList","parameters":[],"src":"1193:2:13"},"returnParameters":{"id":1589,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1588,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1590,"src":"1219:7:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1587,"name":"uint128","nodeType":"ElementaryTypeName","src":"1219:7:13","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"1218:9:13"},"scope":1591,"src":"1165:63:13","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1592,"src":"246:984:13","usedErrors":[],"usedEvents":[]}],"src":"45:1186:13"},"id":13},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolPermissionedActions.sol","exportedSymbols":{"IAlgebraPoolPermissionedActions":[1639]},"id":1640,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1593,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:14"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolPermissionedActions","contractDependencies":[],"contractKind":"interface","documentation":{"id":1594,"nodeType":"StructuredDocumentation","src":"71:255:14","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":1639,"linearizedBaseContracts":[1639],"name":"IAlgebraPoolPermissionedActions","nameLocation":"336:31:14","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1595,"nodeType":"StructuredDocumentation","src":"372:185:14","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":1600,"implemented":false,"kind":"function","modifiers":[],"name":"setCommunityFee","nameLocation":"569:15:14","nodeType":"FunctionDefinition","parameters":{"id":1598,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1597,"mutability":"mutable","name":"newCommunityFee","nameLocation":"592:15:14","nodeType":"VariableDeclaration","scope":1600,"src":"585:22:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1596,"name":"uint16","nodeType":"ElementaryTypeName","src":"585:6:14","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"584:24:14"},"returnParameters":{"id":1599,"nodeType":"ParameterList","parameters":[],"src":"617:0:14"},"scope":1639,"src":"560:58:14","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1601,"nodeType":"StructuredDocumentation","src":"622:151:14","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":1606,"implemented":false,"kind":"function","modifiers":[],"name":"setTickSpacing","nameLocation":"785:14:14","nodeType":"FunctionDefinition","parameters":{"id":1604,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1603,"mutability":"mutable","name":"newTickSpacing","nameLocation":"806:14:14","nodeType":"VariableDeclaration","scope":1606,"src":"800:20:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1602,"name":"int24","nodeType":"ElementaryTypeName","src":"800:5:14","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"799:22:14"},"returnParameters":{"id":1605,"nodeType":"ParameterList","parameters":[],"src":"830:0:14"},"scope":1639,"src":"776:55:14","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1607,"nodeType":"StructuredDocumentation","src":"835:144:14","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":1612,"implemented":false,"kind":"function","modifiers":[],"name":"setPlugin","nameLocation":"991:9:14","nodeType":"FunctionDefinition","parameters":{"id":1610,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1609,"mutability":"mutable","name":"newPluginAddress","nameLocation":"1009:16:14","nodeType":"VariableDeclaration","scope":1612,"src":"1001:24:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1608,"name":"address","nodeType":"ElementaryTypeName","src":"1001:7:14","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1000:26:14"},"returnParameters":{"id":1611,"nodeType":"ParameterList","parameters":[],"src":"1035:0:14"},"scope":1639,"src":"982:54:14","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1613,"nodeType":"StructuredDocumentation","src":"1040:211:14","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":1618,"implemented":false,"kind":"function","modifiers":[],"name":"setPluginConfig","nameLocation":"1263:15:14","nodeType":"FunctionDefinition","parameters":{"id":1616,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1615,"mutability":"mutable","name":"newConfig","nameLocation":"1285:9:14","nodeType":"VariableDeclaration","scope":1618,"src":"1279:15:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1614,"name":"uint8","nodeType":"ElementaryTypeName","src":"1279:5:14","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"1278:17:14"},"returnParameters":{"id":1617,"nodeType":"ParameterList","parameters":[],"src":"1304:0:14"},"scope":1639,"src":"1254:51:14","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1619,"nodeType":"StructuredDocumentation","src":"1309:356:14","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":1624,"implemented":false,"kind":"function","modifiers":[],"name":"setCommunityVault","nameLocation":"1677:17:14","nodeType":"FunctionDefinition","parameters":{"id":1622,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1621,"mutability":"mutable","name":"newCommunityVault","nameLocation":"1703:17:14","nodeType":"VariableDeclaration","scope":1624,"src":"1695:25:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1620,"name":"address","nodeType":"ElementaryTypeName","src":"1695:7:14","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1694:27:14"},"returnParameters":{"id":1623,"nodeType":"ParameterList","parameters":[],"src":"1730:0:14"},"scope":1639,"src":"1668:63:14","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1625,"nodeType":"StructuredDocumentation","src":"1735:171:14","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":1630,"implemented":false,"kind":"function","modifiers":[],"name":"setFee","nameLocation":"1918:6:14","nodeType":"FunctionDefinition","parameters":{"id":1628,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1627,"mutability":"mutable","name":"newFee","nameLocation":"1932:6:14","nodeType":"VariableDeclaration","scope":1630,"src":"1925:13:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1626,"name":"uint16","nodeType":"ElementaryTypeName","src":"1925:6:14","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"1924:15:14"},"returnParameters":{"id":1629,"nodeType":"ParameterList","parameters":[],"src":"1948:0:14"},"scope":1639,"src":"1909:40:14","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1631,"nodeType":"StructuredDocumentation","src":"1953:148:14","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":1634,"implemented":false,"kind":"function","modifiers":[],"name":"sync","nameLocation":"2113:4:14","nodeType":"FunctionDefinition","parameters":{"id":1632,"nodeType":"ParameterList","parameters":[],"src":"2117:2:14"},"returnParameters":{"id":1633,"nodeType":"ParameterList","parameters":[],"src":"2128:0:14"},"scope":1639,"src":"2104:25:14","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1635,"nodeType":"StructuredDocumentation","src":"2133:136:14","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":1638,"implemented":false,"kind":"function","modifiers":[],"name":"skim","nameLocation":"2281:4:14","nodeType":"FunctionDefinition","parameters":{"id":1636,"nodeType":"ParameterList","parameters":[],"src":"2285:2:14"},"returnParameters":{"id":1637,"nodeType":"ParameterList","parameters":[],"src":"2296:0:14"},"scope":1639,"src":"2272:25:14","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1640,"src":"326:1973:14","usedErrors":[],"usedEvents":[]}],"src":"45:2255:14"},"id":14},"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","exportedSymbols":{"IAlgebraPoolState":[1823]},"id":1824,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1641,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:15"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraPoolState","contractDependencies":[],"contractKind":"interface","documentation":{"id":1642,"nodeType":"StructuredDocumentation","src":"71:404:15","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":1823,"linearizedBaseContracts":[1823],"name":"IAlgebraPoolState","nameLocation":"485:17:15","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1643,"nodeType":"StructuredDocumentation","src":"507:1108:15","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":1660,"implemented":false,"kind":"function","modifiers":[],"name":"safelyGetStateOfAMM","nameLocation":"1627:19:15","nodeType":"FunctionDefinition","parameters":{"id":1644,"nodeType":"ParameterList","parameters":[],"src":"1646:2:15"},"returnParameters":{"id":1659,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1646,"mutability":"mutable","name":"sqrtPrice","nameLocation":"1692:9:15","nodeType":"VariableDeclaration","scope":1660,"src":"1684:17:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1645,"name":"uint160","nodeType":"ElementaryTypeName","src":"1684:7:15","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1648,"mutability":"mutable","name":"tick","nameLocation":"1709:4:15","nodeType":"VariableDeclaration","scope":1660,"src":"1703:10:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1647,"name":"int24","nodeType":"ElementaryTypeName","src":"1703:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1650,"mutability":"mutable","name":"lastFee","nameLocation":"1722:7:15","nodeType":"VariableDeclaration","scope":1660,"src":"1715:14:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1649,"name":"uint16","nodeType":"ElementaryTypeName","src":"1715:6:15","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":1652,"mutability":"mutable","name":"pluginConfig","nameLocation":"1737:12:15","nodeType":"VariableDeclaration","scope":1660,"src":"1731:18:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1651,"name":"uint8","nodeType":"ElementaryTypeName","src":"1731:5:15","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":1654,"mutability":"mutable","name":"activeLiquidity","nameLocation":"1759:15:15","nodeType":"VariableDeclaration","scope":1660,"src":"1751:23:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1653,"name":"uint128","nodeType":"ElementaryTypeName","src":"1751:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1656,"mutability":"mutable","name":"nextTick","nameLocation":"1782:8:15","nodeType":"VariableDeclaration","scope":1660,"src":"1776:14:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1655,"name":"int24","nodeType":"ElementaryTypeName","src":"1776:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1658,"mutability":"mutable","name":"previousTick","nameLocation":"1798:12:15","nodeType":"VariableDeclaration","scope":1660,"src":"1792:18:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1657,"name":"int24","nodeType":"ElementaryTypeName","src":"1792:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"1683:128:15"},"scope":1823,"src":"1618:194:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1661,"nodeType":"StructuredDocumentation","src":"1816:282:15","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":1666,"implemented":false,"kind":"function","modifiers":[],"name":"isUnlocked","nameLocation":"2110:10:15","nodeType":"FunctionDefinition","parameters":{"id":1662,"nodeType":"ParameterList","parameters":[],"src":"2120:2:15"},"returnParameters":{"id":1665,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1664,"mutability":"mutable","name":"unlocked","nameLocation":"2151:8:15","nodeType":"VariableDeclaration","scope":1666,"src":"2146:13:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1663,"name":"bool","nodeType":"ElementaryTypeName","src":"2146:4:15","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2145:15:15"},"scope":1823,"src":"2101:60:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1667,"nodeType":"StructuredDocumentation","src":"2303:1160:15","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":1682,"implemented":false,"kind":"function","modifiers":[],"name":"globalState","nameLocation":"3475:11:15","nodeType":"FunctionDefinition","parameters":{"id":1668,"nodeType":"ParameterList","parameters":[],"src":"3486:2:15"},"returnParameters":{"id":1681,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1670,"mutability":"mutable","name":"price","nameLocation":"3520:5:15","nodeType":"VariableDeclaration","scope":1682,"src":"3512:13:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":1669,"name":"uint160","nodeType":"ElementaryTypeName","src":"3512:7:15","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":1672,"mutability":"mutable","name":"tick","nameLocation":"3533:4:15","nodeType":"VariableDeclaration","scope":1682,"src":"3527:10:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1671,"name":"int24","nodeType":"ElementaryTypeName","src":"3527:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1674,"mutability":"mutable","name":"lastFee","nameLocation":"3546:7:15","nodeType":"VariableDeclaration","scope":1682,"src":"3539:14:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1673,"name":"uint16","nodeType":"ElementaryTypeName","src":"3539:6:15","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":1676,"mutability":"mutable","name":"pluginConfig","nameLocation":"3561:12:15","nodeType":"VariableDeclaration","scope":1682,"src":"3555:18:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1675,"name":"uint8","nodeType":"ElementaryTypeName","src":"3555:5:15","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":1678,"mutability":"mutable","name":"communityFee","nameLocation":"3582:12:15","nodeType":"VariableDeclaration","scope":1682,"src":"3575:19:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1677,"name":"uint16","nodeType":"ElementaryTypeName","src":"3575:6:15","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":1680,"mutability":"mutable","name":"unlocked","nameLocation":"3601:8:15","nodeType":"VariableDeclaration","scope":1682,"src":"3596:13:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1679,"name":"bool","nodeType":"ElementaryTypeName","src":"3596:4:15","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3511:99:15"},"scope":1823,"src":"3466:145:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1683,"nodeType":"StructuredDocumentation","src":"3615:893:15","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":1700,"implemented":false,"kind":"function","modifiers":[],"name":"ticks","nameLocation":"4520:5:15","nodeType":"FunctionDefinition","parameters":{"id":1686,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1685,"mutability":"mutable","name":"tick","nameLocation":"4537:4:15","nodeType":"VariableDeclaration","scope":1700,"src":"4531:10:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1684,"name":"int24","nodeType":"ElementaryTypeName","src":"4531:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"4525:20:15"},"returnParameters":{"id":1699,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1688,"mutability":"mutable","name":"liquidityTotal","nameLocation":"4596:14:15","nodeType":"VariableDeclaration","scope":1700,"src":"4588:22:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1687,"name":"uint256","nodeType":"ElementaryTypeName","src":"4588:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1690,"mutability":"mutable","name":"liquidityDelta","nameLocation":"4625:14:15","nodeType":"VariableDeclaration","scope":1700,"src":"4618:21:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":1689,"name":"int128","nodeType":"ElementaryTypeName","src":"4618:6:15","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"},{"constant":false,"id":1692,"mutability":"mutable","name":"prevTick","nameLocation":"4653:8:15","nodeType":"VariableDeclaration","scope":1700,"src":"4647:14:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1691,"name":"int24","nodeType":"ElementaryTypeName","src":"4647:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1694,"mutability":"mutable","name":"nextTick","nameLocation":"4675:8:15","nodeType":"VariableDeclaration","scope":1700,"src":"4669:14:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1693,"name":"int24","nodeType":"ElementaryTypeName","src":"4669:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"},{"constant":false,"id":1696,"mutability":"mutable","name":"outerFeeGrowth0Token","nameLocation":"4699:20:15","nodeType":"VariableDeclaration","scope":1700,"src":"4691:28:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1695,"name":"uint256","nodeType":"ElementaryTypeName","src":"4691:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1698,"mutability":"mutable","name":"outerFeeGrowth1Token","nameLocation":"4735:20:15","nodeType":"VariableDeclaration","scope":1700,"src":"4727:28:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1697,"name":"uint256","nodeType":"ElementaryTypeName","src":"4727:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4580:181:15"},"scope":1823,"src":"4511:251:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1701,"nodeType":"StructuredDocumentation","src":"4766:120:15","text":"@notice The timestamp of the last sending of tokens to vault/plugin\n @return The timestamp truncated to 32 bits"},"functionSelector":"77f8c3a9","id":1706,"implemented":false,"kind":"function","modifiers":[],"name":"lastFeeTransferTimestamp","nameLocation":"4898:24:15","nodeType":"FunctionDefinition","parameters":{"id":1702,"nodeType":"ParameterList","parameters":[],"src":"4922:2:15"},"returnParameters":{"id":1705,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1704,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1706,"src":"4948:6:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":1703,"name":"uint32","nodeType":"ElementaryTypeName","src":"4948:6:15","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"4947:8:15"},"scope":1823,"src":"4889:67:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1707,"nodeType":"StructuredDocumentation","src":"4960:328:15","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":1714,"implemented":false,"kind":"function","modifiers":[],"name":"getCommunityFeePending","nameLocation":"5300:22:15","nodeType":"FunctionDefinition","parameters":{"id":1708,"nodeType":"ParameterList","parameters":[],"src":"5322:2:15"},"returnParameters":{"id":1713,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1710,"mutability":"mutable","name":"communityFeePending0","nameLocation":"5356:20:15","nodeType":"VariableDeclaration","scope":1714,"src":"5348:28:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1709,"name":"uint128","nodeType":"ElementaryTypeName","src":"5348:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1712,"mutability":"mutable","name":"communityFeePending1","nameLocation":"5386:20:15","nodeType":"VariableDeclaration","scope":1714,"src":"5378:28:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1711,"name":"uint128","nodeType":"ElementaryTypeName","src":"5378:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"5347:60:15"},"scope":1823,"src":"5291:117:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1715,"nodeType":"StructuredDocumentation","src":"5412:324:15","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":1722,"implemented":false,"kind":"function","modifiers":[],"name":"getPluginFeePending","nameLocation":"5748:19:15","nodeType":"FunctionDefinition","parameters":{"id":1716,"nodeType":"ParameterList","parameters":[],"src":"5767:2:15"},"returnParameters":{"id":1721,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1718,"mutability":"mutable","name":"pluginFeePending0","nameLocation":"5801:17:15","nodeType":"VariableDeclaration","scope":1722,"src":"5793:25:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1717,"name":"uint128","nodeType":"ElementaryTypeName","src":"5793:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1720,"mutability":"mutable","name":"pluginFeePending1","nameLocation":"5828:17:15","nodeType":"VariableDeclaration","scope":1722,"src":"5820:25:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1719,"name":"uint128","nodeType":"ElementaryTypeName","src":"5820:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"5792:54:15"},"scope":1823,"src":"5739:108:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1723,"nodeType":"StructuredDocumentation","src":"5851:164:15","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":1728,"implemented":false,"kind":"function","modifiers":[],"name":"plugin","nameLocation":"6027:6:15","nodeType":"FunctionDefinition","parameters":{"id":1724,"nodeType":"ParameterList","parameters":[],"src":"6033:2:15"},"returnParameters":{"id":1727,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1726,"mutability":"mutable","name":"pluginAddress","nameLocation":"6067:13:15","nodeType":"VariableDeclaration","scope":1728,"src":"6059:21:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1725,"name":"address","nodeType":"ElementaryTypeName","src":"6059:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6058:23:15"},"scope":1823,"src":"6018:64:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1729,"nodeType":"StructuredDocumentation","src":"6086:127:15","text":"@notice The contract to which community fees are transferred\n @return communityVaultAddress The communityVault address"},"functionSelector":"53e97868","id":1734,"implemented":false,"kind":"function","modifiers":[],"name":"communityVault","nameLocation":"6225:14:15","nodeType":"FunctionDefinition","parameters":{"id":1730,"nodeType":"ParameterList","parameters":[],"src":"6239:2:15"},"returnParameters":{"id":1733,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1732,"mutability":"mutable","name":"communityVaultAddress","nameLocation":"6273:21:15","nodeType":"VariableDeclaration","scope":1734,"src":"6265:29:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1731,"name":"address","nodeType":"ElementaryTypeName","src":"6265:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6264:31:15"},"scope":1823,"src":"6216:80:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1735,"nodeType":"StructuredDocumentation","src":"6300:212:15","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":1742,"implemented":false,"kind":"function","modifiers":[],"name":"tickTable","nameLocation":"6524:9:15","nodeType":"FunctionDefinition","parameters":{"id":1738,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1737,"mutability":"mutable","name":"wordPosition","nameLocation":"6540:12:15","nodeType":"VariableDeclaration","scope":1742,"src":"6534:18:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":1736,"name":"int16","nodeType":"ElementaryTypeName","src":"6534:5:15","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"}],"src":"6533:20:15"},"returnParameters":{"id":1741,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1740,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1742,"src":"6577:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1739,"name":"uint256","nodeType":"ElementaryTypeName","src":"6577:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6576:9:15"},"scope":1823,"src":"6515:71:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1743,"nodeType":"StructuredDocumentation","src":"6590:218:15","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":1748,"implemented":false,"kind":"function","modifiers":[],"name":"totalFeeGrowth0Token","nameLocation":"6820:20:15","nodeType":"FunctionDefinition","parameters":{"id":1744,"nodeType":"ParameterList","parameters":[],"src":"6840:2:15"},"returnParameters":{"id":1747,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1746,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1748,"src":"6866:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1745,"name":"uint256","nodeType":"ElementaryTypeName","src":"6866:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6865:9:15"},"scope":1823,"src":"6811:64:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1749,"nodeType":"StructuredDocumentation","src":"6879:218:15","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":1754,"implemented":false,"kind":"function","modifiers":[],"name":"totalFeeGrowth1Token","nameLocation":"7109:20:15","nodeType":"FunctionDefinition","parameters":{"id":1750,"nodeType":"ParameterList","parameters":[],"src":"7129:2:15"},"returnParameters":{"id":1753,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1752,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1754,"src":"7155:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1751,"name":"uint256","nodeType":"ElementaryTypeName","src":"7155:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7154:9:15"},"scope":1823,"src":"7100:64:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1755,"nodeType":"StructuredDocumentation","src":"7168:524:15","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":1760,"implemented":false,"kind":"function","modifiers":[],"name":"fee","nameLocation":"7704:3:15","nodeType":"FunctionDefinition","parameters":{"id":1756,"nodeType":"ParameterList","parameters":[],"src":"7707:2:15"},"returnParameters":{"id":1759,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1758,"mutability":"mutable","name":"currentFee","nameLocation":"7740:10:15","nodeType":"VariableDeclaration","scope":1760,"src":"7733:17:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":1757,"name":"uint16","nodeType":"ElementaryTypeName","src":"7733:6:15","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"7732:19:15"},"scope":1823,"src":"7695:57:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1761,"nodeType":"StructuredDocumentation","src":"7756:382:15","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":1768,"implemented":false,"kind":"function","modifiers":[],"name":"getReserves","nameLocation":"8150:11:15","nodeType":"FunctionDefinition","parameters":{"id":1762,"nodeType":"ParameterList","parameters":[],"src":"8161:2:15"},"returnParameters":{"id":1767,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1764,"mutability":"mutable","name":"reserve0","nameLocation":"8195:8:15","nodeType":"VariableDeclaration","scope":1768,"src":"8187:16:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1763,"name":"uint128","nodeType":"ElementaryTypeName","src":"8187:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1766,"mutability":"mutable","name":"reserve1","nameLocation":"8213:8:15","nodeType":"VariableDeclaration","scope":1768,"src":"8205:16:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1765,"name":"uint128","nodeType":"ElementaryTypeName","src":"8205:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"8186:36:15"},"scope":1823,"src":"8141:82:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1769,"nodeType":"StructuredDocumentation","src":"8227:779:15","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":1784,"implemented":false,"kind":"function","modifiers":[],"name":"positions","nameLocation":"9018:9:15","nodeType":"FunctionDefinition","parameters":{"id":1772,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1771,"mutability":"mutable","name":"key","nameLocation":"9041:3:15","nodeType":"VariableDeclaration","scope":1784,"src":"9033:11:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1770,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9033:7:15","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"9027:21:15"},"returnParameters":{"id":1783,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1774,"mutability":"mutable","name":"liquidity","nameLocation":"9080:9:15","nodeType":"VariableDeclaration","scope":1784,"src":"9072:17:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1773,"name":"uint256","nodeType":"ElementaryTypeName","src":"9072:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1776,"mutability":"mutable","name":"innerFeeGrowth0Token","nameLocation":"9099:20:15","nodeType":"VariableDeclaration","scope":1784,"src":"9091:28:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1775,"name":"uint256","nodeType":"ElementaryTypeName","src":"9091:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1778,"mutability":"mutable","name":"innerFeeGrowth1Token","nameLocation":"9129:20:15","nodeType":"VariableDeclaration","scope":1784,"src":"9121:28:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1777,"name":"uint256","nodeType":"ElementaryTypeName","src":"9121:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1780,"mutability":"mutable","name":"fees0","nameLocation":"9159:5:15","nodeType":"VariableDeclaration","scope":1784,"src":"9151:13:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1779,"name":"uint128","nodeType":"ElementaryTypeName","src":"9151:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"},{"constant":false,"id":1782,"mutability":"mutable","name":"fees1","nameLocation":"9174:5:15","nodeType":"VariableDeclaration","scope":1784,"src":"9166:13:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1781,"name":"uint128","nodeType":"ElementaryTypeName","src":"9166:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"9071:109:15"},"scope":1823,"src":"9009:172:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1785,"nodeType":"StructuredDocumentation","src":"9185:355:15","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":1790,"implemented":false,"kind":"function","modifiers":[],"name":"liquidity","nameLocation":"9552:9:15","nodeType":"FunctionDefinition","parameters":{"id":1786,"nodeType":"ParameterList","parameters":[],"src":"9561:2:15"},"returnParameters":{"id":1789,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1788,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1790,"src":"9587:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1787,"name":"uint128","nodeType":"ElementaryTypeName","src":"9587:7:15","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"9586:9:15"},"scope":1823,"src":"9543:53:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1791,"nodeType":"StructuredDocumentation","src":"9600:436:15","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":1796,"implemented":false,"kind":"function","modifiers":[],"name":"tickSpacing","nameLocation":"10048:11:15","nodeType":"FunctionDefinition","parameters":{"id":1792,"nodeType":"ParameterList","parameters":[],"src":"10059:2:15"},"returnParameters":{"id":1795,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1794,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1796,"src":"10085:5:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1793,"name":"int24","nodeType":"ElementaryTypeName","src":"10085:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"10084:7:15"},"scope":1823,"src":"10039:53:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1797,"nodeType":"StructuredDocumentation","src":"10096:228:15","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":1802,"implemented":false,"kind":"function","modifiers":[],"name":"prevTickGlobal","nameLocation":"10336:14:15","nodeType":"FunctionDefinition","parameters":{"id":1798,"nodeType":"ParameterList","parameters":[],"src":"10350:2:15"},"returnParameters":{"id":1801,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1800,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1802,"src":"10376:5:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1799,"name":"int24","nodeType":"ElementaryTypeName","src":"10376:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"10375:7:15"},"scope":1823,"src":"10327:56:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1803,"nodeType":"StructuredDocumentation","src":"10387:211:15","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":1808,"implemented":false,"kind":"function","modifiers":[],"name":"nextTickGlobal","nameLocation":"10610:14:15","nodeType":"FunctionDefinition","parameters":{"id":1804,"nodeType":"ParameterList","parameters":[],"src":"10624:2:15"},"returnParameters":{"id":1807,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1806,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1808,"src":"10650:5:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":1805,"name":"int24","nodeType":"ElementaryTypeName","src":"10650:5:15","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"10649:7:15"},"scope":1823,"src":"10601:56:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1809,"nodeType":"StructuredDocumentation","src":"10661:315:15","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":1814,"implemented":false,"kind":"function","modifiers":[],"name":"tickTreeRoot","nameLocation":"10988:12:15","nodeType":"FunctionDefinition","parameters":{"id":1810,"nodeType":"ParameterList","parameters":[],"src":"11000:2:15"},"returnParameters":{"id":1813,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1812,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1814,"src":"11026:6:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":1811,"name":"uint32","nodeType":"ElementaryTypeName","src":"11026:6:15","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"11025:8:15"},"scope":1823,"src":"10979:55:15","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1815,"nodeType":"StructuredDocumentation","src":"11038:347:15","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":1822,"implemented":false,"kind":"function","modifiers":[],"name":"tickTreeSecondLayer","nameLocation":"11397:19:15","nodeType":"FunctionDefinition","parameters":{"id":1818,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1817,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1822,"src":"11417:5:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":1816,"name":"int16","nodeType":"ElementaryTypeName","src":"11417:5:15","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"}],"src":"11416:7:15"},"returnParameters":{"id":1821,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1820,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1822,"src":"11447:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1819,"name":"uint256","nodeType":"ElementaryTypeName","src":"11447:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11446:9:15"},"scope":1823,"src":"11388:68:15","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1824,"src":"475:10983:15","usedErrors":[],"usedEvents":[]}],"src":"45:11414:15"},"id":15},"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/vault/IAlgebraVaultFactory.sol","exportedSymbols":{"IAlgebraVaultFactory":[1851]},"id":1852,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1825,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"45:24:16"},{"abstract":false,"baseContracts":[],"canonicalName":"IAlgebraVaultFactory","contractDependencies":[],"contractKind":"interface","documentation":{"id":1826,"nodeType":"StructuredDocumentation","src":"71:158:16","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":1851,"linearizedBaseContracts":[1851],"name":"IAlgebraVaultFactory","nameLocation":"239:20:16","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1827,"nodeType":"StructuredDocumentation","src":"264:189:16","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":1834,"implemented":false,"kind":"function","modifiers":[],"name":"getVaultForPool","nameLocation":"465:15:16","nodeType":"FunctionDefinition","parameters":{"id":1830,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1829,"mutability":"mutable","name":"pool","nameLocation":"489:4:16","nodeType":"VariableDeclaration","scope":1834,"src":"481:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1828,"name":"address","nodeType":"ElementaryTypeName","src":"481:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"480:14:16"},"returnParameters":{"id":1833,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1832,"mutability":"mutable","name":"communityFeeVault","nameLocation":"526:17:16","nodeType":"VariableDeclaration","scope":1834,"src":"518:25:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1831,"name":"address","nodeType":"ElementaryTypeName","src":"518:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"517:27:16"},"scope":1851,"src":"456:89:16","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1835,"nodeType":"StructuredDocumentation","src":"549:188:16","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":1850,"implemented":false,"kind":"function","modifiers":[],"name":"createVaultForPool","nameLocation":"749:18:16","nodeType":"FunctionDefinition","parameters":{"id":1846,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1837,"mutability":"mutable","name":"pool","nameLocation":"781:4:16","nodeType":"VariableDeclaration","scope":1850,"src":"773:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1836,"name":"address","nodeType":"ElementaryTypeName","src":"773:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1839,"mutability":"mutable","name":"creator","nameLocation":"799:7:16","nodeType":"VariableDeclaration","scope":1850,"src":"791:15:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1838,"name":"address","nodeType":"ElementaryTypeName","src":"791:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1841,"mutability":"mutable","name":"deployer","nameLocation":"820:8:16","nodeType":"VariableDeclaration","scope":1850,"src":"812:16:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1840,"name":"address","nodeType":"ElementaryTypeName","src":"812:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1843,"mutability":"mutable","name":"token0","nameLocation":"842:6:16","nodeType":"VariableDeclaration","scope":1850,"src":"834:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1842,"name":"address","nodeType":"ElementaryTypeName","src":"834:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1845,"mutability":"mutable","name":"token1","nameLocation":"862:6:16","nodeType":"VariableDeclaration","scope":1850,"src":"854:14:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1844,"name":"address","nodeType":"ElementaryTypeName","src":"854:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"767:105:16"},"returnParameters":{"id":1849,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1848,"mutability":"mutable","name":"communityFeeVault","nameLocation":"899:17:16","nodeType":"VariableDeclaration","scope":1850,"src":"891:25:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1847,"name":"address","nodeType":"ElementaryTypeName","src":"891:7:16","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"890:27:16"},"scope":1851,"src":"740:178:16","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1852,"src":"229:691:16","usedErrors":[],"usedEvents":[]}],"src":"45:876:16"},"id":16},"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","exportedSymbols":{"IAlgebraPoolErrors":[1411],"Plugins":[1923]},"id":1924,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":1853,"literals":["solidity",">=","0.8",".4","<","0.9",".0"],"nodeType":"PragmaDirective","src":"45:31:17"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"../interfaces/pool/IAlgebraPoolErrors.sol","id":1854,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1924,"sourceUnit":1412,"src":"78:51:17","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Plugins","contractDependencies":[],"contractKind":"library","documentation":{"id":1855,"nodeType":"StructuredDocumentation","src":"131:180:17","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":1923,"linearizedBaseContracts":[1923],"name":"Plugins","nameLocation":"319:7:17","nodeType":"ContractDefinition","nodes":[{"body":{"id":1865,"nodeType":"Block","src":"415:70:17","statements":[{"AST":{"nodeType":"YulBlock","src":"430:51:17","statements":[{"nodeType":"YulAssignment","src":"438:37:17","value":{"arguments":[{"arguments":[{"name":"pluginConfig","nodeType":"YulIdentifier","src":"452:12:17"},{"name":"flag","nodeType":"YulIdentifier","src":"466:4:17"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"448:3:17"},"nodeType":"YulFunctionCall","src":"448:23:17"},{"kind":"number","nodeType":"YulLiteral","src":"473:1:17","type":"","value":"0"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"445:2:17"},"nodeType":"YulFunctionCall","src":"445:30:17"},"variableNames":[{"name":"res","nodeType":"YulIdentifier","src":"438:3:17"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":1859,"isOffset":false,"isSlot":false,"src":"466:4:17","valueSize":1},{"declaration":1857,"isOffset":false,"isSlot":false,"src":"452:12:17","valueSize":1},{"declaration":1862,"isOffset":false,"isSlot":false,"src":"438:3:17","valueSize":1}],"id":1864,"nodeType":"InlineAssembly","src":"421:60:17"}]},"id":1866,"implemented":true,"kind":"function","modifiers":[],"name":"hasFlag","nameLocation":"340:7:17","nodeType":"FunctionDefinition","parameters":{"id":1860,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1857,"mutability":"mutable","name":"pluginConfig","nameLocation":"354:12:17","nodeType":"VariableDeclaration","scope":1866,"src":"348:18:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1856,"name":"uint8","nodeType":"ElementaryTypeName","src":"348:5:17","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":1859,"mutability":"mutable","name":"flag","nameLocation":"376:4:17","nodeType":"VariableDeclaration","scope":1866,"src":"368:12:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1858,"name":"uint256","nodeType":"ElementaryTypeName","src":"368:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"347:34:17"},"returnParameters":{"id":1863,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1862,"mutability":"mutable","name":"res","nameLocation":"410:3:17","nodeType":"VariableDeclaration","scope":1866,"src":"405:8:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1861,"name":"bool","nodeType":"ElementaryTypeName","src":"405:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"404:10:17"},"scope":1923,"src":"331:154:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":1883,"nodeType":"Block","src":"567:108:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":1875,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1873,"name":"selector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1868,"src":"577:8:17","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1874,"name":"expectedSelector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1870,"src":"589:16:17","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"577:28:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1882,"nodeType":"IfStatement","src":"573:97:17","trueBody":{"errorCall":{"arguments":[{"id":1879,"name":"expectedSelector","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1870,"src":"653:16:17","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":1876,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1411,"src":"614:18:17","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1411_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":1878,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"633:19:17","memberName":"invalidHookResponse","nodeType":"MemberAccess","referencedDeclaration":1377,"src":"614:38:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_bytes4_$returns$__$","typeString":"function (bytes4) pure"}},"id":1880,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"614:56:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1881,"nodeType":"RevertStatement","src":"607:63:17"}}]},"id":1884,"implemented":true,"kind":"function","modifiers":[],"name":"shouldReturn","nameLocation":"498:12:17","nodeType":"FunctionDefinition","parameters":{"id":1871,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1868,"mutability":"mutable","name":"selector","nameLocation":"518:8:17","nodeType":"VariableDeclaration","scope":1884,"src":"511:15:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1867,"name":"bytes4","nodeType":"ElementaryTypeName","src":"511:6:17","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":1870,"mutability":"mutable","name":"expectedSelector","nameLocation":"535:16:17","nodeType":"VariableDeclaration","scope":1884,"src":"528:23:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1869,"name":"bytes4","nodeType":"ElementaryTypeName","src":"528:6:17","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"510:42:17"},"returnParameters":{"id":1872,"nodeType":"ParameterList","parameters":[],"src":"567:0:17"},"scope":1923,"src":"489:186:17","stateMutability":"pure","virtual":false,"visibility":"internal"},{"constant":true,"id":1887,"mutability":"constant","name":"BEFORE_SWAP_FLAG","nameLocation":"705:16:17","nodeType":"VariableDeclaration","scope":1923,"src":"679:46:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1885,"name":"uint256","nodeType":"ElementaryTypeName","src":"679:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31","id":1886,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"724:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"visibility":"internal"},{"constant":true,"id":1892,"mutability":"constant","name":"AFTER_SWAP_FLAG","nameLocation":"755:15:17","nodeType":"VariableDeclaration","scope":1923,"src":"729:50:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1888,"name":"uint256","nodeType":"ElementaryTypeName","src":"729:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"id":1891,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":1889,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"773:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"31","id":1890,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"778:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"773:6:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}},"visibility":"internal"},{"constant":true,"id":1897,"mutability":"constant","name":"BEFORE_POSITION_MODIFY_FLAG","nameLocation":"809:27:17","nodeType":"VariableDeclaration","scope":1923,"src":"783:62:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1893,"name":"uint256","nodeType":"ElementaryTypeName","src":"783:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"id":1896,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":1894,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"839:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"32","id":1895,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"844:1:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"839:6:17","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}},"visibility":"internal"},{"constant":true,"id":1902,"mutability":"constant","name":"AFTER_POSITION_MODIFY_FLAG","nameLocation":"875:26:17","nodeType":"VariableDeclaration","scope":1923,"src":"849:61:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1898,"name":"uint256","nodeType":"ElementaryTypeName","src":"849:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"id":1901,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":1899,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"904:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"33","id":1900,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"909:1:17","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"904:6:17","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"}},"visibility":"internal"},{"constant":true,"id":1907,"mutability":"constant","name":"BEFORE_FLASH_FLAG","nameLocation":"940:17:17","nodeType":"VariableDeclaration","scope":1923,"src":"914:52:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1903,"name":"uint256","nodeType":"ElementaryTypeName","src":"914:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"id":1906,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":1904,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"960:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"34","id":1905,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"965:1:17","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"960:6:17","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"}},"visibility":"internal"},{"constant":true,"id":1912,"mutability":"constant","name":"AFTER_FLASH_FLAG","nameLocation":"996:16:17","nodeType":"VariableDeclaration","scope":1923,"src":"970:51:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1908,"name":"uint256","nodeType":"ElementaryTypeName","src":"970:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"id":1911,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":1909,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1015:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"35","id":1910,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1020:1:17","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"1015:6:17","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"}},"visibility":"internal"},{"constant":true,"id":1917,"mutability":"constant","name":"AFTER_INIT_FLAG","nameLocation":"1051:15:17","nodeType":"VariableDeclaration","scope":1923,"src":"1025:50:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1913,"name":"uint256","nodeType":"ElementaryTypeName","src":"1025:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"id":1916,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":1914,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1069:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"36","id":1915,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1074:1:17","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},"src":"1069:6:17","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"}},"visibility":"internal"},{"constant":true,"id":1922,"mutability":"constant","name":"DYNAMIC_FEE","nameLocation":"1105:11:17","nodeType":"VariableDeclaration","scope":1923,"src":"1079:46:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1918,"name":"uint256","nodeType":"ElementaryTypeName","src":"1079:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"id":1921,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":1919,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1119:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"37","id":1920,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1124:1:17","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},"src":"1119:6:17","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"}},"visibility":"internal"}],"scope":1924,"src":"311:817:17","usedErrors":[],"usedEvents":[]}],"src":"45:1084:17"},"id":17},"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol":{"ast":{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/SafeTransfer.sol","exportedSymbols":{"IAlgebraPoolErrors":[1411],"SafeTransfer":[1951]},"id":1952,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1925,"literals":["solidity",">=","0.8",".4","<","0.9",".0"],"nodeType":"PragmaDirective","src":"32:31:18"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolErrors.sol","file":"../interfaces/pool/IAlgebraPoolErrors.sol","id":1926,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1952,"sourceUnit":1412,"src":"65:51:18","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SafeTransfer","contractDependencies":[],"contractKind":"library","documentation":{"id":1927,"nodeType":"StructuredDocumentation","src":"118:403:18","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":1951,"linearizedBaseContracts":[1951],"name":"SafeTransfer","nameLocation":"529:12:18","nodeType":"ContractDefinition","nodes":[{"body":{"id":1949,"nodeType":"Block","src":"939:893:18","statements":[{"assignments":[1938],"declarations":[{"constant":false,"id":1938,"mutability":"mutable","name":"success","nameLocation":"950:7:18","nodeType":"VariableDeclaration","scope":1949,"src":"945:12:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1937,"name":"bool","nodeType":"ElementaryTypeName","src":"945:4:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1939,"nodeType":"VariableDeclarationStatement","src":"945:12:18"},{"AST":{"nodeType":"YulBlock","src":"972:793:18","statements":[{"nodeType":"YulVariableDeclaration","src":"980:36:18","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1011:4:18","type":"","value":"0x40"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1005:5:18"},"nodeType":"YulFunctionCall","src":"1005:11:18"},"variables":[{"name":"freeMemoryPointer","nodeType":"YulTypedName","src":"984:17:18","type":""}]},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1067:4:18","type":"","value":"0x00"},{"kind":"number","nodeType":"YulLiteral","src":"1073:66:18","type":"","value":"0xa9059cbb00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1060:6:18"},"nodeType":"YulFunctionCall","src":"1060:80:18"},"nodeType":"YulExpressionStatement","src":"1060:80:18"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1194:4:18","type":"","value":"0x04"},{"arguments":[{"name":"to","nodeType":"YulIdentifier","src":"1204:2:18"},{"kind":"number","nodeType":"YulLiteral","src":"1208:42:18","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1200:3:18"},"nodeType":"YulFunctionCall","src":"1200:51:18"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1187:6:18"},"nodeType":"YulFunctionCall","src":"1187:65:18"},"nodeType":"YulExpressionStatement","src":"1187:65:18"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1297:4:18","type":"","value":"0x24"},{"name":"amount","nodeType":"YulIdentifier","src":"1303:6:18"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1290:6:18"},"nodeType":"YulFunctionCall","src":"1290:20:18"},"nodeType":"YulExpressionStatement","src":"1290:20:18"},{"nodeType":"YulAssignment","src":"1388:50:18","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nodeType":"YulIdentifier","src":"1404:3:18"},"nodeType":"YulFunctionCall","src":"1404:5:18"},{"name":"token","nodeType":"YulIdentifier","src":"1411:5:18"},{"kind":"number","nodeType":"YulLiteral","src":"1418:1:18","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1421:1:18","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1424:4:18","type":"","value":"0x44"},{"kind":"number","nodeType":"YulLiteral","src":"1430:1:18","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1433:4:18","type":"","value":"0x20"}],"functionName":{"name":"call","nodeType":"YulIdentifier","src":"1399:4:18"},"nodeType":"YulFunctionCall","src":"1399:39:18"},"variableNames":[{"name":"success","nodeType":"YulIdentifier","src":"1388:7:18"}]},{"nodeType":"YulAssignment","src":"1445:243:18","value":{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1603:1:18","type":"","value":"0"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"1597:5:18"},"nodeType":"YulFunctionCall","src":"1597:8:18"},{"kind":"number","nodeType":"YulLiteral","src":"1607:1:18","type":"","value":"1"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1594:2:18"},"nodeType":"YulFunctionCall","src":"1594:15:18"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nodeType":"YulIdentifier","src":"1614:14:18"},"nodeType":"YulFunctionCall","src":"1614:16:18"},{"kind":"number","nodeType":"YulLiteral","src":"1632:2:18","type":"","value":"32"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1611:2:18"},"nodeType":"YulFunctionCall","src":"1611:24:18"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1590:3:18"},"nodeType":"YulFunctionCall","src":"1590:46:18"},{"arguments":[{"arguments":[],"functionName":{"name":"returndatasize","nodeType":"YulIdentifier","src":"1645:14:18"},"nodeType":"YulFunctionCall","src":"1645:16:18"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1638:6:18"},"nodeType":"YulFunctionCall","src":"1638:24:18"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"1587:2:18"},"nodeType":"YulFunctionCall","src":"1587:76:18"},{"name":"success","nodeType":"YulIdentifier","src":"1673:7:18"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1456:3:18"},"nodeType":"YulFunctionCall","src":"1456:232:18"},"variableNames":[{"name":"success","nodeType":"YulIdentifier","src":"1445:7:18"}]},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1702:4:18","type":"","value":"0x40"},{"name":"freeMemoryPointer","nodeType":"YulIdentifier","src":"1708:17:18"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1695:6:18"},"nodeType":"YulFunctionCall","src":"1695:31:18"},"nodeType":"YulExpressionStatement","src":"1695:31:18"}]},"evmVersion":"paris","externalReferences":[{"declaration":1934,"isOffset":false,"isSlot":false,"src":"1303:6:18","valueSize":1},{"declaration":1938,"isOffset":false,"isSlot":false,"src":"1388:7:18","valueSize":1},{"declaration":1938,"isOffset":false,"isSlot":false,"src":"1445:7:18","valueSize":1},{"declaration":1938,"isOffset":false,"isSlot":false,"src":"1673:7:18","valueSize":1},{"declaration":1932,"isOffset":false,"isSlot":false,"src":"1204:2:18","valueSize":1},{"declaration":1930,"isOffset":false,"isSlot":false,"src":"1411:5:18","valueSize":1}],"id":1940,"nodeType":"InlineAssembly","src":"963:802:18"},{"condition":{"id":1942,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"1775:8:18","subExpression":{"id":1941,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1938,"src":"1776:7:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1948,"nodeType":"IfStatement","src":"1771:56:18","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":1943,"name":"IAlgebraPoolErrors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1411,"src":"1792:18:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPoolErrors_$1411_$","typeString":"type(contract IAlgebraPoolErrors)"}},"id":1945,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1811:14:18","memberName":"transferFailed","nodeType":"MemberAccess","referencedDeclaration":1404,"src":"1792:33:18","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$__$","typeString":"function () pure"}},"id":1946,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1792:35:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1947,"nodeType":"RevertStatement","src":"1785:42:18"}}]},"documentation":{"id":1928,"nodeType":"StructuredDocumentation","src":"546:316:18","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":1950,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransfer","nameLocation":"874:12:18","nodeType":"FunctionDefinition","parameters":{"id":1935,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1930,"mutability":"mutable","name":"token","nameLocation":"895:5:18","nodeType":"VariableDeclaration","scope":1950,"src":"887:13:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1929,"name":"address","nodeType":"ElementaryTypeName","src":"887:7:18","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1932,"mutability":"mutable","name":"to","nameLocation":"910:2:18","nodeType":"VariableDeclaration","scope":1950,"src":"902:10:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1931,"name":"address","nodeType":"ElementaryTypeName","src":"902:7:18","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1934,"mutability":"mutable","name":"amount","nameLocation":"922:6:18","nodeType":"VariableDeclaration","scope":1950,"src":"914:14:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1933,"name":"uint256","nodeType":"ElementaryTypeName","src":"914:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"886:43:18"},"returnParameters":{"id":1936,"nodeType":"ParameterList","parameters":[],"src":"939:0:18"},"scope":1951,"src":"865:967:18","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":1952,"src":"521:1313:18","usedErrors":[],"usedEvents":[]}],"src":"32:1803:18"},"id":18},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","exportedSymbols":{"AddressUpgradeable":[2450],"Initializable":[2120]},"id":2121,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1953,"literals":["solidity","^","0.8",".2"],"nodeType":"PragmaDirective","src":"113:23:19"},{"absolutePath":"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol","file":"../../utils/AddressUpgradeable.sol","id":1954,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2121,"sourceUnit":2451,"src":"138:44:19","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[],"canonicalName":"Initializable","contractDependencies":[],"contractKind":"contract","documentation":{"id":1955,"nodeType":"StructuredDocumentation","src":"184:2209:19","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":2120,"linearizedBaseContracts":[2120],"name":"Initializable","nameLocation":"2412:13:19","nodeType":"ContractDefinition","nodes":[{"constant":false,"documentation":{"id":1956,"nodeType":"StructuredDocumentation","src":"2432:109:19","text":" @dev Indicates that the contract has been initialized.\n @custom:oz-retyped-from bool"},"id":1958,"mutability":"mutable","name":"_initialized","nameLocation":"2560:12:19","nodeType":"VariableDeclaration","scope":2120,"src":"2546:26:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1957,"name":"uint8","nodeType":"ElementaryTypeName","src":"2546:5:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"private"},{"constant":false,"documentation":{"id":1959,"nodeType":"StructuredDocumentation","src":"2579:91:19","text":" @dev Indicates that the contract is in the process of being initialized."},"id":1961,"mutability":"mutable","name":"_initializing","nameLocation":"2688:13:19","nodeType":"VariableDeclaration","scope":2120,"src":"2675:26:19","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1960,"name":"bool","nodeType":"ElementaryTypeName","src":"2675:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"private"},{"anonymous":false,"documentation":{"id":1962,"nodeType":"StructuredDocumentation","src":"2708:90:19","text":" @dev Triggered when the contract has been initialized or reinitialized."},"eventSelector":"7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498","id":1966,"name":"Initialized","nameLocation":"2809:11:19","nodeType":"EventDefinition","parameters":{"id":1965,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1964,"indexed":false,"mutability":"mutable","name":"version","nameLocation":"2827:7:19","nodeType":"VariableDeclaration","scope":1966,"src":"2821:13:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1963,"name":"uint8","nodeType":"ElementaryTypeName","src":"2821:5:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"2820:15:19"},"src":"2803:33:19"},{"body":{"id":2021,"nodeType":"Block","src":"3269:483:19","statements":[{"assignments":[1970],"declarations":[{"constant":false,"id":1970,"mutability":"mutable","name":"isTopLevelCall","nameLocation":"3284:14:19","nodeType":"VariableDeclaration","scope":2021,"src":"3279:19:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1969,"name":"bool","nodeType":"ElementaryTypeName","src":"3279:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1973,"initialValue":{"id":1972,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3301:14:19","subExpression":{"id":1971,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1961,"src":"3302:13:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"3279:36:19"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1994,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1979,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1975,"name":"isTopLevelCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1970,"src":"3347:14:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":1978,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1976,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1958,"src":"3365:12:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"31","id":1977,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3380:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3365:16:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3347:34:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":1980,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3346:36:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1992,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1988,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3387:45:19","subExpression":{"arguments":[{"arguments":[{"id":1985,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3426:4:19","typeDescriptions":{"typeIdentifier":"t_contract$_Initializable_$2120","typeString":"contract Initializable"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Initializable_$2120","typeString":"contract Initializable"}],"id":1984,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3418:7:19","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1983,"name":"address","nodeType":"ElementaryTypeName","src":"3418:7:19","typeDescriptions":{}}},"id":1986,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3418:13:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":1981,"name":"AddressUpgradeable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2450,"src":"3388:18:19","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_AddressUpgradeable_$2450_$","typeString":"type(library AddressUpgradeable)"}},"id":1982,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3407:10:19","memberName":"isContract","nodeType":"MemberAccess","referencedDeclaration":2138,"src":"3388:29:19","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":1987,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3388:44:19","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":1991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1989,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1958,"src":"3436:12:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"31","id":1990,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3452:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3436:17:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3387:66:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":1993,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3386:68:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3346:108:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564","id":1995,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3468:48:19","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":1974,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"3325:7:19","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1996,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3325:201:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1997,"nodeType":"ExpressionStatement","src":"3325:201:19"},{"expression":{"id":2000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1998,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1958,"src":"3536:12:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"31","id":1999,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3551:1:19","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3536:16:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":2001,"nodeType":"ExpressionStatement","src":"3536:16:19"},{"condition":{"id":2002,"name":"isTopLevelCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1970,"src":"3566:14:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2008,"nodeType":"IfStatement","src":"3562:65:19","trueBody":{"id":2007,"nodeType":"Block","src":"3582:45:19","statements":[{"expression":{"id":2005,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2003,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1961,"src":"3596:13:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":2004,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3612:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"3596:20:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2006,"nodeType":"ExpressionStatement","src":"3596:20:19"}]}},{"id":2009,"nodeType":"PlaceholderStatement","src":"3636:1:19"},{"condition":{"id":2010,"name":"isTopLevelCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1970,"src":"3651:14:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2020,"nodeType":"IfStatement","src":"3647:99:19","trueBody":{"id":2019,"nodeType":"Block","src":"3667:79:19","statements":[{"expression":{"id":2013,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2011,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1961,"src":"3681:13:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":2012,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3697:5:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"3681:21:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2014,"nodeType":"ExpressionStatement","src":"3681:21:19"},{"eventCall":{"arguments":[{"hexValue":"31","id":2016,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3733:1:19","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":2015,"name":"Initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1966,"src":"3721:11:19","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":2017,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3721:14:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2018,"nodeType":"EmitStatement","src":"3716:19:19"}]}}]},"documentation":{"id":1967,"nodeType":"StructuredDocumentation","src":"2842:399:19","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":2022,"name":"initializer","nameLocation":"3255:11:19","nodeType":"ModifierDefinition","parameters":{"id":1968,"nodeType":"ParameterList","parameters":[],"src":"3266:2:19"},"src":"3246:506:19","virtual":false,"visibility":"internal"},{"body":{"id":2054,"nodeType":"Block","src":"4863:255:19","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":2033,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"4881:14:19","subExpression":{"id":2028,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1961,"src":"4882:13:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":2032,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2030,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1958,"src":"4899:12:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":2031,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2025,"src":"4914:7:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4899:22:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4881:40:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564","id":2034,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4923:48:19","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":2027,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"4873:7:19","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2035,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4873:99:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2036,"nodeType":"ExpressionStatement","src":"4873:99:19"},{"expression":{"id":2039,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2037,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1958,"src":"4982:12:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2038,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2025,"src":"4997:7:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4982:22:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":2040,"nodeType":"ExpressionStatement","src":"4982:22:19"},{"expression":{"id":2043,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2041,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1961,"src":"5014:13:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":2042,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5030:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"5014:20:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2044,"nodeType":"ExpressionStatement","src":"5014:20:19"},{"id":2045,"nodeType":"PlaceholderStatement","src":"5044:1:19"},{"expression":{"id":2048,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2046,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1961,"src":"5055:13:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":2047,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5071:5:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"5055:21:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2049,"nodeType":"ExpressionStatement","src":"5055:21:19"},{"eventCall":{"arguments":[{"id":2051,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2025,"src":"5103:7:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":2050,"name":"Initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1966,"src":"5091:11:19","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":2052,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5091:20:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2053,"nodeType":"EmitStatement","src":"5086:25:19"}]},"documentation":{"id":2023,"nodeType":"StructuredDocumentation","src":"3758:1062:19","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":2055,"name":"reinitializer","nameLocation":"4834:13:19","nodeType":"ModifierDefinition","parameters":{"id":2026,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2025,"mutability":"mutable","name":"version","nameLocation":"4854:7:19","nodeType":"VariableDeclaration","scope":2055,"src":"4848:13:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2024,"name":"uint8","nodeType":"ElementaryTypeName","src":"4848:5:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"4847:15:19"},"src":"4825:293:19","virtual":false,"visibility":"internal"},{"body":{"id":2064,"nodeType":"Block","src":"5356:97:19","statements":[{"expression":{"arguments":[{"id":2059,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1961,"src":"5374:13:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e7472616374206973206e6f7420696e697469616c697a696e67","id":2060,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5389:45:19","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":2058,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5366:7:19","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2061,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5366:69:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2062,"nodeType":"ExpressionStatement","src":"5366:69:19"},{"id":2063,"nodeType":"PlaceholderStatement","src":"5445:1:19"}]},"documentation":{"id":2056,"nodeType":"StructuredDocumentation","src":"5124:199:19","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":2065,"name":"onlyInitializing","nameLocation":"5337:16:19","nodeType":"ModifierDefinition","parameters":{"id":2057,"nodeType":"ParameterList","parameters":[],"src":"5353:2:19"},"src":"5328:125:19","virtual":false,"visibility":"internal"},{"body":{"id":2100,"nodeType":"Block","src":"5988:231:19","statements":[{"expression":{"arguments":[{"id":2071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"6006:14:19","subExpression":{"id":2070,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1961,"src":"6007:13:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320696e697469616c697a696e67","id":2072,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6022:41:19","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":2069,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5998:7:19","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2073,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5998:66:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2074,"nodeType":"ExpressionStatement","src":"5998:66:19"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":2081,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2075,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1958,"src":"6078:12:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"arguments":[{"id":2078,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6099:5:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":2077,"name":"uint8","nodeType":"ElementaryTypeName","src":"6099:5:19","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":2076,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6094:4:19","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":2079,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6094:11:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":2080,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6106:3:19","memberName":"max","nodeType":"MemberAccess","src":"6094:15:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6078:31:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2099,"nodeType":"IfStatement","src":"6074:139:19","trueBody":{"id":2098,"nodeType":"Block","src":"6111:102:19","statements":[{"expression":{"id":2088,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2082,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1958,"src":"6125:12:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"arguments":[{"id":2085,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6145:5:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":2084,"name":"uint8","nodeType":"ElementaryTypeName","src":"6145:5:19","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":2083,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6140:4:19","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":2086,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6140:11:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":2087,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6152:3:19","memberName":"max","nodeType":"MemberAccess","src":"6140:15:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6125:30:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":2089,"nodeType":"ExpressionStatement","src":"6125:30:19"},{"eventCall":{"arguments":[{"expression":{"arguments":[{"id":2093,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6191:5:19","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":2092,"name":"uint8","nodeType":"ElementaryTypeName","src":"6191:5:19","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":2091,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6186:4:19","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":2094,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6186:11:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":2095,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6198:3:19","memberName":"max","nodeType":"MemberAccess","src":"6186:15:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":2090,"name":"Initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1966,"src":"6174:11:19","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":2096,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6174:28:19","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2097,"nodeType":"EmitStatement","src":"6169:33:19"}]}}]},"documentation":{"id":2066,"nodeType":"StructuredDocumentation","src":"5459:475:19","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":2101,"implemented":true,"kind":"function","modifiers":[],"name":"_disableInitializers","nameLocation":"5948:20:19","nodeType":"FunctionDefinition","parameters":{"id":2067,"nodeType":"ParameterList","parameters":[],"src":"5968:2:19"},"returnParameters":{"id":2068,"nodeType":"ParameterList","parameters":[],"src":"5988:0:19"},"scope":2120,"src":"5939:280:19","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":2109,"nodeType":"Block","src":"6393:36:19","statements":[{"expression":{"id":2107,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1958,"src":"6410:12:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":2106,"id":2108,"nodeType":"Return","src":"6403:19:19"}]},"documentation":{"id":2102,"nodeType":"StructuredDocumentation","src":"6225:99:19","text":" @dev Returns the highest version that has been initialized. See {reinitializer}."},"id":2110,"implemented":true,"kind":"function","modifiers":[],"name":"_getInitializedVersion","nameLocation":"6338:22:19","nodeType":"FunctionDefinition","parameters":{"id":2103,"nodeType":"ParameterList","parameters":[],"src":"6360:2:19"},"returnParameters":{"id":2106,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2105,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2110,"src":"6386:5:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2104,"name":"uint8","nodeType":"ElementaryTypeName","src":"6386:5:19","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"6385:7:19"},"scope":2120,"src":"6329:100:19","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2118,"nodeType":"Block","src":"6601:37:19","statements":[{"expression":{"id":2116,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1961,"src":"6618:13:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":2115,"id":2117,"nodeType":"Return","src":"6611:20:19"}]},"documentation":{"id":2111,"nodeType":"StructuredDocumentation","src":"6435:105:19","text":" @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}."},"id":2119,"implemented":true,"kind":"function","modifiers":[],"name":"_isInitializing","nameLocation":"6554:15:19","nodeType":"FunctionDefinition","parameters":{"id":2112,"nodeType":"ParameterList","parameters":[],"src":"6569:2:19"},"returnParameters":{"id":2115,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2114,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2119,"src":"6595:4:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2113,"name":"bool","nodeType":"ElementaryTypeName","src":"6595:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6594:6:19"},"scope":2120,"src":"6545:93:19","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":2121,"src":"2394:4246:19","usedErrors":[],"usedEvents":[1966]}],"src":"113:6528:19"},"id":19},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol","exportedSymbols":{"AddressUpgradeable":[2450]},"id":2451,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2122,"literals":["solidity","^","0.8",".1"],"nodeType":"PragmaDirective","src":"101:23:20"},{"abstract":false,"baseContracts":[],"canonicalName":"AddressUpgradeable","contractDependencies":[],"contractKind":"library","documentation":{"id":2123,"nodeType":"StructuredDocumentation","src":"126:67:20","text":" @dev Collection of functions related to the address type"},"fullyImplemented":true,"id":2450,"linearizedBaseContracts":[2450],"name":"AddressUpgradeable","nameLocation":"202:18:20","nodeType":"ContractDefinition","nodes":[{"body":{"id":2137,"nodeType":"Block","src":"1489:254:20","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2135,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":2131,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2126,"src":"1713:7:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2132,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1721:4:20","memberName":"code","nodeType":"MemberAccess","src":"1713:12:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2133,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1726:6:20","memberName":"length","nodeType":"MemberAccess","src":"1713:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2134,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1735:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1713:23:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":2130,"id":2136,"nodeType":"Return","src":"1706:30:20"}]},"documentation":{"id":2124,"nodeType":"StructuredDocumentation","src":"227:1191:20","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":2138,"implemented":true,"kind":"function","modifiers":[],"name":"isContract","nameLocation":"1432:10:20","nodeType":"FunctionDefinition","parameters":{"id":2127,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2126,"mutability":"mutable","name":"account","nameLocation":"1451:7:20","nodeType":"VariableDeclaration","scope":2138,"src":"1443:15:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2125,"name":"address","nodeType":"ElementaryTypeName","src":"1443:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1442:17:20"},"returnParameters":{"id":2130,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2129,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2138,"src":"1483:4:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2128,"name":"bool","nodeType":"ElementaryTypeName","src":"1483:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1482:6:20"},"scope":2450,"src":"1423:320:20","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2171,"nodeType":"Block","src":"2729:241:20","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2153,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":2149,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2755:4:20","typeDescriptions":{"typeIdentifier":"t_contract$_AddressUpgradeable_$2450","typeString":"library AddressUpgradeable"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_AddressUpgradeable_$2450","typeString":"library AddressUpgradeable"}],"id":2148,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2747:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2147,"name":"address","nodeType":"ElementaryTypeName","src":"2747:7:20","typeDescriptions":{}}},"id":2150,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2747:13:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2151,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2761:7:20","memberName":"balance","nodeType":"MemberAccess","src":"2747:21:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":2152,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2143,"src":"2772:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2747:31:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e6365","id":2154,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2780:31:20","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":2146,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2739:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2155,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2739:73:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2156,"nodeType":"ExpressionStatement","src":"2739:73:20"},{"assignments":[2158,null],"declarations":[{"constant":false,"id":2158,"mutability":"mutable","name":"success","nameLocation":"2829:7:20","nodeType":"VariableDeclaration","scope":2171,"src":"2824:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2157,"name":"bool","nodeType":"ElementaryTypeName","src":"2824:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},null],"id":2165,"initialValue":{"arguments":[{"hexValue":"","id":2163,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2872:2:20","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":2159,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2141,"src":"2842:9:20","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":2160,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2852:4:20","memberName":"call","nodeType":"MemberAccess","src":"2842:14:20","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":2162,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":2161,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2143,"src":"2864:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"2842:29:20","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":2164,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2842:33:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"2823:52:20"},{"expression":{"arguments":[{"id":2167,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2158,"src":"2893:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564","id":2168,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2902:60:20","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":2166,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2885:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2169,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2885:78:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2170,"nodeType":"ExpressionStatement","src":"2885:78:20"}]},"documentation":{"id":2139,"nodeType":"StructuredDocumentation","src":"1749:904:20","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":2172,"implemented":true,"kind":"function","modifiers":[],"name":"sendValue","nameLocation":"2667:9:20","nodeType":"FunctionDefinition","parameters":{"id":2144,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2141,"mutability":"mutable","name":"recipient","nameLocation":"2693:9:20","nodeType":"VariableDeclaration","scope":2172,"src":"2677:25:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"},"typeName":{"id":2140,"name":"address","nodeType":"ElementaryTypeName","src":"2677:15:20","stateMutability":"payable","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"visibility":"internal"},{"constant":false,"id":2143,"mutability":"mutable","name":"amount","nameLocation":"2712:6:20","nodeType":"VariableDeclaration","scope":2172,"src":"2704:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2142,"name":"uint256","nodeType":"ElementaryTypeName","src":"2704:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2676:43:20"},"returnParameters":{"id":2145,"nodeType":"ParameterList","parameters":[],"src":"2729:0:20"},"scope":2450,"src":"2658:312:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2189,"nodeType":"Block","src":"3801:96:20","statements":[{"expression":{"arguments":[{"id":2183,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2175,"src":"3840:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2184,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2177,"src":"3848:4:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":2185,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3854:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564","id":2186,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3857:32:20","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":2182,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[2230,2274],"referencedDeclaration":2274,"src":"3818:21:20","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":2187,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3818:72:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2181,"id":2188,"nodeType":"Return","src":"3811:79:20"}]},"documentation":{"id":2173,"nodeType":"StructuredDocumentation","src":"2976:731:20","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":2190,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"3721:12:20","nodeType":"FunctionDefinition","parameters":{"id":2178,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2175,"mutability":"mutable","name":"target","nameLocation":"3742:6:20","nodeType":"VariableDeclaration","scope":2190,"src":"3734:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2174,"name":"address","nodeType":"ElementaryTypeName","src":"3734:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2177,"mutability":"mutable","name":"data","nameLocation":"3763:4:20","nodeType":"VariableDeclaration","scope":2190,"src":"3750:17:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2176,"name":"bytes","nodeType":"ElementaryTypeName","src":"3750:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3733:35:20"},"returnParameters":{"id":2181,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2180,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2190,"src":"3787:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2179,"name":"bytes","nodeType":"ElementaryTypeName","src":"3787:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3786:14:20"},"scope":2450,"src":"3712:185:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2209,"nodeType":"Block","src":"4266:76:20","statements":[{"expression":{"arguments":[{"id":2203,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2193,"src":"4305:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2204,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2195,"src":"4313:4:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":2205,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4319:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":2206,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2197,"src":"4322:12:20","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":2202,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[2230,2274],"referencedDeclaration":2274,"src":"4283:21:20","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":2207,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4283:52:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2201,"id":2208,"nodeType":"Return","src":"4276:59:20"}]},"documentation":{"id":2191,"nodeType":"StructuredDocumentation","src":"3903:211:20","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":2210,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"4128:12:20","nodeType":"FunctionDefinition","parameters":{"id":2198,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2193,"mutability":"mutable","name":"target","nameLocation":"4158:6:20","nodeType":"VariableDeclaration","scope":2210,"src":"4150:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2192,"name":"address","nodeType":"ElementaryTypeName","src":"4150:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2195,"mutability":"mutable","name":"data","nameLocation":"4187:4:20","nodeType":"VariableDeclaration","scope":2210,"src":"4174:17:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2194,"name":"bytes","nodeType":"ElementaryTypeName","src":"4174:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2197,"mutability":"mutable","name":"errorMessage","nameLocation":"4215:12:20","nodeType":"VariableDeclaration","scope":2210,"src":"4201:26:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2196,"name":"string","nodeType":"ElementaryTypeName","src":"4201:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"4140:93:20"},"returnParameters":{"id":2201,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2200,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2210,"src":"4252:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2199,"name":"bytes","nodeType":"ElementaryTypeName","src":"4252:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4251:14:20"},"scope":2450,"src":"4119:223:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2229,"nodeType":"Block","src":"4817:111:20","statements":[{"expression":{"arguments":[{"id":2223,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2213,"src":"4856:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2224,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2215,"src":"4864:4:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2225,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2217,"src":"4870:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564","id":2226,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4877:43:20","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":2222,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[2230,2274],"referencedDeclaration":2274,"src":"4834:21:20","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":2227,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4834:87:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2221,"id":2228,"nodeType":"Return","src":"4827:94:20"}]},"documentation":{"id":2211,"nodeType":"StructuredDocumentation","src":"4348:351:20","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":2230,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"4713:21:20","nodeType":"FunctionDefinition","parameters":{"id":2218,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2213,"mutability":"mutable","name":"target","nameLocation":"4743:6:20","nodeType":"VariableDeclaration","scope":2230,"src":"4735:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2212,"name":"address","nodeType":"ElementaryTypeName","src":"4735:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2215,"mutability":"mutable","name":"data","nameLocation":"4764:4:20","nodeType":"VariableDeclaration","scope":2230,"src":"4751:17:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2214,"name":"bytes","nodeType":"ElementaryTypeName","src":"4751:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2217,"mutability":"mutable","name":"value","nameLocation":"4778:5:20","nodeType":"VariableDeclaration","scope":2230,"src":"4770:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2216,"name":"uint256","nodeType":"ElementaryTypeName","src":"4770:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4734:50:20"},"returnParameters":{"id":2221,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2220,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2230,"src":"4803:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2219,"name":"bytes","nodeType":"ElementaryTypeName","src":"4803:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4802:14:20"},"scope":2450,"src":"4704:224:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2273,"nodeType":"Block","src":"5355:267:20","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2251,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":2247,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"5381:4:20","typeDescriptions":{"typeIdentifier":"t_contract$_AddressUpgradeable_$2450","typeString":"library AddressUpgradeable"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_AddressUpgradeable_$2450","typeString":"library AddressUpgradeable"}],"id":2246,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5373:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2245,"name":"address","nodeType":"ElementaryTypeName","src":"5373:7:20","typeDescriptions":{}}},"id":2248,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5373:13:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2249,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5387:7:20","memberName":"balance","nodeType":"MemberAccess","src":"5373:21:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":2250,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2237,"src":"5398:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5373:30:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c","id":2252,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5405:40:20","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":2244,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5365:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2253,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5365:81:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2254,"nodeType":"ExpressionStatement","src":"5365:81:20"},{"assignments":[2256,2258],"declarations":[{"constant":false,"id":2256,"mutability":"mutable","name":"success","nameLocation":"5462:7:20","nodeType":"VariableDeclaration","scope":2273,"src":"5457:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2255,"name":"bool","nodeType":"ElementaryTypeName","src":"5457:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2258,"mutability":"mutable","name":"returndata","nameLocation":"5484:10:20","nodeType":"VariableDeclaration","scope":2273,"src":"5471:23:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2257,"name":"bytes","nodeType":"ElementaryTypeName","src":"5471:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2265,"initialValue":{"arguments":[{"id":2263,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2235,"src":"5524:4:20","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":2259,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2233,"src":"5498:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2260,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5505:4:20","memberName":"call","nodeType":"MemberAccess","src":"5498:11:20","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":2262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":2261,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2237,"src":"5517:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"5498:25:20","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":2264,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5498:31:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"5456:73:20"},{"expression":{"arguments":[{"id":2267,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2233,"src":"5573:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2268,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2256,"src":"5581:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":2269,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2258,"src":"5590:10:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2270,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2239,"src":"5602:12:20","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":2266,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2405,"src":"5546:26:20","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":2271,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5546:69:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2243,"id":2272,"nodeType":"Return","src":"5539:76:20"}]},"documentation":{"id":2231,"nodeType":"StructuredDocumentation","src":"4934:237:20","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":2274,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"5185:21:20","nodeType":"FunctionDefinition","parameters":{"id":2240,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2233,"mutability":"mutable","name":"target","nameLocation":"5224:6:20","nodeType":"VariableDeclaration","scope":2274,"src":"5216:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2232,"name":"address","nodeType":"ElementaryTypeName","src":"5216:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2235,"mutability":"mutable","name":"data","nameLocation":"5253:4:20","nodeType":"VariableDeclaration","scope":2274,"src":"5240:17:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2234,"name":"bytes","nodeType":"ElementaryTypeName","src":"5240:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2237,"mutability":"mutable","name":"value","nameLocation":"5275:5:20","nodeType":"VariableDeclaration","scope":2274,"src":"5267:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2236,"name":"uint256","nodeType":"ElementaryTypeName","src":"5267:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2239,"mutability":"mutable","name":"errorMessage","nameLocation":"5304:12:20","nodeType":"VariableDeclaration","scope":2274,"src":"5290:26:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2238,"name":"string","nodeType":"ElementaryTypeName","src":"5290:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"5206:116:20"},"returnParameters":{"id":2243,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2242,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2274,"src":"5341:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2241,"name":"bytes","nodeType":"ElementaryTypeName","src":"5341:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5340:14:20"},"scope":2450,"src":"5176:446:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2290,"nodeType":"Block","src":"5899:97:20","statements":[{"expression":{"arguments":[{"id":2285,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2277,"src":"5935:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2286,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2279,"src":"5943:4:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564","id":2287,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5949:39:20","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":2284,"name":"functionStaticCall","nodeType":"Identifier","overloadedDeclarations":[2291,2320],"referencedDeclaration":2320,"src":"5916:18:20","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":2288,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5916:73:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2283,"id":2289,"nodeType":"Return","src":"5909:80:20"}]},"documentation":{"id":2275,"nodeType":"StructuredDocumentation","src":"5628:166:20","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":2291,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"5808:18:20","nodeType":"FunctionDefinition","parameters":{"id":2280,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2277,"mutability":"mutable","name":"target","nameLocation":"5835:6:20","nodeType":"VariableDeclaration","scope":2291,"src":"5827:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2276,"name":"address","nodeType":"ElementaryTypeName","src":"5827:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2279,"mutability":"mutable","name":"data","nameLocation":"5856:4:20","nodeType":"VariableDeclaration","scope":2291,"src":"5843:17:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2278,"name":"bytes","nodeType":"ElementaryTypeName","src":"5843:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5826:35:20"},"returnParameters":{"id":2283,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2282,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2291,"src":"5885:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2281,"name":"bytes","nodeType":"ElementaryTypeName","src":"5885:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5884:14:20"},"scope":2450,"src":"5799:197:20","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2319,"nodeType":"Block","src":"6338:168:20","statements":[{"assignments":[2304,2306],"declarations":[{"constant":false,"id":2304,"mutability":"mutable","name":"success","nameLocation":"6354:7:20","nodeType":"VariableDeclaration","scope":2319,"src":"6349:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2303,"name":"bool","nodeType":"ElementaryTypeName","src":"6349:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2306,"mutability":"mutable","name":"returndata","nameLocation":"6376:10:20","nodeType":"VariableDeclaration","scope":2319,"src":"6363:23:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2305,"name":"bytes","nodeType":"ElementaryTypeName","src":"6363:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2311,"initialValue":{"arguments":[{"id":2309,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2296,"src":"6408:4:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":2307,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2294,"src":"6390:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2308,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6397:10:20","memberName":"staticcall","nodeType":"MemberAccess","src":"6390:17:20","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":2310,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6390:23:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"6348:65:20"},{"expression":{"arguments":[{"id":2313,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2294,"src":"6457:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2314,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2304,"src":"6465:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":2315,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2306,"src":"6474:10:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2316,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2298,"src":"6486:12:20","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":2312,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2405,"src":"6430:26:20","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":2317,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6430:69:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2302,"id":2318,"nodeType":"Return","src":"6423:76:20"}]},"documentation":{"id":2292,"nodeType":"StructuredDocumentation","src":"6002:173:20","text":" @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":2320,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"6189:18:20","nodeType":"FunctionDefinition","parameters":{"id":2299,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2294,"mutability":"mutable","name":"target","nameLocation":"6225:6:20","nodeType":"VariableDeclaration","scope":2320,"src":"6217:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2293,"name":"address","nodeType":"ElementaryTypeName","src":"6217:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2296,"mutability":"mutable","name":"data","nameLocation":"6254:4:20","nodeType":"VariableDeclaration","scope":2320,"src":"6241:17:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2295,"name":"bytes","nodeType":"ElementaryTypeName","src":"6241:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2298,"mutability":"mutable","name":"errorMessage","nameLocation":"6282:12:20","nodeType":"VariableDeclaration","scope":2320,"src":"6268:26:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2297,"name":"string","nodeType":"ElementaryTypeName","src":"6268:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"6207:93:20"},"returnParameters":{"id":2302,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2301,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2320,"src":"6324:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2300,"name":"bytes","nodeType":"ElementaryTypeName","src":"6324:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6323:14:20"},"scope":2450,"src":"6180:326:20","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2336,"nodeType":"Block","src":"6782:101:20","statements":[{"expression":{"arguments":[{"id":2331,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2323,"src":"6820:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2332,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2325,"src":"6828:4:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564","id":2333,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6834:41:20","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":2330,"name":"functionDelegateCall","nodeType":"Identifier","overloadedDeclarations":[2337,2366],"referencedDeclaration":2366,"src":"6799:20:20","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":2334,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6799:77:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2329,"id":2335,"nodeType":"Return","src":"6792:84:20"}]},"documentation":{"id":2321,"nodeType":"StructuredDocumentation","src":"6512:168:20","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"},"id":2337,"implemented":true,"kind":"function","modifiers":[],"name":"functionDelegateCall","nameLocation":"6694:20:20","nodeType":"FunctionDefinition","parameters":{"id":2326,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2323,"mutability":"mutable","name":"target","nameLocation":"6723:6:20","nodeType":"VariableDeclaration","scope":2337,"src":"6715:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2322,"name":"address","nodeType":"ElementaryTypeName","src":"6715:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2325,"mutability":"mutable","name":"data","nameLocation":"6744:4:20","nodeType":"VariableDeclaration","scope":2337,"src":"6731:17:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2324,"name":"bytes","nodeType":"ElementaryTypeName","src":"6731:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6714:35:20"},"returnParameters":{"id":2329,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2328,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2337,"src":"6768:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2327,"name":"bytes","nodeType":"ElementaryTypeName","src":"6768:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6767:14:20"},"scope":2450,"src":"6685:198:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2365,"nodeType":"Block","src":"7224:170:20","statements":[{"assignments":[2350,2352],"declarations":[{"constant":false,"id":2350,"mutability":"mutable","name":"success","nameLocation":"7240:7:20","nodeType":"VariableDeclaration","scope":2365,"src":"7235:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2349,"name":"bool","nodeType":"ElementaryTypeName","src":"7235:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2352,"mutability":"mutable","name":"returndata","nameLocation":"7262:10:20","nodeType":"VariableDeclaration","scope":2365,"src":"7249:23:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2351,"name":"bytes","nodeType":"ElementaryTypeName","src":"7249:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2357,"initialValue":{"arguments":[{"id":2355,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2342,"src":"7296:4:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":2353,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"7276:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2354,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7283:12:20","memberName":"delegatecall","nodeType":"MemberAccess","src":"7276:19:20","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":2356,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7276:25:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"7234:67:20"},{"expression":{"arguments":[{"id":2359,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"7345:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2360,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2350,"src":"7353:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":2361,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2352,"src":"7362:10:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2362,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2344,"src":"7374:12:20","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":2358,"name":"verifyCallResultFromTarget","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2405,"src":"7318:26:20","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":2363,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7318:69:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2348,"id":2364,"nodeType":"Return","src":"7311:76:20"}]},"documentation":{"id":2338,"nodeType":"StructuredDocumentation","src":"6889:175:20","text":" @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._"},"id":2366,"implemented":true,"kind":"function","modifiers":[],"name":"functionDelegateCall","nameLocation":"7078:20:20","nodeType":"FunctionDefinition","parameters":{"id":2345,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2340,"mutability":"mutable","name":"target","nameLocation":"7116:6:20","nodeType":"VariableDeclaration","scope":2366,"src":"7108:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2339,"name":"address","nodeType":"ElementaryTypeName","src":"7108:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2342,"mutability":"mutable","name":"data","nameLocation":"7145:4:20","nodeType":"VariableDeclaration","scope":2366,"src":"7132:17:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2341,"name":"bytes","nodeType":"ElementaryTypeName","src":"7132:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2344,"mutability":"mutable","name":"errorMessage","nameLocation":"7173:12:20","nodeType":"VariableDeclaration","scope":2366,"src":"7159:26:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2343,"name":"string","nodeType":"ElementaryTypeName","src":"7159:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"7098:93:20"},"returnParameters":{"id":2348,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2347,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2366,"src":"7210:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2346,"name":"bytes","nodeType":"ElementaryTypeName","src":"7210:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7209:14:20"},"scope":2450,"src":"7069:325:20","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2404,"nodeType":"Block","src":"7876:434:20","statements":[{"condition":{"id":2380,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2371,"src":"7890:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2402,"nodeType":"Block","src":"8246:58:20","statements":[{"expression":{"arguments":[{"id":2398,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2373,"src":"8268:10:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2399,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2375,"src":"8280:12:20","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":2397,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"8260:7:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$","typeString":"function (bytes memory,string memory) pure"}},"id":2400,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8260:33:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2401,"nodeType":"ExpressionStatement","src":"8260:33:20"}]},"id":2403,"nodeType":"IfStatement","src":"7886:418:20","trueBody":{"id":2396,"nodeType":"Block","src":"7899:341:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2384,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2381,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2373,"src":"7917:10:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2382,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7928:6:20","memberName":"length","nodeType":"MemberAccess","src":"7917:17:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2383,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7938:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7917:22:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2393,"nodeType":"IfStatement","src":"7913:286:20","trueBody":{"id":2392,"nodeType":"Block","src":"7941:258:20","statements":[{"expression":{"arguments":[{"arguments":[{"id":2387,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2369,"src":"8143:6:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2386,"name":"isContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2138,"src":"8132:10:20","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":2388,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8132:18:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374","id":2389,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"8152:31:20","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":2385,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"8124:7:20","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2390,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8124:60:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2391,"nodeType":"ExpressionStatement","src":"8124:60:20"}]}},{"expression":{"id":2394,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2373,"src":"8219:10:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2379,"id":2395,"nodeType":"Return","src":"8212:17:20"}]}}]},"documentation":{"id":2367,"nodeType":"StructuredDocumentation","src":"7400:277:20","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":2405,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResultFromTarget","nameLocation":"7691:26:20","nodeType":"FunctionDefinition","parameters":{"id":2376,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2369,"mutability":"mutable","name":"target","nameLocation":"7735:6:20","nodeType":"VariableDeclaration","scope":2405,"src":"7727:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2368,"name":"address","nodeType":"ElementaryTypeName","src":"7727:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2371,"mutability":"mutable","name":"success","nameLocation":"7756:7:20","nodeType":"VariableDeclaration","scope":2405,"src":"7751:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2370,"name":"bool","nodeType":"ElementaryTypeName","src":"7751:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2373,"mutability":"mutable","name":"returndata","nameLocation":"7786:10:20","nodeType":"VariableDeclaration","scope":2405,"src":"7773:23:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2372,"name":"bytes","nodeType":"ElementaryTypeName","src":"7773:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2375,"mutability":"mutable","name":"errorMessage","nameLocation":"7820:12:20","nodeType":"VariableDeclaration","scope":2405,"src":"7806:26:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2374,"name":"string","nodeType":"ElementaryTypeName","src":"7806:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"7717:121:20"},"returnParameters":{"id":2379,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2378,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2405,"src":"7862:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2377,"name":"bytes","nodeType":"ElementaryTypeName","src":"7862:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7861:14:20"},"scope":2450,"src":"7682:628:20","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":2428,"nodeType":"Block","src":"8691:135:20","statements":[{"condition":{"id":2417,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2408,"src":"8705:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2426,"nodeType":"Block","src":"8762:58:20","statements":[{"expression":{"arguments":[{"id":2422,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2410,"src":"8784:10:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":2423,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2412,"src":"8796:12:20","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":2421,"name":"_revert","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2449,"src":"8776:7:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$","typeString":"function (bytes memory,string memory) pure"}},"id":2424,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8776:33:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2425,"nodeType":"ExpressionStatement","src":"8776:33:20"}]},"id":2427,"nodeType":"IfStatement","src":"8701:119:20","trueBody":{"id":2420,"nodeType":"Block","src":"8714:42:20","statements":[{"expression":{"id":2418,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2410,"src":"8735:10:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":2416,"id":2419,"nodeType":"Return","src":"8728:17:20"}]}}]},"documentation":{"id":2406,"nodeType":"StructuredDocumentation","src":"8316:210:20","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":2429,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResult","nameLocation":"8540:16:20","nodeType":"FunctionDefinition","parameters":{"id":2413,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2408,"mutability":"mutable","name":"success","nameLocation":"8571:7:20","nodeType":"VariableDeclaration","scope":2429,"src":"8566:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2407,"name":"bool","nodeType":"ElementaryTypeName","src":"8566:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2410,"mutability":"mutable","name":"returndata","nameLocation":"8601:10:20","nodeType":"VariableDeclaration","scope":2429,"src":"8588:23:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2409,"name":"bytes","nodeType":"ElementaryTypeName","src":"8588:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2412,"mutability":"mutable","name":"errorMessage","nameLocation":"8635:12:20","nodeType":"VariableDeclaration","scope":2429,"src":"8621:26:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2411,"name":"string","nodeType":"ElementaryTypeName","src":"8621:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"8556:97:20"},"returnParameters":{"id":2416,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2415,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2429,"src":"8677:12:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2414,"name":"bytes","nodeType":"ElementaryTypeName","src":"8677:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8676:14:20"},"scope":2450,"src":"8531:295:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2448,"nodeType":"Block","src":"8915:457:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2439,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2436,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2431,"src":"8991:10:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9002:6:20","memberName":"length","nodeType":"MemberAccess","src":"8991:17:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2438,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9011:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8991:21:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2446,"nodeType":"Block","src":"9321:45:20","statements":[{"expression":{"arguments":[{"id":2443,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2433,"src":"9342:12:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2442,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"9335:6:20","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":2444,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9335:20:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2445,"nodeType":"ExpressionStatement","src":"9335:20:20"}]},"id":2447,"nodeType":"IfStatement","src":"8987:379:20","trueBody":{"id":2441,"nodeType":"Block","src":"9014:301:20","statements":[{"AST":{"nodeType":"YulBlock","src":"9172:133:20","statements":[{"nodeType":"YulVariableDeclaration","src":"9190:40:20","value":{"arguments":[{"name":"returndata","nodeType":"YulIdentifier","src":"9219:10:20"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"9213:5:20"},"nodeType":"YulFunctionCall","src":"9213:17:20"},"variables":[{"name":"returndata_size","nodeType":"YulTypedName","src":"9194:15:20","type":""}]},{"expression":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9258:2:20","type":"","value":"32"},{"name":"returndata","nodeType":"YulIdentifier","src":"9262:10:20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9254:3:20"},"nodeType":"YulFunctionCall","src":"9254:19:20"},{"name":"returndata_size","nodeType":"YulIdentifier","src":"9275:15:20"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9247:6:20"},"nodeType":"YulFunctionCall","src":"9247:44:20"},"nodeType":"YulExpressionStatement","src":"9247:44:20"}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"paris","externalReferences":[{"declaration":2431,"isOffset":false,"isSlot":false,"src":"9219:10:20","valueSize":1},{"declaration":2431,"isOffset":false,"isSlot":false,"src":"9262:10:20","valueSize":1}],"id":2440,"nodeType":"InlineAssembly","src":"9163:142:20"}]}}]},"id":2449,"implemented":true,"kind":"function","modifiers":[],"name":"_revert","nameLocation":"8841:7:20","nodeType":"FunctionDefinition","parameters":{"id":2434,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2431,"mutability":"mutable","name":"returndata","nameLocation":"8862:10:20","nodeType":"VariableDeclaration","scope":2449,"src":"8849:23:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2430,"name":"bytes","nodeType":"ElementaryTypeName","src":"8849:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":2433,"mutability":"mutable","name":"errorMessage","nameLocation":"8888:12:20","nodeType":"VariableDeclaration","scope":2449,"src":"8874:26:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2432,"name":"string","nodeType":"ElementaryTypeName","src":"8874:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"8848:53:20"},"returnParameters":{"id":2435,"nodeType":"ParameterList","parameters":[],"src":"8915:0:20"},"scope":2450,"src":"8832:540:20","stateMutability":"pure","virtual":false,"visibility":"private"}],"scope":2451,"src":"194:9180:20","usedErrors":[],"usedEvents":[]}],"src":"101:9274:20"},"id":20},"contracts/FeeDiscountConnector.sol":{"ast":{"absolutePath":"contracts/FeeDiscountConnector.sol","exportedSymbols":{"BaseConnector":[46],"FeeDiscountConnector":[2590],"FeeDiscountStorage":[2662],"IAlgebraPoolErrors":[1411],"IFeeDiscountPlugin":[2607],"IFeeDiscountPluginImplementation":[2637],"Plugins":[1923]},"id":2591,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":2452,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:21"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":2453,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2591,"sourceUnit":1924,"src":"66:70:21","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/BaseConnector.sol","file":"@cryptoalgebra/abstract-plugin/contracts/BaseConnector.sol","id":2454,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2591,"sourceUnit":47,"src":"138:68:21","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/interfaces/IFeeDiscountPlugin.sol","file":"./interfaces/IFeeDiscountPlugin.sol","id":2455,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2591,"sourceUnit":2608,"src":"208:45:21","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/interfaces/IFeeDiscountPluginImplementation.sol","file":"./interfaces/IFeeDiscountPluginImplementation.sol","id":2456,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2591,"sourceUnit":2638,"src":"255:59:21","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/libraries/FeeDiscountStorage.sol","file":"./libraries/FeeDiscountStorage.sol","id":2457,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2591,"sourceUnit":2663,"src":"316:44:21","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":2459,"name":"IFeeDiscountPlugin","nameLocations":["628:18:21"],"nodeType":"IdentifierPath","referencedDeclaration":2607,"src":"628:18:21"},"id":2460,"nodeType":"InheritanceSpecifier","src":"628:18:21"},{"baseName":{"id":2461,"name":"BaseConnector","nameLocations":["648:13:21"],"nodeType":"IdentifierPath","referencedDeclaration":46,"src":"648:13:21"},"id":2462,"nodeType":"InheritanceSpecifier","src":"648:13:21"}],"canonicalName":"FeeDiscountConnector","contractDependencies":[],"contractKind":"contract","documentation":{"id":2458,"nodeType":"StructuredDocumentation","src":"364:222:21","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":2590,"linearizedBaseContracts":[2590,46,2607],"name":"FeeDiscountConnector","nameLocation":"604:20:21","nodeType":"ContractDefinition","nodes":[{"global":false,"id":2465,"libraryName":{"id":2463,"name":"Plugins","nameLocations":["673:7:21"],"nodeType":"IdentifierPath","referencedDeclaration":1923,"src":"673:7:21"},"nodeType":"UsingForDirective","src":"667:24:21","typeName":{"id":2464,"name":"uint8","nodeType":"ElementaryTypeName","src":"685:5:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}},{"constant":true,"id":2468,"mutability":"constant","name":"FEE_DISCOUNT_MODULE_NAME","nameLocation":"722:24:21","nodeType":"VariableDeclaration","scope":2590,"src":"697:73:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2466,"name":"string","nodeType":"ElementaryTypeName","src":"697:6:21","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"value":{"hexValue":"46656520446973636f756e7420506c7567696e","id":2467,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"749:21:21","typeDescriptions":{"typeIdentifier":"t_stringliteral_1774c92d361783b8b22e33790e5d2371f78b7561e5aea3bcad56f06f06083c7e","typeString":"literal_string \"Fee Discount Plugin\""},"value":"Fee Discount Plugin"},"visibility":"internal"},{"constant":true,"id":2475,"mutability":"constant","name":"FEE_DISCOUNT_PLUGIN_CONFIG","nameLocation":"799:26:21","nodeType":"VariableDeclaration","scope":2590,"src":"775:84:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2469,"name":"uint8","nodeType":"ElementaryTypeName","src":"775:5:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"arguments":[{"expression":{"id":2472,"name":"Plugins","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1923,"src":"834:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Plugins_$1923_$","typeString":"type(library Plugins)"}},"id":2473,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"842:16:21","memberName":"BEFORE_SWAP_FLAG","nodeType":"MemberAccess","referencedDeclaration":1887,"src":"834:24:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2471,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"828:5:21","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":2470,"name":"uint8","nodeType":"ElementaryTypeName","src":"828:5:21","typeDescriptions":{}}},"id":2474,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"828:31:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"documentation":{"id":2476,"nodeType":"StructuredDocumentation","src":"866:99:21","text":"@dev Immutable implementation address - set in constructor, changes only on full plugin upgrade"},"id":2478,"mutability":"immutable","name":"feeDiscountImplementation","nameLocation":"996:25:21","nodeType":"VariableDeclaration","scope":2590,"src":"969:52:21","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2477,"name":"address","nodeType":"ElementaryTypeName","src":"969:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"body":{"id":2487,"nodeType":"Block","src":"1076:67:21","statements":[{"expression":{"id":2485,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2483,"name":"feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2478,"src":"1083:25:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2484,"name":"_feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2480,"src":"1111:26:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1083:54:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2486,"nodeType":"ExpressionStatement","src":"1083:54:21"}]},"id":2488,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":2481,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2480,"mutability":"mutable","name":"_feeDiscountImplementation","nameLocation":"1048:26:21","nodeType":"VariableDeclaration","scope":2488,"src":"1040:34:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2479,"name":"address","nodeType":"ElementaryTypeName","src":"1040:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1039:36:21"},"returnParameters":{"id":2482,"nodeType":"ParameterList","parameters":[],"src":"1076:0:21"},"scope":2590,"src":"1028:115:21","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2513,"nodeType":"Block","src":"1347:238:21","statements":[{"expression":{"arguments":[{"id":2499,"name":"feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2478,"src":"1376:25:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"expression":{"id":2502,"name":"IFeeDiscountPluginImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2637,"src":"1425:32:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IFeeDiscountPluginImplementation_$2637_$","typeString":"type(contract IFeeDiscountPluginImplementation)"}},"id":2503,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1458:21:21","memberName":"initializeFeeDiscount","nodeType":"MemberAccess","referencedDeclaration":2615,"src":"1425:54:21","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$returns$__$","typeString":"function IFeeDiscountPluginImplementation.initializeFeeDiscount(address)"}},{"components":[{"id":2504,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2491,"src":"1482:20:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":2505,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1481:22:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$returns$__$","typeString":"function IFeeDiscountPluginImplementation.initializeFeeDiscount(address)"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":2500,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1410:3:21","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":2501,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1414:10:21","memberName":"encodeCall","nodeType":"MemberAccess","src":"1410:14:21","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":2506,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1410:94:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":2498,"name":"_delegateCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":41,"src":"1354:13:21","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":2507,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1354:157:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2508,"nodeType":"ExpressionStatement","src":"1354:157:21"},{"expression":{"components":[{"id":2509,"name":"FEE_DISCOUNT_PLUGIN_CONFIG","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2475,"src":"1526:26:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":2510,"name":"FEE_DISCOUNT_MODULE_NAME","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2468,"src":"1554:24:21","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"id":2511,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1525:54:21","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint8_$_t_string_memory_ptr_$","typeString":"tuple(uint8,string memory)"}},"functionReturnParameters":2497,"id":2512,"nodeType":"Return","src":"1518:61:21"}]},"documentation":{"id":2489,"nodeType":"StructuredDocumentation","src":"1149:58:21","text":"@notice Initialize FeeDiscount plugin via delegatecall"},"id":2514,"implemented":true,"kind":"function","modifiers":[],"name":"_initializeFeeDiscount","nameLocation":"1220:22:21","nodeType":"FunctionDefinition","parameters":{"id":2492,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2491,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"1257:20:21","nodeType":"VariableDeclaration","scope":2514,"src":"1249:28:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2490,"name":"address","nodeType":"ElementaryTypeName","src":"1249:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1242:40:21"},"returnParameters":{"id":2497,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2494,"mutability":"mutable","name":"pluginConfig","nameLocation":"1307:12:21","nodeType":"VariableDeclaration","scope":2514,"src":"1301:18:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2493,"name":"uint8","nodeType":"ElementaryTypeName","src":"1301:5:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":2496,"mutability":"mutable","name":"moduleName","nameLocation":"1335:10:21","nodeType":"VariableDeclaration","scope":2514,"src":"1321:24:21","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2495,"name":"string","nodeType":"ElementaryTypeName","src":"1321:6:21","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1300:46:21"},"scope":2590,"src":"1211:374:21","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2549,"nodeType":"Block","src":"1735:232:21","statements":[{"assignments":[2527],"declarations":[{"constant":false,"id":2527,"mutability":"mutable","name":"returnData","nameLocation":"1755:10:21","nodeType":"VariableDeclaration","scope":2549,"src":"1742:23:21","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2526,"name":"bytes","nodeType":"ElementaryTypeName","src":"1742:5:21","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2540,"initialValue":{"arguments":[{"id":2529,"name":"feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2478,"src":"1790:25:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"expression":{"id":2532,"name":"IFeeDiscountPluginImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2637,"src":"1839:32:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IFeeDiscountPluginImplementation_$2637_$","typeString":"type(contract IFeeDiscountPluginImplementation)"}},"id":2533,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1872:16:21","memberName":"applyFeeDiscount","nodeType":"MemberAccess","referencedDeclaration":2636,"src":"1839:49:21","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint24_$returns$_t_uint24_$","typeString":"function IFeeDiscountPluginImplementation.applyFeeDiscount(address,address,uint24) returns (uint24)"}},{"components":[{"id":2534,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2517,"src":"1891:4:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2535,"name":"pool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2519,"src":"1897:4:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2536,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2521,"src":"1903:3:21","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}}],"id":2537,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1890:17:21","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_address_$_t_uint24_$","typeString":"tuple(address,address,uint24)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_address_$_t_uint24_$returns$_t_uint24_$","typeString":"function IFeeDiscountPluginImplementation.applyFeeDiscount(address,address,uint24) returns (uint24)"},{"typeIdentifier":"t_tuple$_t_address_$_t_address_$_t_uint24_$","typeString":"tuple(address,address,uint24)"}],"expression":{"id":2530,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1824:3:21","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":2531,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1828:10:21","memberName":"encodeCall","nodeType":"MemberAccess","src":"1824:14:21","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":2538,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1824:84:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":2528,"name":"_delegateCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":41,"src":"1768:13:21","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":2539,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1768:147:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"1742:173:21"},{"expression":{"arguments":[{"id":2543,"name":"returnData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2527,"src":"1940:10:21","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"components":[{"id":2545,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1953:6:21","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":2544,"name":"uint24","nodeType":"ElementaryTypeName","src":"1953:6:21","typeDescriptions":{}}}],"id":2546,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"1952:8:21","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":2541,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1929:3:21","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":2542,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1933:6:21","memberName":"decode","nodeType":"MemberAccess","src":"1929:10:21","typeDescriptions":{"typeIdentifier":"t_function_abidecode_pure$__$returns$__$","typeString":"function () pure"}},"id":2547,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1929:32:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"functionReturnParameters":2525,"id":2548,"nodeType":"Return","src":"1922:39:21"}]},"documentation":{"id":2515,"nodeType":"StructuredDocumentation","src":"1591:47:21","text":"@notice Apply fee discount via delegatecall"},"id":2550,"implemented":true,"kind":"function","modifiers":[],"name":"_applyFeeDiscount","nameLocation":"1651:17:21","nodeType":"FunctionDefinition","parameters":{"id":2522,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2517,"mutability":"mutable","name":"user","nameLocation":"1677:4:21","nodeType":"VariableDeclaration","scope":2550,"src":"1669:12:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2516,"name":"address","nodeType":"ElementaryTypeName","src":"1669:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2519,"mutability":"mutable","name":"pool","nameLocation":"1691:4:21","nodeType":"VariableDeclaration","scope":2550,"src":"1683:12:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2518,"name":"address","nodeType":"ElementaryTypeName","src":"1683:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2521,"mutability":"mutable","name":"fee","nameLocation":"1704:3:21","nodeType":"VariableDeclaration","scope":2550,"src":"1697:10:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2520,"name":"uint24","nodeType":"ElementaryTypeName","src":"1697:6:21","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1668:40:21"},"returnParameters":{"id":2525,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2524,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2550,"src":"1727:6:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2523,"name":"uint24","nodeType":"ElementaryTypeName","src":"1727:6:21","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"1726:8:21"},"scope":2590,"src":"1642:325:21","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[2597],"body":{"id":2575,"nodeType":"Block","src":"2139:219:21","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":2557,"name":"_authorize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":45,"src":"2146:10:21","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":2558,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2146:12:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2559,"nodeType":"ExpressionStatement","src":"2146:12:21"},{"expression":{"arguments":[{"id":2561,"name":"feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2478,"src":"2187:25:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"expression":{"id":2564,"name":"IFeeDiscountPluginImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2637,"src":"2236:32:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IFeeDiscountPluginImplementation_$2637_$","typeString":"type(contract IFeeDiscountPluginImplementation)"}},"id":2565,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2269:22:21","memberName":"setFeeDiscountRegistry","nodeType":"MemberAccess","referencedDeclaration":2620,"src":"2236:55:21","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$returns$__$","typeString":"function IFeeDiscountPluginImplementation.setFeeDiscountRegistry(address)"}},{"components":[{"id":2566,"name":"registry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2553,"src":"2294:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":2567,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2293:10:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$returns$__$","typeString":"function IFeeDiscountPluginImplementation.setFeeDiscountRegistry(address)"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":2562,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2221:3:21","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":2563,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2225:10:21","memberName":"encodeCall","nodeType":"MemberAccess","src":"2221:14:21","typeDescriptions":{"typeIdentifier":"t_function_abiencodecall_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":2568,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2221:83:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":2560,"name":"_delegateCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":41,"src":"2165:13:21","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":2569,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2165:146:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2570,"nodeType":"ExpressionStatement","src":"2165:146:21"},{"eventCall":{"arguments":[{"id":2572,"name":"registry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2553,"src":"2343:8:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2571,"name":"FeeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2606,"src":"2323:19:21","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":2573,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2323:29:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2574,"nodeType":"EmitStatement","src":"2318:34:21"}]},"documentation":{"id":2551,"nodeType":"StructuredDocumentation","src":"2033:34:21","text":"@inheritdoc IFeeDiscountPlugin"},"functionSelector":"c3da7978","id":2576,"implemented":true,"kind":"function","modifiers":[],"name":"setFeeDiscountRegistry","nameLocation":"2080:22:21","nodeType":"FunctionDefinition","overrides":{"id":2555,"nodeType":"OverrideSpecifier","overrides":[],"src":"2130:8:21"},"parameters":{"id":2554,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2553,"mutability":"mutable","name":"registry","nameLocation":"2111:8:21","nodeType":"VariableDeclaration","scope":2576,"src":"2103:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2552,"name":"address","nodeType":"ElementaryTypeName","src":"2103:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2102:18:21"},"returnParameters":{"id":2556,"nodeType":"ParameterList","parameters":[],"src":"2139:0:21"},"scope":2590,"src":"2071:287:21","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[2602],"body":{"id":2588,"nodeType":"Block","src":"2474:67:21","statements":[{"expression":{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":2583,"name":"FeeDiscountStorage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2662,"src":"2488:18:21","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_FeeDiscountStorage_$2662_$","typeString":"type(library FeeDiscountStorage)"}},"id":2584,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2507:6:21","memberName":"layout","nodeType":"MemberAccess","referencedDeclaration":2661,"src":"2488:25:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_struct$_Layout_$2649_storage_ptr_$","typeString":"function () pure returns (struct FeeDiscountStorage.Layout storage pointer)"}},"id":2585,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2488:27:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$2649_storage_ptr","typeString":"struct FeeDiscountStorage.Layout storage pointer"}},"id":2586,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2516:19:21","memberName":"feeDiscountRegistry","nodeType":"MemberAccess","referencedDeclaration":2648,"src":"2488:47:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":2582,"id":2587,"nodeType":"Return","src":"2481:54:21"}]},"documentation":{"id":2577,"nodeType":"StructuredDocumentation","src":"2364:34:21","text":"@inheritdoc IFeeDiscountPlugin"},"functionSelector":"f20cdc1a","id":2589,"implemented":true,"kind":"function","modifiers":[],"name":"feeDiscountRegistry","nameLocation":"2411:19:21","nodeType":"FunctionDefinition","overrides":{"id":2579,"nodeType":"OverrideSpecifier","overrides":[],"src":"2447:8:21"},"parameters":{"id":2578,"nodeType":"ParameterList","parameters":[],"src":"2430:2:21"},"returnParameters":{"id":2582,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2581,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2589,"src":"2465:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2580,"name":"address","nodeType":"ElementaryTypeName","src":"2465:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2464:9:21"},"scope":2590,"src":"2402:139:21","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":2591,"src":"586:1958:21","usedErrors":[4],"usedEvents":[2606]}],"src":"38:2508:21"},"id":21},"contracts/interfaces/IFeeDiscountPlugin.sol":{"ast":{"absolutePath":"contracts/interfaces/IFeeDiscountPlugin.sol","exportedSymbols":{"IFeeDiscountPlugin":[2607]},"id":2608,"license":"GPL-2.0-or-later","nodeType":"SourceUnit","nodes":[{"id":2592,"literals":["solidity",">=","0.5",".0"],"nodeType":"PragmaDirective","src":"46:24:22"},{"abstract":false,"baseContracts":[],"canonicalName":"IFeeDiscountPlugin","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":2607,"linearizedBaseContracts":[2607],"name":"IFeeDiscountPlugin","nameLocation":"84:18:22","nodeType":"ContractDefinition","nodes":[{"functionSelector":"c3da7978","id":2597,"implemented":false,"kind":"function","modifiers":[],"name":"setFeeDiscountRegistry","nameLocation":"117:22:22","nodeType":"FunctionDefinition","parameters":{"id":2595,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2594,"mutability":"mutable","name":"registry","nameLocation":"148:8:22","nodeType":"VariableDeclaration","scope":2597,"src":"140:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2593,"name":"address","nodeType":"ElementaryTypeName","src":"140:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"139:18:22"},"returnParameters":{"id":2596,"nodeType":"ParameterList","parameters":[],"src":"166:0:22"},"scope":2607,"src":"108:59:22","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"f20cdc1a","id":2602,"implemented":false,"kind":"function","modifiers":[],"name":"feeDiscountRegistry","nameLocation":"182:19:22","nodeType":"FunctionDefinition","parameters":{"id":2598,"nodeType":"ParameterList","parameters":[],"src":"201:2:22"},"returnParameters":{"id":2601,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2600,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2602,"src":"227:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2599,"name":"address","nodeType":"ElementaryTypeName","src":"227:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"226:9:22"},"scope":2607,"src":"173:63:22","stateMutability":"view","virtual":false,"visibility":"external"},{"anonymous":false,"eventSelector":"3b1f0d57f07483280d598ef402c5b2b96be1a42e65b21992bdafea3476b65327","id":2606,"name":"FeeDiscountRegistry","nameLocation":"248:19:22","nodeType":"EventDefinition","parameters":{"id":2605,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2604,"indexed":false,"mutability":"mutable","name":"registry","nameLocation":"276:8:22","nodeType":"VariableDeclaration","scope":2606,"src":"268:16:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2603,"name":"address","nodeType":"ElementaryTypeName","src":"268:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"267:18:22"},"src":"242:44:22"}],"scope":2608,"src":"74:215:22","usedErrors":[],"usedEvents":[2606]}],"src":"46:245:22"},"id":22},"contracts/interfaces/IFeeDiscountPluginImplementation.sol":{"ast":{"absolutePath":"contracts/interfaces/IFeeDiscountPluginImplementation.sol","exportedSymbols":{"IFeeDiscountPluginImplementation":[2637]},"id":2638,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":2609,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:23"},{"abstract":false,"baseContracts":[],"canonicalName":"IFeeDiscountPluginImplementation","contractDependencies":[],"contractKind":"interface","documentation":{"id":2610,"nodeType":"StructuredDocumentation","src":"66:190:23","text":"@title IFeeDiscountPluginImplementation\n @notice Interface for FeeDiscount plugin implementation contract\n @dev Used for type-safe delegatecall encoding in FeeDiscountConnector"},"fullyImplemented":false,"id":2637,"linearizedBaseContracts":[2637],"name":"IFeeDiscountPluginImplementation","nameLocation":"266:32:23","nodeType":"ContractDefinition","nodes":[{"functionSelector":"a9dd77e7","id":2615,"implemented":false,"kind":"function","modifiers":[],"name":"initializeFeeDiscount","nameLocation":"313:21:23","nodeType":"FunctionDefinition","parameters":{"id":2613,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2612,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"343:20:23","nodeType":"VariableDeclaration","scope":2615,"src":"335:28:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2611,"name":"address","nodeType":"ElementaryTypeName","src":"335:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"334:30:23"},"returnParameters":{"id":2614,"nodeType":"ParameterList","parameters":[],"src":"373:0:23"},"scope":2637,"src":"304:70:23","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"c3da7978","id":2620,"implemented":false,"kind":"function","modifiers":[],"name":"setFeeDiscountRegistry","nameLocation":"387:22:23","nodeType":"FunctionDefinition","parameters":{"id":2618,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2617,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"418:20:23","nodeType":"VariableDeclaration","scope":2620,"src":"410:28:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2616,"name":"address","nodeType":"ElementaryTypeName","src":"410:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"409:30:23"},"returnParameters":{"id":2619,"nodeType":"ParameterList","parameters":[],"src":"448:0:23"},"scope":2637,"src":"378:71:23","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"6408f820","id":2625,"implemented":false,"kind":"function","modifiers":[],"name":"getFeeDiscountRegistry","nameLocation":"462:22:23","nodeType":"FunctionDefinition","parameters":{"id":2621,"nodeType":"ParameterList","parameters":[],"src":"484:2:23"},"returnParameters":{"id":2624,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2623,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2625,"src":"510:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2622,"name":"address","nodeType":"ElementaryTypeName","src":"510:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"509:9:23"},"scope":2637,"src":"453:66:23","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"1018860c","id":2636,"implemented":false,"kind":"function","modifiers":[],"name":"applyFeeDiscount","nameLocation":"532:16:23","nodeType":"FunctionDefinition","parameters":{"id":2632,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2627,"mutability":"mutable","name":"user","nameLocation":"557:4:23","nodeType":"VariableDeclaration","scope":2636,"src":"549:12:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2626,"name":"address","nodeType":"ElementaryTypeName","src":"549:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2629,"mutability":"mutable","name":"pool","nameLocation":"571:4:23","nodeType":"VariableDeclaration","scope":2636,"src":"563:12:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2628,"name":"address","nodeType":"ElementaryTypeName","src":"563:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2631,"mutability":"mutable","name":"fee","nameLocation":"584:3:23","nodeType":"VariableDeclaration","scope":2636,"src":"577:10:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2630,"name":"uint24","nodeType":"ElementaryTypeName","src":"577:6:23","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"548:40:23"},"returnParameters":{"id":2635,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2634,"mutability":"mutable","name":"updatedFee","nameLocation":"614:10:23","nodeType":"VariableDeclaration","scope":2636,"src":"607:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2633,"name":"uint24","nodeType":"ElementaryTypeName","src":"607:6:23","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"606:19:23"},"scope":2637,"src":"523:103:23","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":2638,"src":"256:373:23","usedErrors":[],"usedEvents":[]}],"src":"38:593:23"},"id":23},"contracts/libraries/FeeDiscountStorage.sol":{"ast":{"absolutePath":"contracts/libraries/FeeDiscountStorage.sol","exportedSymbols":{"FeeDiscountStorage":[2662]},"id":2663,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":2639,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:24"},{"abstract":false,"baseContracts":[],"canonicalName":"FeeDiscountStorage","contractDependencies":[],"contractKind":"library","documentation":{"id":2640,"nodeType":"StructuredDocumentation","src":"66:97:24","text":"@dev Shared namespaced storage for FeeDiscount plugin (used by connector + implementation)."},"fullyImplemented":true,"id":2662,"linearizedBaseContracts":[2662],"name":"FeeDiscountStorage","nameLocation":"171:18:24","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":2641,"nodeType":"StructuredDocumentation","src":"195:83:24","text":"@dev Storage namespace for FeeDiscount plugin using ERC-7201-style namespacing."},"id":2646,"mutability":"constant","name":"NAMESPACE","nameLocation":"308:9:24","nodeType":"VariableDeclaration","scope":2662,"src":"282:78:24","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":2642,"name":"bytes32","nodeType":"ElementaryTypeName","src":"282:7:24","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"616c67656272612e73746f726167652e666565646973636f756e74","id":2644,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"330:29:24","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":2643,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"320:9:24","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":2645,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"320:40:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"canonicalName":"FeeDiscountStorage.Layout","id":2649,"members":[{"constant":false,"id":2648,"mutability":"mutable","name":"feeDiscountRegistry","nameLocation":"396:19:24","nodeType":"VariableDeclaration","scope":2649,"src":"388:27:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2647,"name":"address","nodeType":"ElementaryTypeName","src":"388:7:24","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"Layout","nameLocation":"374:6:24","nodeType":"StructDefinition","scope":2662,"src":"367:54:24","visibility":"public"},{"body":{"id":2660,"nodeType":"Block","src":"486:90:24","statements":[{"assignments":[2656],"declarations":[{"constant":false,"id":2656,"mutability":"mutable","name":"position","nameLocation":"501:8:24","nodeType":"VariableDeclaration","scope":2660,"src":"493:16:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":2655,"name":"bytes32","nodeType":"ElementaryTypeName","src":"493:7:24","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":2658,"initialValue":{"id":2657,"name":"NAMESPACE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2646,"src":"512:9:24","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"493:28:24"},{"AST":{"nodeType":"YulBlock","src":"537:34:24","statements":[{"nodeType":"YulAssignment","src":"546:18:24","value":{"name":"position","nodeType":"YulIdentifier","src":"556:8:24"},"variableNames":[{"name":"l.slot","nodeType":"YulIdentifier","src":"546:6:24"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":2653,"isOffset":false,"isSlot":true,"src":"546:6:24","suffix":"slot","valueSize":1},{"declaration":2656,"isOffset":false,"isSlot":false,"src":"556:8:24","valueSize":1}],"id":2659,"nodeType":"InlineAssembly","src":"528:43:24"}]},"id":2661,"implemented":true,"kind":"function","modifiers":[],"name":"layout","nameLocation":"436:6:24","nodeType":"FunctionDefinition","parameters":{"id":2650,"nodeType":"ParameterList","parameters":[],"src":"442:2:24"},"returnParameters":{"id":2654,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2653,"mutability":"mutable","name":"l","nameLocation":"483:1:24","nodeType":"VariableDeclaration","scope":2661,"src":"468:16:24","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$2649_storage_ptr","typeString":"struct FeeDiscountStorage.Layout"},"typeName":{"id":2652,"nodeType":"UserDefinedTypeName","pathNode":{"id":2651,"name":"Layout","nameLocations":["468:6:24"],"nodeType":"IdentifierPath","referencedDeclaration":2649,"src":"468:6:24"},"referencedDeclaration":2649,"src":"468:6:24","typeDescriptions":{"typeIdentifier":"t_struct$_Layout_$2649_storage_ptr","typeString":"struct FeeDiscountStorage.Layout"}},"visibility":"internal"}],"src":"467:18:24"},"scope":2662,"src":"427:149:24","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":2663,"src":"163:416:24","usedErrors":[],"usedEvents":[]}],"src":"38:543:24"},"id":24},"contracts/test/UpgradeableFeeDiscountPluginTest.sol":{"ast":{"absolutePath":"contracts/test/UpgradeableFeeDiscountPluginTest.sol","exportedSymbols":{"AbstractPluginStorage":[689],"AddressUpgradeable":[2450],"BaseConnector":[46],"FeeDiscountConnector":[2590],"FeeDiscountStorage":[2662],"IAbstractPlugin":[654],"IAlgebraFactory":[973],"IAlgebraPlugin":[1161],"IAlgebraPluginFactory":[1193],"IAlgebraPluginProxy":[662],"IAlgebraPool":[995],"IAlgebraPoolActions":[1309],"IAlgebraPoolErrors":[1411],"IAlgebraPoolEvents":[1563],"IAlgebraPoolImmutables":[1591],"IAlgebraPoolPermissionedActions":[1639],"IAlgebraPoolState":[1823],"IAlgebraVaultFactory":[1851],"IFeeDiscountPlugin":[2607],"IFeeDiscountPluginImplementation":[2637],"Initializable":[2120],"Plugins":[1923],"SafeTransfer":[1951],"Timestamp":[706],"UpgradeableAbstractPlugin":[623],"UpgradeableFeeDiscountPluginTest":[2817]},"id":2818,"license":"BUSL-1.1","nodeType":"SourceUnit","nodes":[{"id":2664,"literals":["solidity","=","0.8",".20"],"nodeType":"PragmaDirective","src":"38:24:25"},{"absolutePath":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","file":"@cryptoalgebra/integral-core/contracts/libraries/Plugins.sol","id":2665,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2818,"sourceUnit":1924,"src":"66:70:25","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","file":"@cryptoalgebra/integral-core/contracts/interfaces/pool/IAlgebraPoolState.sol","id":2666,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2818,"sourceUnit":1824,"src":"138:86:25","symbolAliases":[],"unitAlias":""},{"absolutePath":"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol","file":"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol","id":2667,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2818,"sourceUnit":624,"src":"226:80:25","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/FeeDiscountConnector.sol","file":"../FeeDiscountConnector.sol","id":2668,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2818,"sourceUnit":2591,"src":"310:37:25","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":2670,"name":"UpgradeableAbstractPlugin","nameLocations":["563:25:25"],"nodeType":"IdentifierPath","referencedDeclaration":623,"src":"563:25:25"},"id":2671,"nodeType":"InheritanceSpecifier","src":"563:25:25"},{"baseName":{"id":2672,"name":"FeeDiscountConnector","nameLocations":["590:20:25"],"nodeType":"IdentifierPath","referencedDeclaration":2590,"src":"590:20:25"},"id":2673,"nodeType":"InheritanceSpecifier","src":"590:20:25"}],"canonicalName":"UpgradeableFeeDiscountPluginTest","contractDependencies":[],"contractKind":"contract","documentation":{"id":2669,"nodeType":"StructuredDocumentation","src":"351:167:25","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":2817,"linearizedBaseContracts":[2817,2590,46,2607,623,706,654,1161,2120],"name":"UpgradeableFeeDiscountPluginTest","nameLocation":"527:32:25","nodeType":"ContractDefinition","nodes":[{"global":false,"id":2676,"libraryName":{"id":2674,"name":"Plugins","nameLocations":["622:7:25"],"nodeType":"IdentifierPath","referencedDeclaration":1923,"src":"622:7:25"},"nodeType":"UsingForDirective","src":"616:24:25","typeName":{"id":2675,"name":"uint8","nodeType":"ElementaryTypeName","src":"634:5:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}},{"body":{"id":2693,"nodeType":"Block","src":"1106:2:25","statements":[]},"documentation":{"id":2677,"nodeType":"StructuredDocumentation","src":"646:245:25","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":2694,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":2686,"name":"_factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2679,"src":"1031:8:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2687,"name":"_pluginFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2681,"src":"1041:14:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":2688,"kind":"baseConstructorSpecifier","modifierName":{"id":2685,"name":"UpgradeableAbstractPlugin","nameLocations":["1005:25:25"],"nodeType":"IdentifierPath","referencedDeclaration":623,"src":"1005:25:25"},"nodeType":"ModifierInvocation","src":"1005:51:25"},{"arguments":[{"id":2690,"name":"_feeDiscountImplementation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2683,"src":"1078:26:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":2691,"kind":"baseConstructorSpecifier","modifierName":{"id":2689,"name":"FeeDiscountConnector","nameLocations":["1057:20:25"],"nodeType":"IdentifierPath","referencedDeclaration":2590,"src":"1057:20:25"},"nodeType":"ModifierInvocation","src":"1057:48:25"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":2684,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2679,"mutability":"mutable","name":"_factory","nameLocation":"921:8:25","nodeType":"VariableDeclaration","scope":2694,"src":"913:16:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2678,"name":"address","nodeType":"ElementaryTypeName","src":"913:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2681,"mutability":"mutable","name":"_pluginFactory","nameLocation":"944:14:25","nodeType":"VariableDeclaration","scope":2694,"src":"936:22:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2680,"name":"address","nodeType":"ElementaryTypeName","src":"936:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2683,"mutability":"mutable","name":"_feeDiscountImplementation","nameLocation":"973:26:25","nodeType":"VariableDeclaration","scope":2694,"src":"965:34:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2682,"name":"address","nodeType":"ElementaryTypeName","src":"965:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"906:98:25"},"returnParameters":{"id":2692,"nodeType":"ParameterList","parameters":[],"src":"1106:0:25"},"scope":2817,"src":"895:213:25","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":2725,"nodeType":"Block","src":"1408:220:25","statements":[{"assignments":[2707,2709],"declarations":[{"constant":false,"id":2707,"mutability":"mutable","name":"pluginConfig","nameLocation":"1424:12:25","nodeType":"VariableDeclaration","scope":2725,"src":"1418:18:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":2706,"name":"uint8","nodeType":"ElementaryTypeName","src":"1418:5:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":2709,"mutability":"mutable","name":"moduleName","nameLocation":"1452:10:25","nodeType":"VariableDeclaration","scope":2725,"src":"1438:24:25","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2708,"name":"string","nodeType":"ElementaryTypeName","src":"1438:6:25","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"id":2713,"initialValue":{"arguments":[{"id":2711,"name":"_feeDiscountRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2699,"src":"1489:20:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2710,"name":"_initializeFeeDiscount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2514,"src":"1466:22:25","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$_t_uint8_$_t_string_memory_ptr_$","typeString":"function (address) returns (uint8,string memory)"}},"id":2712,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1466:44:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint8_$_t_string_memory_ptr_$","typeString":"tuple(uint8,string memory)"}},"nodeType":"VariableDeclarationStatement","src":"1417:93:25"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":2718,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":2715,"name":"_getDefaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":584,"src":"1541:23:25","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint8_$","typeString":"function () view returns (uint8)"}},"id":2716,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1541:25:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"id":2717,"name":"pluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2707,"src":"1569:12:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"1541:40:25","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":2714,"name":"_setDefaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":596,"src":"1517:23:25","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":2719,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1517:65:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2720,"nodeType":"ExpressionStatement","src":"1517:65:25"},{"expression":{"arguments":[{"id":2722,"name":"moduleName","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2709,"src":"1611:10:25","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2721,"name":"_appendActiveModule","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":609,"src":"1591:19:25","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory)"}},"id":2723,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1591:31:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2724,"nodeType":"ExpressionStatement","src":"1591:31:25"}]},"documentation":{"id":2695,"nodeType":"StructuredDocumentation","src":"1114:186:25","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":2726,"implemented":true,"kind":"function","modifiers":[{"id":2702,"kind":"modifierInvocation","modifierName":{"id":2701,"name":"initializer","nameLocations":["1378:11:25"],"nodeType":"IdentifierPath","referencedDeclaration":2022,"src":"1378:11:25"},"nodeType":"ModifierInvocation","src":"1378:11:25"},{"id":2704,"kind":"modifierInvocation","modifierName":{"id":2703,"name":"onlyPluginFactory","nameLocations":["1390:17:25"],"nodeType":"IdentifierPath","referencedDeclaration":103,"src":"1390:17:25"},"nodeType":"ModifierInvocation","src":"1390:17:25"}],"name":"initialize","nameLocation":"1313:10:25","nodeType":"FunctionDefinition","parameters":{"id":2700,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2697,"mutability":"mutable","name":"_pool","nameLocation":"1332:5:25","nodeType":"VariableDeclaration","scope":2726,"src":"1324:13:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2696,"name":"address","nodeType":"ElementaryTypeName","src":"1324:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2699,"mutability":"mutable","name":"_feeDiscountRegistry","nameLocation":"1347:20:25","nodeType":"VariableDeclaration","scope":2726,"src":"1339:28:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2698,"name":"address","nodeType":"ElementaryTypeName","src":"1339:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1323:45:25"},"returnParameters":{"id":2705,"nodeType":"ParameterList","parameters":[],"src":"1408:0:25"},"scope":2817,"src":"1304:324:25","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[349],"body":{"id":2747,"nodeType":"Block","src":"1765:119:25","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":2739,"name":"_getDefaultPluginConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":584,"src":"1798:23:25","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint8_$","typeString":"function () view returns (uint8)"}},"id":2740,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1798:25:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":2738,"name":"_updatePluginConfigInPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":563,"src":"1772:25:25","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":2741,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1772:52:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2742,"nodeType":"ExpressionStatement","src":"1772:52:25"},{"expression":{"expression":{"expression":{"id":2743,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"1838:14:25","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":2744,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1853:16:25","memberName":"beforeInitialize","nodeType":"MemberAccess","referencedDeclaration":1024,"src":"1838:31:25","typeDescriptions":{"typeIdentifier":"t_function_declaration_nonpayable$_t_address_$_t_uint160_$returns$_t_bytes4_$","typeString":"function IAlgebraPlugin.beforeInitialize(address,uint160) returns (bytes4)"}},"id":2745,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1870:8:25","memberName":"selector","nodeType":"MemberAccess","src":"1838:40:25","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"functionReturnParameters":2737,"id":2746,"nodeType":"Return","src":"1831:47:25"}]},"functionSelector":"636fd804","id":2748,"implemented":true,"kind":"function","modifiers":[{"id":2734,"kind":"modifierInvocation","modifierName":{"id":2733,"name":"onlyPool","nameLocations":["1739:8:25"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"1739:8:25"},"nodeType":"ModifierInvocation","src":"1739:8:25"}],"name":"beforeInitialize","nameLocation":"1671:16:25","nodeType":"FunctionDefinition","overrides":{"id":2732,"nodeType":"OverrideSpecifier","overrides":[],"src":"1730:8:25"},"parameters":{"id":2731,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2728,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2748,"src":"1694:7:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2727,"name":"address","nodeType":"ElementaryTypeName","src":"1694:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2730,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2748,"src":"1708:7:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":2729,"name":"uint160","nodeType":"ElementaryTypeName","src":"1708:7:25","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"1687:33:25"},"returnParameters":{"id":2737,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2736,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2748,"src":"1757:6:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2735,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1757:6:25","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1756:8:25"},"scope":2817,"src":"1662:222:25","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[460],"body":{"id":2795,"nodeType":"Block","src":"2080:189:25","statements":[{"assignments":[null,null,2775,null],"declarations":[null,null,{"constant":false,"id":2775,"mutability":"mutable","name":"fee","nameLocation":"2099:3:25","nodeType":"VariableDeclaration","scope":2795,"src":"2092:10:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":2774,"name":"uint16","nodeType":"ElementaryTypeName","src":"2092:6:25","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},null],"id":2778,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":2776,"name":"_getPoolState","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":269,"src":"2108:13:25","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"function () view returns (uint160,int24,uint16,uint8)"}},"id":2777,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2108:15:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint160_$_t_int24_$_t_uint16_$_t_uint8_$","typeString":"tuple(uint160,int24,uint16,uint8)"}},"nodeType":"VariableDeclarationStatement","src":"2087:36:25"},{"assignments":[2780],"declarations":[{"constant":false,"id":2780,"mutability":"mutable","name":"discountedFee","nameLocation":"2137:13:25","nodeType":"VariableDeclaration","scope":2795,"src":"2130:20:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2779,"name":"uint24","nodeType":"ElementaryTypeName","src":"2130:6:25","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"id":2787,"initialValue":{"arguments":[{"id":2782,"name":"sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2750,"src":"2171:6:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"id":2783,"name":"_getPool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":168,"src":"2179:8:25","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":2784,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2179:10:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2785,"name":"fee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2775,"src":"2191:3:25","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":2781,"name":"_applyFeeDiscount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2550,"src":"2153:17:25","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint24_$returns$_t_uint24_$","typeString":"function (address,address,uint24) returns (uint24)"}},"id":2786,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2153:42:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"nodeType":"VariableDeclarationStatement","src":"2130:65:25"},{"expression":{"components":[{"expression":{"expression":{"id":2788,"name":"IAlgebraPlugin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1161,"src":"2210:14:25","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraPlugin_$1161_$","typeString":"type(contract IAlgebraPlugin)"}},"id":2789,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2225:10:25","memberName":"beforeSwap","nodeType":"MemberAccess","referencedDeclaration":1102,"src":"2210:25:25","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":2790,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2236:8:25","memberName":"selector","nodeType":"MemberAccess","src":"2210:34:25","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},{"id":2791,"name":"discountedFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2780,"src":"2246:13:25","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},{"hexValue":"30","id":2792,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2261:1:25","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":2793,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2209:54:25","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes4_$_t_uint24_$_t_rational_0_by_1_$","typeString":"tuple(bytes4,uint24,int_const 0)"}},"functionReturnParameters":2773,"id":2794,"nodeType":"Return","src":"2202:61:25"}]},"functionSelector":"029c1cb7","id":2796,"implemented":true,"kind":"function","modifiers":[{"id":2766,"kind":"modifierInvocation","modifierName":{"id":2765,"name":"onlyPool","nameLocations":["2038:8:25"],"nodeType":"IdentifierPath","referencedDeclaration":91,"src":"2038:8:25"},"nodeType":"ModifierInvocation","src":"2038:8:25"}],"name":"beforeSwap","nameLocation":"1899:10:25","nodeType":"FunctionDefinition","overrides":{"id":2764,"nodeType":"OverrideSpecifier","overrides":[],"src":"2029:8:25"},"parameters":{"id":2763,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2750,"mutability":"mutable","name":"sender","nameLocation":"1924:6:25","nodeType":"VariableDeclaration","scope":2796,"src":"1916:14:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2749,"name":"address","nodeType":"ElementaryTypeName","src":"1916:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2752,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2796,"src":"1937:7:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2751,"name":"address","nodeType":"ElementaryTypeName","src":"1937:7:25","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2754,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2796,"src":"1951:4:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2753,"name":"bool","nodeType":"ElementaryTypeName","src":"1951:4:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2756,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2796,"src":"1962:6:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2755,"name":"int256","nodeType":"ElementaryTypeName","src":"1962:6:25","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":2758,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2796,"src":"1975:7:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":2757,"name":"uint160","nodeType":"ElementaryTypeName","src":"1975:7:25","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"},{"constant":false,"id":2760,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2796,"src":"1989:4:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2759,"name":"bool","nodeType":"ElementaryTypeName","src":"1989:4:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":2762,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2796,"src":"2000:14:25","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":2761,"name":"bytes","nodeType":"ElementaryTypeName","src":"2000:5:25","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1909:110:25"},"returnParameters":{"id":2773,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2768,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2796,"src":"2056:6:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2767,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2056:6:25","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"constant":false,"id":2770,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2796,"src":"2064:6:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2769,"name":"uint24","nodeType":"ElementaryTypeName","src":"2064:6:25","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"},{"constant":false,"id":2772,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2796,"src":"2072:6:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":2771,"name":"uint24","nodeType":"ElementaryTypeName","src":"2072:6:25","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"2055:24:25"},"scope":2817,"src":"1890:379:25","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[45,198],"body":{"id":2815,"nodeType":"Block","src":"2490:120:25","statements":[{"expression":{"arguments":[{"arguments":[{"id":2808,"name":"ALGEBRA_BASE_PLUGIN_MANAGER","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":78,"src":"2545:27:25","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":2809,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"2574:3:25","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2810,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2578:6:25","memberName":"sender","nodeType":"MemberAccess","src":"2574:10:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":2805,"name":"factory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":81,"src":"2521:7:25","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2804,"name":"IAlgebraFactory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":973,"src":"2505:15:25","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAlgebraFactory_$973_$","typeString":"type(contract IAlgebraFactory)"}},"id":2806,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2505:24:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IAlgebraFactory_$973","typeString":"contract IAlgebraFactory"}},"id":2807,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2530:14:25","memberName":"hasRoleOrOwner","nodeType":"MemberAccess","referencedDeclaration":796,"src":"2505:39:25","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view external returns (bool)"}},"id":2811,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2505:80:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e6f7420617574686f72697a6564","id":2812,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2587:16:25","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":2803,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2497:7:25","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":2813,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2497:107:25","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2814,"nodeType":"ExpressionStatement","src":"2497:107:25"}]},"documentation":{"id":2797,"nodeType":"StructuredDocumentation","src":"2311:88:25","text":"@dev Authorization check for FeeDiscountConnector - only ALGEBRA_BASE_PLUGIN_MANAGER"},"id":2816,"implemented":true,"kind":"function","modifiers":[],"name":"_authorize","nameLocation":"2412:10:25","nodeType":"FunctionDefinition","overrides":{"id":2801,"nodeType":"OverrideSpecifier","overrides":[{"id":2799,"name":"UpgradeableAbstractPlugin","nameLocations":["2448:25:25"],"nodeType":"IdentifierPath","referencedDeclaration":623,"src":"2448:25:25"},{"id":2800,"name":"BaseConnector","nameLocations":["2475:13:25"],"nodeType":"IdentifierPath","referencedDeclaration":46,"src":"2475:13:25"}],"src":"2439:50:25"},"parameters":{"id":2798,"nodeType":"ParameterList","parameters":[],"src":"2422:2:25"},"returnParameters":{"id":2802,"nodeType":"ParameterList","parameters":[],"src":"2490:0:25"},"scope":2817,"src":"2403:207:25","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":2818,"src":"518:2095:25","usedErrors":[4,632,634,636,1404],"usedEvents":[1966,2606]}],"src":"38:2577:25"},"id":25}},"contracts":{"@cryptoalgebra/abstract-plugin/contracts/BaseConnector.sol":{"BaseConnector":{"abi":[{"inputs":[],"name":"ConnectorDelegatecallFailed","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\":\"ConnectorDelegatecallFailed\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Eliminates code duplication across connectors by providing shared delegation logic\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Base Connector\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Abstract base contract for all plugin connectors providing common delegatecall utilities\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/abstract-plugin/contracts/BaseConnector.sol\":\"BaseConnector\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/BaseConnector.sol\":{\"keccak256\":\"0x045e70e6a450a208596d09fe14b7fa36f3fdd2b14679edafbdf4c48d7983e515\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c3bcad01eff572b5a0a5730208f050ff9210ce2de7869527e7d0ed3bf5d3c164\",\"dweb:/ipfs/QmR3ufxiGT2G3vJJPTbuUCBQTPndGRL5gnBAV8DbcJNJDo\"]}},\"version\":1}"}},"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol":{"UpgradeableAbstractPlugin":{"abi":[{"inputs":[],"name":"OnlyAdministrator","type":"error"},{"inputs":[],"name":"OnlyPluginFactory","type":"error"},{"inputs":[],"name":"OnlyPool","type":"error"},{"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":[],"name":"POOL_ADDRESS_OFFSET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","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","POOL_ADDRESS_OFFSET()":"36badf63","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\":\"OnlyAdministrator\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPluginFactory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPool\",\"type\":\"error\"},{\"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\":[],\"name\":\"POOL_ADDRESS_OFFSET\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"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\"},\"factory\":{\"details\":\"Immutable: shared across all proxies (stored in implementation bytecode)\"},\"pluginFactory\":{\"details\":\"Immutable: shared across all proxies (stored in implementation bytecode)\"}},\"title\":\"Algebra Integral 1.2.2 Upgradeable Abstract Plugin\",\"version\":1},\"userdoc\":{\"errors\":{\"transferFailed()\":[{\"notice\":\"Emitted if token transfer failed internally\"}]},\"kind\":\"user\",\"methods\":{\"activeModules(uint256)\":{\"notice\":\"Returns a module name by index \"},\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"constructor\":{\"notice\":\"Constructor sets immutable values that are shared across ALL proxies\"},\"defaultPluginConfig()\":{\"notice\":\"Returns the default plugin config\"},\"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\":\"0x989b26c547f0bdc9ea12d348cf852371699071fde77cfb8e2335853c7a8ecb92\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://505ed92f22130a70751419569f8164172bd718bb126a54ccadb5aa70f722a48e\",\"dweb:/ipfs/QmY8TYPfPyvx2NvoMcFsvKUKCiboPTNGDn6Mz2Mkx5eH2y\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0xe7677595dd0f144a2d0fd81fd6e311545820672d96cec5697e5b9d748ac91195\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6069006ad3a18a9bb63efa99f3853b274ec549169effc1cc6eee17c4c347b5d6\",\"dweb:/ipfs/QmPtkwHrUvyit56znzyQV6NrkZw2z3y1DQRBPRaDRXyPEE\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAlgebraPluginProxy.sol\":{\"keccak256\":\"0xe7714ee007d5b9dd657ad6a4f375f1165acf66cd3a04b827361ebdb83a127259\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b5f64e6f197f35d1bd84600cd3f84234db67ef329fb94a54965cfdb38786caa4\",\"dweb:/ipfs/QmXx2phSrvJFxr6w5GU7mKykgCXSNVpSRNF4GnUypjH8Fr\"]},\"@cryptoalgebra/abstract-plugin/contracts/libraries/AbstractPluginStorage.sol\":{\"keccak256\":\"0x4f3da71d8261cc87e193ce7b2bfa313c102aa6f398426b731d0674052aa404b1\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://1ec5374ae6cc1614f1032d70cf5e5f43ad96cf52aac337848cb0870030a5fb45\",\"dweb:/ipfs/QmU9LU1DhtG1wZkKHptaCp3z2hYyCfxixVfoJhFc64ieGC\"]},\"@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":[],"name":"OnlyAdministrator","type":"error"},{"inputs":[],"name":"OnlyPluginFactory","type":"error"},{"inputs":[],"name":"OnlyPool","type":"error"},{"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\":[],\"name\":\"OnlyAdministrator\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPluginFactory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPool\",\"type\":\"error\"},{\"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\":\"0xe7677595dd0f144a2d0fd81fd6e311545820672d96cec5697e5b9d748ac91195\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6069006ad3a18a9bb63efa99f3853b274ec549169effc1cc6eee17c4c347b5d6\",\"dweb:/ipfs/QmPtkwHrUvyit56znzyQV6NrkZw2z3y1DQRBPRaDRXyPEE\"]},\"@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/abstract-plugin/contracts/interfaces/IAlgebraPluginProxy.sol":{"IAlgebraPluginProxy":{"abi":[{"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":{"pool()":"16f0115b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAlgebraPluginProxy.sol\":\"IAlgebraPluginProxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAlgebraPluginProxy.sol\":{\"keccak256\":\"0xe7714ee007d5b9dd657ad6a4f375f1165acf66cd3a04b827361ebdb83a127259\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b5f64e6f197f35d1bd84600cd3f84234db67ef329fb94a54965cfdb38786caa4\",\"dweb:/ipfs/QmXx2phSrvJFxr6w5GU7mKykgCXSNVpSRNF4GnUypjH8Fr\"]}},\"version\":1}"}},"@cryptoalgebra/abstract-plugin/contracts/libraries/AbstractPluginStorage.sol":{"AbstractPluginStorage":{"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":"66:445:4:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;66:445:4;;;;;;;;;;;;;;;;;"},"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":"66:445:4:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"NAMESPACE\":{\"details\":\"Storage namespace for AbstractPlugin using ERC-7201-style namespacing.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@cryptoalgebra/abstract-plugin/contracts/libraries/AbstractPluginStorage.sol\":\"AbstractPluginStorage\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@cryptoalgebra/abstract-plugin/contracts/libraries/AbstractPluginStorage.sol\":{\"keccak256\":\"0x4f3da71d8261cc87e193ce7b2bfa313c102aa6f398426b731d0674052aa404b1\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://1ec5374ae6cc1614f1032d70cf5e5f43ad96cf52aac337848cb0870030a5fb45\",\"dweb:/ipfs/QmU9LU1DhtG1wZkKHptaCp3z2hYyCfxixVfoJhFc64ieGC\"]}},\"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/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:17:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;311:817: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":"311:817:17:-: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/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:18:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;521:1313: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":"521:1313:18:-: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}"}},"@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:20:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;194:9180: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":"194:9180:20:-: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}"}},"contracts/FeeDiscountConnector.sol":{"FeeDiscountConnector":{"abi":[{"inputs":[],"name":"ConnectorDelegatecallFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registry","type":"address"}],"name":"FeeDiscountRegistry","type":"event"},{"inputs":[],"name":"feeDiscountRegistry","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":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"feeDiscountRegistry()":"f20cdc1a","setFeeDiscountRegistry(address)":"c3da7978"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ConnectorDelegatecallFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"registry\",\"type\":\"address\"}],\"name\":\"FeeDiscountRegistry\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"feeDiscountRegistry\",\"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\":{\"details\":\"Inherits from IFeeDiscountPlugin and provides all public methods as thin wrappers\",\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"feeDiscountImplementation\":{\"details\":\"Immutable implementation address - set in constructor, changes only on full plugin upgrade\"}},\"title\":\"FeeDiscount Connector\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"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/BaseConnector.sol\":{\"keccak256\":\"0x045e70e6a450a208596d09fe14b7fa36f3fdd2b14679edafbdf4c48d7983e515\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c3bcad01eff572b5a0a5730208f050ff9210ce2de7869527e7d0ed3bf5d3c164\",\"dweb:/ipfs/QmR3ufxiGT2G3vJJPTbuUCBQTPndGRL5gnBAV8DbcJNJDo\"]},\"@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\":\"0x32ab1cd047c37a73912238594fba47e42d83ede1d4f887ff251807a1210103bc\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://87b5abfb11a6e60f3eff00ba95504d506819f417be60dd5c1fe2b417df237370\",\"dweb:/ipfs/QmWuohHQ1u4BiETUyFAtMzruj2e61Z4NbUUoNtDYA2416A\"]},\"contracts/interfaces/IFeeDiscountPlugin.sol\":{\"keccak256\":\"0x968c38ee4dffd9aac168f75b332b20ee005701c039279e66f0ad6f84b03abfc3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d157594ce9b61a714d82f0906305f53382392d3cb6cd50d89bf8c42ec046c1f6\",\"dweb:/ipfs/QmQvffSmswXZmZXRmRwznfxqMAx8Xe2xYFE6Dy4RdhGfdq\"]},\"contracts/interfaces/IFeeDiscountPluginImplementation.sol\":{\"keccak256\":\"0x005e45e74ca0e29f1b42c8137b30fa3aca0a8e3e472adb8fbcc81de0e653a713\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://13a587bad5a060edcbb6d1d895b5c765a2563eeeee5b6f8c9d5db904329a0ae4\",\"dweb:/ipfs/QmYGKFsNoS5y1G4DDav8aqzXd5fsM2FdmAtjXNsxbfGyTz\"]},\"contracts/libraries/FeeDiscountStorage.sol\":{\"keccak256\":\"0xa05f9b14be03d6623774f83d4aa25850b49665892a7f698e524ec2fa48982939\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://9214dee8ce6d256f4dadb508c81cdb52745babdd032add2c83fbfa9396baa4e2\",\"dweb:/ipfs/QmfSbAW9ppziy1pTkN45mZeT1YGikKpaYwdbXC27usVhUA\"]}},\"version\":1}"}},"contracts/interfaces/IFeeDiscountPlugin.sol":{"IFeeDiscountPlugin":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registry","type":"address"}],"name":"FeeDiscountRegistry","type":"event"},{"inputs":[],"name":"feeDiscountRegistry","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":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"feeDiscountRegistry()":"f20cdc1a","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\":[],\"name\":\"feeDiscountRegistry\",\"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\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IFeeDiscountPlugin.sol\":\"IFeeDiscountPlugin\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IFeeDiscountPlugin.sol\":{\"keccak256\":\"0x968c38ee4dffd9aac168f75b332b20ee005701c039279e66f0ad6f84b03abfc3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d157594ce9b61a714d82f0906305f53382392d3cb6cd50d89bf8c42ec046c1f6\",\"dweb:/ipfs/QmQvffSmswXZmZXRmRwznfxqMAx8Xe2xYFE6Dy4RdhGfdq\"]}},\"version\":1}"}},"contracts/interfaces/IFeeDiscountPluginImplementation.sol":{"IFeeDiscountPluginImplementation":{"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":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"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\":\"Used for type-safe delegatecall encoding in FeeDiscountConnector\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IFeeDiscountPluginImplementation\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Interface for FeeDiscount plugin implementation contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IFeeDiscountPluginImplementation.sol\":\"IFeeDiscountPluginImplementation\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IFeeDiscountPluginImplementation.sol\":{\"keccak256\":\"0x005e45e74ca0e29f1b42c8137b30fa3aca0a8e3e472adb8fbcc81de0e653a713\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://13a587bad5a060edcbb6d1d895b5c765a2563eeeee5b6f8c9d5db904329a0ae4\",\"dweb:/ipfs/QmYGKFsNoS5y1G4DDav8aqzXd5fsM2FdmAtjXNsxbfGyTz\"]}},\"version\":1}"}},"contracts/libraries/FeeDiscountStorage.sol":{"FeeDiscountStorage":{"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":"163:416:24:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;163:416: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":"163:416:24:-:0;;;;;;;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Shared namespaced storage for FeeDiscount plugin (used by connector + implementation).\",\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"NAMESPACE\":{\"details\":\"Storage namespace for FeeDiscount plugin using ERC-7201-style namespacing.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/libraries/FeeDiscountStorage.sol\":\"FeeDiscountStorage\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"contracts/libraries/FeeDiscountStorage.sol\":{\"keccak256\":\"0xa05f9b14be03d6623774f83d4aa25850b49665892a7f698e524ec2fa48982939\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://9214dee8ce6d256f4dadb508c81cdb52745babdd032add2c83fbfa9396baa4e2\",\"dweb:/ipfs/QmfSbAW9ppziy1pTkN45mZeT1YGikKpaYwdbXC27usVhUA\"]}},\"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":"ConnectorDelegatecallFailed","type":"error"},{"inputs":[],"name":"OnlyAdministrator","type":"error"},{"inputs":[],"name":"OnlyPluginFactory","type":"error"},{"inputs":[],"name":"OnlyPool","type":"error"},{"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":[],"name":"POOL_ADDRESS_OFFSET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","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":"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":[{"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":{"@_123":{"entryPoint":null,"id":123,"parameterSlots":2,"returnSlots":0},"@_2488":{"entryPoint":null,"id":2488,"parameterSlots":1,"returnSlots":0},"@_2694":{"entryPoint":null,"id":2694,"parameterSlots":3,"returnSlots":0},"@_disableInitializers_2101":{"entryPoint":108,"id":2101,"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:26","statements":[{"nodeType":"YulBlock","src":"6:3:26","statements":[]},{"body":{"nodeType":"YulBlock","src":"74:117:26","statements":[{"nodeType":"YulAssignment","src":"84:22:26","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"99:6:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"93:5:26"},"nodeType":"YulFunctionCall","src":"93:13:26"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"84:5:26"}]},{"body":{"nodeType":"YulBlock","src":"169:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"178:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"181:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"171:6:26"},"nodeType":"YulFunctionCall","src":"171:12:26"},"nodeType":"YulExpressionStatement","src":"171:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"128:5:26"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"139:5:26"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"154:3:26","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"159:1:26","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"150:3:26"},"nodeType":"YulFunctionCall","src":"150:11:26"},{"kind":"number","nodeType":"YulLiteral","src":"163:1:26","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"146:3:26"},"nodeType":"YulFunctionCall","src":"146:19:26"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"135:3:26"},"nodeType":"YulFunctionCall","src":"135:31:26"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"125:2:26"},"nodeType":"YulFunctionCall","src":"125:42:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"118:6:26"},"nodeType":"YulFunctionCall","src":"118:50:26"},"nodeType":"YulIf","src":"115:70:26"}]},"name":"abi_decode_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"53:6:26","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"64:5:26","type":""}],"src":"14:177:26"},{"body":{"nodeType":"YulBlock","src":"311:263:26","statements":[{"body":{"nodeType":"YulBlock","src":"357:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"366:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"369:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"359:6:26"},"nodeType":"YulFunctionCall","src":"359:12:26"},"nodeType":"YulExpressionStatement","src":"359:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"332:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"341:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"328:3:26"},"nodeType":"YulFunctionCall","src":"328:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"353:2:26","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"324:3:26"},"nodeType":"YulFunctionCall","src":"324:32:26"},"nodeType":"YulIf","src":"321:52:26"},{"nodeType":"YulAssignment","src":"382:50:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"422:9:26"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"392:29:26"},"nodeType":"YulFunctionCall","src":"392:40:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"382:6:26"}]},{"nodeType":"YulAssignment","src":"441:59:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"485:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"496:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"481:3:26"},"nodeType":"YulFunctionCall","src":"481:18:26"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"451:29:26"},"nodeType":"YulFunctionCall","src":"451:49:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"441:6:26"}]},{"nodeType":"YulAssignment","src":"509:59:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"553:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"564:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"549:3:26"},"nodeType":"YulFunctionCall","src":"549:18:26"}],"functionName":{"name":"abi_decode_address_fromMemory","nodeType":"YulIdentifier","src":"519:29:26"},"nodeType":"YulFunctionCall","src":"519:49:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"509:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"261:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"272:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"284:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"292:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"300:6:26","type":""}],"src":"196:378:26"},{"body":{"nodeType":"YulBlock","src":"753:229:26","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"770:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"781:2:26","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"763:6:26"},"nodeType":"YulFunctionCall","src":"763:21:26"},"nodeType":"YulExpressionStatement","src":"763:21:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"804:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"815:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"800:3:26"},"nodeType":"YulFunctionCall","src":"800:18:26"},{"kind":"number","nodeType":"YulLiteral","src":"820:2:26","type":"","value":"39"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"793:6:26"},"nodeType":"YulFunctionCall","src":"793:30:26"},"nodeType":"YulExpressionStatement","src":"793:30:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"843:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"854:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"839:3:26"},"nodeType":"YulFunctionCall","src":"839:18:26"},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320696e697469","kind":"string","nodeType":"YulLiteral","src":"859:34:26","type":"","value":"Initializable: contract is initi"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"832:6:26"},"nodeType":"YulFunctionCall","src":"832:62:26"},"nodeType":"YulExpressionStatement","src":"832:62:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"914:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"925:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"910:3:26"},"nodeType":"YulFunctionCall","src":"910:18:26"},{"hexValue":"616c697a696e67","kind":"string","nodeType":"YulLiteral","src":"930:9:26","type":"","value":"alizing"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"903:6:26"},"nodeType":"YulFunctionCall","src":"903:37:26"},"nodeType":"YulExpressionStatement","src":"903:37:26"},{"nodeType":"YulAssignment","src":"949:27:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"961:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"972:3:26","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"957:3:26"},"nodeType":"YulFunctionCall","src":"957:19:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"949:4:26"}]}]},"name":"abi_encode_tuple_t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"730:9:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"744:4:26","type":""}],"src":"579:403:26"},{"body":{"nodeType":"YulBlock","src":"1084:87:26","statements":[{"nodeType":"YulAssignment","src":"1094:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1106:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"1117:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1102:3:26"},"nodeType":"YulFunctionCall","src":"1102:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1094:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1136:9:26"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1151:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"1159:4:26","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1147:3:26"},"nodeType":"YulFunctionCall","src":"1147:17:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1129:6:26"},"nodeType":"YulFunctionCall","src":"1129:36:26"},"nodeType":"YulExpressionStatement","src":"1129:36:26"}]},"name":"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1053:9:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1064:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1075:4:26","type":""}],"src":"987:184:26"}]},"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":26,"language":"Yul","name":"#utility.yul"}],"linkReferences":{},"object":"60e06040523480156200001157600080fd5b5060405162001eef38038062001eef83398101604081905262000034916200014a565b6001600160a01b03808416608052821660a052808383620000546200006c565b50506001600160a01b031660c0525062000194915050565b600054610100900460ff1615620000d95760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116146200012b576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b03811681146200014557600080fd5b919050565b6000806000606084860312156200016057600080fd5b6200016b846200012d565b92506200017b602085016200012d565b91506200018b604085016200012d565b90509250925092565b60805160a05160c051611d0f620001e060003960008181610ba301528181610e250152610f0d0152600081816103ea015261071d0152600081816103b0015261114c0152611d0f6000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806382dd6522116100d8578063c3da79781161008c578063e2a1bd5911610066578063e2a1bd59146103e5578063e72c652d1461040c578063f20cdc1a1461041f57600080fd5b8063c3da797814610398578063c45a0155146103ab578063d6852010146103d257600080fd5b80639cb5a963116100bd5780639cb5a9631461035d578063aa6b14bb14610370578063b6f78cc91461038357600080fd5b806382dd6522146103375780638de0a8ee1461034a57600080fd5b806346b7748b1161012f5780635e2411b2116101145780635e2411b2146102bb578063636fd8041461030a578063689ea3701461031d57600080fd5b806346b7748b14610286578063485cc955146102a657600080fd5b806331b25d1a1161016057806331b25d1a14610205578063343d37ff1461023a57806336badf631461027e57600080fd5b8063029c1cb71461017c57806316f0115b146101d8575b600080fd5b61018f61018a366004611412565b61045c565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909416845262ffffff92831660208501529116908201526060015b60405180910390f35b6101e06104c7565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101cf565b61022c7f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f581565b6040519081526020016101cf565b61024d6102483660046114bc565b6104d6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020016101cf565b61022c604b81565b61029961029436600461152b565b61050e565b6040516101cf91906115b2565b6102b96102b43660046115cc565b6105dc565b005b6102ce6102c936600461162b565b610879565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909316835262ffffff9091166020830152016101cf565b61024d6103183660046115cc565b6108b5565b61032561091a565b60405160ff90911681526020016101cf565b61024d6103453660046116ca565b610947565b61024d610358366004611715565b61097a565b61024d61036b366004611791565b6109b0565b61024d61037e36600461183f565b6109e9565b61038b610a1b565b6040516101cf9190611861565b6102b96103a63660046118e1565b610b76565b6101e07f000000000000000000000000000000000000000000000000000000000000000081565b61024d6103e03660046118fe565b610c8e565b6101e07f000000000000000000000000000000000000000000000000000000000000000081565b6102b961041a366004611966565b610cc7565b7fe4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a5473ffffffffffffffffffffffffffffffffffffffff166101e0565b6000806000610469610cda565b6000610473610d48565b509250505060006104908d610486610dd4565b8461ffff16610de8565b7f029c1cb7000000000000000000000000000000000000000000000000000000009e909d5060009c509a5050505050505050505050565b60006104d1610dd4565b905090565b60006104e0610cda565b507f343d37ff0000000000000000000000000000000000000000000000000000000098975050505050505050565b60607fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d4582815481106105425761054261199d565b906000526020600020018054610557906119cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610583906119cc565b80156105d05780601f106105a5576101008083540402835291602001916105d0565b820191906000526020600020905b8154815290600101906020018083116105b357829003601f168201915b50505050509050919050565b600054610100900460ff16158080156105fc5750600054600160ff909116105b806106165750303b158015610616575060005460ff166001145b6106a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561070557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610774576040517f504d572800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061078084610ee2565b91509150610806826107b37fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d445460ff1690565b7fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d4480549190921760ff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909116179055565b61080f81610fed565b5050801561087457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b600080610884610cda565b507f5e2411b20000000000000000000000000000000000000000000000000000000098600098509650505050505050565b60006108bf610cda565b6108f26108ed7fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d445460ff1690565b61104c565b507f636fd8040000000000000000000000000000000000000000000000000000000092915050565b60006104d17fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d445460ff1690565b6000610951610cda565b507f82dd6522000000000000000000000000000000000000000000000000000000009392505050565b6000610984610cda565b507f8de0a8ee000000000000000000000000000000000000000000000000000000009695505050505050565b60006109ba610cda565b507f9cb5a963000000000000000000000000000000000000000000000000000000009998505050505050505050565b60006109f3610cda565b507faa6b14bb0000000000000000000000000000000000000000000000000000000092915050565b7fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d4580546060919067ffffffffffffffff811115610a5a57610a5a611a1f565b604051908082528060200260200182016040528015610a8d57816020015b6060815260200190600190039081610a785790505b50915060005b8154811015610b7157818181548110610aae57610aae61199d565b906000526020600020018054610ac3906119cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610aef906119cc565b8015610b3c5780601f10610b1157610100808354040283529160200191610b3c565b820191906000526020600020905b815481529060010190602001808311610b1f57829003601f168201915b5050505050838281518110610b5357610b5361199d565b60200260200101819052508080610b6990611a4e565b915050610a93565b505090565b610b7e6110f8565b60405173ffffffffffffffffffffffffffffffffffffffff82166024820152610c41907f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc3da797800000000000000000000000000000000000000000000000000000000179052611232565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f3b1f0d57f07483280d598ef402c5b2b96be1a42e65b21992bdafea3476b653279060200160405180910390a150565b6000610c98610cda565b507fd6852010000000000000000000000000000000000000000000000000000000009998505050505050505050565b610ccf6110f8565b6108748382846112ed565b610ce2610dd4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d46576040517f4b60273500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600080600080610d56610dd4565b73ffffffffffffffffffffffffffffffffffffffff1663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015610da0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc49190611abf565b5093989297509095509350915050565b6000806040516020604b82303c5192915050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015262ffffff821660648201526000908190610ec3907f000000000000000000000000000000000000000000000000000000000000000090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f1018860c00000000000000000000000000000000000000000000000000000000179052611232565b905080806020019051810190610ed99190611b44565b95945050505050565b60405173ffffffffffffffffffffffffffffffffffffffff82166024820152600090606090610fab907f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9dd77e700000000000000000000000000000000000000000000000000000000179052611232565b5060016040518060400160405280601381526020017f46656520446973636f756e7420506c7567696e0000000000000000000000000081525091509150915091565b7fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d4580546001810182556000919091527f52af238132bb2f2e174c4865ec1da98d45b5a48960d481008ee61ea7e31b4616016110488282611baf565b5050565b6000611056610d48565b93505050508160ff168160ff161461104857611070610dd4565b6040517fbca57f8100000000000000000000000000000000000000000000000000000000815260ff8416600482015273ffffffffffffffffffffffffffffffffffffffff919091169063bca57f8190602401600060405180830381600087803b1580156110dc57600080fd5b505af11580156110f0573d6000803e3d6000fd5b505050505050565b6040517fe8ae2b690000000000000000000000000000000000000000000000000000000081527f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f560048201523360248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e8ae2b6990604401602060405180830381865afa1580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190611cc9565b610d46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420617574686f72697a6564000000000000000000000000000000000000604482015260640161069e565b606060008373ffffffffffffffffffffffffffffffffffffffff168360405161125b9190611ce6565b600060405180830381855af49150503d8060008114611296576040519150601f19603f3d011682016040523d82523d6000602084013e61129b565b606091505b5092509050806112e6578151156112b457815182602001fd5b6040517f7047373200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5092915050565b60006040517fa9059cbb0000000000000000000000000000000000000000000000000000000060005273ffffffffffffffffffffffffffffffffffffffff841660045282602452602060006044600080895af19150813d1560203d146001600051141617169150806040525080611390576040517fe465903e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b73ffffffffffffffffffffffffffffffffffffffff811681146113b857600080fd5b50565b80151581146113b857600080fd5b60008083601f8401126113db57600080fd5b50813567ffffffffffffffff8111156113f357600080fd5b60208301915083602082850101111561140b57600080fd5b9250929050565b60008060008060008060008060e0898b03121561142e57600080fd5b883561143981611396565b9750602089013561144981611396565b96506040890135611459816113bb565b955060608901359450608089013561147081611396565b935060a0890135611480816113bb565b925060c089013567ffffffffffffffff81111561149c57600080fd5b6114a88b828c016113c9565b999c989b5096995094979396929594505050565b60008060008060008060008060e0898b0312156114d857600080fd5b88356114e381611396565b975060208901356114f381611396565b965060408901359550606089013594506080890135935060a0890135925060c089013567ffffffffffffffff81111561149c57600080fd5b60006020828403121561153d57600080fd5b5035919050565b60005b8381101561155f578181015183820152602001611547565b50506000910152565b60008151808452611580816020860160208601611544565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006115c56020830184611568565b9392505050565b600080604083850312156115df57600080fd5b82356115ea81611396565b915060208301356115fa81611396565b809150509250929050565b8060020b81146113b857600080fd5b8035600f81900b811461162657600080fd5b919050565b600080600080600080600060c0888a03121561164657600080fd5b873561165181611396565b9650602088013561166181611396565b9550604088013561167181611605565b9450606088013561168181611605565b935061168f60808901611614565b925060a088013567ffffffffffffffff8111156116ab57600080fd5b6116b78a828b016113c9565b989b979a50959850939692959293505050565b6000806000606084860312156116df57600080fd5b83356116ea81611396565b925060208401356116fa81611396565b9150604084013561170a81611605565b809150509250925092565b60008060008060008060a0878903121561172e57600080fd5b863561173981611396565b9550602087013561174981611396565b94506040870135935060608701359250608087013567ffffffffffffffff81111561177357600080fd5b61177f89828a016113c9565b979a9699509497509295939492505050565b60008060008060008060008060006101008a8c0312156117b057600080fd5b89356117bb81611396565b985060208a01356117cb81611396565b975060408a01356117db816113bb565b965060608a0135955060808a01356117f281611396565b945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff81111561181c57600080fd5b6118288c828d016113c9565b915080935050809150509295985092959850929598565b6000806040838503121561185257600080fd5b50508035926020909101359150565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156118d4577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08886030184526118c2858351611568565b94509285019290850190600101611888565b5092979650505050505050565b6000602082840312156118f357600080fd5b81356115c581611396565b60008060008060008060008060006101008a8c03121561191d57600080fd5b893561192881611396565b985060208a013561193881611396565b975060408a013561194881611605565b965060608a013561195881611605565b95506117f260808b01611614565b60008060006060848603121561197b57600080fd5b833561198681611396565b925060208401359150604084013561170a81611396565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600181811c908216806119e057607f821691505b602082108103611a19577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611aa6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b805161ffff8116811461162657600080fd5b60008060008060008060c08789031215611ad857600080fd5b8651611ae381611396565b6020880151909650611af481611605565b9450611b0260408801611aad565b9350606087015160ff81168114611b1857600080fd5b9250611b2660808801611aad565b915060a0870151611b36816113bb565b809150509295509295509295565b600060208284031215611b5657600080fd5b815162ffffff811681146115c557600080fd5b601f82111561087457600081815260208120601f850160051c81016020861015611b905750805b601f850160051c820191505b818110156110f057828155600101611b9c565b815167ffffffffffffffff811115611bc957611bc9611a1f565b611bdd81611bd784546119cc565b84611b69565b602080601f831160018114611c305760008415611bfa5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556110f0565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015611c7d57888601518255948401946001909101908401611c5e565b5085821015611cb957878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611cdb57600080fd5b81516115c5816113bb565b60008251611cf8818460208701611544565b919091019291505056fea164736f6c6343000814000a","opcodes":"PUSH1 0xE0 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x1EEF CODESIZE SUB DUP1 PUSH3 0x1EEF 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 0x1D0F PUSH3 0x1E0 PUSH1 0x0 CODECOPY PUSH1 0x0 DUP2 DUP2 PUSH2 0xBA3 ADD MSTORE DUP2 DUP2 PUSH2 0xE25 ADD MSTORE PUSH2 0xF0D ADD MSTORE PUSH1 0x0 DUP2 DUP2 PUSH2 0x3EA ADD MSTORE PUSH2 0x71D ADD MSTORE PUSH1 0x0 DUP2 DUP2 PUSH2 0x3B0 ADD MSTORE PUSH2 0x114C ADD MSTORE PUSH2 0x1D0F 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 0x177 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x82DD6522 GT PUSH2 0xD8 JUMPI DUP1 PUSH4 0xC3DA7978 GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xE2A1BD59 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xE2A1BD59 EQ PUSH2 0x3E5 JUMPI DUP1 PUSH4 0xE72C652D EQ PUSH2 0x40C JUMPI DUP1 PUSH4 0xF20CDC1A EQ PUSH2 0x41F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC3DA7978 EQ PUSH2 0x398 JUMPI DUP1 PUSH4 0xC45A0155 EQ PUSH2 0x3AB JUMPI DUP1 PUSH4 0xD6852010 EQ PUSH2 0x3D2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x9CB5A963 GT PUSH2 0xBD JUMPI DUP1 PUSH4 0x9CB5A963 EQ PUSH2 0x35D JUMPI DUP1 PUSH4 0xAA6B14BB EQ PUSH2 0x370 JUMPI DUP1 PUSH4 0xB6F78CC9 EQ PUSH2 0x383 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x82DD6522 EQ PUSH2 0x337 JUMPI DUP1 PUSH4 0x8DE0A8EE EQ PUSH2 0x34A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x46B7748B GT PUSH2 0x12F JUMPI DUP1 PUSH4 0x5E2411B2 GT PUSH2 0x114 JUMPI DUP1 PUSH4 0x5E2411B2 EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0x636FD804 EQ PUSH2 0x30A JUMPI DUP1 PUSH4 0x689EA370 EQ PUSH2 0x31D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x46B7748B EQ PUSH2 0x286 JUMPI DUP1 PUSH4 0x485CC955 EQ PUSH2 0x2A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x31B25D1A GT PUSH2 0x160 JUMPI DUP1 PUSH4 0x31B25D1A EQ PUSH2 0x205 JUMPI DUP1 PUSH4 0x343D37FF EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0x36BADF63 EQ PUSH2 0x27E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29C1CB7 EQ PUSH2 0x17C JUMPI DUP1 PUSH4 0x16F0115B EQ PUSH2 0x1D8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18F PUSH2 0x18A CALLDATASIZE PUSH1 0x4 PUSH2 0x1412 JUMP JUMPDEST PUSH2 0x45C 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 0x1E0 PUSH2 0x4C7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CF JUMP JUMPDEST PUSH2 0x22C PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CF JUMP JUMPDEST PUSH2 0x24D PUSH2 0x248 CALLDATASIZE PUSH1 0x4 PUSH2 0x14BC JUMP JUMPDEST PUSH2 0x4D6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CF JUMP JUMPDEST PUSH2 0x22C PUSH1 0x4B DUP2 JUMP JUMPDEST PUSH2 0x299 PUSH2 0x294 CALLDATASIZE PUSH1 0x4 PUSH2 0x152B JUMP JUMPDEST PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CF SWAP2 SWAP1 PUSH2 0x15B2 JUMP JUMPDEST PUSH2 0x2B9 PUSH2 0x2B4 CALLDATASIZE PUSH1 0x4 PUSH2 0x15CC JUMP JUMPDEST PUSH2 0x5DC JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2CE PUSH2 0x2C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x162B JUMP JUMPDEST PUSH2 0x879 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 0x1CF JUMP JUMPDEST PUSH2 0x24D PUSH2 0x318 CALLDATASIZE PUSH1 0x4 PUSH2 0x15CC JUMP JUMPDEST PUSH2 0x8B5 JUMP JUMPDEST PUSH2 0x325 PUSH2 0x91A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CF JUMP JUMPDEST PUSH2 0x24D PUSH2 0x345 CALLDATASIZE PUSH1 0x4 PUSH2 0x16CA JUMP JUMPDEST PUSH2 0x947 JUMP JUMPDEST PUSH2 0x24D PUSH2 0x358 CALLDATASIZE PUSH1 0x4 PUSH2 0x1715 JUMP JUMPDEST PUSH2 0x97A JUMP JUMPDEST PUSH2 0x24D PUSH2 0x36B CALLDATASIZE PUSH1 0x4 PUSH2 0x1791 JUMP JUMPDEST PUSH2 0x9B0 JUMP JUMPDEST PUSH2 0x24D PUSH2 0x37E CALLDATASIZE PUSH1 0x4 PUSH2 0x183F JUMP JUMPDEST PUSH2 0x9E9 JUMP JUMPDEST PUSH2 0x38B PUSH2 0xA1B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CF SWAP2 SWAP1 PUSH2 0x1861 JUMP JUMPDEST PUSH2 0x2B9 PUSH2 0x3A6 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E1 JUMP JUMPDEST PUSH2 0xB76 JUMP JUMPDEST PUSH2 0x1E0 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x24D PUSH2 0x3E0 CALLDATASIZE PUSH1 0x4 PUSH2 0x18FE JUMP JUMPDEST PUSH2 0xC8E JUMP JUMPDEST PUSH2 0x1E0 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x2B9 PUSH2 0x41A CALLDATASIZE PUSH1 0x4 PUSH2 0x1966 JUMP JUMPDEST PUSH2 0xCC7 JUMP JUMPDEST PUSH32 0xE4C4DBEE56C110A8CEF43909D8E93740944B39C20CF0E5FA421F1DE331E3273A SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1E0 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x469 PUSH2 0xCDA JUMP JUMPDEST PUSH1 0x0 PUSH2 0x473 PUSH2 0xD48 JUMP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x0 PUSH2 0x490 DUP14 PUSH2 0x486 PUSH2 0xDD4 JUMP JUMPDEST DUP5 PUSH2 0xFFFF AND PUSH2 0xDE8 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 0x4D1 PUSH2 0xDD4 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4E0 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x343D37FF00000000000000000000000000000000000000000000000000000000 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D45 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x542 JUMPI PUSH2 0x542 PUSH2 0x199D JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP1 SLOAD PUSH2 0x557 SWAP1 PUSH2 0x19CC 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 0x583 SWAP1 PUSH2 0x19CC JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5D0 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x5A5 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5D0 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 0x5B3 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND ISZERO DUP1 DUP1 ISZERO PUSH2 0x5FC JUMPI POP PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xFF SWAP1 SWAP2 AND LT JUMPDEST DUP1 PUSH2 0x616 JUMPI POP ADDRESS EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x616 JUMPI POP PUSH1 0x0 SLOAD PUSH1 0xFF AND PUSH1 0x1 EQ JUMPDEST PUSH2 0x6A7 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 0x705 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00FF AND PUSH2 0x100 OR SWAP1 SSTORE JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND EQ PUSH2 0x774 JUMPI PUSH1 0x40 MLOAD PUSH32 0x504D572800000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x780 DUP5 PUSH2 0xEE2 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x806 DUP3 PUSH2 0x7B3 PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D44 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D44 DUP1 SLOAD SWAP2 SWAP1 SWAP3 OR PUSH1 0xFF AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 SWAP1 SWAP2 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x80F DUP2 PUSH2 0xFED JUMP JUMPDEST POP POP DUP1 ISZERO PUSH2 0x874 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 0x884 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x5E2411B200000000000000000000000000000000000000000000000000000000 SWAP9 PUSH1 0x0 SWAP9 POP SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8BF PUSH2 0xCDA JUMP JUMPDEST PUSH2 0x8F2 PUSH2 0x8ED PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D44 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH2 0x104C JUMP JUMPDEST POP PUSH32 0x636FD80400000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4D1 PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D44 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x951 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x82DD652200000000000000000000000000000000000000000000000000000000 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x984 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x8DE0A8EE00000000000000000000000000000000000000000000000000000000 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9BA PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x9CB5A96300000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9F3 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0xAA6B14BB00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D45 DUP1 SLOAD PUSH1 0x60 SWAP2 SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA5A JUMPI PUSH2 0xA5A PUSH2 0x1A1F JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xA8D JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0xA78 JUMPI SWAP1 POP JUMPDEST POP SWAP2 POP PUSH1 0x0 JUMPDEST DUP2 SLOAD DUP2 LT ISZERO PUSH2 0xB71 JUMPI DUP2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0xAAE JUMPI PUSH2 0xAAE PUSH2 0x199D JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP1 SLOAD PUSH2 0xAC3 SWAP1 PUSH2 0x19CC 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 0xAEF SWAP1 PUSH2 0x19CC JUMP JUMPDEST DUP1 ISZERO PUSH2 0xB3C JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xB11 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xB3C 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 0xB1F JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xB53 JUMPI PUSH2 0xB53 PUSH2 0x199D JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP DUP1 DUP1 PUSH2 0xB69 SWAP1 PUSH2 0x1A4E JUMP JUMPDEST SWAP2 POP POP PUSH2 0xA93 JUMP JUMPDEST POP POP SWAP1 JUMP JUMPDEST PUSH2 0xB7E PUSH2 0x10F8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH2 0xC41 SWAP1 PUSH32 0x0 SWAP1 PUSH1 0x44 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xC3DA797800000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE PUSH2 0x1232 JUMP JUMPDEST POP 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 0xC98 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0xD685201000000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0xCCF PUSH2 0x10F8 JUMP JUMPDEST PUSH2 0x874 DUP4 DUP3 DUP5 PUSH2 0x12ED JUMP JUMPDEST PUSH2 0xCE2 PUSH2 0xDD4 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xD46 JUMPI PUSH1 0x40 MLOAD PUSH32 0x4B60273500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH2 0xD56 PUSH2 0xDD4 JUMP JUMPDEST 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 0xDA0 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 0xDC4 SWAP2 SWAP1 PUSH2 0x1ABF JUMP JUMPDEST POP SWAP4 SWAP9 SWAP3 SWAP8 POP SWAP1 SWAP6 POP SWAP4 POP SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 PUSH1 0x4B DUP3 ADDRESS EXTCODECOPY MLOAD SWAP3 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 PUSH2 0xEC3 SWAP1 PUSH32 0x0 SWAP1 PUSH1 0x84 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x1018860C00000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE PUSH2 0x1232 JUMP JUMPDEST SWAP1 POP DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0xED9 SWAP2 SWAP1 PUSH2 0x1B44 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x60 SWAP1 PUSH2 0xFAB SWAP1 PUSH32 0x0 SWAP1 PUSH1 0x44 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xA9DD77E700000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE PUSH2 0x1232 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x13 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x46656520446973636F756E7420506C7567696E00000000000000000000000000 DUP2 MSTORE POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 JUMP JUMPDEST PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D45 DUP1 SLOAD PUSH1 0x1 DUP2 ADD DUP3 SSTORE PUSH1 0x0 SWAP2 SWAP1 SWAP2 MSTORE PUSH32 0x52AF238132BB2F2E174C4865EC1DA98D45B5A48960D481008EE61EA7E31B4616 ADD PUSH2 0x1048 DUP3 DUP3 PUSH2 0x1BAF JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1056 PUSH2 0xD48 JUMP JUMPDEST SWAP4 POP POP POP POP DUP2 PUSH1 0xFF AND DUP2 PUSH1 0xFF AND EQ PUSH2 0x1048 JUMPI PUSH2 0x1070 PUSH2 0xDD4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xBCA57F8100000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0xFF DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 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 0x10DC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x10F0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP 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 0x11A8 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 0x11CC SWAP2 SWAP1 PUSH2 0x1CC9 JUMP JUMPDEST PUSH2 0xD46 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 0x69E JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0x125B SWAP2 SWAP1 PUSH2 0x1CE6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1296 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 0x129B JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP3 POP SWAP1 POP DUP1 PUSH2 0x12E6 JUMPI DUP2 MLOAD ISZERO PUSH2 0x12B4 JUMPI DUP2 MLOAD DUP3 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x7047373200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP SWAP3 SWAP2 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 0x1390 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 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x13B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x13B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x13DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x13F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x140B 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 0x142E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0x1439 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0x1449 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD PUSH2 0x1459 DUP2 PUSH2 0x13BB JUMP JUMPDEST SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH2 0x1470 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0x1480 DUP2 PUSH2 0x13BB JUMP JUMPDEST SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x149C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x14A8 DUP12 DUP3 DUP13 ADD PUSH2 0x13C9 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 0x14D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0x14E3 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0x14F3 DUP2 PUSH2 0x1396 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 0x149C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x153D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x155F JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1547 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1580 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1544 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 0x15C5 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1568 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x15DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x15EA DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x15FA DUP2 PUSH2 0x1396 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 PUSH1 0x2 SIGNEXTEND DUP2 EQ PUSH2 0x13B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH1 0xF DUP2 SWAP1 SIGNEXTEND DUP2 EQ PUSH2 0x1626 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 0x1646 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 CALLDATALOAD PUSH2 0x1651 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP7 POP PUSH1 0x20 DUP9 ADD CALLDATALOAD PUSH2 0x1661 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP6 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD PUSH2 0x1671 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP5 POP PUSH1 0x60 DUP9 ADD CALLDATALOAD PUSH2 0x1681 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP4 POP PUSH2 0x168F PUSH1 0x80 DUP10 ADD PUSH2 0x1614 JUMP JUMPDEST SWAP3 POP PUSH1 0xA0 DUP9 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x16AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x16B7 DUP11 DUP3 DUP12 ADD PUSH2 0x13C9 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 0x16DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x16EA DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x16FA DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x170A DUP2 PUSH2 0x1605 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 0x172E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 CALLDATALOAD PUSH2 0x1739 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH2 0x1749 DUP2 PUSH2 0x1396 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 0x1773 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x177F DUP10 DUP3 DUP11 ADD PUSH2 0x13C9 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 0x17B0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x17BB DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x17CB DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x17DB DUP2 PUSH2 0x13BB JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD SWAP6 POP PUSH1 0x80 DUP11 ADD CALLDATALOAD PUSH2 0x17F2 DUP2 PUSH2 0x1396 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 0x181C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1828 DUP13 DUP3 DUP14 ADD PUSH2 0x13C9 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 0x1852 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 0x18D4 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 DUP9 DUP7 SUB ADD DUP5 MSTORE PUSH2 0x18C2 DUP6 DUP4 MLOAD PUSH2 0x1568 JUMP JUMPDEST SWAP5 POP SWAP3 DUP6 ADD SWAP3 SWAP1 DUP6 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1888 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 0x18F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x15C5 DUP2 PUSH2 0x1396 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x191D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x1928 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x1938 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x1948 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD PUSH2 0x1958 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP6 POP PUSH2 0x17F2 PUSH1 0x80 DUP12 ADD PUSH2 0x1614 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x197B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x1986 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x170A DUP2 PUSH2 0x1396 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x19E0 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x1A19 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 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x1AA6 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 0x1626 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xC0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x1AD8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 MLOAD PUSH2 0x1AE3 DUP2 PUSH2 0x1396 JUMP JUMPDEST PUSH1 0x20 DUP9 ADD MLOAD SWAP1 SWAP7 POP PUSH2 0x1AF4 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP5 POP PUSH2 0x1B02 PUSH1 0x40 DUP9 ADD PUSH2 0x1AAD JUMP JUMPDEST SWAP4 POP PUSH1 0x60 DUP8 ADD MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x1B18 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP PUSH2 0x1B26 PUSH1 0x80 DUP9 ADD PUSH2 0x1AAD JUMP JUMPDEST SWAP2 POP PUSH1 0xA0 DUP8 ADD MLOAD PUSH2 0x1B36 DUP2 PUSH2 0x13BB JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 POP SWAP3 SWAP6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1B56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0x15C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x874 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 0x1B90 JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x10F0 JUMPI DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x1B9C JUMP JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1BC9 JUMPI PUSH2 0x1BC9 PUSH2 0x1A1F JUMP JUMPDEST PUSH2 0x1BDD DUP2 PUSH2 0x1BD7 DUP5 SLOAD PUSH2 0x19CC JUMP JUMPDEST DUP5 PUSH2 0x1B69 JUMP JUMPDEST PUSH1 0x20 DUP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x1C30 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x1BFA 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 0x10F0 JUMP JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 AND SWAP2 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x1C7D JUMPI DUP9 DUP7 ADD MLOAD DUP3 SSTORE SWAP5 DUP5 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 DUP5 ADD PUSH2 0x1C5E JUMP JUMPDEST POP DUP6 DUP3 LT ISZERO PUSH2 0x1CB9 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 PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1CDB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x15C5 DUP2 PUSH2 0x13BB JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1CF8 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1544 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"518:2095:25:-:0;;;895:213;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2115:18:1;;;;;2140:30;;;;1078:26:25;1031:8;1041:14;2177:22:1;:20;:22::i;:::-;-1:-1:-1;;;;;;;1083:54:21;;;-1:-1:-1;518:2095:25;;-1:-1:-1;;518:2095:25;5939:280:19;6007:13;;;;;;;6006:14;5998:66;;;;-1:-1:-1;;;5998:66:19;;781:2:26;5998:66:19;;;763:21:26;820:2;800:18;;;793:30;859:34;839:18;;;832:62;-1:-1:-1;;;910:18:26;;;903:37;957:19;;5998:66:19;;;;;;;;6078:12;;6094:15;6078:12;;;:31;6074:139;;6125:12;:30;;-1:-1:-1;;6125:30:19;6140:15;6125:30;;;;;;6174:28;;1129:36:26;;;6174:28:19;;1117:2:26;1102:18;6174:28:19;;;;;;;6074:139;5939:280::o;14:177:26:-;93:13;;-1:-1:-1;;;;;135:31:26;;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:2095:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@ALGEBRA_BASE_PLUGIN_MANAGER_78":{"entryPoint":null,"id":78,"parameterSlots":0,"returnSlots":0},"@POOL_ADDRESS_OFFSET_72":{"entryPoint":null,"id":72,"parameterSlots":0,"returnSlots":0},"@_abstractPluginStorage_574":{"entryPoint":null,"id":574,"parameterSlots":0,"returnSlots":1},"@_activeModules_622":{"entryPoint":null,"id":622,"parameterSlots":0,"returnSlots":1},"@_appendActiveModule_609":{"entryPoint":4077,"id":609,"parameterSlots":1,"returnSlots":0},"@_applyFeeDiscount_2550":{"entryPoint":3560,"id":2550,"parameterSlots":3,"returnSlots":1},"@_authorize_2816":{"entryPoint":4344,"id":2816,"parameterSlots":0,"returnSlots":0},"@_checkIfFromPool_181":{"entryPoint":3290,"id":181,"parameterSlots":0,"returnSlots":0},"@_delegateCall_41":{"entryPoint":4658,"id":41,"parameterSlots":2,"returnSlots":1},"@_getDefaultPluginConfig_584":{"entryPoint":null,"id":584,"parameterSlots":0,"returnSlots":1},"@_getPoolState_269":{"entryPoint":3400,"id":269,"parameterSlots":0,"returnSlots":4},"@_getPool_168":{"entryPoint":3540,"id":168,"parameterSlots":0,"returnSlots":1},"@_initializeFeeDiscount_2514":{"entryPoint":3810,"id":2514,"parameterSlots":1,"returnSlots":2},"@_setDefaultPluginConfig_596":{"entryPoint":null,"id":596,"parameterSlots":1,"returnSlots":0},"@_updatePluginConfigInPool_563":{"entryPoint":4172,"id":563,"parameterSlots":1,"returnSlots":0},"@activeModules_147":{"entryPoint":1294,"id":147,"parameterSlots":1,"returnSlots":1},"@afterFlash_539":{"entryPoint":1238,"id":539,"parameterSlots":8,"returnSlots":1},"@afterInitialize_368":{"entryPoint":2375,"id":368,"parameterSlots":3,"returnSlots":1},"@afterModifyPosition_426":{"entryPoint":3214,"id":426,"parameterSlots":9,"returnSlots":1},"@afterSwap_489":{"entryPoint":2480,"id":489,"parameterSlots":9,"returnSlots":1},"@beforeFlash_512":{"entryPoint":2426,"id":512,"parameterSlots":6,"returnSlots":1},"@beforeInitialize_2748":{"entryPoint":2229,"id":2748,"parameterSlots":2,"returnSlots":1},"@beforeModifyPosition_397":{"entryPoint":2169,"id":397,"parameterSlots":7,"returnSlots":2},"@beforeSwap_2796":{"entryPoint":1116,"id":2796,"parameterSlots":8,"returnSlots":3},"@collectPluginFee_314":{"entryPoint":3271,"id":314,"parameterSlots":3,"returnSlots":0},"@defaultPluginConfig_133":{"entryPoint":2330,"id":133,"parameterSlots":0,"returnSlots":1},"@factory_81":{"entryPoint":null,"id":81,"parameterSlots":0,"returnSlots":0},"@feeDiscountRegistry_2589":{"entryPoint":null,"id":2589,"parameterSlots":0,"returnSlots":1},"@getActiveModuleNames_244":{"entryPoint":2587,"id":244,"parameterSlots":0,"returnSlots":1},"@handlePluginFee_332":{"entryPoint":2537,"id":332,"parameterSlots":2,"returnSlots":1},"@initialize_2726":{"entryPoint":1500,"id":2726,"parameterSlots":2,"returnSlots":0},"@isContract_2138":{"entryPoint":null,"id":2138,"parameterSlots":1,"returnSlots":1},"@layout_2661":{"entryPoint":null,"id":2661,"parameterSlots":0,"returnSlots":1},"@layout_688":{"entryPoint":null,"id":688,"parameterSlots":0,"returnSlots":1},"@pluginFactory_84":{"entryPoint":null,"id":84,"parameterSlots":0,"returnSlots":0},"@pool_291":{"entryPoint":1223,"id":291,"parameterSlots":0,"returnSlots":1},"@safeTransfer_1950":{"entryPoint":4845,"id":1950,"parameterSlots":3,"returnSlots":0},"@setFeeDiscountRegistry_2576":{"entryPoint":2934,"id":2576,"parameterSlots":1,"returnSlots":0},"abi_decode_bytes_calldata":{"entryPoint":5065,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_int128":{"entryPoint":5652,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":6369,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_address":{"entryPoint":5580,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_boolt_bytes_calldata_ptr":{"entryPoint":5138,"id":null,"parameterSlots":2,"returnSlots":8},"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_int256t_int256t_bytes_calldata_ptr":{"entryPoint":6033,"id":null,"parameterSlots":2,"returnSlots":9},"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_bytes_calldata_ptr":{"entryPoint":5675,"id":null,"parameterSlots":2,"returnSlots":7},"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_uint256t_uint256t_bytes_calldata_ptr":{"entryPoint":6398,"id":null,"parameterSlots":2,"returnSlots":9},"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_calldata_ptr":{"entryPoint":5909,"id":null,"parameterSlots":2,"returnSlots":6},"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint256t_uint256t_bytes_calldata_ptr":{"entryPoint":5308,"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":5834,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_uint256t_address":{"entryPoint":6502,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_bool_fromMemory":{"entryPoint":7369,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint160t_int24t_uint16t_uint8t_uint16t_bool_fromMemory":{"entryPoint":6847,"id":null,"parameterSlots":2,"returnSlots":6},"abi_decode_tuple_t_uint24_fromMemory":{"entryPoint":6980,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256":{"entryPoint":5419,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256t_uint256":{"entryPoint":6207,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_uint16_fromMemory":{"entryPoint":6829,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_string":{"entryPoint":5480,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed":{"entryPoint":7398,"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":6241,"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":5554,"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_fac3bac318c0d00994f57b0f2f4c643c313072b71db2302bf4b900309cc50b36__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"array_dataslot_string_storage":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"clean_up_bytearray_end_slots_string_storage":{"entryPoint":7017,"id":null,"parameterSlots":3,"returnSlots":0},"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage":{"entryPoint":7087,"id":null,"parameterSlots":2,"returnSlots":0},"copy_memory_to_memory_with_cleanup":{"entryPoint":5444,"id":null,"parameterSlots":3,"returnSlots":0},"extract_byte_array_length":{"entryPoint":6604,"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":6734,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x32":{"entryPoint":6557,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":6687,"id":null,"parameterSlots":0,"returnSlots":0},"validator_revert_address":{"entryPoint":5014,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_bool":{"entryPoint":5051,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_int24":{"entryPoint":5637,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:20314:26","statements":[{"nodeType":"YulBlock","src":"6:3:26","statements":[]},{"body":{"nodeType":"YulBlock","src":"59:109:26","statements":[{"body":{"nodeType":"YulBlock","src":"146:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"155:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"158:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"148:6:26"},"nodeType":"YulFunctionCall","src":"148:12:26"},"nodeType":"YulExpressionStatement","src":"148:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"82:5:26"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"93:5:26"},{"kind":"number","nodeType":"YulLiteral","src":"100:42:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"89:3:26"},"nodeType":"YulFunctionCall","src":"89:54:26"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"79:2:26"},"nodeType":"YulFunctionCall","src":"79:65:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"72:6:26"},"nodeType":"YulFunctionCall","src":"72:73:26"},"nodeType":"YulIf","src":"69:93:26"}]},"name":"validator_revert_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"48:5:26","type":""}],"src":"14:154:26"},{"body":{"nodeType":"YulBlock","src":"215:76:26","statements":[{"body":{"nodeType":"YulBlock","src":"269:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"278:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"281:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"271:6:26"},"nodeType":"YulFunctionCall","src":"271:12:26"},"nodeType":"YulExpressionStatement","src":"271:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"238:5:26"},{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"259:5:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"252:6:26"},"nodeType":"YulFunctionCall","src":"252:13:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"245:6:26"},"nodeType":"YulFunctionCall","src":"245:21:26"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"235:2:26"},"nodeType":"YulFunctionCall","src":"235:32:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"228:6:26"},"nodeType":"YulFunctionCall","src":"228:40:26"},"nodeType":"YulIf","src":"225:60:26"}]},"name":"validator_revert_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"204:5:26","type":""}],"src":"173:118:26"},{"body":{"nodeType":"YulBlock","src":"368:275:26","statements":[{"body":{"nodeType":"YulBlock","src":"417:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"426:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"429:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"419:6:26"},"nodeType":"YulFunctionCall","src":"419:12:26"},"nodeType":"YulExpressionStatement","src":"419:12:26"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"396:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"404:4:26","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"392:3:26"},"nodeType":"YulFunctionCall","src":"392:17:26"},{"name":"end","nodeType":"YulIdentifier","src":"411:3:26"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"388:3:26"},"nodeType":"YulFunctionCall","src":"388:27:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"381:6:26"},"nodeType":"YulFunctionCall","src":"381:35:26"},"nodeType":"YulIf","src":"378:55:26"},{"nodeType":"YulAssignment","src":"442:30:26","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"465:6:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"452:12:26"},"nodeType":"YulFunctionCall","src":"452:20:26"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"442:6:26"}]},{"body":{"nodeType":"YulBlock","src":"515:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"524:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"527:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"517:6:26"},"nodeType":"YulFunctionCall","src":"517:12:26"},"nodeType":"YulExpressionStatement","src":"517:12:26"}]},"condition":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"487:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"495:18:26","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"484:2:26"},"nodeType":"YulFunctionCall","src":"484:30:26"},"nodeType":"YulIf","src":"481:50:26"},{"nodeType":"YulAssignment","src":"540:29:26","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"556:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"564:4:26","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"552:3:26"},"nodeType":"YulFunctionCall","src":"552:17:26"},"variableNames":[{"name":"arrayPos","nodeType":"YulIdentifier","src":"540:8:26"}]},{"body":{"nodeType":"YulBlock","src":"621:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"630:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"633:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"623:6:26"},"nodeType":"YulFunctionCall","src":"623:12:26"},"nodeType":"YulExpressionStatement","src":"623:12:26"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"592:6:26"},{"name":"length","nodeType":"YulIdentifier","src":"600:6:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"588:3:26"},"nodeType":"YulFunctionCall","src":"588:19:26"},{"kind":"number","nodeType":"YulLiteral","src":"609:4:26","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"584:3:26"},"nodeType":"YulFunctionCall","src":"584:30:26"},{"name":"end","nodeType":"YulIdentifier","src":"616:3:26"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"581:2:26"},"nodeType":"YulFunctionCall","src":"581:39:26"},"nodeType":"YulIf","src":"578:59:26"}]},"name":"abi_decode_bytes_calldata","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"331:6:26","type":""},{"name":"end","nodeType":"YulTypedName","src":"339:3:26","type":""}],"returnVariables":[{"name":"arrayPos","nodeType":"YulTypedName","src":"347:8:26","type":""},{"name":"length","nodeType":"YulTypedName","src":"357:6:26","type":""}],"src":"296:347:26"},{"body":{"nodeType":"YulBlock","src":"832:983:26","statements":[{"body":{"nodeType":"YulBlock","src":"879:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"888:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"891:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"881:6:26"},"nodeType":"YulFunctionCall","src":"881:12:26"},"nodeType":"YulExpressionStatement","src":"881:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"853:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"862:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"849:3:26"},"nodeType":"YulFunctionCall","src":"849:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"874:3:26","type":"","value":"224"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"845:3:26"},"nodeType":"YulFunctionCall","src":"845:33:26"},"nodeType":"YulIf","src":"842:53:26"},{"nodeType":"YulVariableDeclaration","src":"904:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"930:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"917:12:26"},"nodeType":"YulFunctionCall","src":"917:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"908:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"974:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"949:24:26"},"nodeType":"YulFunctionCall","src":"949:31:26"},"nodeType":"YulExpressionStatement","src":"949:31:26"},{"nodeType":"YulAssignment","src":"989:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"999:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"989:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"1013:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1045:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"1056:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1041:3:26"},"nodeType":"YulFunctionCall","src":"1041:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1028:12:26"},"nodeType":"YulFunctionCall","src":"1028:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"1017:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"1094:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"1069:24:26"},"nodeType":"YulFunctionCall","src":"1069:33:26"},"nodeType":"YulExpressionStatement","src":"1069:33:26"},{"nodeType":"YulAssignment","src":"1111:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"1121:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"1111:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"1137:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1169:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"1180:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1165:3:26"},"nodeType":"YulFunctionCall","src":"1165:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1152:12:26"},"nodeType":"YulFunctionCall","src":"1152:32:26"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"1141:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"1215:7:26"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"1193:21:26"},"nodeType":"YulFunctionCall","src":"1193:30:26"},"nodeType":"YulExpressionStatement","src":"1193:30:26"},{"nodeType":"YulAssignment","src":"1232:17:26","value":{"name":"value_2","nodeType":"YulIdentifier","src":"1242:7:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"1232:6:26"}]},{"nodeType":"YulAssignment","src":"1258:42:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1285:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"1296:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1281:3:26"},"nodeType":"YulFunctionCall","src":"1281:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1268:12:26"},"nodeType":"YulFunctionCall","src":"1268:32:26"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"1258:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"1309:48:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1341:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"1352:3:26","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1337:3:26"},"nodeType":"YulFunctionCall","src":"1337:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1324:12:26"},"nodeType":"YulFunctionCall","src":"1324:33:26"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"1313:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"1391:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"1366:24:26"},"nodeType":"YulFunctionCall","src":"1366:33:26"},"nodeType":"YulExpressionStatement","src":"1366:33:26"},{"nodeType":"YulAssignment","src":"1408:17:26","value":{"name":"value_3","nodeType":"YulIdentifier","src":"1418:7:26"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"1408:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"1434:48:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1466:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"1477:3:26","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1462:3:26"},"nodeType":"YulFunctionCall","src":"1462:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1449:12:26"},"nodeType":"YulFunctionCall","src":"1449:33:26"},"variables":[{"name":"value_4","nodeType":"YulTypedName","src":"1438:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_4","nodeType":"YulIdentifier","src":"1513:7:26"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"1491:21:26"},"nodeType":"YulFunctionCall","src":"1491:30:26"},"nodeType":"YulExpressionStatement","src":"1491:30:26"},{"nodeType":"YulAssignment","src":"1530:17:26","value":{"name":"value_4","nodeType":"YulIdentifier","src":"1540:7:26"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"1530:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"1556:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1587:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"1598:3:26","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1583:3:26"},"nodeType":"YulFunctionCall","src":"1583:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1570:12:26"},"nodeType":"YulFunctionCall","src":"1570:33:26"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"1560:6:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"1646:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1655:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1658:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1648:6:26"},"nodeType":"YulFunctionCall","src":"1648:12:26"},"nodeType":"YulExpressionStatement","src":"1648:12:26"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1618:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"1626:18:26","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1615:2:26"},"nodeType":"YulFunctionCall","src":"1615:30:26"},"nodeType":"YulIf","src":"1612:50:26"},{"nodeType":"YulVariableDeclaration","src":"1671:84:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1727:9:26"},{"name":"offset","nodeType":"YulIdentifier","src":"1738:6:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1723:3:26"},"nodeType":"YulFunctionCall","src":"1723:22:26"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"1747:7:26"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"1697:25:26"},"nodeType":"YulFunctionCall","src":"1697:58:26"},"variables":[{"name":"value6_1","nodeType":"YulTypedName","src":"1675:8:26","type":""},{"name":"value7_1","nodeType":"YulTypedName","src":"1685:8:26","type":""}]},{"nodeType":"YulAssignment","src":"1764:18:26","value":{"name":"value6_1","nodeType":"YulIdentifier","src":"1774:8:26"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"1764:6:26"}]},{"nodeType":"YulAssignment","src":"1791:18:26","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"1801:8:26"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"1791:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_boolt_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"742:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"753:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"765:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"773:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"781:6:26","type":""},{"name":"value3","nodeType":"YulTypedName","src":"789:6:26","type":""},{"name":"value4","nodeType":"YulTypedName","src":"797:6:26","type":""},{"name":"value5","nodeType":"YulTypedName","src":"805:6:26","type":""},{"name":"value6","nodeType":"YulTypedName","src":"813:6:26","type":""},{"name":"value7","nodeType":"YulTypedName","src":"821:6:26","type":""}],"src":"648:1167:26"},{"body":{"nodeType":"YulBlock","src":"1971:280:26","statements":[{"nodeType":"YulAssignment","src":"1981:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1993:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"2004:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1989:3:26"},"nodeType":"YulFunctionCall","src":"1989:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1981:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2023:9:26"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2038:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"2046:66:26","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2034:3:26"},"nodeType":"YulFunctionCall","src":"2034:79:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2016:6:26"},"nodeType":"YulFunctionCall","src":"2016:98:26"},"nodeType":"YulExpressionStatement","src":"2016:98:26"},{"nodeType":"YulVariableDeclaration","src":"2123:18:26","value":{"kind":"number","nodeType":"YulLiteral","src":"2133:8:26","type":"","value":"0xffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2127:2:26","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2161:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"2172:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2157:3:26"},"nodeType":"YulFunctionCall","src":"2157:18:26"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"2181:6:26"},{"name":"_1","nodeType":"YulIdentifier","src":"2189:2:26"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2177:3:26"},"nodeType":"YulFunctionCall","src":"2177:15:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2150:6:26"},"nodeType":"YulFunctionCall","src":"2150:43:26"},"nodeType":"YulExpressionStatement","src":"2150:43:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2213:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"2224:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2209:3:26"},"nodeType":"YulFunctionCall","src":"2209:18:26"},{"arguments":[{"name":"value2","nodeType":"YulIdentifier","src":"2233:6:26"},{"name":"_1","nodeType":"YulIdentifier","src":"2241:2:26"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2229:3:26"},"nodeType":"YulFunctionCall","src":"2229:15:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2202:6:26"},"nodeType":"YulFunctionCall","src":"2202:43:26"},"nodeType":"YulExpressionStatement","src":"2202:43:26"}]},"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:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"1935:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"1943:6:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1951:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1962:4:26","type":""}],"src":"1820:431:26"},{"body":{"nodeType":"YulBlock","src":"2357:125:26","statements":[{"nodeType":"YulAssignment","src":"2367:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2379:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"2390:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2375:3:26"},"nodeType":"YulFunctionCall","src":"2375:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2367:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2409:9:26"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2424:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"2432:42:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2420:3:26"},"nodeType":"YulFunctionCall","src":"2420:55:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2402:6:26"},"nodeType":"YulFunctionCall","src":"2402:74:26"},"nodeType":"YulExpressionStatement","src":"2402:74:26"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2326:9:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2337:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2348:4:26","type":""}],"src":"2256:226:26"},{"body":{"nodeType":"YulBlock","src":"2588:76:26","statements":[{"nodeType":"YulAssignment","src":"2598:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2610:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"2621:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2606:3:26"},"nodeType":"YulFunctionCall","src":"2606:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2598:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2640:9:26"},{"name":"value0","nodeType":"YulIdentifier","src":"2651:6:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2633:6:26"},"nodeType":"YulFunctionCall","src":"2633:25:26"},"nodeType":"YulExpressionStatement","src":"2633:25:26"}]},"name":"abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2557:9:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2568:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2579:4:26","type":""}],"src":"2487:177:26"},{"body":{"nodeType":"YulBlock","src":"2860:770:26","statements":[{"body":{"nodeType":"YulBlock","src":"2907:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2916:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2919:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2909:6:26"},"nodeType":"YulFunctionCall","src":"2909:12:26"},"nodeType":"YulExpressionStatement","src":"2909:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2881:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"2890:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2877:3:26"},"nodeType":"YulFunctionCall","src":"2877:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"2902:3:26","type":"","value":"224"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2873:3:26"},"nodeType":"YulFunctionCall","src":"2873:33:26"},"nodeType":"YulIf","src":"2870:53:26"},{"nodeType":"YulVariableDeclaration","src":"2932:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2958:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2945:12:26"},"nodeType":"YulFunctionCall","src":"2945:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"2936:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3002:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"2977:24:26"},"nodeType":"YulFunctionCall","src":"2977:31:26"},"nodeType":"YulExpressionStatement","src":"2977:31:26"},{"nodeType":"YulAssignment","src":"3017:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"3027:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3017:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"3041:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3073:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"3084:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3069:3:26"},"nodeType":"YulFunctionCall","src":"3069:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3056:12:26"},"nodeType":"YulFunctionCall","src":"3056:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"3045:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"3122:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"3097:24:26"},"nodeType":"YulFunctionCall","src":"3097:33:26"},"nodeType":"YulExpressionStatement","src":"3097:33:26"},{"nodeType":"YulAssignment","src":"3139:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"3149:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"3139:6:26"}]},{"nodeType":"YulAssignment","src":"3165:42:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3192:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"3203:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3188:3:26"},"nodeType":"YulFunctionCall","src":"3188:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3175:12:26"},"nodeType":"YulFunctionCall","src":"3175:32:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"3165:6:26"}]},{"nodeType":"YulAssignment","src":"3216:42:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3243:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"3254:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3239:3:26"},"nodeType":"YulFunctionCall","src":"3239:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3226:12:26"},"nodeType":"YulFunctionCall","src":"3226:32:26"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"3216:6:26"}]},{"nodeType":"YulAssignment","src":"3267:43:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3294:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"3305:3:26","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3290:3:26"},"nodeType":"YulFunctionCall","src":"3290:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3277:12:26"},"nodeType":"YulFunctionCall","src":"3277:33:26"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"3267:6:26"}]},{"nodeType":"YulAssignment","src":"3319:43:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3346:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"3357:3:26","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3342:3:26"},"nodeType":"YulFunctionCall","src":"3342:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3329:12:26"},"nodeType":"YulFunctionCall","src":"3329:33:26"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"3319:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"3371:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3402:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"3413:3:26","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3398:3:26"},"nodeType":"YulFunctionCall","src":"3398:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3385:12:26"},"nodeType":"YulFunctionCall","src":"3385:33:26"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"3375:6:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"3461:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3470:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3473:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3463:6:26"},"nodeType":"YulFunctionCall","src":"3463:12:26"},"nodeType":"YulExpressionStatement","src":"3463:12:26"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"3433:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"3441:18:26","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3430:2:26"},"nodeType":"YulFunctionCall","src":"3430:30:26"},"nodeType":"YulIf","src":"3427:50:26"},{"nodeType":"YulVariableDeclaration","src":"3486:84:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3542:9:26"},{"name":"offset","nodeType":"YulIdentifier","src":"3553:6:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3538:3:26"},"nodeType":"YulFunctionCall","src":"3538:22:26"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3562:7:26"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"3512:25:26"},"nodeType":"YulFunctionCall","src":"3512:58:26"},"variables":[{"name":"value6_1","nodeType":"YulTypedName","src":"3490:8:26","type":""},{"name":"value7_1","nodeType":"YulTypedName","src":"3500:8:26","type":""}]},{"nodeType":"YulAssignment","src":"3579:18:26","value":{"name":"value6_1","nodeType":"YulIdentifier","src":"3589:8:26"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"3579:6:26"}]},{"nodeType":"YulAssignment","src":"3606:18:26","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"3616:8:26"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"3606:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_uint256t_uint256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2770:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2781:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2793:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2801:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"2809:6:26","type":""},{"name":"value3","nodeType":"YulTypedName","src":"2817:6:26","type":""},{"name":"value4","nodeType":"YulTypedName","src":"2825:6:26","type":""},{"name":"value5","nodeType":"YulTypedName","src":"2833:6:26","type":""},{"name":"value6","nodeType":"YulTypedName","src":"2841:6:26","type":""},{"name":"value7","nodeType":"YulTypedName","src":"2849:6:26","type":""}],"src":"2669:961:26"},{"body":{"nodeType":"YulBlock","src":"3734:149:26","statements":[{"nodeType":"YulAssignment","src":"3744:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3756:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"3767:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3752:3:26"},"nodeType":"YulFunctionCall","src":"3752:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3744:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3786:9:26"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3801:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"3809:66:26","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3797:3:26"},"nodeType":"YulFunctionCall","src":"3797:79:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3779:6:26"},"nodeType":"YulFunctionCall","src":"3779:98:26"},"nodeType":"YulExpressionStatement","src":"3779:98:26"}]},"name":"abi_encode_tuple_t_bytes4__to_t_bytes4__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3703:9:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3714:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3725:4:26","type":""}],"src":"3635:248:26"},{"body":{"nodeType":"YulBlock","src":"3989:76:26","statements":[{"nodeType":"YulAssignment","src":"3999:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4011:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"4022:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4007:3:26"},"nodeType":"YulFunctionCall","src":"4007:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3999:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4041:9:26"},{"name":"value0","nodeType":"YulIdentifier","src":"4052:6:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4034:6:26"},"nodeType":"YulFunctionCall","src":"4034:25:26"},"nodeType":"YulExpressionStatement","src":"4034:25:26"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3958:9:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3969:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3980:4:26","type":""}],"src":"3888:177:26"},{"body":{"nodeType":"YulBlock","src":"4140:110:26","statements":[{"body":{"nodeType":"YulBlock","src":"4186:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4195:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4198:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4188:6:26"},"nodeType":"YulFunctionCall","src":"4188:12:26"},"nodeType":"YulExpressionStatement","src":"4188:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"4161:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"4170:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"4157:3:26"},"nodeType":"YulFunctionCall","src":"4157:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"4182:2:26","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"4153:3:26"},"nodeType":"YulFunctionCall","src":"4153:32:26"},"nodeType":"YulIf","src":"4150:52:26"},{"nodeType":"YulAssignment","src":"4211:33:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4234:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4221:12:26"},"nodeType":"YulFunctionCall","src":"4221:23:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"4211:6:26"}]}]},"name":"abi_decode_tuple_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4106:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"4117:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"4129:6:26","type":""}],"src":"4070:180:26"},{"body":{"nodeType":"YulBlock","src":"4321:184:26","statements":[{"nodeType":"YulVariableDeclaration","src":"4331:10:26","value":{"kind":"number","nodeType":"YulLiteral","src":"4340:1:26","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"4335:1:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"4400:63:26","statements":[{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"4425:3:26"},{"name":"i","nodeType":"YulIdentifier","src":"4430:1:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4421:3:26"},"nodeType":"YulFunctionCall","src":"4421:11:26"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"4444:3:26"},{"name":"i","nodeType":"YulIdentifier","src":"4449:1:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4440:3:26"},"nodeType":"YulFunctionCall","src":"4440:11:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4434:5:26"},"nodeType":"YulFunctionCall","src":"4434:18:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4414:6:26"},"nodeType":"YulFunctionCall","src":"4414:39:26"},"nodeType":"YulExpressionStatement","src":"4414:39:26"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"4361:1:26"},{"name":"length","nodeType":"YulIdentifier","src":"4364:6:26"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"4358:2:26"},"nodeType":"YulFunctionCall","src":"4358:13:26"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"4372:19:26","statements":[{"nodeType":"YulAssignment","src":"4374:15:26","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"4383:1:26"},{"kind":"number","nodeType":"YulLiteral","src":"4386:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4379:3:26"},"nodeType":"YulFunctionCall","src":"4379:10:26"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"4374:1:26"}]}]},"pre":{"nodeType":"YulBlock","src":"4354:3:26","statements":[]},"src":"4350:113:26"},{"expression":{"arguments":[{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"4483:3:26"},{"name":"length","nodeType":"YulIdentifier","src":"4488:6:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4479:3:26"},"nodeType":"YulFunctionCall","src":"4479:16:26"},{"kind":"number","nodeType":"YulLiteral","src":"4497:1:26","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4472:6:26"},"nodeType":"YulFunctionCall","src":"4472:27:26"},"nodeType":"YulExpressionStatement","src":"4472:27:26"}]},"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulFunctionDefinition","parameters":[{"name":"src","nodeType":"YulTypedName","src":"4299:3:26","type":""},{"name":"dst","nodeType":"YulTypedName","src":"4304:3:26","type":""},{"name":"length","nodeType":"YulTypedName","src":"4309:6:26","type":""}],"src":"4255:250:26"},{"body":{"nodeType":"YulBlock","src":"4560:280:26","statements":[{"nodeType":"YulVariableDeclaration","src":"4570:26:26","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4590:5:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4584:5:26"},"nodeType":"YulFunctionCall","src":"4584:12:26"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"4574:6:26","type":""}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4612:3:26"},{"name":"length","nodeType":"YulIdentifier","src":"4617:6:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4605:6:26"},"nodeType":"YulFunctionCall","src":"4605:19:26"},"nodeType":"YulExpressionStatement","src":"4605:19:26"},{"expression":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4672:5:26"},{"kind":"number","nodeType":"YulLiteral","src":"4679:4:26","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4668:3:26"},"nodeType":"YulFunctionCall","src":"4668:16:26"},{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4690:3:26"},{"kind":"number","nodeType":"YulLiteral","src":"4695:4:26","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4686:3:26"},"nodeType":"YulFunctionCall","src":"4686:14:26"},{"name":"length","nodeType":"YulIdentifier","src":"4702:6:26"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"4633:34:26"},"nodeType":"YulFunctionCall","src":"4633:76:26"},"nodeType":"YulExpressionStatement","src":"4633:76:26"},{"nodeType":"YulAssignment","src":"4718:116:26","value":{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"4733:3:26"},{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"4746:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"4754:2:26","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4742:3:26"},"nodeType":"YulFunctionCall","src":"4742:15:26"},{"kind":"number","nodeType":"YulLiteral","src":"4759:66:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"4738:3:26"},"nodeType":"YulFunctionCall","src":"4738:88:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4729:3:26"},"nodeType":"YulFunctionCall","src":"4729:98:26"},{"kind":"number","nodeType":"YulLiteral","src":"4829:4:26","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4725:3:26"},"nodeType":"YulFunctionCall","src":"4725:109:26"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"4718:3:26"}]}]},"name":"abi_encode_string","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"4537:5:26","type":""},{"name":"pos","nodeType":"YulTypedName","src":"4544:3:26","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"4552:3:26","type":""}],"src":"4510:330:26"},{"body":{"nodeType":"YulBlock","src":"4966:99:26","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4983:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"4994:2:26","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4976:6:26"},"nodeType":"YulFunctionCall","src":"4976:21:26"},"nodeType":"YulExpressionStatement","src":"4976:21:26"},{"nodeType":"YulAssignment","src":"5006:53:26","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"5032:6:26"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5044:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"5055:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5040:3:26"},"nodeType":"YulFunctionCall","src":"5040:18:26"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"5014:17:26"},"nodeType":"YulFunctionCall","src":"5014:45:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5006:4:26"}]}]},"name":"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4935:9:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"4946:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"4957:4:26","type":""}],"src":"4845:220:26"},{"body":{"nodeType":"YulBlock","src":"5157:301:26","statements":[{"body":{"nodeType":"YulBlock","src":"5203:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5212:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5215:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5205:6:26"},"nodeType":"YulFunctionCall","src":"5205:12:26"},"nodeType":"YulExpressionStatement","src":"5205:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"5178:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"5187:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5174:3:26"},"nodeType":"YulFunctionCall","src":"5174:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"5199:2:26","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"5170:3:26"},"nodeType":"YulFunctionCall","src":"5170:32:26"},"nodeType":"YulIf","src":"5167:52:26"},{"nodeType":"YulVariableDeclaration","src":"5228:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5254:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5241:12:26"},"nodeType":"YulFunctionCall","src":"5241:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"5232:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5298:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5273:24:26"},"nodeType":"YulFunctionCall","src":"5273:31:26"},"nodeType":"YulExpressionStatement","src":"5273:31:26"},{"nodeType":"YulAssignment","src":"5313:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"5323:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"5313:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"5337:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5369:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"5380:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5365:3:26"},"nodeType":"YulFunctionCall","src":"5365:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5352:12:26"},"nodeType":"YulFunctionCall","src":"5352:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"5341:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"5418:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5393:24:26"},"nodeType":"YulFunctionCall","src":"5393:33:26"},"nodeType":"YulExpressionStatement","src":"5393:33:26"},{"nodeType":"YulAssignment","src":"5435:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"5445:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"5435:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5115:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"5126:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"5138:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"5146:6:26","type":""}],"src":"5070:388:26"},{"body":{"nodeType":"YulBlock","src":"5506:75:26","statements":[{"body":{"nodeType":"YulBlock","src":"5559:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5568:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5571:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5561:6:26"},"nodeType":"YulFunctionCall","src":"5561:12:26"},"nodeType":"YulExpressionStatement","src":"5561:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5529:5:26"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5547:1:26","type":"","value":"2"},{"name":"value","nodeType":"YulIdentifier","src":"5550:5:26"}],"functionName":{"name":"signextend","nodeType":"YulIdentifier","src":"5536:10:26"},"nodeType":"YulFunctionCall","src":"5536:20:26"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"5526:2:26"},"nodeType":"YulFunctionCall","src":"5526:31:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5519:6:26"},"nodeType":"YulFunctionCall","src":"5519:39:26"},"nodeType":"YulIf","src":"5516:59:26"}]},"name":"validator_revert_int24","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"5495:5:26","type":""}],"src":"5463:118:26"},{"body":{"nodeType":"YulBlock","src":"5634:114:26","statements":[{"nodeType":"YulAssignment","src":"5644:29:26","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"5666:6:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5653:12:26"},"nodeType":"YulFunctionCall","src":"5653:20:26"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"5644:5:26"}]},{"body":{"nodeType":"YulBlock","src":"5726:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5735:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5738:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5728:6:26"},"nodeType":"YulFunctionCall","src":"5728:12:26"},"nodeType":"YulExpressionStatement","src":"5728:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5695:5:26"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5713:2:26","type":"","value":"15"},{"name":"value","nodeType":"YulIdentifier","src":"5717:5:26"}],"functionName":{"name":"signextend","nodeType":"YulIdentifier","src":"5702:10:26"},"nodeType":"YulFunctionCall","src":"5702:21:26"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"5692:2:26"},"nodeType":"YulFunctionCall","src":"5692:32:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5685:6:26"},"nodeType":"YulFunctionCall","src":"5685:40:26"},"nodeType":"YulIf","src":"5682:60:26"}]},"name":"abi_decode_int128","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"5613:6:26","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"5624:5:26","type":""}],"src":"5586:162:26"},{"body":{"nodeType":"YulBlock","src":"5922:865:26","statements":[{"body":{"nodeType":"YulBlock","src":"5969:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5978:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5981:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5971:6:26"},"nodeType":"YulFunctionCall","src":"5971:12:26"},"nodeType":"YulExpressionStatement","src":"5971:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"5943:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"5952:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5939:3:26"},"nodeType":"YulFunctionCall","src":"5939:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"5964:3:26","type":"","value":"192"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"5935:3:26"},"nodeType":"YulFunctionCall","src":"5935:33:26"},"nodeType":"YulIf","src":"5932:53:26"},{"nodeType":"YulVariableDeclaration","src":"5994:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6020:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6007:12:26"},"nodeType":"YulFunctionCall","src":"6007:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"5998:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"6064:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"6039:24:26"},"nodeType":"YulFunctionCall","src":"6039:31:26"},"nodeType":"YulExpressionStatement","src":"6039:31:26"},{"nodeType":"YulAssignment","src":"6079:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"6089:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"6079:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"6103:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6135:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"6146:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6131:3:26"},"nodeType":"YulFunctionCall","src":"6131:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6118:12:26"},"nodeType":"YulFunctionCall","src":"6118:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"6107:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"6184:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"6159:24:26"},"nodeType":"YulFunctionCall","src":"6159:33:26"},"nodeType":"YulExpressionStatement","src":"6159:33:26"},{"nodeType":"YulAssignment","src":"6201:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"6211:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"6201:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"6227:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6259:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"6270:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6255:3:26"},"nodeType":"YulFunctionCall","src":"6255:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6242:12:26"},"nodeType":"YulFunctionCall","src":"6242:32:26"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"6231:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"6306:7:26"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"6283:22:26"},"nodeType":"YulFunctionCall","src":"6283:31:26"},"nodeType":"YulExpressionStatement","src":"6283:31:26"},{"nodeType":"YulAssignment","src":"6323:17:26","value":{"name":"value_2","nodeType":"YulIdentifier","src":"6333:7:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"6323:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"6349:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6381:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"6392:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6377:3:26"},"nodeType":"YulFunctionCall","src":"6377:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6364:12:26"},"nodeType":"YulFunctionCall","src":"6364:32:26"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"6353:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"6428:7:26"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"6405:22:26"},"nodeType":"YulFunctionCall","src":"6405:31:26"},"nodeType":"YulExpressionStatement","src":"6405:31:26"},{"nodeType":"YulAssignment","src":"6445:17:26","value":{"name":"value_3","nodeType":"YulIdentifier","src":"6455:7:26"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"6445:6:26"}]},{"nodeType":"YulAssignment","src":"6471:48:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6503:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"6514:3:26","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6499:3:26"},"nodeType":"YulFunctionCall","src":"6499:19:26"}],"functionName":{"name":"abi_decode_int128","nodeType":"YulIdentifier","src":"6481:17:26"},"nodeType":"YulFunctionCall","src":"6481:38:26"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"6471:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"6528:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6559:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"6570:3:26","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6555:3:26"},"nodeType":"YulFunctionCall","src":"6555:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6542:12:26"},"nodeType":"YulFunctionCall","src":"6542:33:26"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"6532:6:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"6618:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6627:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"6630:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"6620:6:26"},"nodeType":"YulFunctionCall","src":"6620:12:26"},"nodeType":"YulExpressionStatement","src":"6620:12:26"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"6590:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"6598:18:26","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"6587:2:26"},"nodeType":"YulFunctionCall","src":"6587:30:26"},"nodeType":"YulIf","src":"6584:50:26"},{"nodeType":"YulVariableDeclaration","src":"6643:84:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6699:9:26"},{"name":"offset","nodeType":"YulIdentifier","src":"6710:6:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6695:3:26"},"nodeType":"YulFunctionCall","src":"6695:22:26"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"6719:7:26"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"6669:25:26"},"nodeType":"YulFunctionCall","src":"6669:58:26"},"variables":[{"name":"value5_1","nodeType":"YulTypedName","src":"6647:8:26","type":""},{"name":"value6_1","nodeType":"YulTypedName","src":"6657:8:26","type":""}]},{"nodeType":"YulAssignment","src":"6736:18:26","value":{"name":"value5_1","nodeType":"YulIdentifier","src":"6746:8:26"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"6736:6:26"}]},{"nodeType":"YulAssignment","src":"6763:18:26","value":{"name":"value6_1","nodeType":"YulIdentifier","src":"6773:8:26"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"6763:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5840:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"5851:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"5863:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"5871:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"5879:6:26","type":""},{"name":"value3","nodeType":"YulTypedName","src":"5887:6:26","type":""},{"name":"value4","nodeType":"YulTypedName","src":"5895:6:26","type":""},{"name":"value5","nodeType":"YulTypedName","src":"5903:6:26","type":""},{"name":"value6","nodeType":"YulTypedName","src":"5911:6:26","type":""}],"src":"5753:1034:26"},{"body":{"nodeType":"YulBlock","src":"6917:207:26","statements":[{"nodeType":"YulAssignment","src":"6927:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6939:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"6950:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6935:3:26"},"nodeType":"YulFunctionCall","src":"6935:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"6927:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6969:9:26"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"6984:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"6992:66:26","type":"","value":"0xffffffff00000000000000000000000000000000000000000000000000000000"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"6980:3:26"},"nodeType":"YulFunctionCall","src":"6980:79:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6962:6:26"},"nodeType":"YulFunctionCall","src":"6962:98:26"},"nodeType":"YulExpressionStatement","src":"6962:98:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7080:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"7091:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7076:3:26"},"nodeType":"YulFunctionCall","src":"7076:18:26"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"7100:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"7108:8:26","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"7096:3:26"},"nodeType":"YulFunctionCall","src":"7096:21:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7069:6:26"},"nodeType":"YulFunctionCall","src":"7069:49:26"},"nodeType":"YulExpressionStatement","src":"7069:49:26"}]},"name":"abi_encode_tuple_t_bytes4_t_uint24__to_t_bytes4_t_uint24__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6878:9:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"6889:6:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"6897:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6908:4:26","type":""}],"src":"6792:332:26"},{"body":{"nodeType":"YulBlock","src":"7216:301:26","statements":[{"body":{"nodeType":"YulBlock","src":"7262:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7271:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7274:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7264:6:26"},"nodeType":"YulFunctionCall","src":"7264:12:26"},"nodeType":"YulExpressionStatement","src":"7264:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"7237:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"7246:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"7233:3:26"},"nodeType":"YulFunctionCall","src":"7233:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"7258:2:26","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"7229:3:26"},"nodeType":"YulFunctionCall","src":"7229:32:26"},"nodeType":"YulIf","src":"7226:52:26"},{"nodeType":"YulVariableDeclaration","src":"7287:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7313:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7300:12:26"},"nodeType":"YulFunctionCall","src":"7300:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"7291:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7357:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7332:24:26"},"nodeType":"YulFunctionCall","src":"7332:31:26"},"nodeType":"YulExpressionStatement","src":"7332:31:26"},{"nodeType":"YulAssignment","src":"7372:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"7382:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"7372:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"7396:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7428:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"7439:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7424:3:26"},"nodeType":"YulFunctionCall","src":"7424:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7411:12:26"},"nodeType":"YulFunctionCall","src":"7411:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"7400:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"7477:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7452:24:26"},"nodeType":"YulFunctionCall","src":"7452:33:26"},"nodeType":"YulExpressionStatement","src":"7452:33:26"},{"nodeType":"YulAssignment","src":"7494:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"7504:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"7494:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_uint160","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7174:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"7185:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"7197:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"7205:6:26","type":""}],"src":"7129:388:26"},{"body":{"nodeType":"YulBlock","src":"7619:87:26","statements":[{"nodeType":"YulAssignment","src":"7629:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7641:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"7652:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7637:3:26"},"nodeType":"YulFunctionCall","src":"7637:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"7629:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7671:9:26"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"7686:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"7694:4:26","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"7682:3:26"},"nodeType":"YulFunctionCall","src":"7682:17:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7664:6:26"},"nodeType":"YulFunctionCall","src":"7664:36:26"},"nodeType":"YulExpressionStatement","src":"7664:36:26"}]},"name":"abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7588:9:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"7599:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"7610:4:26","type":""}],"src":"7522:184:26"},{"body":{"nodeType":"YulBlock","src":"7813:423:26","statements":[{"body":{"nodeType":"YulBlock","src":"7859:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7868:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7871:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7861:6:26"},"nodeType":"YulFunctionCall","src":"7861:12:26"},"nodeType":"YulExpressionStatement","src":"7861:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"7834:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"7843:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"7830:3:26"},"nodeType":"YulFunctionCall","src":"7830:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"7855:2:26","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"7826:3:26"},"nodeType":"YulFunctionCall","src":"7826:32:26"},"nodeType":"YulIf","src":"7823:52:26"},{"nodeType":"YulVariableDeclaration","src":"7884:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7910:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"7897:12:26"},"nodeType":"YulFunctionCall","src":"7897:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"7888:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7954:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"7929:24:26"},"nodeType":"YulFunctionCall","src":"7929:31:26"},"nodeType":"YulExpressionStatement","src":"7929:31:26"},{"nodeType":"YulAssignment","src":"7969:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"7979:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"7969:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"7993:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8025:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"8036:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8021:3:26"},"nodeType":"YulFunctionCall","src":"8021:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8008:12:26"},"nodeType":"YulFunctionCall","src":"8008:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"7997:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"8074:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"8049:24:26"},"nodeType":"YulFunctionCall","src":"8049:33:26"},"nodeType":"YulExpressionStatement","src":"8049:33:26"},{"nodeType":"YulAssignment","src":"8091:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"8101:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"8091:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"8117:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8149:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"8160:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8145:3:26"},"nodeType":"YulFunctionCall","src":"8145:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8132:12:26"},"nodeType":"YulFunctionCall","src":"8132:32:26"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"8121:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"8196:7:26"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"8173:22:26"},"nodeType":"YulFunctionCall","src":"8173:31:26"},"nodeType":"YulExpressionStatement","src":"8173:31:26"},{"nodeType":"YulAssignment","src":"8213:17:26","value":{"name":"value_2","nodeType":"YulIdentifier","src":"8223:7:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"8213:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_uint160t_int24","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7763:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"7774:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"7786:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"7794:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"7802:6:26","type":""}],"src":"7711:525:26"},{"body":{"nodeType":"YulBlock","src":"8398:666:26","statements":[{"body":{"nodeType":"YulBlock","src":"8445:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8454:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8457:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8447:6:26"},"nodeType":"YulFunctionCall","src":"8447:12:26"},"nodeType":"YulExpressionStatement","src":"8447:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"8419:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"8428:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"8415:3:26"},"nodeType":"YulFunctionCall","src":"8415:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"8440:3:26","type":"","value":"160"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"8411:3:26"},"nodeType":"YulFunctionCall","src":"8411:33:26"},"nodeType":"YulIf","src":"8408:53:26"},{"nodeType":"YulVariableDeclaration","src":"8470:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8496:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8483:12:26"},"nodeType":"YulFunctionCall","src":"8483:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"8474:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"8540:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"8515:24:26"},"nodeType":"YulFunctionCall","src":"8515:31:26"},"nodeType":"YulExpressionStatement","src":"8515:31:26"},{"nodeType":"YulAssignment","src":"8555:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"8565:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"8555:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"8579:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8611:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"8622:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8607:3:26"},"nodeType":"YulFunctionCall","src":"8607:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8594:12:26"},"nodeType":"YulFunctionCall","src":"8594:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"8583:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"8660:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"8635:24:26"},"nodeType":"YulFunctionCall","src":"8635:33:26"},"nodeType":"YulExpressionStatement","src":"8635:33:26"},{"nodeType":"YulAssignment","src":"8677:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"8687:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"8677:6:26"}]},{"nodeType":"YulAssignment","src":"8703:42:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8730:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"8741:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8726:3:26"},"nodeType":"YulFunctionCall","src":"8726:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8713:12:26"},"nodeType":"YulFunctionCall","src":"8713:32:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"8703:6:26"}]},{"nodeType":"YulAssignment","src":"8754:42:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8781:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"8792:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8777:3:26"},"nodeType":"YulFunctionCall","src":"8777:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8764:12:26"},"nodeType":"YulFunctionCall","src":"8764:32:26"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"8754:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"8805:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8836:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"8847:3:26","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8832:3:26"},"nodeType":"YulFunctionCall","src":"8832:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8819:12:26"},"nodeType":"YulFunctionCall","src":"8819:33:26"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"8809:6:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"8895:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8904:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8907:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8897:6:26"},"nodeType":"YulFunctionCall","src":"8897:12:26"},"nodeType":"YulExpressionStatement","src":"8897:12:26"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"8867:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"8875:18:26","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"8864:2:26"},"nodeType":"YulFunctionCall","src":"8864:30:26"},"nodeType":"YulIf","src":"8861:50:26"},{"nodeType":"YulVariableDeclaration","src":"8920:84:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8976:9:26"},{"name":"offset","nodeType":"YulIdentifier","src":"8987:6:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8972:3:26"},"nodeType":"YulFunctionCall","src":"8972:22:26"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"8996:7:26"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"8946:25:26"},"nodeType":"YulFunctionCall","src":"8946:58:26"},"variables":[{"name":"value4_1","nodeType":"YulTypedName","src":"8924:8:26","type":""},{"name":"value5_1","nodeType":"YulTypedName","src":"8934:8:26","type":""}]},{"nodeType":"YulAssignment","src":"9013:18:26","value":{"name":"value4_1","nodeType":"YulIdentifier","src":"9023:8:26"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"9013:6:26"}]},{"nodeType":"YulAssignment","src":"9040:18:26","value":{"name":"value5_1","nodeType":"YulIdentifier","src":"9050:8:26"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"9040:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_uint256t_uint256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8324:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"8335:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"8347:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"8355:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"8363:6:26","type":""},{"name":"value3","nodeType":"YulTypedName","src":"8371:6:26","type":""},{"name":"value4","nodeType":"YulTypedName","src":"8379:6:26","type":""},{"name":"value5","nodeType":"YulTypedName","src":"8387:6:26","type":""}],"src":"8241:823:26"},{"body":{"nodeType":"YulBlock","src":"9271:965:26","statements":[{"body":{"nodeType":"YulBlock","src":"9318:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9327:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9330:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9320:6:26"},"nodeType":"YulFunctionCall","src":"9320:12:26"},"nodeType":"YulExpressionStatement","src":"9320:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"9292:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"9301:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"9288:3:26"},"nodeType":"YulFunctionCall","src":"9288:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"9313:3:26","type":"","value":"256"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"9284:3:26"},"nodeType":"YulFunctionCall","src":"9284:33:26"},"nodeType":"YulIf","src":"9281:53:26"},{"nodeType":"YulVariableDeclaration","src":"9343:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9369:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9356:12:26"},"nodeType":"YulFunctionCall","src":"9356:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"9347:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"9413:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"9388:24:26"},"nodeType":"YulFunctionCall","src":"9388:31:26"},"nodeType":"YulExpressionStatement","src":"9388:31:26"},{"nodeType":"YulAssignment","src":"9428:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"9438:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"9428:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"9452:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9484:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"9495:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9480:3:26"},"nodeType":"YulFunctionCall","src":"9480:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9467:12:26"},"nodeType":"YulFunctionCall","src":"9467:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"9456:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"9533:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"9508:24:26"},"nodeType":"YulFunctionCall","src":"9508:33:26"},"nodeType":"YulExpressionStatement","src":"9508:33:26"},{"nodeType":"YulAssignment","src":"9550:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"9560:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"9550:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"9576:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9608:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"9619:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9604:3:26"},"nodeType":"YulFunctionCall","src":"9604:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9591:12:26"},"nodeType":"YulFunctionCall","src":"9591:32:26"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"9580:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"9654:7:26"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"9632:21:26"},"nodeType":"YulFunctionCall","src":"9632:30:26"},"nodeType":"YulExpressionStatement","src":"9632:30:26"},{"nodeType":"YulAssignment","src":"9671:17:26","value":{"name":"value_2","nodeType":"YulIdentifier","src":"9681:7:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"9671:6:26"}]},{"nodeType":"YulAssignment","src":"9697:42:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9724:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"9735:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9720:3:26"},"nodeType":"YulFunctionCall","src":"9720:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9707:12:26"},"nodeType":"YulFunctionCall","src":"9707:32:26"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"9697:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"9748:48:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9780:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"9791:3:26","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9776:3:26"},"nodeType":"YulFunctionCall","src":"9776:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9763:12:26"},"nodeType":"YulFunctionCall","src":"9763:33:26"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"9752:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"9830:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"9805:24:26"},"nodeType":"YulFunctionCall","src":"9805:33:26"},"nodeType":"YulExpressionStatement","src":"9805:33:26"},{"nodeType":"YulAssignment","src":"9847:17:26","value":{"name":"value_3","nodeType":"YulIdentifier","src":"9857:7:26"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"9847:6:26"}]},{"nodeType":"YulAssignment","src":"9873:43:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9900:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"9911:3:26","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9896:3:26"},"nodeType":"YulFunctionCall","src":"9896:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9883:12:26"},"nodeType":"YulFunctionCall","src":"9883:33:26"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"9873:6:26"}]},{"nodeType":"YulAssignment","src":"9925:43:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9952:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"9963:3:26","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9948:3:26"},"nodeType":"YulFunctionCall","src":"9948:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9935:12:26"},"nodeType":"YulFunctionCall","src":"9935:33:26"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"9925:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"9977:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10008:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"10019:3:26","type":"","value":"224"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10004:3:26"},"nodeType":"YulFunctionCall","src":"10004:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"9991:12:26"},"nodeType":"YulFunctionCall","src":"9991:33:26"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"9981:6:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"10067:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"10076:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"10079:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"10069:6:26"},"nodeType":"YulFunctionCall","src":"10069:12:26"},"nodeType":"YulExpressionStatement","src":"10069:12:26"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"10039:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"10047:18:26","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"10036:2:26"},"nodeType":"YulFunctionCall","src":"10036:30:26"},"nodeType":"YulIf","src":"10033:50:26"},{"nodeType":"YulVariableDeclaration","src":"10092:84:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10148:9:26"},{"name":"offset","nodeType":"YulIdentifier","src":"10159:6:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10144:3:26"},"nodeType":"YulFunctionCall","src":"10144:22:26"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"10168:7:26"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"10118:25:26"},"nodeType":"YulFunctionCall","src":"10118:58:26"},"variables":[{"name":"value7_1","nodeType":"YulTypedName","src":"10096:8:26","type":""},{"name":"value8_1","nodeType":"YulTypedName","src":"10106:8:26","type":""}]},{"nodeType":"YulAssignment","src":"10185:18:26","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"10195:8:26"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"10185:6:26"}]},{"nodeType":"YulAssignment","src":"10212:18:26","value":{"name":"value8_1","nodeType":"YulIdentifier","src":"10222:8:26"},"variableNames":[{"name":"value8","nodeType":"YulIdentifier","src":"10212:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_boolt_int256t_uint160t_int256t_int256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9173:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"9184:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"9196:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"9204:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"9212:6:26","type":""},{"name":"value3","nodeType":"YulTypedName","src":"9220:6:26","type":""},{"name":"value4","nodeType":"YulTypedName","src":"9228:6:26","type":""},{"name":"value5","nodeType":"YulTypedName","src":"9236:6:26","type":""},{"name":"value6","nodeType":"YulTypedName","src":"9244:6:26","type":""},{"name":"value7","nodeType":"YulTypedName","src":"9252:6:26","type":""},{"name":"value8","nodeType":"YulTypedName","src":"9260:6:26","type":""}],"src":"9069:1167:26"},{"body":{"nodeType":"YulBlock","src":"10328:161:26","statements":[{"body":{"nodeType":"YulBlock","src":"10374:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"10383:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"10386:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"10376:6:26"},"nodeType":"YulFunctionCall","src":"10376:12:26"},"nodeType":"YulExpressionStatement","src":"10376:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"10349:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"10358:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"10345:3:26"},"nodeType":"YulFunctionCall","src":"10345:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"10370:2:26","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"10341:3:26"},"nodeType":"YulFunctionCall","src":"10341:32:26"},"nodeType":"YulIf","src":"10338:52:26"},{"nodeType":"YulAssignment","src":"10399:33:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10422:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"10409:12:26"},"nodeType":"YulFunctionCall","src":"10409:23:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"10399:6:26"}]},{"nodeType":"YulAssignment","src":"10441:42:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10468:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"10479:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10464:3:26"},"nodeType":"YulFunctionCall","src":"10464:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"10451:12:26"},"nodeType":"YulFunctionCall","src":"10451:32:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"10441:6:26"}]}]},"name":"abi_decode_tuple_t_uint256t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10286:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"10297:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"10309:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"10317:6:26","type":""}],"src":"10241:248:26"},{"body":{"nodeType":"YulBlock","src":"10665:691:26","statements":[{"nodeType":"YulVariableDeclaration","src":"10675:12:26","value":{"kind":"number","nodeType":"YulLiteral","src":"10685:2:26","type":"","value":"32"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"10679:2:26","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10696:32:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10714:9:26"},{"name":"_1","nodeType":"YulIdentifier","src":"10725:2:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10710:3:26"},"nodeType":"YulFunctionCall","src":"10710:18:26"},"variables":[{"name":"tail_1","nodeType":"YulTypedName","src":"10700:6:26","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10744:9:26"},{"name":"_1","nodeType":"YulIdentifier","src":"10755:2:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10737:6:26"},"nodeType":"YulFunctionCall","src":"10737:21:26"},"nodeType":"YulExpressionStatement","src":"10737:21:26"},{"nodeType":"YulVariableDeclaration","src":"10767:17:26","value":{"name":"tail_1","nodeType":"YulIdentifier","src":"10778:6:26"},"variables":[{"name":"pos","nodeType":"YulTypedName","src":"10771:3:26","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10793:27:26","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10813:6:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"10807:5:26"},"nodeType":"YulFunctionCall","src":"10807:13:26"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"10797:6:26","type":""}]},{"expression":{"arguments":[{"name":"tail_1","nodeType":"YulIdentifier","src":"10836:6:26"},{"name":"length","nodeType":"YulIdentifier","src":"10844:6:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10829:6:26"},"nodeType":"YulFunctionCall","src":"10829:22:26"},"nodeType":"YulExpressionStatement","src":"10829:22:26"},{"nodeType":"YulAssignment","src":"10860:25:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10871:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"10882:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10867:3:26"},"nodeType":"YulFunctionCall","src":"10867:18:26"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"10860:3:26"}]},{"nodeType":"YulVariableDeclaration","src":"10894:53:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10916:9:26"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"10931:1:26","type":"","value":"5"},{"name":"length","nodeType":"YulIdentifier","src":"10934:6:26"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"10927:3:26"},"nodeType":"YulFunctionCall","src":"10927:14:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10912:3:26"},"nodeType":"YulFunctionCall","src":"10912:30:26"},{"kind":"number","nodeType":"YulLiteral","src":"10944:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10908:3:26"},"nodeType":"YulFunctionCall","src":"10908:39:26"},"variables":[{"name":"tail_2","nodeType":"YulTypedName","src":"10898:6:26","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10956:29:26","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10974:6:26"},{"name":"_1","nodeType":"YulIdentifier","src":"10982:2:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10970:3:26"},"nodeType":"YulFunctionCall","src":"10970:15:26"},"variables":[{"name":"srcPtr","nodeType":"YulTypedName","src":"10960:6:26","type":""}]},{"nodeType":"YulVariableDeclaration","src":"10994:10:26","value":{"kind":"number","nodeType":"YulLiteral","src":"11003:1:26","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"10998:1:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"11062:265:26","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"11083:3:26"},{"arguments":[{"arguments":[{"name":"tail_2","nodeType":"YulIdentifier","src":"11096:6:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"11104:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"11092:3:26"},"nodeType":"YulFunctionCall","src":"11092:22:26"},{"kind":"number","nodeType":"YulLiteral","src":"11116:66:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11088:3:26"},"nodeType":"YulFunctionCall","src":"11088:95:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11076:6:26"},"nodeType":"YulFunctionCall","src":"11076:108:26"},"nodeType":"YulExpressionStatement","src":"11076:108:26"},{"nodeType":"YulAssignment","src":"11197:50:26","value":{"arguments":[{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"11231:6:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"11225:5:26"},"nodeType":"YulFunctionCall","src":"11225:13:26"},{"name":"tail_2","nodeType":"YulIdentifier","src":"11240:6:26"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"11207:17:26"},"nodeType":"YulFunctionCall","src":"11207:40:26"},"variableNames":[{"name":"tail_2","nodeType":"YulIdentifier","src":"11197:6:26"}]},{"nodeType":"YulAssignment","src":"11260:25:26","value":{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"11274:6:26"},{"name":"_1","nodeType":"YulIdentifier","src":"11282:2:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11270:3:26"},"nodeType":"YulFunctionCall","src":"11270:15:26"},"variableNames":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"11260:6:26"}]},{"nodeType":"YulAssignment","src":"11298:19:26","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"11309:3:26"},{"name":"_1","nodeType":"YulIdentifier","src":"11314:2:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11305:3:26"},"nodeType":"YulFunctionCall","src":"11305:12:26"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"11298:3:26"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"11024:1:26"},{"name":"length","nodeType":"YulIdentifier","src":"11027:6:26"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"11021:2:26"},"nodeType":"YulFunctionCall","src":"11021:13:26"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"11035:18:26","statements":[{"nodeType":"YulAssignment","src":"11037:14:26","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"11046:1:26"},{"kind":"number","nodeType":"YulLiteral","src":"11049:1:26","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11042:3:26"},"nodeType":"YulFunctionCall","src":"11042:9:26"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"11037:1:26"}]}]},"pre":{"nodeType":"YulBlock","src":"11017:3:26","statements":[]},"src":"11013:314:26"},{"nodeType":"YulAssignment","src":"11336:14:26","value":{"name":"tail_2","nodeType":"YulIdentifier","src":"11344:6:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"11336:4:26"}]}]},"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":"10634:9:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"10645:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10656:4:26","type":""}],"src":"10494:862:26"},{"body":{"nodeType":"YulBlock","src":"11431:177:26","statements":[{"body":{"nodeType":"YulBlock","src":"11477:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"11486:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"11489:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"11479:6:26"},"nodeType":"YulFunctionCall","src":"11479:12:26"},"nodeType":"YulExpressionStatement","src":"11479:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"11452:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"11461:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"11448:3:26"},"nodeType":"YulFunctionCall","src":"11448:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"11473:2:26","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"11444:3:26"},"nodeType":"YulFunctionCall","src":"11444:32:26"},"nodeType":"YulIf","src":"11441:52:26"},{"nodeType":"YulVariableDeclaration","src":"11502:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11528:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11515:12:26"},"nodeType":"YulFunctionCall","src":"11515:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"11506:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"11572:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"11547:24:26"},"nodeType":"YulFunctionCall","src":"11547:31:26"},"nodeType":"YulExpressionStatement","src":"11547:31:26"},{"nodeType":"YulAssignment","src":"11587:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"11597:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"11587:6:26"}]}]},"name":"abi_decode_tuple_t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11397:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"11408:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"11420:6:26","type":""}],"src":"11361:247:26"},{"body":{"nodeType":"YulBlock","src":"11816:969:26","statements":[{"body":{"nodeType":"YulBlock","src":"11863:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"11872:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"11875:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"11865:6:26"},"nodeType":"YulFunctionCall","src":"11865:12:26"},"nodeType":"YulExpressionStatement","src":"11865:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"11837:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"11846:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"11833:3:26"},"nodeType":"YulFunctionCall","src":"11833:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"11858:3:26","type":"","value":"256"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"11829:3:26"},"nodeType":"YulFunctionCall","src":"11829:33:26"},"nodeType":"YulIf","src":"11826:53:26"},{"nodeType":"YulVariableDeclaration","src":"11888:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11914:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"11901:12:26"},"nodeType":"YulFunctionCall","src":"11901:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"11892:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"11958:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"11933:24:26"},"nodeType":"YulFunctionCall","src":"11933:31:26"},"nodeType":"YulExpressionStatement","src":"11933:31:26"},{"nodeType":"YulAssignment","src":"11973:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"11983:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"11973:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"11997:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12029:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"12040:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12025:3:26"},"nodeType":"YulFunctionCall","src":"12025:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12012:12:26"},"nodeType":"YulFunctionCall","src":"12012:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"12001:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"12078:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"12053:24:26"},"nodeType":"YulFunctionCall","src":"12053:33:26"},"nodeType":"YulExpressionStatement","src":"12053:33:26"},{"nodeType":"YulAssignment","src":"12095:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"12105:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"12095:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"12121:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12153:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"12164:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12149:3:26"},"nodeType":"YulFunctionCall","src":"12149:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12136:12:26"},"nodeType":"YulFunctionCall","src":"12136:32:26"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"12125:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"12200:7:26"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"12177:22:26"},"nodeType":"YulFunctionCall","src":"12177:31:26"},"nodeType":"YulExpressionStatement","src":"12177:31:26"},{"nodeType":"YulAssignment","src":"12217:17:26","value":{"name":"value_2","nodeType":"YulIdentifier","src":"12227:7:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"12217:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"12243:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12275:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"12286:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12271:3:26"},"nodeType":"YulFunctionCall","src":"12271:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12258:12:26"},"nodeType":"YulFunctionCall","src":"12258:32:26"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"12247:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"12322:7:26"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"12299:22:26"},"nodeType":"YulFunctionCall","src":"12299:31:26"},"nodeType":"YulExpressionStatement","src":"12299:31:26"},{"nodeType":"YulAssignment","src":"12339:17:26","value":{"name":"value_3","nodeType":"YulIdentifier","src":"12349:7:26"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"12339:6:26"}]},{"nodeType":"YulAssignment","src":"12365:48:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12397:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"12408:3:26","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12393:3:26"},"nodeType":"YulFunctionCall","src":"12393:19:26"}],"functionName":{"name":"abi_decode_int128","nodeType":"YulIdentifier","src":"12375:17:26"},"nodeType":"YulFunctionCall","src":"12375:38:26"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"12365:6:26"}]},{"nodeType":"YulAssignment","src":"12422:43:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12449:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"12460:3:26","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12445:3:26"},"nodeType":"YulFunctionCall","src":"12445:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12432:12:26"},"nodeType":"YulFunctionCall","src":"12432:33:26"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"12422:6:26"}]},{"nodeType":"YulAssignment","src":"12474:43:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12501:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"12512:3:26","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12497:3:26"},"nodeType":"YulFunctionCall","src":"12497:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12484:12:26"},"nodeType":"YulFunctionCall","src":"12484:33:26"},"variableNames":[{"name":"value6","nodeType":"YulIdentifier","src":"12474:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"12526:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12557:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"12568:3:26","type":"","value":"224"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12553:3:26"},"nodeType":"YulFunctionCall","src":"12553:19:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12540:12:26"},"nodeType":"YulFunctionCall","src":"12540:33:26"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"12530:6:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"12616:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12625:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"12628:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"12618:6:26"},"nodeType":"YulFunctionCall","src":"12618:12:26"},"nodeType":"YulExpressionStatement","src":"12618:12:26"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"12588:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"12596:18:26","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"12585:2:26"},"nodeType":"YulFunctionCall","src":"12585:30:26"},"nodeType":"YulIf","src":"12582:50:26"},{"nodeType":"YulVariableDeclaration","src":"12641:84:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12697:9:26"},{"name":"offset","nodeType":"YulIdentifier","src":"12708:6:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12693:3:26"},"nodeType":"YulFunctionCall","src":"12693:22:26"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"12717:7:26"}],"functionName":{"name":"abi_decode_bytes_calldata","nodeType":"YulIdentifier","src":"12667:25:26"},"nodeType":"YulFunctionCall","src":"12667:58:26"},"variables":[{"name":"value7_1","nodeType":"YulTypedName","src":"12645:8:26","type":""},{"name":"value8_1","nodeType":"YulTypedName","src":"12655:8:26","type":""}]},{"nodeType":"YulAssignment","src":"12734:18:26","value":{"name":"value7_1","nodeType":"YulIdentifier","src":"12744:8:26"},"variableNames":[{"name":"value7","nodeType":"YulIdentifier","src":"12734:6:26"}]},{"nodeType":"YulAssignment","src":"12761:18:26","value":{"name":"value8_1","nodeType":"YulIdentifier","src":"12771:8:26"},"variableNames":[{"name":"value8","nodeType":"YulIdentifier","src":"12761:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_int24t_int24t_int128t_uint256t_uint256t_bytes_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11718:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"11729:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"11741:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"11749:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"11757:6:26","type":""},{"name":"value3","nodeType":"YulTypedName","src":"11765:6:26","type":""},{"name":"value4","nodeType":"YulTypedName","src":"11773:6:26","type":""},{"name":"value5","nodeType":"YulTypedName","src":"11781:6:26","type":""},{"name":"value6","nodeType":"YulTypedName","src":"11789:6:26","type":""},{"name":"value7","nodeType":"YulTypedName","src":"11797:6:26","type":""},{"name":"value8","nodeType":"YulTypedName","src":"11805:6:26","type":""}],"src":"11613:1172:26"},{"body":{"nodeType":"YulBlock","src":"12894:352:26","statements":[{"body":{"nodeType":"YulBlock","src":"12940:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"12949:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"12952:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"12942:6:26"},"nodeType":"YulFunctionCall","src":"12942:12:26"},"nodeType":"YulExpressionStatement","src":"12942:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"12915:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"12924:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"12911:3:26"},"nodeType":"YulFunctionCall","src":"12911:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"12936:2:26","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"12907:3:26"},"nodeType":"YulFunctionCall","src":"12907:32:26"},"nodeType":"YulIf","src":"12904:52:26"},{"nodeType":"YulVariableDeclaration","src":"12965:36:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12991:9:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"12978:12:26"},"nodeType":"YulFunctionCall","src":"12978:23:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"12969:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"13035:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"13010:24:26"},"nodeType":"YulFunctionCall","src":"13010:31:26"},"nodeType":"YulExpressionStatement","src":"13010:31:26"},{"nodeType":"YulAssignment","src":"13050:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"13060:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"13050:6:26"}]},{"nodeType":"YulAssignment","src":"13074:42:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13101:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"13112:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13097:3:26"},"nodeType":"YulFunctionCall","src":"13097:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"13084:12:26"},"nodeType":"YulFunctionCall","src":"13084:32:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"13074:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"13125:47:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13157:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"13168:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13153:3:26"},"nodeType":"YulFunctionCall","src":"13153:18:26"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"13140:12:26"},"nodeType":"YulFunctionCall","src":"13140:32:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"13129:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"13206:7:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"13181:24:26"},"nodeType":"YulFunctionCall","src":"13181:33:26"},"nodeType":"YulExpressionStatement","src":"13181:33:26"},{"nodeType":"YulAssignment","src":"13223:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"13233:7:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"13223:6:26"}]}]},"name":"abi_decode_tuple_t_addresst_uint256t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"12844:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"12855:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"12867:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"12875:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"12883:6:26","type":""}],"src":"12790:456:26"},{"body":{"nodeType":"YulBlock","src":"13283:152:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13300:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13303:77:26","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13293:6:26"},"nodeType":"YulFunctionCall","src":"13293:88:26"},"nodeType":"YulExpressionStatement","src":"13293:88:26"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13397:1:26","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"13400:4:26","type":"","value":"0x32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13390:6:26"},"nodeType":"YulFunctionCall","src":"13390:15:26"},"nodeType":"YulExpressionStatement","src":"13390:15:26"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13421:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13424:4:26","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"13414:6:26"},"nodeType":"YulFunctionCall","src":"13414:15:26"},"nodeType":"YulExpressionStatement","src":"13414:15:26"}]},"name":"panic_error_0x32","nodeType":"YulFunctionDefinition","src":"13251:184:26"},{"body":{"nodeType":"YulBlock","src":"13495:382:26","statements":[{"nodeType":"YulAssignment","src":"13505:22:26","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13519:1:26","type":"","value":"1"},{"name":"data","nodeType":"YulIdentifier","src":"13522:4:26"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"13515:3:26"},"nodeType":"YulFunctionCall","src":"13515:12:26"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"13505:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"13536:38:26","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"13566:4:26"},{"kind":"number","nodeType":"YulLiteral","src":"13572:1:26","type":"","value":"1"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"13562:3:26"},"nodeType":"YulFunctionCall","src":"13562:12:26"},"variables":[{"name":"outOfPlaceEncoding","nodeType":"YulTypedName","src":"13540:18:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"13613:31:26","statements":[{"nodeType":"YulAssignment","src":"13615:27:26","value":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"13629:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"13637:4:26","type":"","value":"0x7f"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"13625:3:26"},"nodeType":"YulFunctionCall","src":"13625:17:26"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"13615:6:26"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"13593:18:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"13586:6:26"},"nodeType":"YulFunctionCall","src":"13586:26:26"},"nodeType":"YulIf","src":"13583:61:26"},{"body":{"nodeType":"YulBlock","src":"13703:168:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13724:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13727:77:26","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13717:6:26"},"nodeType":"YulFunctionCall","src":"13717:88:26"},"nodeType":"YulExpressionStatement","src":"13717:88:26"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13825:1:26","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"13828:4:26","type":"","value":"0x22"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13818:6:26"},"nodeType":"YulFunctionCall","src":"13818:15:26"},"nodeType":"YulExpressionStatement","src":"13818:15:26"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13853:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13856:4:26","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"13846:6:26"},"nodeType":"YulFunctionCall","src":"13846:15:26"},"nodeType":"YulExpressionStatement","src":"13846:15:26"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"13659:18:26"},{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"13682:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"13690:2:26","type":"","value":"32"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"13679:2:26"},"nodeType":"YulFunctionCall","src":"13679:14:26"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"13656:2:26"},"nodeType":"YulFunctionCall","src":"13656:38:26"},"nodeType":"YulIf","src":"13653:218:26"}]},"name":"extract_byte_array_length","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"13475:4:26","type":""}],"returnVariables":[{"name":"length","nodeType":"YulTypedName","src":"13484:6:26","type":""}],"src":"13440:437:26"},{"body":{"nodeType":"YulBlock","src":"14056:236:26","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14073:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"14084:2:26","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14066:6:26"},"nodeType":"YulFunctionCall","src":"14066:21:26"},"nodeType":"YulExpressionStatement","src":"14066:21:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14107:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"14118:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14103:3:26"},"nodeType":"YulFunctionCall","src":"14103:18:26"},{"kind":"number","nodeType":"YulLiteral","src":"14123:2:26","type":"","value":"46"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14096:6:26"},"nodeType":"YulFunctionCall","src":"14096:30:26"},"nodeType":"YulExpressionStatement","src":"14096:30:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14146:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"14157:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14142:3:26"},"nodeType":"YulFunctionCall","src":"14142:18:26"},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320616c726561","kind":"string","nodeType":"YulLiteral","src":"14162:34:26","type":"","value":"Initializable: contract is alrea"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14135:6:26"},"nodeType":"YulFunctionCall","src":"14135:62:26"},"nodeType":"YulExpressionStatement","src":"14135:62:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14217:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"14228:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14213:3:26"},"nodeType":"YulFunctionCall","src":"14213:18:26"},{"hexValue":"647920696e697469616c697a6564","kind":"string","nodeType":"YulLiteral","src":"14233:16:26","type":"","value":"dy initialized"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14206:6:26"},"nodeType":"YulFunctionCall","src":"14206:44:26"},"nodeType":"YulExpressionStatement","src":"14206:44:26"},{"nodeType":"YulAssignment","src":"14259:27:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14271:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"14282:3:26","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14267:3:26"},"nodeType":"YulFunctionCall","src":"14267:19:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"14259:4:26"}]}]},"name":"abi_encode_tuple_t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"14033:9:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"14047:4:26","type":""}],"src":"13882:410:26"},{"body":{"nodeType":"YulBlock","src":"14404:87:26","statements":[{"nodeType":"YulAssignment","src":"14414:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14426:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"14437:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14422:3:26"},"nodeType":"YulFunctionCall","src":"14422:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"14414:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14456:9:26"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"14471:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"14479:4:26","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"14467:3:26"},"nodeType":"YulFunctionCall","src":"14467:17:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14449:6:26"},"nodeType":"YulFunctionCall","src":"14449:36:26"},"nodeType":"YulExpressionStatement","src":"14449:36:26"}]},"name":"abi_encode_tuple_t_rational_1_by_1__to_t_uint8__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"14373:9:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"14384:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"14395:4:26","type":""}],"src":"14297:194:26"},{"body":{"nodeType":"YulBlock","src":"14528:152:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14545:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"14548:77:26","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14538:6:26"},"nodeType":"YulFunctionCall","src":"14538:88:26"},"nodeType":"YulExpressionStatement","src":"14538:88:26"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14642:1:26","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"14645:4:26","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14635:6:26"},"nodeType":"YulFunctionCall","src":"14635:15:26"},"nodeType":"YulExpressionStatement","src":"14635:15:26"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14666:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"14669:4:26","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"14659:6:26"},"nodeType":"YulFunctionCall","src":"14659:15:26"},"nodeType":"YulExpressionStatement","src":"14659:15:26"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"14496:184:26"},{"body":{"nodeType":"YulBlock","src":"14732:302:26","statements":[{"body":{"nodeType":"YulBlock","src":"14831:168:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14852:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"14855:77:26","type":"","value":"35408467139433450592217433187231851964531694900788300625387963629091585785856"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14845:6:26"},"nodeType":"YulFunctionCall","src":"14845:88:26"},"nodeType":"YulExpressionStatement","src":"14845:88:26"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14953:1:26","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"14956:4:26","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14946:6:26"},"nodeType":"YulFunctionCall","src":"14946:15:26"},"nodeType":"YulExpressionStatement","src":"14946:15:26"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"14981:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"14984:4:26","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"14974:6:26"},"nodeType":"YulFunctionCall","src":"14974:15:26"},"nodeType":"YulExpressionStatement","src":"14974:15:26"}]},"condition":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"14748:5:26"},{"kind":"number","nodeType":"YulLiteral","src":"14755:66:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"14745:2:26"},"nodeType":"YulFunctionCall","src":"14745:77:26"},"nodeType":"YulIf","src":"14742:257:26"},{"nodeType":"YulAssignment","src":"15008:20:26","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"15019:5:26"},{"kind":"number","nodeType":"YulLiteral","src":"15026:1:26","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15015:3:26"},"nodeType":"YulFunctionCall","src":"15015:13:26"},"variableNames":[{"name":"ret","nodeType":"YulIdentifier","src":"15008:3:26"}]}]},"name":"increment_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"14714:5:26","type":""}],"returnVariables":[{"name":"ret","nodeType":"YulTypedName","src":"14724:3:26","type":""}],"src":"14685:349:26"},{"body":{"nodeType":"YulBlock","src":"15098:104:26","statements":[{"nodeType":"YulAssignment","src":"15108:22:26","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"15123:6:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"15117:5:26"},"nodeType":"YulFunctionCall","src":"15117:13:26"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"15108:5:26"}]},{"body":{"nodeType":"YulBlock","src":"15180:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15189:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15192:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"15182:6:26"},"nodeType":"YulFunctionCall","src":"15182:12:26"},"nodeType":"YulExpressionStatement","src":"15182:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"15152:5:26"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"15163:5:26"},{"kind":"number","nodeType":"YulLiteral","src":"15170:6:26","type":"","value":"0xffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"15159:3:26"},"nodeType":"YulFunctionCall","src":"15159:18:26"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"15149:2:26"},"nodeType":"YulFunctionCall","src":"15149:29:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"15142:6:26"},"nodeType":"YulFunctionCall","src":"15142:37:26"},"nodeType":"YulIf","src":"15139:57:26"}]},"name":"abi_decode_uint16_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"15077:6:26","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"15088:5:26","type":""}],"src":"15039:163:26"},{"body":{"nodeType":"YulBlock","src":"15364:679:26","statements":[{"body":{"nodeType":"YulBlock","src":"15411:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15420:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15423:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"15413:6:26"},"nodeType":"YulFunctionCall","src":"15413:12:26"},"nodeType":"YulExpressionStatement","src":"15413:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"15385:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"15394:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"15381:3:26"},"nodeType":"YulFunctionCall","src":"15381:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"15406:3:26","type":"","value":"192"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"15377:3:26"},"nodeType":"YulFunctionCall","src":"15377:33:26"},"nodeType":"YulIf","src":"15374:53:26"},{"nodeType":"YulVariableDeclaration","src":"15436:29:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15455:9:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"15449:5:26"},"nodeType":"YulFunctionCall","src":"15449:16:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"15440:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"15499:5:26"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"15474:24:26"},"nodeType":"YulFunctionCall","src":"15474:31:26"},"nodeType":"YulExpressionStatement","src":"15474:31:26"},{"nodeType":"YulAssignment","src":"15514:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"15524:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"15514:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"15538:40:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15563:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"15574:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15559:3:26"},"nodeType":"YulFunctionCall","src":"15559:18:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"15553:5:26"},"nodeType":"YulFunctionCall","src":"15553:25:26"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"15542:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"15610:7:26"}],"functionName":{"name":"validator_revert_int24","nodeType":"YulIdentifier","src":"15587:22:26"},"nodeType":"YulFunctionCall","src":"15587:31:26"},"nodeType":"YulExpressionStatement","src":"15587:31:26"},{"nodeType":"YulAssignment","src":"15627:17:26","value":{"name":"value_1","nodeType":"YulIdentifier","src":"15637:7:26"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"15627:6:26"}]},{"nodeType":"YulAssignment","src":"15653:58:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15696:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"15707:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15692:3:26"},"nodeType":"YulFunctionCall","src":"15692:18:26"}],"functionName":{"name":"abi_decode_uint16_fromMemory","nodeType":"YulIdentifier","src":"15663:28:26"},"nodeType":"YulFunctionCall","src":"15663:48:26"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"15653:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"15720:40:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15745:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"15756:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15741:3:26"},"nodeType":"YulFunctionCall","src":"15741:18:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"15735:5:26"},"nodeType":"YulFunctionCall","src":"15735:25:26"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"15724:7:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"15812:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"15821:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"15824:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"15814:6:26"},"nodeType":"YulFunctionCall","src":"15814:12:26"},"nodeType":"YulExpressionStatement","src":"15814:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"15782:7:26"},{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"15795:7:26"},{"kind":"number","nodeType":"YulLiteral","src":"15804:4:26","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"15791:3:26"},"nodeType":"YulFunctionCall","src":"15791:18:26"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"15779:2:26"},"nodeType":"YulFunctionCall","src":"15779:31:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"15772:6:26"},"nodeType":"YulFunctionCall","src":"15772:39:26"},"nodeType":"YulIf","src":"15769:59:26"},{"nodeType":"YulAssignment","src":"15837:17:26","value":{"name":"value_2","nodeType":"YulIdentifier","src":"15847:7:26"},"variableNames":[{"name":"value3","nodeType":"YulIdentifier","src":"15837:6:26"}]},{"nodeType":"YulAssignment","src":"15863:59:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15906:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"15917:3:26","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15902:3:26"},"nodeType":"YulFunctionCall","src":"15902:19:26"}],"functionName":{"name":"abi_decode_uint16_fromMemory","nodeType":"YulIdentifier","src":"15873:28:26"},"nodeType":"YulFunctionCall","src":"15873:49:26"},"variableNames":[{"name":"value4","nodeType":"YulIdentifier","src":"15863:6:26"}]},{"nodeType":"YulVariableDeclaration","src":"15931:41:26","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"15956:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"15967:3:26","type":"","value":"160"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"15952:3:26"},"nodeType":"YulFunctionCall","src":"15952:19:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"15946:5:26"},"nodeType":"YulFunctionCall","src":"15946:26:26"},"variables":[{"name":"value_3","nodeType":"YulTypedName","src":"15935:7:26","type":""}]},{"expression":{"arguments":[{"name":"value_3","nodeType":"YulIdentifier","src":"16003:7:26"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"15981:21:26"},"nodeType":"YulFunctionCall","src":"15981:30:26"},"nodeType":"YulExpressionStatement","src":"15981:30:26"},{"nodeType":"YulAssignment","src":"16020:17:26","value":{"name":"value_3","nodeType":"YulIdentifier","src":"16030:7:26"},"variableNames":[{"name":"value5","nodeType":"YulIdentifier","src":"16020:6:26"}]}]},"name":"abi_decode_tuple_t_uint160t_int24t_uint16t_uint8t_uint16t_bool_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"15290:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"15301:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"15313:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"15321:6:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"15329:6:26","type":""},{"name":"value3","nodeType":"YulTypedName","src":"15337:6:26","type":""},{"name":"value4","nodeType":"YulTypedName","src":"15345:6:26","type":""},{"name":"value5","nodeType":"YulTypedName","src":"15353:6:26","type":""}],"src":"15207:836:26"},{"body":{"nodeType":"YulBlock","src":"16203:256:26","statements":[{"nodeType":"YulAssignment","src":"16213:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16225:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"16236:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16221:3:26"},"nodeType":"YulFunctionCall","src":"16221:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"16213:4:26"}]},{"nodeType":"YulVariableDeclaration","src":"16248:52:26","value":{"kind":"number","nodeType":"YulLiteral","src":"16258:42:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"16252:2:26","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16316:9:26"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"16331:6:26"},{"name":"_1","nodeType":"YulIdentifier","src":"16339:2:26"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16327:3:26"},"nodeType":"YulFunctionCall","src":"16327:15:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16309:6:26"},"nodeType":"YulFunctionCall","src":"16309:34:26"},"nodeType":"YulExpressionStatement","src":"16309:34:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16363:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"16374:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16359:3:26"},"nodeType":"YulFunctionCall","src":"16359:18:26"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"16383:6:26"},{"name":"_1","nodeType":"YulIdentifier","src":"16391:2:26"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16379:3:26"},"nodeType":"YulFunctionCall","src":"16379:15:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16352:6:26"},"nodeType":"YulFunctionCall","src":"16352:43:26"},"nodeType":"YulExpressionStatement","src":"16352:43:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16415:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"16426:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"16411:3:26"},"nodeType":"YulFunctionCall","src":"16411:18:26"},{"arguments":[{"name":"value2","nodeType":"YulIdentifier","src":"16435:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"16443:8:26","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16431:3:26"},"nodeType":"YulFunctionCall","src":"16431:21:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16404:6:26"},"nodeType":"YulFunctionCall","src":"16404:49:26"},"nodeType":"YulExpressionStatement","src":"16404:49:26"}]},"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":"16156:9:26","type":""},{"name":"value2","nodeType":"YulTypedName","src":"16167:6:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"16175:6:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"16183:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"16194:4:26","type":""}],"src":"16048:411:26"},{"body":{"nodeType":"YulBlock","src":"16544:198:26","statements":[{"body":{"nodeType":"YulBlock","src":"16590:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16599:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"16602:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"16592:6:26"},"nodeType":"YulFunctionCall","src":"16592:12:26"},"nodeType":"YulExpressionStatement","src":"16592:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"16565:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"16574:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"16561:3:26"},"nodeType":"YulFunctionCall","src":"16561:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"16586:2:26","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"16557:3:26"},"nodeType":"YulFunctionCall","src":"16557:32:26"},"nodeType":"YulIf","src":"16554:52:26"},{"nodeType":"YulVariableDeclaration","src":"16615:29:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"16634:9:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"16628:5:26"},"nodeType":"YulFunctionCall","src":"16628:16:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"16619:5:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"16696:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16705:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"16708:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"16698:6:26"},"nodeType":"YulFunctionCall","src":"16698:12:26"},"nodeType":"YulExpressionStatement","src":"16698:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"16666:5:26"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"16677:5:26"},{"kind":"number","nodeType":"YulLiteral","src":"16684:8:26","type":"","value":"0xffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"16673:3:26"},"nodeType":"YulFunctionCall","src":"16673:20:26"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"16663:2:26"},"nodeType":"YulFunctionCall","src":"16663:31:26"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"16656:6:26"},"nodeType":"YulFunctionCall","src":"16656:39:26"},"nodeType":"YulIf","src":"16653:59:26"},{"nodeType":"YulAssignment","src":"16721:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"16731:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"16721:6:26"}]}]},"name":"abi_decode_tuple_t_uint24_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"16510:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"16521:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"16533:6:26","type":""}],"src":"16464:278:26"},{"body":{"nodeType":"YulBlock","src":"16803:65:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16820:1:26","type":"","value":"0"},{"name":"ptr","nodeType":"YulIdentifier","src":"16823:3:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"16813:6:26"},"nodeType":"YulFunctionCall","src":"16813:14:26"},"nodeType":"YulExpressionStatement","src":"16813:14:26"},{"nodeType":"YulAssignment","src":"16836:26:26","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"16854:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"16857:4:26","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"16844:9:26"},"nodeType":"YulFunctionCall","src":"16844:18:26"},"variableNames":[{"name":"data","nodeType":"YulIdentifier","src":"16836:4:26"}]}]},"name":"array_dataslot_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"ptr","nodeType":"YulTypedName","src":"16786:3:26","type":""}],"returnVariables":[{"name":"data","nodeType":"YulTypedName","src":"16794:4:26","type":""}],"src":"16747:121:26"},{"body":{"nodeType":"YulBlock","src":"16954:464:26","statements":[{"body":{"nodeType":"YulBlock","src":"16987:425:26","statements":[{"nodeType":"YulVariableDeclaration","src":"17001:11:26","value":{"kind":"number","nodeType":"YulLiteral","src":"17011:1:26","type":"","value":"0"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"17005:2:26","type":""}]},{"expression":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"17032:2:26"},{"name":"array","nodeType":"YulIdentifier","src":"17036:5:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"17025:6:26"},"nodeType":"YulFunctionCall","src":"17025:17:26"},"nodeType":"YulExpressionStatement","src":"17025:17:26"},{"nodeType":"YulVariableDeclaration","src":"17055:31:26","value":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"17077:2:26"},{"kind":"number","nodeType":"YulLiteral","src":"17081:4:26","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"17067:9:26"},"nodeType":"YulFunctionCall","src":"17067:19:26"},"variables":[{"name":"data","nodeType":"YulTypedName","src":"17059:4:26","type":""}]},{"nodeType":"YulVariableDeclaration","src":"17099:57:26","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"17122:4:26"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17132:1:26","type":"","value":"5"},{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"17139:10:26"},{"kind":"number","nodeType":"YulLiteral","src":"17151:2:26","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17135:3:26"},"nodeType":"YulFunctionCall","src":"17135:19:26"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"17128:3:26"},"nodeType":"YulFunctionCall","src":"17128:27:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17118:3:26"},"nodeType":"YulFunctionCall","src":"17118:38:26"},"variables":[{"name":"deleteStart","nodeType":"YulTypedName","src":"17103:11:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"17193:23:26","statements":[{"nodeType":"YulAssignment","src":"17195:19:26","value":{"name":"data","nodeType":"YulIdentifier","src":"17210:4:26"},"variableNames":[{"name":"deleteStart","nodeType":"YulIdentifier","src":"17195:11:26"}]}]},"condition":{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"17175:10:26"},{"kind":"number","nodeType":"YulLiteral","src":"17187:4:26","type":"","value":"0x20"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"17172:2:26"},"nodeType":"YulFunctionCall","src":"17172:20:26"},"nodeType":"YulIf","src":"17169:47:26"},{"nodeType":"YulVariableDeclaration","src":"17229:41:26","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"17243:4:26"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17253:1:26","type":"","value":"5"},{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"17260:3:26"},{"kind":"number","nodeType":"YulLiteral","src":"17265:2:26","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17256:3:26"},"nodeType":"YulFunctionCall","src":"17256:12:26"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"17249:3:26"},"nodeType":"YulFunctionCall","src":"17249:20:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17239:3:26"},"nodeType":"YulFunctionCall","src":"17239:31:26"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"17233:2:26","type":""}]},{"nodeType":"YulVariableDeclaration","src":"17283:24:26","value":{"name":"deleteStart","nodeType":"YulIdentifier","src":"17296:11:26"},"variables":[{"name":"start","nodeType":"YulTypedName","src":"17287:5:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"17381:21:26","statements":[{"expression":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"17390:5:26"},{"name":"_1","nodeType":"YulIdentifier","src":"17397:2:26"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"17383:6:26"},"nodeType":"YulFunctionCall","src":"17383:17:26"},"nodeType":"YulExpressionStatement","src":"17383:17:26"}]},"condition":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"17331:5:26"},{"name":"_2","nodeType":"YulIdentifier","src":"17338:2:26"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"17328:2:26"},"nodeType":"YulFunctionCall","src":"17328:13:26"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"17342:26:26","statements":[{"nodeType":"YulAssignment","src":"17344:22:26","value":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"17357:5:26"},{"kind":"number","nodeType":"YulLiteral","src":"17364:1:26","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"17353:3:26"},"nodeType":"YulFunctionCall","src":"17353:13:26"},"variableNames":[{"name":"start","nodeType":"YulIdentifier","src":"17344:5:26"}]}]},"pre":{"nodeType":"YulBlock","src":"17324:3:26","statements":[]},"src":"17320:82:26"}]},"condition":{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"16970:3:26"},{"kind":"number","nodeType":"YulLiteral","src":"16975:2:26","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"16967:2:26"},"nodeType":"YulFunctionCall","src":"16967:11:26"},"nodeType":"YulIf","src":"16964:448:26"}]},"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"array","nodeType":"YulTypedName","src":"16926:5:26","type":""},{"name":"len","nodeType":"YulTypedName","src":"16933:3:26","type":""},{"name":"startIndex","nodeType":"YulTypedName","src":"16938:10:26","type":""}],"src":"16873:545:26"},{"body":{"nodeType":"YulBlock","src":"17508:141:26","statements":[{"nodeType":"YulAssignment","src":"17518:125:26","value":{"arguments":[{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"17533:4:26"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17551:1:26","type":"","value":"3"},{"name":"len","nodeType":"YulIdentifier","src":"17554:3:26"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"17547:3:26"},"nodeType":"YulFunctionCall","src":"17547:11:26"},{"kind":"number","nodeType":"YulLiteral","src":"17560:66:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"17543:3:26"},"nodeType":"YulFunctionCall","src":"17543:84:26"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"17539:3:26"},"nodeType":"YulFunctionCall","src":"17539:89:26"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"17529:3:26"},"nodeType":"YulFunctionCall","src":"17529:100:26"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"17635:1:26","type":"","value":"1"},{"name":"len","nodeType":"YulIdentifier","src":"17638:3:26"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"17631:3:26"},"nodeType":"YulFunctionCall","src":"17631:11:26"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"17526:2:26"},"nodeType":"YulFunctionCall","src":"17526:117:26"},"variableNames":[{"name":"used","nodeType":"YulIdentifier","src":"17518:4:26"}]}]},"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"17485:4:26","type":""},{"name":"len","nodeType":"YulTypedName","src":"17491:3:26","type":""}],"returnVariables":[{"name":"used","nodeType":"YulTypedName","src":"17499:4:26","type":""}],"src":"17423:226:26"},{"body":{"nodeType":"YulBlock","src":"17750:1375:26","statements":[{"nodeType":"YulVariableDeclaration","src":"17760:24:26","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"17780:3:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"17774:5:26"},"nodeType":"YulFunctionCall","src":"17774:10:26"},"variables":[{"name":"newLen","nodeType":"YulTypedName","src":"17764:6:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"17827:22:26","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"17829:16:26"},"nodeType":"YulFunctionCall","src":"17829:18:26"},"nodeType":"YulExpressionStatement","src":"17829:18:26"}]},"condition":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"17799:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"17807:18:26","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"17796:2:26"},"nodeType":"YulFunctionCall","src":"17796:30:26"},"nodeType":"YulIf","src":"17793:56:26"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"17902:4:26"},{"arguments":[{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"17940:4:26"}],"functionName":{"name":"sload","nodeType":"YulIdentifier","src":"17934:5:26"},"nodeType":"YulFunctionCall","src":"17934:11:26"}],"functionName":{"name":"extract_byte_array_length","nodeType":"YulIdentifier","src":"17908:25:26"},"nodeType":"YulFunctionCall","src":"17908:38:26"},{"name":"newLen","nodeType":"YulIdentifier","src":"17948:6:26"}],"functionName":{"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulIdentifier","src":"17858:43:26"},"nodeType":"YulFunctionCall","src":"17858:97:26"},"nodeType":"YulExpressionStatement","src":"17858:97:26"},{"nodeType":"YulVariableDeclaration","src":"17964:18:26","value":{"kind":"number","nodeType":"YulLiteral","src":"17981:1:26","type":"","value":"0"},"variables":[{"name":"srcOffset","nodeType":"YulTypedName","src":"17968:9:26","type":""}]},{"nodeType":"YulVariableDeclaration","src":"17991:23:26","value":{"kind":"number","nodeType":"YulLiteral","src":"18010:4:26","type":"","value":"0x20"},"variables":[{"name":"srcOffset_1","nodeType":"YulTypedName","src":"17995:11:26","type":""}]},{"nodeType":"YulAssignment","src":"18023:24:26","value":{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"18036:11:26"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"18023:9:26"}]},{"cases":[{"body":{"nodeType":"YulBlock","src":"18093:775:26","statements":[{"nodeType":"YulVariableDeclaration","src":"18107:94:26","value":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"18126:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"18134:66:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"18122:3:26"},"nodeType":"YulFunctionCall","src":"18122:79:26"},"variables":[{"name":"loopEnd","nodeType":"YulTypedName","src":"18111:7:26","type":""}]},{"nodeType":"YulVariableDeclaration","src":"18214:49:26","value":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"18258:4:26"}],"functionName":{"name":"array_dataslot_string_storage","nodeType":"YulIdentifier","src":"18228:29:26"},"nodeType":"YulFunctionCall","src":"18228:35:26"},"variables":[{"name":"dstPtr","nodeType":"YulTypedName","src":"18218:6:26","type":""}]},{"nodeType":"YulVariableDeclaration","src":"18276:10:26","value":{"kind":"number","nodeType":"YulLiteral","src":"18285:1:26","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"18280:1:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"18363:172:26","statements":[{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"18388:6:26"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"18406:3:26"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"18411:9:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18402:3:26"},"nodeType":"YulFunctionCall","src":"18402:19:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"18396:5:26"},"nodeType":"YulFunctionCall","src":"18396:26:26"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"18381:6:26"},"nodeType":"YulFunctionCall","src":"18381:42:26"},"nodeType":"YulExpressionStatement","src":"18381:42:26"},{"nodeType":"YulAssignment","src":"18440:24:26","value":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"18454:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"18462:1:26","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18450:3:26"},"nodeType":"YulFunctionCall","src":"18450:14:26"},"variableNames":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"18440:6:26"}]},{"nodeType":"YulAssignment","src":"18481:40:26","value":{"arguments":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"18498:9:26"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"18509:11:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18494:3:26"},"nodeType":"YulFunctionCall","src":"18494:27:26"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"18481:9:26"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"18310:1:26"},{"name":"loopEnd","nodeType":"YulIdentifier","src":"18313:7:26"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"18307:2:26"},"nodeType":"YulFunctionCall","src":"18307:14:26"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"18322:28:26","statements":[{"nodeType":"YulAssignment","src":"18324:24:26","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"18333:1:26"},{"name":"srcOffset_1","nodeType":"YulIdentifier","src":"18336:11:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18329:3:26"},"nodeType":"YulFunctionCall","src":"18329:19:26"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"18324:1:26"}]}]},"pre":{"nodeType":"YulBlock","src":"18303:3:26","statements":[]},"src":"18299:236:26"},{"body":{"nodeType":"YulBlock","src":"18583:226:26","statements":[{"nodeType":"YulVariableDeclaration","src":"18601:43:26","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"18628:3:26"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"18633:9:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18624:3:26"},"nodeType":"YulFunctionCall","src":"18624:19:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"18618:5:26"},"nodeType":"YulFunctionCall","src":"18618:26:26"},"variables":[{"name":"lastValue","nodeType":"YulTypedName","src":"18605:9:26","type":""}]},{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"18668:6:26"},{"arguments":[{"name":"lastValue","nodeType":"YulIdentifier","src":"18680:9:26"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"18707:1:26","type":"","value":"3"},{"name":"newLen","nodeType":"YulIdentifier","src":"18710:6:26"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"18703:3:26"},"nodeType":"YulFunctionCall","src":"18703:14:26"},{"kind":"number","nodeType":"YulLiteral","src":"18719:3:26","type":"","value":"248"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"18699:3:26"},"nodeType":"YulFunctionCall","src":"18699:24:26"},{"kind":"number","nodeType":"YulLiteral","src":"18725:66:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"18695:3:26"},"nodeType":"YulFunctionCall","src":"18695:97:26"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"18691:3:26"},"nodeType":"YulFunctionCall","src":"18691:102:26"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"18676:3:26"},"nodeType":"YulFunctionCall","src":"18676:118:26"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"18661:6:26"},"nodeType":"YulFunctionCall","src":"18661:134:26"},"nodeType":"YulExpressionStatement","src":"18661:134:26"}]},"condition":{"arguments":[{"name":"loopEnd","nodeType":"YulIdentifier","src":"18554:7:26"},{"name":"newLen","nodeType":"YulIdentifier","src":"18563:6:26"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"18551:2:26"},"nodeType":"YulFunctionCall","src":"18551:19:26"},"nodeType":"YulIf","src":"18548:261:26"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"18829:4:26"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"18843:1:26","type":"","value":"1"},{"name":"newLen","nodeType":"YulIdentifier","src":"18846:6:26"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"18839:3:26"},"nodeType":"YulFunctionCall","src":"18839:14:26"},{"kind":"number","nodeType":"YulLiteral","src":"18855:1:26","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18835:3:26"},"nodeType":"YulFunctionCall","src":"18835:22:26"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"18822:6:26"},"nodeType":"YulFunctionCall","src":"18822:36:26"},"nodeType":"YulExpressionStatement","src":"18822:36:26"}]},"nodeType":"YulCase","src":"18086:782:26","value":{"kind":"number","nodeType":"YulLiteral","src":"18091:1:26","type":"","value":"1"}},{"body":{"nodeType":"YulBlock","src":"18885:234:26","statements":[{"nodeType":"YulVariableDeclaration","src":"18899:14:26","value":{"kind":"number","nodeType":"YulLiteral","src":"18912:1:26","type":"","value":"0"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"18903:5:26","type":""}]},{"body":{"nodeType":"YulBlock","src":"18948:67:26","statements":[{"nodeType":"YulAssignment","src":"18966:35:26","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"18985:3:26"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"18990:9:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"18981:3:26"},"nodeType":"YulFunctionCall","src":"18981:19:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"18975:5:26"},"nodeType":"YulFunctionCall","src":"18975:26:26"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"18966:5:26"}]}]},"condition":{"name":"newLen","nodeType":"YulIdentifier","src":"18929:6:26"},"nodeType":"YulIf","src":"18926:89:26"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"19035:4:26"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"19094:5:26"},{"name":"newLen","nodeType":"YulIdentifier","src":"19101:6:26"}],"functionName":{"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulIdentifier","src":"19041:52:26"},"nodeType":"YulFunctionCall","src":"19041:67:26"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"19028:6:26"},"nodeType":"YulFunctionCall","src":"19028:81:26"},"nodeType":"YulExpressionStatement","src":"19028:81:26"}]},"nodeType":"YulCase","src":"18877:242:26","value":"default"}],"expression":{"arguments":[{"name":"newLen","nodeType":"YulIdentifier","src":"18066:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"18074:2:26","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"18063:2:26"},"nodeType":"YulFunctionCall","src":"18063:14:26"},"nodeType":"YulSwitch","src":"18056:1063:26"}]},"name":"copy_byte_array_to_storage_from_t_string_memory_ptr_to_t_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"slot","nodeType":"YulTypedName","src":"17735:4:26","type":""},{"name":"src","nodeType":"YulTypedName","src":"17741:3:26","type":""}],"src":"17654:1471:26"},{"body":{"nodeType":"YulBlock","src":"19259:168:26","statements":[{"nodeType":"YulAssignment","src":"19269:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19281:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"19292:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19277:3:26"},"nodeType":"YulFunctionCall","src":"19277:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"19269:4:26"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19311:9:26"},{"name":"value0","nodeType":"YulIdentifier","src":"19322:6:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19304:6:26"},"nodeType":"YulFunctionCall","src":"19304:25:26"},"nodeType":"YulExpressionStatement","src":"19304:25:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19349:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"19360:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19345:3:26"},"nodeType":"YulFunctionCall","src":"19345:18:26"},{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"19369:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"19377:42:26","type":"","value":"0xffffffffffffffffffffffffffffffffffffffff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"19365:3:26"},"nodeType":"YulFunctionCall","src":"19365:55:26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19338:6:26"},"nodeType":"YulFunctionCall","src":"19338:83:26"},"nodeType":"YulExpressionStatement","src":"19338:83:26"}]},"name":"abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"19220:9:26","type":""},{"name":"value1","nodeType":"YulTypedName","src":"19231:6:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"19239:6:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"19250:4:26","type":""}],"src":"19130:297:26"},{"body":{"nodeType":"YulBlock","src":"19510:167:26","statements":[{"body":{"nodeType":"YulBlock","src":"19556:16:26","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"19565:1:26","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"19568:1:26","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"19558:6:26"},"nodeType":"YulFunctionCall","src":"19558:12:26"},"nodeType":"YulExpressionStatement","src":"19558:12:26"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"19531:7:26"},{"name":"headStart","nodeType":"YulIdentifier","src":"19540:9:26"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"19527:3:26"},"nodeType":"YulFunctionCall","src":"19527:23:26"},{"kind":"number","nodeType":"YulLiteral","src":"19552:2:26","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"19523:3:26"},"nodeType":"YulFunctionCall","src":"19523:32:26"},"nodeType":"YulIf","src":"19520:52:26"},{"nodeType":"YulVariableDeclaration","src":"19581:29:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19600:9:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"19594:5:26"},"nodeType":"YulFunctionCall","src":"19594:16:26"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"19585:5:26","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"19641:5:26"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"19619:21:26"},"nodeType":"YulFunctionCall","src":"19619:28:26"},"nodeType":"YulExpressionStatement","src":"19619:28:26"},{"nodeType":"YulAssignment","src":"19656:15:26","value":{"name":"value","nodeType":"YulIdentifier","src":"19666:5:26"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"19656:6:26"}]}]},"name":"abi_decode_tuple_t_bool_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"19476:9:26","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"19487:7:26","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"19499:6:26","type":""}],"src":"19432:245:26"},{"body":{"nodeType":"YulBlock","src":"19856:164:26","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19873:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"19884:2:26","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19866:6:26"},"nodeType":"YulFunctionCall","src":"19866:21:26"},"nodeType":"YulExpressionStatement","src":"19866:21:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19907:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"19918:2:26","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19903:3:26"},"nodeType":"YulFunctionCall","src":"19903:18:26"},{"kind":"number","nodeType":"YulLiteral","src":"19923:2:26","type":"","value":"14"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19896:6:26"},"nodeType":"YulFunctionCall","src":"19896:30:26"},"nodeType":"YulExpressionStatement","src":"19896:30:26"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"19946:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"19957:2:26","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19942:3:26"},"nodeType":"YulFunctionCall","src":"19942:18:26"},{"hexValue":"4e6f7420617574686f72697a6564","kind":"string","nodeType":"YulLiteral","src":"19962:16:26","type":"","value":"Not authorized"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"19935:6:26"},"nodeType":"YulFunctionCall","src":"19935:44:26"},"nodeType":"YulExpressionStatement","src":"19935:44:26"},{"nodeType":"YulAssignment","src":"19988:26:26","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"20000:9:26"},{"kind":"number","nodeType":"YulLiteral","src":"20011:2:26","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"19996:3:26"},"nodeType":"YulFunctionCall","src":"19996:18:26"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"19988:4:26"}]}]},"name":"abi_encode_tuple_t_stringliteral_fac3bac318c0d00994f57b0f2f4c643c313072b71db2302bf4b900309cc50b36__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"19833:9:26","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"19847:4:26","type":""}],"src":"19682:338:26"},{"body":{"nodeType":"YulBlock","src":"20162:150:26","statements":[{"nodeType":"YulVariableDeclaration","src":"20172:27:26","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"20192:6:26"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"20186:5:26"},"nodeType":"YulFunctionCall","src":"20186:13:26"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"20176:6:26","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"20247:6:26"},{"kind":"number","nodeType":"YulLiteral","src":"20255:4:26","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20243:3:26"},"nodeType":"YulFunctionCall","src":"20243:17:26"},{"name":"pos","nodeType":"YulIdentifier","src":"20262:3:26"},{"name":"length","nodeType":"YulIdentifier","src":"20267:6:26"}],"functionName":{"name":"copy_memory_to_memory_with_cleanup","nodeType":"YulIdentifier","src":"20208:34:26"},"nodeType":"YulFunctionCall","src":"20208:66:26"},"nodeType":"YulExpressionStatement","src":"20208:66:26"},{"nodeType":"YulAssignment","src":"20283:23:26","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"20294:3:26"},{"name":"length","nodeType":"YulIdentifier","src":"20299:6:26"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"20290:3:26"},"nodeType":"YulFunctionCall","src":"20290:16:26"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"20283:3:26"}]}]},"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":"20138:3:26","type":""},{"name":"value0","nodeType":"YulTypedName","src":"20143:6:26","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"20154:3:26","type":""}],"src":"20025:287:26"}]},"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_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n    {\n        tail := add(headStart, 32)\n        mstore(headStart, value0)\n    }\n    function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n    {\n        if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n        value0 := calldataload(headStart)\n    }\n    function 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 panic_error_0x32()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x32)\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, 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 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_0x41()\n    {\n        mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n        mstore(4, 0x41)\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_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_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 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_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_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}","id":26,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{"81":[{"length":32,"start":944},{"length":32,"start":4428}],"84":[{"length":32,"start":1002},{"length":32,"start":1821}],"2478":[{"length":32,"start":2979},{"length":32,"start":3621},{"length":32,"start":3853}]},"linkReferences":{},"object":"608060405234801561001057600080fd5b50600436106101775760003560e01c806382dd6522116100d8578063c3da79781161008c578063e2a1bd5911610066578063e2a1bd59146103e5578063e72c652d1461040c578063f20cdc1a1461041f57600080fd5b8063c3da797814610398578063c45a0155146103ab578063d6852010146103d257600080fd5b80639cb5a963116100bd5780639cb5a9631461035d578063aa6b14bb14610370578063b6f78cc91461038357600080fd5b806382dd6522146103375780638de0a8ee1461034a57600080fd5b806346b7748b1161012f5780635e2411b2116101145780635e2411b2146102bb578063636fd8041461030a578063689ea3701461031d57600080fd5b806346b7748b14610286578063485cc955146102a657600080fd5b806331b25d1a1161016057806331b25d1a14610205578063343d37ff1461023a57806336badf631461027e57600080fd5b8063029c1cb71461017c57806316f0115b146101d8575b600080fd5b61018f61018a366004611412565b61045c565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909416845262ffffff92831660208501529116908201526060015b60405180910390f35b6101e06104c7565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101cf565b61022c7f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f581565b6040519081526020016101cf565b61024d6102483660046114bc565b6104d6565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020016101cf565b61022c604b81565b61029961029436600461152b565b61050e565b6040516101cf91906115b2565b6102b96102b43660046115cc565b6105dc565b005b6102ce6102c936600461162b565b610879565b604080517fffffffff00000000000000000000000000000000000000000000000000000000909316835262ffffff9091166020830152016101cf565b61024d6103183660046115cc565b6108b5565b61032561091a565b60405160ff90911681526020016101cf565b61024d6103453660046116ca565b610947565b61024d610358366004611715565b61097a565b61024d61036b366004611791565b6109b0565b61024d61037e36600461183f565b6109e9565b61038b610a1b565b6040516101cf9190611861565b6102b96103a63660046118e1565b610b76565b6101e07f000000000000000000000000000000000000000000000000000000000000000081565b61024d6103e03660046118fe565b610c8e565b6101e07f000000000000000000000000000000000000000000000000000000000000000081565b6102b961041a366004611966565b610cc7565b7fe4c4dbee56c110a8cef43909d8e93740944b39c20cf0e5fa421f1de331e3273a5473ffffffffffffffffffffffffffffffffffffffff166101e0565b6000806000610469610cda565b6000610473610d48565b509250505060006104908d610486610dd4565b8461ffff16610de8565b7f029c1cb7000000000000000000000000000000000000000000000000000000009e909d5060009c509a5050505050505050505050565b60006104d1610dd4565b905090565b60006104e0610cda565b507f343d37ff0000000000000000000000000000000000000000000000000000000098975050505050505050565b60607fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d4582815481106105425761054261199d565b906000526020600020018054610557906119cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610583906119cc565b80156105d05780601f106105a5576101008083540402835291602001916105d0565b820191906000526020600020905b8154815290600101906020018083116105b357829003601f168201915b50505050509050919050565b600054610100900460ff16158080156105fc5750600054600160ff909116105b806106165750303b158015610616575060005460ff166001145b6106a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561070557600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610774576040517f504d572800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061078084610ee2565b91509150610806826107b37fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d445460ff1690565b7fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d4480549190921760ff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909116179055565b61080f81610fed565b5050801561087457600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b600080610884610cda565b507f5e2411b20000000000000000000000000000000000000000000000000000000098600098509650505050505050565b60006108bf610cda565b6108f26108ed7fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d445460ff1690565b61104c565b507f636fd8040000000000000000000000000000000000000000000000000000000092915050565b60006104d17fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d445460ff1690565b6000610951610cda565b507f82dd6522000000000000000000000000000000000000000000000000000000009392505050565b6000610984610cda565b507f8de0a8ee000000000000000000000000000000000000000000000000000000009695505050505050565b60006109ba610cda565b507f9cb5a963000000000000000000000000000000000000000000000000000000009998505050505050505050565b60006109f3610cda565b507faa6b14bb0000000000000000000000000000000000000000000000000000000092915050565b7fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d4580546060919067ffffffffffffffff811115610a5a57610a5a611a1f565b604051908082528060200260200182016040528015610a8d57816020015b6060815260200190600190039081610a785790505b50915060005b8154811015610b7157818181548110610aae57610aae61199d565b906000526020600020018054610ac3906119cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610aef906119cc565b8015610b3c5780601f10610b1157610100808354040283529160200191610b3c565b820191906000526020600020905b815481529060010190602001808311610b1f57829003601f168201915b5050505050838281518110610b5357610b5361199d565b60200260200101819052508080610b6990611a4e565b915050610a93565b505090565b610b7e6110f8565b60405173ffffffffffffffffffffffffffffffffffffffff82166024820152610c41907f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fc3da797800000000000000000000000000000000000000000000000000000000179052611232565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f3b1f0d57f07483280d598ef402c5b2b96be1a42e65b21992bdafea3476b653279060200160405180910390a150565b6000610c98610cda565b507fd6852010000000000000000000000000000000000000000000000000000000009998505050505050505050565b610ccf6110f8565b6108748382846112ed565b610ce2610dd4565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d46576040517f4b60273500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b600080600080610d56610dd4565b73ffffffffffffffffffffffffffffffffffffffff1663e76c01e46040518163ffffffff1660e01b815260040160c060405180830381865afa158015610da0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc49190611abf565b5093989297509095509350915050565b6000806040516020604b82303c5192915050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015262ffffff821660648201526000908190610ec3907f000000000000000000000000000000000000000000000000000000000000000090608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f1018860c00000000000000000000000000000000000000000000000000000000179052611232565b905080806020019051810190610ed99190611b44565b95945050505050565b60405173ffffffffffffffffffffffffffffffffffffffff82166024820152600090606090610fab907f000000000000000000000000000000000000000000000000000000000000000090604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9dd77e700000000000000000000000000000000000000000000000000000000179052611232565b5060016040518060400160405280601381526020017f46656520446973636f756e7420506c7567696e0000000000000000000000000081525091509150915091565b7fce4b89c12fb398760b26b1a93e0f87f46dfa40dd6dc2459e57dae20564351d4580546001810182556000919091527f52af238132bb2f2e174c4865ec1da98d45b5a48960d481008ee61ea7e31b4616016110488282611baf565b5050565b6000611056610d48565b93505050508160ff168160ff161461104857611070610dd4565b6040517fbca57f8100000000000000000000000000000000000000000000000000000000815260ff8416600482015273ffffffffffffffffffffffffffffffffffffffff919091169063bca57f8190602401600060405180830381600087803b1580156110dc57600080fd5b505af11580156110f0573d6000803e3d6000fd5b505050505050565b6040517fe8ae2b690000000000000000000000000000000000000000000000000000000081527f8e8000aba5b365c0be9685da1153f7f096e76d1ecfb42c050ae1e387aa65b4f560048201523360248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e8ae2b6990604401602060405180830381865afa1580156111a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cc9190611cc9565b610d46576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420617574686f72697a6564000000000000000000000000000000000000604482015260640161069e565b606060008373ffffffffffffffffffffffffffffffffffffffff168360405161125b9190611ce6565b600060405180830381855af49150503d8060008114611296576040519150601f19603f3d011682016040523d82523d6000602084013e61129b565b606091505b5092509050806112e6578151156112b457815182602001fd5b6040517f7047373200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5092915050565b60006040517fa9059cbb0000000000000000000000000000000000000000000000000000000060005273ffffffffffffffffffffffffffffffffffffffff841660045282602452602060006044600080895af19150813d1560203d146001600051141617169150806040525080611390576040517fe465903e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b73ffffffffffffffffffffffffffffffffffffffff811681146113b857600080fd5b50565b80151581146113b857600080fd5b60008083601f8401126113db57600080fd5b50813567ffffffffffffffff8111156113f357600080fd5b60208301915083602082850101111561140b57600080fd5b9250929050565b60008060008060008060008060e0898b03121561142e57600080fd5b883561143981611396565b9750602089013561144981611396565b96506040890135611459816113bb565b955060608901359450608089013561147081611396565b935060a0890135611480816113bb565b925060c089013567ffffffffffffffff81111561149c57600080fd5b6114a88b828c016113c9565b999c989b5096995094979396929594505050565b60008060008060008060008060e0898b0312156114d857600080fd5b88356114e381611396565b975060208901356114f381611396565b965060408901359550606089013594506080890135935060a0890135925060c089013567ffffffffffffffff81111561149c57600080fd5b60006020828403121561153d57600080fd5b5035919050565b60005b8381101561155f578181015183820152602001611547565b50506000910152565b60008151808452611580816020860160208601611544565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006115c56020830184611568565b9392505050565b600080604083850312156115df57600080fd5b82356115ea81611396565b915060208301356115fa81611396565b809150509250929050565b8060020b81146113b857600080fd5b8035600f81900b811461162657600080fd5b919050565b600080600080600080600060c0888a03121561164657600080fd5b873561165181611396565b9650602088013561166181611396565b9550604088013561167181611605565b9450606088013561168181611605565b935061168f60808901611614565b925060a088013567ffffffffffffffff8111156116ab57600080fd5b6116b78a828b016113c9565b989b979a50959850939692959293505050565b6000806000606084860312156116df57600080fd5b83356116ea81611396565b925060208401356116fa81611396565b9150604084013561170a81611605565b809150509250925092565b60008060008060008060a0878903121561172e57600080fd5b863561173981611396565b9550602087013561174981611396565b94506040870135935060608701359250608087013567ffffffffffffffff81111561177357600080fd5b61177f89828a016113c9565b979a9699509497509295939492505050565b60008060008060008060008060006101008a8c0312156117b057600080fd5b89356117bb81611396565b985060208a01356117cb81611396565b975060408a01356117db816113bb565b965060608a0135955060808a01356117f281611396565b945060a08a0135935060c08a0135925060e08a013567ffffffffffffffff81111561181c57600080fd5b6118288c828d016113c9565b915080935050809150509295985092959850929598565b6000806040838503121561185257600080fd5b50508035926020909101359150565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156118d4577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08886030184526118c2858351611568565b94509285019290850190600101611888565b5092979650505050505050565b6000602082840312156118f357600080fd5b81356115c581611396565b60008060008060008060008060006101008a8c03121561191d57600080fd5b893561192881611396565b985060208a013561193881611396565b975060408a013561194881611605565b965060608a013561195881611605565b95506117f260808b01611614565b60008060006060848603121561197b57600080fd5b833561198681611396565b925060208401359150604084013561170a81611396565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600181811c908216806119e057607f821691505b602082108103611a19577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611aa6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b805161ffff8116811461162657600080fd5b60008060008060008060c08789031215611ad857600080fd5b8651611ae381611396565b6020880151909650611af481611605565b9450611b0260408801611aad565b9350606087015160ff81168114611b1857600080fd5b9250611b2660808801611aad565b915060a0870151611b36816113bb565b809150509295509295509295565b600060208284031215611b5657600080fd5b815162ffffff811681146115c557600080fd5b601f82111561087457600081815260208120601f850160051c81016020861015611b905750805b601f850160051c820191505b818110156110f057828155600101611b9c565b815167ffffffffffffffff811115611bc957611bc9611a1f565b611bdd81611bd784546119cc565b84611b69565b602080601f831160018114611c305760008415611bfa5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556110f0565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015611c7d57888601518255948401946001909101908401611c5e565b5085821015611cb957878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611cdb57600080fd5b81516115c5816113bb565b60008251611cf8818460208701611544565b919091019291505056fea164736f6c6343000814000a","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x177 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x82DD6522 GT PUSH2 0xD8 JUMPI DUP1 PUSH4 0xC3DA7978 GT PUSH2 0x8C JUMPI DUP1 PUSH4 0xE2A1BD59 GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xE2A1BD59 EQ PUSH2 0x3E5 JUMPI DUP1 PUSH4 0xE72C652D EQ PUSH2 0x40C JUMPI DUP1 PUSH4 0xF20CDC1A EQ PUSH2 0x41F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xC3DA7978 EQ PUSH2 0x398 JUMPI DUP1 PUSH4 0xC45A0155 EQ PUSH2 0x3AB JUMPI DUP1 PUSH4 0xD6852010 EQ PUSH2 0x3D2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x9CB5A963 GT PUSH2 0xBD JUMPI DUP1 PUSH4 0x9CB5A963 EQ PUSH2 0x35D JUMPI DUP1 PUSH4 0xAA6B14BB EQ PUSH2 0x370 JUMPI DUP1 PUSH4 0xB6F78CC9 EQ PUSH2 0x383 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x82DD6522 EQ PUSH2 0x337 JUMPI DUP1 PUSH4 0x8DE0A8EE EQ PUSH2 0x34A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x46B7748B GT PUSH2 0x12F JUMPI DUP1 PUSH4 0x5E2411B2 GT PUSH2 0x114 JUMPI DUP1 PUSH4 0x5E2411B2 EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0x636FD804 EQ PUSH2 0x30A JUMPI DUP1 PUSH4 0x689EA370 EQ PUSH2 0x31D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x46B7748B EQ PUSH2 0x286 JUMPI DUP1 PUSH4 0x485CC955 EQ PUSH2 0x2A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x31B25D1A GT PUSH2 0x160 JUMPI DUP1 PUSH4 0x31B25D1A EQ PUSH2 0x205 JUMPI DUP1 PUSH4 0x343D37FF EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0x36BADF63 EQ PUSH2 0x27E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29C1CB7 EQ PUSH2 0x17C JUMPI DUP1 PUSH4 0x16F0115B EQ PUSH2 0x1D8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18F PUSH2 0x18A CALLDATASIZE PUSH1 0x4 PUSH2 0x1412 JUMP JUMPDEST PUSH2 0x45C 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 0x1E0 PUSH2 0x4C7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CF JUMP JUMPDEST PUSH2 0x22C PUSH32 0x8E8000ABA5B365C0BE9685DA1153F7F096E76D1ECFB42C050AE1E387AA65B4F5 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CF JUMP JUMPDEST PUSH2 0x24D PUSH2 0x248 CALLDATASIZE PUSH1 0x4 PUSH2 0x14BC JUMP JUMPDEST PUSH2 0x4D6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000 SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CF JUMP JUMPDEST PUSH2 0x22C PUSH1 0x4B DUP2 JUMP JUMPDEST PUSH2 0x299 PUSH2 0x294 CALLDATASIZE PUSH1 0x4 PUSH2 0x152B JUMP JUMPDEST PUSH2 0x50E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CF SWAP2 SWAP1 PUSH2 0x15B2 JUMP JUMPDEST PUSH2 0x2B9 PUSH2 0x2B4 CALLDATASIZE PUSH1 0x4 PUSH2 0x15CC JUMP JUMPDEST PUSH2 0x5DC JUMP JUMPDEST STOP JUMPDEST PUSH2 0x2CE PUSH2 0x2C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x162B JUMP JUMPDEST PUSH2 0x879 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 0x1CF JUMP JUMPDEST PUSH2 0x24D PUSH2 0x318 CALLDATASIZE PUSH1 0x4 PUSH2 0x15CC JUMP JUMPDEST PUSH2 0x8B5 JUMP JUMPDEST PUSH2 0x325 PUSH2 0x91A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xFF SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CF JUMP JUMPDEST PUSH2 0x24D PUSH2 0x345 CALLDATASIZE PUSH1 0x4 PUSH2 0x16CA JUMP JUMPDEST PUSH2 0x947 JUMP JUMPDEST PUSH2 0x24D PUSH2 0x358 CALLDATASIZE PUSH1 0x4 PUSH2 0x1715 JUMP JUMPDEST PUSH2 0x97A JUMP JUMPDEST PUSH2 0x24D PUSH2 0x36B CALLDATASIZE PUSH1 0x4 PUSH2 0x1791 JUMP JUMPDEST PUSH2 0x9B0 JUMP JUMPDEST PUSH2 0x24D PUSH2 0x37E CALLDATASIZE PUSH1 0x4 PUSH2 0x183F JUMP JUMPDEST PUSH2 0x9E9 JUMP JUMPDEST PUSH2 0x38B PUSH2 0xA1B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1CF SWAP2 SWAP1 PUSH2 0x1861 JUMP JUMPDEST PUSH2 0x2B9 PUSH2 0x3A6 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E1 JUMP JUMPDEST PUSH2 0xB76 JUMP JUMPDEST PUSH2 0x1E0 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x24D PUSH2 0x3E0 CALLDATASIZE PUSH1 0x4 PUSH2 0x18FE JUMP JUMPDEST PUSH2 0xC8E JUMP JUMPDEST PUSH2 0x1E0 PUSH32 0x0 DUP2 JUMP JUMPDEST PUSH2 0x2B9 PUSH2 0x41A CALLDATASIZE PUSH1 0x4 PUSH2 0x1966 JUMP JUMPDEST PUSH2 0xCC7 JUMP JUMPDEST PUSH32 0xE4C4DBEE56C110A8CEF43909D8E93740944B39C20CF0E5FA421F1DE331E3273A SLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x1E0 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x469 PUSH2 0xCDA JUMP JUMPDEST PUSH1 0x0 PUSH2 0x473 PUSH2 0xD48 JUMP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x0 PUSH2 0x490 DUP14 PUSH2 0x486 PUSH2 0xDD4 JUMP JUMPDEST DUP5 PUSH2 0xFFFF AND PUSH2 0xDE8 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 0x4D1 PUSH2 0xDD4 JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4E0 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x343D37FF00000000000000000000000000000000000000000000000000000000 SWAP9 SWAP8 POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D45 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x542 JUMPI PUSH2 0x542 PUSH2 0x199D JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP1 SLOAD PUSH2 0x557 SWAP1 PUSH2 0x19CC 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 0x583 SWAP1 PUSH2 0x19CC JUMP JUMPDEST DUP1 ISZERO PUSH2 0x5D0 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x5A5 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x5D0 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 0x5B3 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND ISZERO DUP1 DUP1 ISZERO PUSH2 0x5FC JUMPI POP PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xFF SWAP1 SWAP2 AND LT JUMPDEST DUP1 PUSH2 0x616 JUMPI POP ADDRESS EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x616 JUMPI POP PUSH1 0x0 SLOAD PUSH1 0xFF AND PUSH1 0x1 EQ JUMPDEST PUSH2 0x6A7 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 0x705 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00FF AND PUSH2 0x100 OR SWAP1 SSTORE JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PUSH32 0x0 AND EQ PUSH2 0x774 JUMPI PUSH1 0x40 MLOAD PUSH32 0x504D572800000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x780 DUP5 PUSH2 0xEE2 JUMP JUMPDEST SWAP2 POP SWAP2 POP PUSH2 0x806 DUP3 PUSH2 0x7B3 PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D44 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D44 DUP1 SLOAD SWAP2 SWAP1 SWAP3 OR PUSH1 0xFF AND PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00 SWAP1 SWAP2 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x80F DUP2 PUSH2 0xFED JUMP JUMPDEST POP POP DUP1 ISZERO PUSH2 0x874 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 0x884 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x5E2411B200000000000000000000000000000000000000000000000000000000 SWAP9 PUSH1 0x0 SWAP9 POP SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x8BF PUSH2 0xCDA JUMP JUMPDEST PUSH2 0x8F2 PUSH2 0x8ED PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D44 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH2 0x104C JUMP JUMPDEST POP PUSH32 0x636FD80400000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x4D1 PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D44 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x951 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x82DD652200000000000000000000000000000000000000000000000000000000 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x984 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x8DE0A8EE00000000000000000000000000000000000000000000000000000000 SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9BA PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0x9CB5A96300000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9F3 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0xAA6B14BB00000000000000000000000000000000000000000000000000000000 SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D45 DUP1 SLOAD PUSH1 0x60 SWAP2 SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0xA5A JUMPI PUSH2 0xA5A PUSH2 0x1A1F JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xA8D JUMPI DUP2 PUSH1 0x20 ADD JUMPDEST PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 PUSH1 0x1 SWAP1 SUB SWAP1 DUP2 PUSH2 0xA78 JUMPI SWAP1 POP JUMPDEST POP SWAP2 POP PUSH1 0x0 JUMPDEST DUP2 SLOAD DUP2 LT ISZERO PUSH2 0xB71 JUMPI DUP2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0xAAE JUMPI PUSH2 0xAAE PUSH2 0x199D JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD DUP1 SLOAD PUSH2 0xAC3 SWAP1 PUSH2 0x19CC 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 0xAEF SWAP1 PUSH2 0x19CC JUMP JUMPDEST DUP1 ISZERO PUSH2 0xB3C JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xB11 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xB3C 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 0xB1F JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP4 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0xB53 JUMPI PUSH2 0xB53 PUSH2 0x199D JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 SWAP1 MSTORE POP DUP1 DUP1 PUSH2 0xB69 SWAP1 PUSH2 0x1A4E JUMP JUMPDEST SWAP2 POP POP PUSH2 0xA93 JUMP JUMPDEST POP POP SWAP1 JUMP JUMPDEST PUSH2 0xB7E PUSH2 0x10F8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH2 0xC41 SWAP1 PUSH32 0x0 SWAP1 PUSH1 0x44 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xC3DA797800000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE PUSH2 0x1232 JUMP JUMPDEST POP 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 0xC98 PUSH2 0xCDA JUMP JUMPDEST POP PUSH32 0xD685201000000000000000000000000000000000000000000000000000000000 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH2 0xCCF PUSH2 0x10F8 JUMP JUMPDEST PUSH2 0x874 DUP4 DUP3 DUP5 PUSH2 0x12ED JUMP JUMPDEST PUSH2 0xCE2 PUSH2 0xDD4 JUMP JUMPDEST PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xD46 JUMPI PUSH1 0x40 MLOAD PUSH32 0x4B60273500000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH2 0xD56 PUSH2 0xDD4 JUMP JUMPDEST 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 0xDA0 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 0xDC4 SWAP2 SWAP1 PUSH2 0x1ABF JUMP JUMPDEST POP SWAP4 SWAP9 SWAP3 SWAP8 POP SWAP1 SWAP6 POP SWAP4 POP SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 PUSH1 0x4B DUP3 ADDRESS EXTCODECOPY MLOAD SWAP3 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 PUSH2 0xEC3 SWAP1 PUSH32 0x0 SWAP1 PUSH1 0x84 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x1018860C00000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE PUSH2 0x1232 JUMP JUMPDEST SWAP1 POP DUP1 DUP1 PUSH1 0x20 ADD SWAP1 MLOAD DUP2 ADD SWAP1 PUSH2 0xED9 SWAP2 SWAP1 PUSH2 0x1B44 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x60 SWAP1 PUSH2 0xFAB SWAP1 PUSH32 0x0 SWAP1 PUSH1 0x44 ADD PUSH1 0x40 DUP1 MLOAD PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 SWAP1 MSTORE PUSH1 0x20 DUP2 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0xA9DD77E700000000000000000000000000000000000000000000000000000000 OR SWAP1 MSTORE PUSH2 0x1232 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x13 DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x46656520446973636F756E7420506C7567696E00000000000000000000000000 DUP2 MSTORE POP SWAP2 POP SWAP2 POP SWAP2 POP SWAP2 JUMP JUMPDEST PUSH32 0xCE4B89C12FB398760B26B1A93E0F87F46DFA40DD6DC2459E57DAE20564351D45 DUP1 SLOAD PUSH1 0x1 DUP2 ADD DUP3 SSTORE PUSH1 0x0 SWAP2 SWAP1 SWAP2 MSTORE PUSH32 0x52AF238132BB2F2E174C4865EC1DA98D45B5A48960D481008EE61EA7E31B4616 ADD PUSH2 0x1048 DUP3 DUP3 PUSH2 0x1BAF JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1056 PUSH2 0xD48 JUMP JUMPDEST SWAP4 POP POP POP POP DUP2 PUSH1 0xFF AND DUP2 PUSH1 0xFF AND EQ PUSH2 0x1048 JUMPI PUSH2 0x1070 PUSH2 0xDD4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xBCA57F8100000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0xFF DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SWAP2 SWAP1 SWAP2 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 0x10DC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x10F0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP 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 0x11A8 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 0x11CC SWAP2 SWAP1 PUSH2 0x1CC9 JUMP JUMPDEST PUSH2 0xD46 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 0x69E JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP4 PUSH1 0x40 MLOAD PUSH2 0x125B SWAP2 SWAP1 PUSH2 0x1CE6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 GAS DELEGATECALL SWAP2 POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x1296 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 0x129B JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP SWAP3 POP SWAP1 POP DUP1 PUSH2 0x12E6 JUMPI DUP2 MLOAD ISZERO PUSH2 0x12B4 JUMPI DUP2 MLOAD DUP3 PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x7047373200000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP SWAP3 SWAP2 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 0x1390 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 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP2 AND DUP2 EQ PUSH2 0x13B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x13B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 DUP4 PUSH1 0x1F DUP5 ADD SLT PUSH2 0x13DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP DUP2 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x13F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP4 ADD SWAP2 POP DUP4 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0x140B 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 0x142E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0x1439 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0x1449 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP7 POP PUSH1 0x40 DUP10 ADD CALLDATALOAD PUSH2 0x1459 DUP2 PUSH2 0x13BB JUMP JUMPDEST SWAP6 POP PUSH1 0x60 DUP10 ADD CALLDATALOAD SWAP5 POP PUSH1 0x80 DUP10 ADD CALLDATALOAD PUSH2 0x1470 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP4 POP PUSH1 0xA0 DUP10 ADD CALLDATALOAD PUSH2 0x1480 DUP2 PUSH2 0x13BB JUMP JUMPDEST SWAP3 POP PUSH1 0xC0 DUP10 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x149C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x14A8 DUP12 DUP3 DUP13 ADD PUSH2 0x13C9 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 0x14D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP9 CALLDATALOAD PUSH2 0x14E3 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP8 POP PUSH1 0x20 DUP10 ADD CALLDATALOAD PUSH2 0x14F3 DUP2 PUSH2 0x1396 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 0x149C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x153D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x155F JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1547 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH2 0x1580 DUP2 PUSH1 0x20 DUP7 ADD PUSH1 0x20 DUP7 ADD PUSH2 0x1544 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 0x15C5 PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0x1568 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x15DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x15EA DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x15FA DUP2 PUSH2 0x1396 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 PUSH1 0x2 SIGNEXTEND DUP2 EQ PUSH2 0x13B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD PUSH1 0xF DUP2 SWAP1 SIGNEXTEND DUP2 EQ PUSH2 0x1626 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 0x1646 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP8 CALLDATALOAD PUSH2 0x1651 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP7 POP PUSH1 0x20 DUP9 ADD CALLDATALOAD PUSH2 0x1661 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP6 POP PUSH1 0x40 DUP9 ADD CALLDATALOAD PUSH2 0x1671 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP5 POP PUSH1 0x60 DUP9 ADD CALLDATALOAD PUSH2 0x1681 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP4 POP PUSH2 0x168F PUSH1 0x80 DUP10 ADD PUSH2 0x1614 JUMP JUMPDEST SWAP3 POP PUSH1 0xA0 DUP9 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x16AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x16B7 DUP11 DUP3 DUP12 ADD PUSH2 0x13C9 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 0x16DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x16EA DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x16FA DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x170A DUP2 PUSH2 0x1605 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 0x172E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 CALLDATALOAD PUSH2 0x1739 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP6 POP PUSH1 0x20 DUP8 ADD CALLDATALOAD PUSH2 0x1749 DUP2 PUSH2 0x1396 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 0x1773 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x177F DUP10 DUP3 DUP11 ADD PUSH2 0x13C9 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 0x17B0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x17BB DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x17CB DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x17DB DUP2 PUSH2 0x13BB JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD SWAP6 POP PUSH1 0x80 DUP11 ADD CALLDATALOAD PUSH2 0x17F2 DUP2 PUSH2 0x1396 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 0x181C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1828 DUP13 DUP3 DUP14 ADD PUSH2 0x13C9 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 0x1852 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 0x18D4 JUMPI PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0 DUP9 DUP7 SUB ADD DUP5 MSTORE PUSH2 0x18C2 DUP6 DUP4 MLOAD PUSH2 0x1568 JUMP JUMPDEST SWAP5 POP SWAP3 DUP6 ADD SWAP3 SWAP1 DUP6 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x1888 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 0x18F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x15C5 DUP2 PUSH2 0x1396 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH2 0x100 DUP11 DUP13 SUB SLT ISZERO PUSH2 0x191D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP10 CALLDATALOAD PUSH2 0x1928 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP9 POP PUSH1 0x20 DUP11 ADD CALLDATALOAD PUSH2 0x1938 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP8 POP PUSH1 0x40 DUP11 ADD CALLDATALOAD PUSH2 0x1948 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP7 POP PUSH1 0x60 DUP11 ADD CALLDATALOAD PUSH2 0x1958 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP6 POP PUSH2 0x17F2 PUSH1 0x80 DUP12 ADD PUSH2 0x1614 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x197B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x1986 DUP2 PUSH2 0x1396 JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x170A DUP2 PUSH2 0x1396 JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x19E0 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0x1A19 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 0x0 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 SUB PUSH2 0x1AA6 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 0x1626 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0xC0 DUP8 DUP10 SUB SLT ISZERO PUSH2 0x1AD8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 MLOAD PUSH2 0x1AE3 DUP2 PUSH2 0x1396 JUMP JUMPDEST PUSH1 0x20 DUP9 ADD MLOAD SWAP1 SWAP7 POP PUSH2 0x1AF4 DUP2 PUSH2 0x1605 JUMP JUMPDEST SWAP5 POP PUSH2 0x1B02 PUSH1 0x40 DUP9 ADD PUSH2 0x1AAD JUMP JUMPDEST SWAP4 POP PUSH1 0x60 DUP8 ADD MLOAD PUSH1 0xFF DUP2 AND DUP2 EQ PUSH2 0x1B18 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP3 POP PUSH2 0x1B26 PUSH1 0x80 DUP9 ADD PUSH2 0x1AAD JUMP JUMPDEST SWAP2 POP PUSH1 0xA0 DUP8 ADD MLOAD PUSH2 0x1B36 DUP2 PUSH2 0x13BB JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP6 POP SWAP3 SWAP6 POP SWAP3 SWAP6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1B56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH3 0xFFFFFF DUP2 AND DUP2 EQ PUSH2 0x15C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0x874 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 0x1B90 JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x10F0 JUMPI DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x1B9C JUMP JUMPDEST DUP2 MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1BC9 JUMPI PUSH2 0x1BC9 PUSH2 0x1A1F JUMP JUMPDEST PUSH2 0x1BDD DUP2 PUSH2 0x1BD7 DUP5 SLOAD PUSH2 0x19CC JUMP JUMPDEST DUP5 PUSH2 0x1B69 JUMP JUMPDEST PUSH1 0x20 DUP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 DUP2 EQ PUSH2 0x1C30 JUMPI PUSH1 0x0 DUP5 ISZERO PUSH2 0x1BFA 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 0x10F0 JUMP JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0 DUP7 AND SWAP2 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x1C7D JUMPI DUP9 DUP7 ADD MLOAD DUP3 SSTORE SWAP5 DUP5 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 DUP5 ADD PUSH2 0x1C5E JUMP JUMPDEST POP DUP6 DUP3 LT ISZERO PUSH2 0x1CB9 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 PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1CDB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x15C5 DUP2 PUSH2 0x13BB JUMP JUMPDEST PUSH1 0x0 DUP3 MLOAD PUSH2 0x1CF8 DUP2 DUP5 PUSH1 0x20 DUP8 ADD PUSH2 0x1544 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD SWAP3 SWAP2 POP POP JUMP INVALID LOG1 PUSH5 0x736F6C6343 STOP ADDMOD EQ STOP EXP ","sourceMap":"518:2095:25:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1890:379;;;;;;:::i;:::-;;:::i;:::-;;;;2046:66:26;2034:79;;;2016:98;;2133:8;2177:15;;;2172:2;2157:18;;2150:43;2229:15;;2209:18;;;2202:43;2004:2;1989:18;1890:379:25;;;;;;;;3746:76:1;;;:::i;:::-;;;2432:42:26;2420:55;;;2402:74;;2390:2;2375:18;3746:76:1;2256:226:26;1328:94:1;;1382:40;1328:94;;;;;2633:25:26;;;2621:2;2606:18;1328:94:1;2487:177:26;5858:236:1;;;;;;:::i;:::-;;:::i;:::-;;;3809:66:26;3797:79;;;3779:98;;3767:2;3752:18;5858:236:1;3635:248:26;1221:48:1;;1267:2;1221:48;;2417:117;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1304:324:25:-;;;;;;:::i;:::-;;:::i;:::-;;4610:250:1;;;;;;:::i;:::-;;:::i;:::-;;;;6992:66:26;6980:79;;;6962:98;;7108:8;7096:21;;;7091:2;7076:18;;7069:49;6935:18;4610:250:1;6792:332:26;1662:222:25;;;;;;:::i;:::-;;:::i;2260:104:1:-;;;:::i;:::-;;;7694:4:26;7682:17;;;7664:36;;7652:2;7637:18;2260:104:1;7522:184:26;4443:161:1;;;;;;:::i;:::-;;:::i;5642:210::-;;;;;;:::i;:::-;;:::i;5394:242::-;;;;;;:::i;:::-;;:::i;4088:159::-;;;;;;:::i;:::-;;:::i;3105:293::-;;;:::i;:::-;;;;;;;:::i;2071:287:21:-;;;;;;:::i;:::-;;:::i;1514:32:1:-;;;;;4866:263;;;;;;:::i;:::-;;:::i;1638:38::-;;;;;3863:185;;;;;;:::i;:::-;;:::i;2402:139:21:-;320:40:24;2488:47:21;;;2402:139;;1890:379:25;2056:6;2064;2072;1710:18:1;:16;:18::i;:::-;2092:10:25::1;2108:15;:13;:15::i;:::-;2087:36;;;;;2130:20;2153:42;2171:6;2179:10;:8;:10::i;:::-;2191:3;2153:42;;:17;:42::i;:::-;2210:34:::0;;2130:65;;-1:-1:-1;2261:1:25::1;::::0;-1:-1:-1;1890:379:25;-1:-1:-1;;;;;;;;;;;1890:379:25:o;3746:76:1:-;3783:7;3806:10;:8;:10::i;:::-;3799:17;;3746:76;:::o;5858:236::-;6032:6;1710:18;:16;:18::i;:::-;-1:-1:-1;6054:34:1;5858:236;;;;;;;;;;:::o;2417:117::-;2476:13;6995:38;2522:5;2505:23;;;;;;;;:::i;:::-;;;;;;;;2498:30;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2417:117;;;:::o;1304:324:25:-;3279:19:19;3302:13;;;;;;3301:14;;3347:34;;;;-1:-1:-1;3365:12:19;;3380:1;3365:12;;;;:16;3347:34;3346:108;;;-1:-1:-1;3426:4:19;1713:19:20;:23;;;3387:66:19;;-1:-1:-1;3436:12:19;;;;;:17;3387:66;3325:201;;;;;;;14084:2:26;3325:201:19;;;14066:21:26;14123:2;14103:18;;;14096:30;14162:34;14142:18;;;14135:62;14233:16;14213:18;;;14206:44;14267:19;;3325:201:19;;;;;;;;;3536:12;:16;;;;3551:1;3536:16;;;3562:65;;;;3596:13;:20;;;;;;;;3562:65;1788:10:1::1;:27;1802:13;1788:27;;1784:59;;1824:19;;;;;;;;;;;;;;1784:59;1418:18:25::2;1438:24:::0;1466:44:::2;1489:20;1466:22;:44::i;:::-;1417:93;;;;1517:65;1569:12;1541:25;222:43:4::0;6593:44:1;;;;6514:129;1541:25:25::2;222:43:4::0;6712:53:1;;1541:40:25;;;::::2;6712:53:1::0;;;;;;;;;6649:122;1517:65:25::2;1591:31;1611:10;1591:19;:31::i;:::-;1408:220;;3651:14:19::0;3647:99;;;3697:5;3681:21;;;;;;3721:14;;-1:-1:-1;7664:36:26;;3721:14:19;;7652:2:26;7637:18;3721:14:19;;;;;;;3647:99;3269:483;1304:324:25;;:::o;4610:250:1:-;4775:6;4783;1710:18;:16;:18::i;:::-;-1:-1:-1;4806:44:1;;4852:1:::1;::::0;-1:-1:-1;4610:250:1;-1:-1:-1;;;;;;;4610:250:1:o;1662:222:25:-;1757:6;1710:18:1;:16;:18::i;:::-;1772:52:25::1;1798:25;222:43:4::0;6593:44:1;;;;6514:129;1798:25:25::1;1772;:52::i;:::-;-1:-1:-1::0;1838:40:25;1662:222;;;;:::o;2260:104:1:-;2312:5;2333:25;222:43:4;6593:44:1;;;;6514:129;4443:161;4537:6;1710:18;:16;:18::i;:::-;-1:-1:-1;4559:39:1;4443:161;;;;;:::o;5642:210::-;5789:6;1710:18;:16;:18::i;:::-;-1:-1:-1;5811:35:1;5642:210;;;;;;;;:::o;5394:242::-;5575:6;1710:18;:16;:18::i;:::-;-1:-1:-1;5597:33:1;5394:242;;;;;;;;;;;:::o;4088:159::-;4180:6;1710:18;:16;:18::i;:::-;-1:-1:-1;4202:39:1;4088:159;;;;:::o;3105:293::-;6995:38;3282:14;;3169:27;;6995:38;3269:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3255:42;;3309:9;3304:89;3328:14;;3324:18;;3304:89;;;3375:7;3383:1;3375:10;;;;;;;;:::i;:::-;;;;;;;;3358:27;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:11;3370:1;3358:14;;;;;;;;:::i;:::-;;;;;;:27;;;;3344:3;;;;;:::i;:::-;;;;3304:89;;;;3198:200;3105:293;:::o;2071:287:21:-;2146:12;:10;:12::i;:::-;2221:83;;2432:42:26;2420:55;;2221:83:21;;;2402:74:26;2165:146:21;;2187:25;;2375:18:26;;2221:83:21;;;;;;;;;;;;;;;;;;;;;;;;2165:13;:146::i;:::-;-1:-1:-1;2323:29:21;;2432:42:26;2420:55;;2402:74;;2323:29:21;;2390:2:26;2375:18;2323:29:21;;;;;;;2071:287;:::o;4866:263:1:-;5058:6;1710:18;:16;:18::i;:::-;-1:-1:-1;5080:43:1;4866:263;;;;;;;;;;;:::o;3863:185::-;3972:12;:10;:12::i;:::-;3991:51;4017:5;4024:9;4035:6;3991:25;:51::i;2821:102::-;2888:10;:8;:10::i;:::-;2874:24;;:10;:24;;;2870:47;;2907:10;;;;;;;;;;;;;;2870:47;2821:102::o;3404:210::-;3460:13;3475:10;3487;3499:18;3583:10;:8;:10::i;:::-;3565:41;;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;3526:82:1;;;;-1:-1:-1;3526:82:1;;-1:-1:-1;3526:82:1;-1:-1:-1;3404:210:1;-1:-1:-1;;3404:210:1:o;2540:275::-;2591:7;2607:12;2663:4;2657:11;2727:2;2706:19;2701:3;2690:9;2678:52;2748:10;;2540:275;-1:-1:-1;;2540:275:1:o;1642:325:21:-;1824:84;;16258:42:26;16327:15;;;1824:84:21;;;16309:34:26;16379:15;;16359:18;;;16352:43;16443:8;16431:21;;16411:18;;;16404:49;1727:6:21;;;;1768:147;;1790:25;;16221:18:26;;1824:84:21;;;;;;;;;;;;;;;;;;;;;;;;1768:13;:147::i;:::-;1742:173;;1940:10;1929:32;;;;;;;;;;;;:::i;:::-;1922:39;1642:325;-1:-1:-1;;;;;1642:325:21:o;1211:374::-;1410:94;;2432:42:26;2420:55;;1410:94:21;;;2402:74:26;1301:18:21;;1321:24;;1354:157;;1376:25;;2375:18:26;;1410:94:21;;;;;;;;;;;;;;;;;;;;;;;;1354:13;:157::i;:::-;;724:1:17;1554:24:21;;;;;;;;;;;;;;;;;1518:61;;;;1211:374;;;:::o;6777:120:1:-;6842:38;:49;;:38;:49;;;;-1:-1:-1;6842:49:1;;;;;;;6886:4;6842:49;;:::i;:::-;;6777:120;:::o;6100:255::-;6181:25;6210:15;:13;:15::i;:::-;6174:51;;;;;6259:15;6236:38;;:19;:38;;;6232:118;;6298:10;:8;:10::i;:::-;6285:57;;;;;7694:4:26;7682:17;;6285:57:1;;;7664:36:26;6285:40:1;;;;;;;;7637:18:26;;6285:57:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6167:188;6100:255;:::o;2403:207:25:-;2505:80;;;;;1382:40:1;2505:80:25;;;19304:25:26;2574:10:25;19345:18:26;;;19338:83;2521:7:25;2505:39;;;;;19277:18:26;;2505:80:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2497:107;;;;;;;19884:2:26;2497:107:25;;;19866:21:26;19923:2;19903:18;;;19896:30;19962:16;19942:18;;;19935:44;19996:18;;2497:107:25;19682:338:26;629:405:0;713:23;745:12;788:14;:27;;816:4;788:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:57:0;-1:-1:-1;764:57:0;-1:-1:-1;764:57:0;828:201;;855:17;;:21;851:126;;945:10;939:17;926:10;922:2;918:19;911:46;851:126;992:29;;;;;;;;;;;;;;828:201;738:296;629:405;;;;:::o;865:967:18:-;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;14:154:26:-;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:26;;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:26;1041:18;;1028:32;1069:33;1028:32;1069:33;:::i;:::-;1121:7;-1:-1:-1;1180:2:26;1165:18;;1152:32;1193:30;1152:32;1193:30;:::i;:::-;1242:7;-1:-1:-1;1296:2:26;1281:18;;1268:32;;-1:-1:-1;1352:3:26;1337:19;;1324:33;1366;1324;1366;:::i;:::-;1418:7;-1:-1:-1;1477:3:26;1462:19;;1449:33;1491:30;1449:33;1491:30;:::i;:::-;1540:7;-1:-1:-1;1598:3:26;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:26;;-1:-1:-1;648:1167:26;;;;;;1774:8;-1:-1:-1;;;648:1167:26: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:26;3069:18;;3056:32;3097:33;3056:32;3097:33;:::i;:::-;3149:7;-1:-1:-1;3203:2:26;3188:18;;3175:32;;-1:-1:-1;3254:2:26;3239:18;;3226:32;;-1:-1:-1;3305:3:26;3290:19;;3277:33;;-1:-1:-1;3357:3:26;3342:19;;3329:33;;-1:-1:-1;3413:3:26;3398:19;;3385:33;3441:18;3430:30;;3427:50;;;3473:1;3470;3463:12;4070:180;4129:6;4182:2;4170:9;4161:7;4157:23;4153:32;4150:52;;;4198:1;4195;4188:12;4150:52;-1:-1:-1;4221:23:26;;4070:180;-1:-1:-1;4070:180:26:o;4255:250::-;4340:1;4350:113;4364:6;4361:1;4358:13;4350:113;;;4440:11;;;4434:18;4421:11;;;4414:39;4386:2;4379:10;4350:113;;;-1:-1:-1;;4497:1:26;4479:16;;4472:27;4255:250::o;4510:330::-;4552:3;4590:5;4584:12;4617:6;4612:3;4605:19;4633:76;4702:6;4695:4;4690:3;4686:14;4679:4;4672:5;4668:16;4633:76;:::i;:::-;4754:2;4742:15;4759:66;4738:88;4729:98;;;;4829:4;4725:109;;4510:330;-1:-1:-1;;4510:330:26:o;4845:220::-;4994:2;4983:9;4976:21;4957:4;5014:45;5055:2;5044:9;5040:18;5032:6;5014:45;:::i;:::-;5006:53;4845:220;-1:-1:-1;;;4845:220:26:o;5070:388::-;5138:6;5146;5199:2;5187:9;5178:7;5174:23;5170:32;5167:52;;;5215:1;5212;5205:12;5167:52;5254:9;5241:23;5273:31;5298:5;5273:31;:::i;:::-;5323:5;-1:-1:-1;5380:2:26;5365:18;;5352:32;5393:33;5352:32;5393:33;:::i;:::-;5445:7;5435:17;;;5070:388;;;;;:::o;5463:118::-;5550:5;5547:1;5536:20;5529:5;5526:31;5516:59;;5571:1;5568;5561:12;5586:162;5653:20;;5713:2;5702:21;;;5692:32;;5682:60;;5738:1;5735;5728:12;5682:60;5586:162;;;:::o;5753:1034::-;5863:6;5871;5879;5887;5895;5903;5911;5964:3;5952:9;5943:7;5939:23;5935:33;5932:53;;;5981:1;5978;5971:12;5932:53;6020:9;6007:23;6039:31;6064:5;6039:31;:::i;:::-;6089:5;-1:-1:-1;6146:2:26;6131:18;;6118:32;6159:33;6118:32;6159:33;:::i;:::-;6211:7;-1:-1:-1;6270:2:26;6255:18;;6242:32;6283:31;6242:32;6283:31;:::i;:::-;6333:7;-1:-1:-1;6392:2:26;6377:18;;6364:32;6405:31;6364:32;6405:31;:::i;:::-;6455:7;-1:-1:-1;6481:38:26;6514:3;6499:19;;6481:38;:::i;:::-;6471:48;;6570:3;6559:9;6555:19;6542:33;6598:18;6590:6;6587:30;6584:50;;;6630:1;6627;6620:12;6584:50;6669:58;6719:7;6710:6;6699:9;6695:22;6669:58;:::i;:::-;5753:1034;;;;-1:-1:-1;5753:1034:26;;-1:-1:-1;5753:1034:26;;;;6643:84;;-1:-1:-1;;;5753:1034:26:o;7711:525::-;7786:6;7794;7802;7855:2;7843:9;7834:7;7830:23;7826:32;7823:52;;;7871:1;7868;7861:12;7823:52;7910:9;7897:23;7929:31;7954:5;7929:31;:::i;:::-;7979:5;-1:-1:-1;8036:2:26;8021:18;;8008:32;8049:33;8008:32;8049:33;:::i;:::-;8101:7;-1:-1:-1;8160:2:26;8145:18;;8132:32;8173:31;8132:32;8173:31;:::i;:::-;8223:7;8213:17;;;7711:525;;;;;:::o;8241:823::-;8347:6;8355;8363;8371;8379;8387;8440:3;8428:9;8419:7;8415:23;8411:33;8408:53;;;8457:1;8454;8447:12;8408:53;8496:9;8483:23;8515:31;8540:5;8515:31;:::i;:::-;8565:5;-1:-1:-1;8622:2:26;8607:18;;8594:32;8635:33;8594:32;8635:33;:::i;:::-;8687:7;-1:-1:-1;8741:2:26;8726:18;;8713:32;;-1:-1:-1;8792:2:26;8777:18;;8764:32;;-1:-1:-1;8847:3:26;8832:19;;8819:33;8875:18;8864:30;;8861:50;;;8907:1;8904;8897:12;8861:50;8946:58;8996:7;8987:6;8976:9;8972:22;8946:58;:::i;:::-;8241:823;;;;-1:-1:-1;8241:823:26;;-1:-1:-1;8241:823:26;;9023:8;;8241:823;-1:-1:-1;;;8241:823:26:o;9069:1167::-;9196:6;9204;9212;9220;9228;9236;9244;9252;9260;9313:3;9301:9;9292:7;9288:23;9284:33;9281:53;;;9330:1;9327;9320:12;9281:53;9369:9;9356:23;9388:31;9413:5;9388:31;:::i;:::-;9438:5;-1:-1:-1;9495:2:26;9480:18;;9467:32;9508:33;9467:32;9508:33;:::i;:::-;9560:7;-1:-1:-1;9619:2:26;9604:18;;9591:32;9632:30;9591:32;9632:30;:::i;:::-;9681:7;-1:-1:-1;9735:2:26;9720:18;;9707:32;;-1:-1:-1;9791:3:26;9776:19;;9763:33;9805;9763;9805;:::i;:::-;9857:7;-1:-1:-1;9911:3:26;9896:19;;9883:33;;-1:-1:-1;9963:3:26;9948:19;;9935:33;;-1:-1:-1;10019:3:26;10004:19;;9991:33;10047:18;10036:30;;10033:50;;;10079:1;10076;10069:12;10033:50;10118:58;10168:7;10159:6;10148:9;10144:22;10118:58;:::i;:::-;10092:84;;10195:8;10185:18;;;10222:8;10212:18;;;9069:1167;;;;;;;;;;;:::o;10241:248::-;10309:6;10317;10370:2;10358:9;10349:7;10345:23;10341:32;10338:52;;;10386:1;10383;10376:12;10338:52;-1:-1:-1;;10409:23:26;;;10479:2;10464:18;;;10451:32;;-1:-1:-1;10241:248:26:o;10494:862::-;10656:4;10685:2;10725;10714:9;10710:18;10755:2;10744:9;10737:21;10778:6;10813;10807:13;10844:6;10836;10829:22;10882:2;10871:9;10867:18;10860:25;;10944:2;10934:6;10931:1;10927:14;10916:9;10912:30;10908:39;10894:53;;10982:2;10974:6;10970:15;11003:1;11013:314;11027:6;11024:1;11021:13;11013:314;;;11116:66;11104:9;11096:6;11092:22;11088:95;11083:3;11076:108;11207:40;11240:6;11231;11225:13;11207:40;:::i;:::-;11197:50;-1:-1:-1;11305:12:26;;;;11270:15;;;;11049:1;11042:9;11013:314;;;-1:-1:-1;11344:6:26;;10494:862;-1:-1:-1;;;;;;;10494:862:26:o;11361:247::-;11420:6;11473:2;11461:9;11452:7;11448:23;11444:32;11441:52;;;11489:1;11486;11479:12;11441:52;11528:9;11515:23;11547:31;11572:5;11547:31;:::i;11613:1172::-;11741:6;11749;11757;11765;11773;11781;11789;11797;11805;11858:3;11846:9;11837:7;11833:23;11829:33;11826:53;;;11875:1;11872;11865:12;11826:53;11914:9;11901:23;11933:31;11958:5;11933:31;:::i;:::-;11983:5;-1:-1:-1;12040:2:26;12025:18;;12012:32;12053:33;12012:32;12053:33;:::i;:::-;12105:7;-1:-1:-1;12164:2:26;12149:18;;12136:32;12177:31;12136:32;12177:31;:::i;:::-;12227:7;-1:-1:-1;12286:2:26;12271:18;;12258:32;12299:31;12258:32;12299:31;:::i;:::-;12349:7;-1:-1:-1;12375:38:26;12408:3;12393:19;;12375:38;:::i;12790:456::-;12867:6;12875;12883;12936:2;12924:9;12915:7;12911:23;12907:32;12904:52;;;12952:1;12949;12942:12;12904:52;12991:9;12978:23;13010:31;13035:5;13010:31;:::i;:::-;13060:5;-1:-1:-1;13112:2:26;13097:18;;13084:32;;-1:-1:-1;13168:2:26;13153:18;;13140:32;13181:33;13140:32;13181:33;:::i;13251:184::-;13303:77;13300:1;13293:88;13400:4;13397:1;13390:15;13424:4;13421:1;13414:15;13440:437;13519:1;13515:12;;;;13562;;;13583:61;;13637:4;13629:6;13625:17;13615:27;;13583:61;13690:2;13682:6;13679:14;13659:18;13656:38;13653:218;;13727:77;13724:1;13717:88;13828:4;13825:1;13818:15;13856:4;13853:1;13846:15;13653:218;;13440:437;;;:::o;14496:184::-;14548:77;14545:1;14538:88;14645:4;14642:1;14635:15;14669:4;14666:1;14659:15;14685:349;14724:3;14755:66;14748:5;14745:77;14742:257;;14855:77;14852:1;14845:88;14956:4;14953:1;14946:15;14984:4;14981:1;14974:15;14742:257;-1:-1:-1;15026:1:26;15015:13;;14685:349::o;15039:163::-;15117:13;;15170:6;15159:18;;15149:29;;15139:57;;15192:1;15189;15182:12;15207:836;15313:6;15321;15329;15337;15345;15353;15406:3;15394:9;15385:7;15381:23;15377:33;15374:53;;;15423:1;15420;15413:12;15374:53;15455:9;15449:16;15474:31;15499:5;15474:31;:::i;:::-;15574:2;15559:18;;15553:25;15524:5;;-1:-1:-1;15587:31:26;15553:25;15587:31;:::i;:::-;15637:7;-1:-1:-1;15663:48:26;15707:2;15692:18;;15663:48;:::i;:::-;15653:58;;15756:2;15745:9;15741:18;15735:25;15804:4;15795:7;15791:18;15782:7;15779:31;15769:59;;15824:1;15821;15814:12;15769:59;15847:7;-1:-1:-1;15873:49:26;15917:3;15902:19;;15873:49;:::i;:::-;15863:59;;15967:3;15956:9;15952:19;15946:26;15981:30;16003:7;15981:30;:::i;:::-;16030:7;16020:17;;;15207:836;;;;;;;;:::o;16464:278::-;16533:6;16586:2;16574:9;16565:7;16561:23;16557:32;16554:52;;;16602:1;16599;16592:12;16554:52;16634:9;16628:16;16684:8;16677:5;16673:20;16666:5;16663:31;16653:59;;16708:1;16705;16698:12;16873:545;16975:2;16970:3;16967:11;16964:448;;;17011:1;17036:5;17032:2;17025:17;17081:4;17077:2;17067:19;17151:2;17139:10;17135:19;17132:1;17128:27;17122:4;17118:38;17187:4;17175:10;17172:20;17169:47;;;-1:-1:-1;17210:4:26;17169:47;17265:2;17260:3;17256:12;17253:1;17249:20;17243:4;17239:31;17229:41;;17320:82;17338:2;17331:5;17328:13;17320:82;;;17383:17;;;17364:1;17353:13;17320:82;;17654:1471;17780:3;17774:10;17807:18;17799:6;17796:30;17793:56;;;17829:18;;:::i;:::-;17858:97;17948:6;17908:38;17940:4;17934:11;17908:38;:::i;:::-;17902:4;17858:97;:::i;:::-;18010:4;;18074:2;18063:14;;18091:1;18086:782;;;;18912:1;18929:6;18926:89;;;-1:-1:-1;18981:19:26;;;18975:26;18926:89;17560:66;17551:1;17547:11;;;17543:84;17539:89;17529:100;17635:1;17631:11;;;17526:117;19028:81;;18056:1063;;18086:782;16820:1;16813:14;;;16857:4;16844:18;;18134:66;18122:79;;;18299:236;18313:7;18310:1;18307:14;18299:236;;;18402:19;;;18396:26;18381:42;;18494:27;;;;18462:1;18450:14;;;;18329:19;;18299:236;;;18303:3;18563:6;18554:7;18551:19;18548:261;;;18624:19;;;18618:26;18725:66;18707:1;18703:14;;;18719:3;18699:24;18695:97;18691:102;18676:118;18661:134;;18548:261;-1:-1:-1;;;;;18855:1:26;18839:14;;;18835:22;18822:36;;-1:-1:-1;17654:1471:26:o;19432:245::-;19499:6;19552:2;19540:9;19531:7;19527:23;19523:32;19520:52;;;19568:1;19565;19558:12;19520:52;19600:9;19594:16;19619:28;19641:5;19619:28;:::i;20025:287::-;20154:3;20192:6;20186:13;20208:66;20267:6;20262:3;20255:4;20247:6;20243:17;20208:66;:::i;:::-;20290:16;;;;;20025:287;-1:-1:-1;;20025:287:26:o"},"methodIdentifiers":{"ALGEBRA_BASE_PLUGIN_MANAGER()":"31b25d1a","POOL_ADDRESS_OFFSET()":"36badf63","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\":\"ConnectorDelegatecallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyAdministrator\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPluginFactory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyPool\",\"type\":\"error\"},{\"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\":[],\"name\":\"POOL_ADDRESS_OFFSET\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"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\":\"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\":[{\"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\":{\"activeModules(uint256)\":{\"notice\":\"Returns a module name by index \"},\"collectPluginFee(address,uint256,address)\":{\"notice\":\"Claim plugin fee\"},\"defaultPluginConfig()\":{\"notice\":\"Returns the default plugin config\"},\"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/BaseConnector.sol\":{\"keccak256\":\"0x045e70e6a450a208596d09fe14b7fa36f3fdd2b14679edafbdf4c48d7983e515\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c3bcad01eff572b5a0a5730208f050ff9210ce2de7869527e7d0ed3bf5d3c164\",\"dweb:/ipfs/QmR3ufxiGT2G3vJJPTbuUCBQTPndGRL5gnBAV8DbcJNJDo\"]},\"@cryptoalgebra/abstract-plugin/contracts/UpgradeableAbstractPlugin.sol\":{\"keccak256\":\"0x989b26c547f0bdc9ea12d348cf852371699071fde77cfb8e2335853c7a8ecb92\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://505ed92f22130a70751419569f8164172bd718bb126a54ccadb5aa70f722a48e\",\"dweb:/ipfs/QmY8TYPfPyvx2NvoMcFsvKUKCiboPTNGDn6Mz2Mkx5eH2y\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAbstractPlugin.sol\":{\"keccak256\":\"0xe7677595dd0f144a2d0fd81fd6e311545820672d96cec5697e5b9d748ac91195\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://6069006ad3a18a9bb63efa99f3853b274ec549169effc1cc6eee17c4c347b5d6\",\"dweb:/ipfs/QmPtkwHrUvyit56znzyQV6NrkZw2z3y1DQRBPRaDRXyPEE\"]},\"@cryptoalgebra/abstract-plugin/contracts/interfaces/IAlgebraPluginProxy.sol\":{\"keccak256\":\"0xe7714ee007d5b9dd657ad6a4f375f1165acf66cd3a04b827361ebdb83a127259\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b5f64e6f197f35d1bd84600cd3f84234db67ef329fb94a54965cfdb38786caa4\",\"dweb:/ipfs/QmXx2phSrvJFxr6w5GU7mKykgCXSNVpSRNF4GnUypjH8Fr\"]},\"@cryptoalgebra/abstract-plugin/contracts/libraries/AbstractPluginStorage.sol\":{\"keccak256\":\"0x4f3da71d8261cc87e193ce7b2bfa313c102aa6f398426b731d0674052aa404b1\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://1ec5374ae6cc1614f1032d70cf5e5f43ad96cf52aac337848cb0870030a5fb45\",\"dweb:/ipfs/QmU9LU1DhtG1wZkKHptaCp3z2hYyCfxixVfoJhFc64ieGC\"]},\"@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\":\"0x32ab1cd047c37a73912238594fba47e42d83ede1d4f887ff251807a1210103bc\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://87b5abfb11a6e60f3eff00ba95504d506819f417be60dd5c1fe2b417df237370\",\"dweb:/ipfs/QmWuohHQ1u4BiETUyFAtMzruj2e61Z4NbUUoNtDYA2416A\"]},\"contracts/interfaces/IFeeDiscountPlugin.sol\":{\"keccak256\":\"0x968c38ee4dffd9aac168f75b332b20ee005701c039279e66f0ad6f84b03abfc3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://d157594ce9b61a714d82f0906305f53382392d3cb6cd50d89bf8c42ec046c1f6\",\"dweb:/ipfs/QmQvffSmswXZmZXRmRwznfxqMAx8Xe2xYFE6Dy4RdhGfdq\"]},\"contracts/interfaces/IFeeDiscountPluginImplementation.sol\":{\"keccak256\":\"0x005e45e74ca0e29f1b42c8137b30fa3aca0a8e3e472adb8fbcc81de0e653a713\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://13a587bad5a060edcbb6d1d895b5c765a2563eeeee5b6f8c9d5db904329a0ae4\",\"dweb:/ipfs/QmYGKFsNoS5y1G4DDav8aqzXd5fsM2FdmAtjXNsxbfGyTz\"]},\"contracts/libraries/FeeDiscountStorage.sol\":{\"keccak256\":\"0xa05f9b14be03d6623774f83d4aa25850b49665892a7f698e524ec2fa48982939\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://9214dee8ce6d256f4dadb508c81cdb52745babdd032add2c83fbfa9396baa4e2\",\"dweb:/ipfs/QmfSbAW9ppziy1pTkN45mZeT1YGikKpaYwdbXC27usVhUA\"]},\"contracts/test/UpgradeableFeeDiscountPluginTest.sol\":{\"keccak256\":\"0x2f831c025be862ed4630d72f238388ad2e044e94787966f14fe55e7fac14dc16\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://6ed561f7c1ea87768a8c167fee420957bf7fc9ea59d7dbe1c6e8d460474ed3e3\",\"dweb:/ipfs/QmRCisWJuZkSyAmARHXrcWittpQhhjnos1c3BX8LTmDCYQ\"]}},\"version\":1}"}}}}}